:root {
    --tinta: #172b4d;
    --azul: #0747a6;
    --azul-oscuro: #172b4d;
    --cian: #54eafb;
    --fondo: #f8f9fa;
    --blanco: #fff;
    --linea: #dee2e6;
    --texto: #172b4d;
    --gris: #42526e;
    --gris-suave: #6c757d;
}

@font-face {
    font-family: Helvetica;
    src: url("../fonts/Helvetica.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Helvetica;
    src: url("../fonts/Helvetica-Bold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Helvetica;
    src: url("../fonts/Helvetica-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "TeX Gyre Heros";
    src: url("../fonts/texgyreheros-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "TeX Gyre Heros";
    src: url("../fonts/texgyreheros-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Helvetica, "Helvetica Neue", "TeX Gyre Heros", Arial, sans-serif;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.55;
}
button, input, textarea, select { font-family: inherit; }
img { max-width: 100%; height: auto; }
a { color: var(--azul-oscuro); }
.saltar {
    position: absolute;
    left: -999px;
}
.saltar:focus { left: 1rem; top: 1rem; background: #fff; padding: .4rem; z-index: 5; }
.ancho { width: min(1180px, calc(100% - 1.5rem)); margin-inline: auto; }
.estrecho { width: min(760px, calc(100% - 2rem)); }

.cabecera {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #172b4d;
    color: #fff;
}
.barra { display: flex; align-items: center; gap: .7rem; min-height: 74px; flex-wrap: wrap; padding: .35rem 0; }
.marca { display: flex; gap: .7rem; align-items: center; color: #fff; text-decoration: none; }
.logo-cabecera { height: 48px; width: auto; display: block; }
.marca strong { display: block; font-size: 1.05rem; }
.marca small { display: block; opacity: .75; }
.marca-marca {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--azul); font-weight: 700;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .55rem; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; }
.tiene-sub { position: relative; }
.tiene-sub > ul {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff; min-width: 280px; padding: .4rem 0;
    flex-direction: column; align-items: stretch; gap: 0;
    border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.tiene-sub:hover > ul, .tiene-sub:focus-within > ul { display: flex; }
.menu-grupos { min-width: 340px; max-height: 70vh; overflow: auto; }
.tiene-sub > .menu-grupos { left: auto; right: 0; max-width: calc(100vw - 2rem); }
.menu-grupos-caja {
    display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr));
    gap: 0 1rem; align-items: start;
}
.menu-grupos .grupo > span {
    display: block; padding: .55rem .9rem .1rem;
    font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gris);
}
.menu-grupos .grupo ul {
    position: static; display: flex; flex-direction: column; box-shadow: none; background: transparent;
    min-width: 0; padding: 0 0 .35rem;
}
.menu-grupos .menu-grupos-ver { grid-column: 1 / -1; border-top: 1px solid var(--linea); font-weight: 700; }
.tiene-sub ul a { color: var(--tinta); display: block; padding: .45rem .9rem; }
.nav-abre { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; padding: .35rem .7rem; }

.boton, button.boton {
    display: inline-block; background: var(--azul); color: #fff; text-decoration: none;
    border: 0; border-radius: 999px; padding: .7rem 1.1rem; font-weight: 700; cursor: pointer;
}
.boton-linea { background: transparent; color: var(--azul); border: 1px solid var(--azul); }
.hero .boton-linea { color: #fff; border-color: #fff; }
.boton-chico { padding: .45rem .85rem; }
.nav-cta { margin-left: .55rem; padding-left: .9rem; border-left: 1px solid rgba(255,255,255,.22); }
.nav-cta .boton { background: var(--cian); color: var(--tinta); font-weight: 700; }
.nav-cta .boton:hover { background: #fff; }

.hero {
    position: relative;
    overflow: hidden;
    background: #172b4d;
    color: #fff;
    padding: 4.5rem 0 4rem;
}
.hero-marca::before {
    content: "";
    position: absolute;
    inset: -28% 0;
    background: url("../img/patron-nodos.png") center / 520px repeat;
    opacity: .7;
    transform: translate3d(0, var(--py, 0px), 0);
    animation: nodos 32s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.hero-marca::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7, 71, 166, .88), rgba(23, 43, 77, .8));
    z-index: 0;
    pointer-events: none;
}
.hero-curso.hero-marca::after {
    background: linear-gradient(160deg, rgba(23, 43, 77, .9), rgba(23, 43, 77, .82));
}
.hero > * { position: relative; z-index: 1; }
.hero > .firma-red { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.firma-red path { fill: none; stroke: var(--cian); stroke-width: 1.5; stroke-linecap: round; opacity: .5; stroke-dasharray: 320; stroke-dashoffset: 0; }
.firma-nodo { fill: var(--cian); opacity: .7; transform-box: fill-box; transform-origin: center; }
html.js .firma-red path { animation: traza 1.1s cubic-bezier(.16, 1, .3, 1) both; }
html.js .firma-nodo { animation: nodo .5s cubic-bezier(.22, 1, .36, 1) both; }
html.js .firma-red path:nth-of-type(1) { animation-delay: .15s; }
html.js .firma-red path:nth-of-type(2) { animation-delay: .3s; }
html.js .firma-red path:nth-of-type(3) { animation-delay: .45s; }
html.js .firma-red path:nth-of-type(4) { animation-delay: .6s; }
html.js .firma-nodo:nth-of-type(1) { animation-delay: .1s; }
html.js .firma-nodo:nth-of-type(2) { animation-delay: .25s; }
html.js .firma-nodo:nth-of-type(3) { animation-delay: .4s; }
html.js .firma-nodo:nth-of-type(4) { animation-delay: .55s; }
html.js .firma-nodo:nth-of-type(5) { animation-delay: .7s; }
@media (max-width: 700px) { .firma-red { display: none; } }
.hero h1, .hero h2, .hero .sobre, .hero .lead { color: #fff; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.15; margin: .2rem 0 .8rem; }
.lead { font-size: 1.15rem; max-width: 42rem; }
.sobre { letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; opacity: .8; }
.hero-acciones { display: flex; gap: .7rem; flex-wrap: wrap; }
html.js .entra { opacity: 0; transform: translateY(18px); }
html.js .entra.visible {
    opacity: 1;
    transform: none;
    animation: sube .8s cubic-bezier(.16, 1, .3, 1) backwards;
    animation-delay: var(--d, 0s);
}
html.js .hero .entra { opacity: 1; transform: none; animation: none; }
html.js .hero .entra > * { opacity: 0; transform: translateY(16px); animation: heroSube .85s cubic-bezier(.16, 1, .3, 1) both; }
html.js .hero .entra > *:nth-child(2) { animation-delay: .1s; }
html.js .hero .entra > *:nth-child(3) { animation-delay: .2s; }
html.js .hero .entra > *:nth-child(4) { animation-delay: .3s; }
html.js .hero .entra > *:nth-child(5) { animation-delay: .4s; }
.nav > ul > li:not(.nav-cta) > a { position: relative; }
.nav > ul > li:not(.nav-cta) > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
    border-radius: 2px; background: var(--cian); transform: scaleX(0);
    transform-origin: left; transition: transform .25s ease;
}
.nav > ul > li:not(.nav-cta) > a:hover::after,
.nav > ul > li:not(.nav-cta) > a:focus-visible::after { transform: scaleX(1); }
.boton, button.boton { position: relative; overflow: hidden; transition: background .2s ease, transform .2s ease; }
.boton:hover, button.boton:hover { transform: translateY(-1px); }
.boton:not(.boton-linea)::after {
    content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-18deg); pointer-events: none; transition: left .6s ease;
}
.boton:not(.boton-linea):hover::after { left: 130%; }
.tarjeta { transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease, border-color .4s ease; }
.tarjeta:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(23, 43, 77, .12); border-color: var(--cian); }
.tarjeta-caso .caso-imagen, .tarjeta-blog .blog-imagen { transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.tarjeta-caso:hover .caso-imagen, .tarjeta-blog:hover .blog-imagen { transform: scale(1.05); }
.tarjeta-linea-flecha { transition: transform .25s ease; display: inline-block; }
.tarjeta-linea:hover .tarjeta-linea-flecha { transform: translateX(4px); }
.logos li { transition: transform .3s ease; }
.logos li:hover { transform: scale(1.05); }
.progreso {
    position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
    background: linear-gradient(90deg, var(--cian), #4c9aff);
    transition: width .12s linear; pointer-events: none;
}
.cabecera { transition: box-shadow .25s ease; }
.cabecera.pegada { box-shadow: 0 10px 30px rgba(11, 27, 51, .28); }
html.js .wa-chat { animation: waEntra .7s cubic-bezier(.2, .9, .3, 1.15) .9s both; }
@keyframes sube {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes heroSube {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes waEntra {
    from { opacity: 0; transform: translateY(14px) scale(.92); }
    to { opacity: 1; transform: none; }
}
@keyframes nodos {
    from { background-position: 0 0; }
    to { background-position: 80px 40px; }
}
@keyframes traza {
    from { stroke-dashoffset: 320; }
    to { stroke-dashoffset: 0; }
}
@keyframes nodo {
    from { opacity: 0; transform: scale(.4); }
    to { opacity: .7; transform: none; }
}

.bloque { padding: 3rem 0; }
.bloque-claro { background: var(--fondo); }
h1, h2, h3 { color: var(--tinta); line-height: 1.2; }
.grilla { display: grid; gap: 1rem; }
.grilla-3 { grid-template-columns: repeat(3, 1fr); }
.grilla-2 { grid-template-columns: repeat(2, 1fr); }
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: 14px; padding: 1rem 1.1rem; }
.tarjeta h2, .tarjeta h3 { margin-top: 0; }
.lista, .lista-cursos { padding-left: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.chips li { background: #e7eef8; border-radius: 999px; padding: .35rem .75rem; font-weight: 600; }
.chips-categorias a { color: inherit; text-decoration: none; }
.chips-categorias a:hover, .chips-categorias a:focus { text-decoration: underline; }
.nota { color: #5c6b7e; font-size: .95rem; }
.fecha { color: #5c6b7e; margin-bottom: 0; }
.pagina { padding: 2.5rem 0 3rem; }
.cuerpo p { max-width: 65ch; }
.contacto-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.4rem; align-items: start; }
.formulario-contacto { background: var(--fondo); border-top: 3px solid var(--cian); border-radius: 16px; padding: 1.5rem; display: grid; gap: 1rem; box-shadow: 0 10px 30px rgba(23,43,77,.06); }
.formulario-contacto .boton { min-height: 44px; padding: .85rem 1.5rem; }
.formulario-contacto h2 { margin: 0; font-size: 1.3rem; }
.campos-dobles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .92rem; }
.campo input, .campo select, .campo textarea {
    width: 100%; background: #fff; border: 1px solid var(--linea); border-radius: 10px;
    padding: .7rem .8rem; font: inherit; font-weight: 400; color: var(--tinta);
}
.campo textarea { resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
    outline: 2px solid var(--azul); outline-offset: 1px; border-color: var(--azul);
}
.campo-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; }
.campo-check input { margin-top: .25rem; }
.campo-nota { margin: 0; font-size: .82rem; color: #5c6b7e; }
.trampa { position: absolute; left: -9999px; }
.contacto-lateral { background: var(--azul-oscuro); color: #fff; border-radius: 16px; padding: 1.5rem; }
.contacto-lateral .sobre { color: var(--cian); margin: 0 0 .3rem; }
.contacto-lateral h2 { color: #fff; font-size: 1.25rem; margin: 0 0 1rem; }
.contacto-lateral ul { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .75rem; }
.contacto-lateral li span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #b7c4d6; }
.contacto-lateral a { color: #fff; }
.contacto-lateral a.boton-cian { color: var(--tinta); }
.contacto-lateral .nota { color: #b7c4d6; margin: 1rem 0 0; }
.boton-cian { background: var(--cian); color: var(--tinta); }
.boton-cian:hover { background: #fff; }
.aviso { background: #e8f6ee; padding: .7rem .9rem; border-radius: 8px; margin: 0 0 1rem; }
.aviso-mal { background: #fdecea; }
@media (max-width: 860px) {
    .contacto-grid, .campos-dobles { grid-template-columns: 1fr; }
}

.pie { background: #172b4d; color: #d5deea; padding: 2.6rem 0 1.2rem; }
.pie a { color: #d5deea; text-decoration: none; }
.pie a:hover, .pie a:focus-visible { color: #fff; text-decoration: underline; }
.pie-titulo { color: #fff; font-weight: 700; margin: 0 0 .6rem; font-size: .98rem; }
.pie-subtitulo { margin-top: 1.2rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .42rem; }
.pie-columnas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding-bottom: 1.8rem; }
.pie ul.pie-datos { margin-bottom: 1rem; }
.pie ul.pie-redes { display: flex; gap: .5rem; margin: 0; }
.pie-redes a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.pie-redes a:hover, .pie-redes a:focus-visible { background: var(--azul); text-decoration: none; }
.pie-redes img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.pie-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; }
.pie-firma { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pie-legal { color: #b7c4d6; font-size: .82rem; margin: 0; }
.pie-sello { color: #b7c4d6; font-size: .8rem; margin: 0; }
.pie-sello strong { color: #fff; }
html.js .pie-columnas > .entra:nth-child(2) { --d: .06s; }
html.js .pie-columnas > .entra:nth-child(3) { --d: .12s; }
html.js .pie-columnas > .entra:nth-child(4) { --d: .18s; }
@media (max-width: 960px) {
    .pie-columnas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .pie-columnas { grid-template-columns: 1fr; }
}
.wa-chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 3; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .7rem; }
.wa-flotante {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #25d366; color: #0b3d22; text-decoration: none;
    padding: .7rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
    box-shadow: 0 12px 28px rgba(11,27,51,.3);
    transition: transform .2s ease, background .2s ease;
}
.wa-flotante svg { width: 22px; height: 22px; flex: 0 0 auto; }
.wa-flotante:hover { transform: translateY(-2px); background: #1ebe5a; }
.wa-flotante:focus-visible, .wa-cierra:focus-visible, .wa-envia:focus-visible { outline: 3px solid #172b4d; outline-offset: 2px; }
.wa-panel { width: min(360px, calc(100vw - 2rem)); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(11,27,51,.28); }
.wa-panel[hidden] { display: none; }
.wa-panel-cabecera { background: var(--azul-oscuro); color: #fff; display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; }
.wa-avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; padding: .25rem; flex: 0 0 auto; }
.wa-panel-titulo { display: flex; flex-direction: column; line-height: 1.25; }
.wa-panel-titulo strong { font-size: .98rem; }
.wa-panel-titulo span { font-size: .75rem; color: #b7c4d6; }
.wa-cierra { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; padding: .1rem .35rem; cursor: pointer; }
.wa-mensajes { padding: 1rem; display: grid; gap: .55rem; max-height: 240px; overflow: auto; background: #f3f6fa; }
.wa-burbuja { margin: 0; background: #fff; border-radius: 2px 12px 12px 12px; padding: .65rem .8rem; font-size: .9rem; box-shadow: 0 1px 3px rgba(23,43,77,.08); max-width: 92%; }
.wa-burbuja-suave { background: #e7eef8; box-shadow: none; }
.wa-form { display: flex; align-items: center; gap: .5rem; padding: .7rem; border-top: 1px solid var(--linea); background: #fff; }
.wa-campo { flex: 1; }
.wa-campo input { width: 100%; border: 1px solid var(--linea); border-radius: 999px; padding: .6rem .9rem; font: inherit; }
.wa-campo input:focus { outline: 2px solid var(--azul); outline-offset: 1px; border-color: var(--azul); }
.wa-envia { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #25d366; color: #0b3d22; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.wa-envia svg { width: 20px; height: 20px; }
.wa-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
    .wa-flotante { width: 56px; height: 56px; padding: 0; justify-content: center; }
    .wa-flotante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .wa-panel { width: calc(100vw - 1.5rem); }
}

.aviso-plantilla { background: #e7eef8; border-radius: 10px; padding: .8rem 1rem; }
.temario-intro { max-width: 65ch; }
.franja {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--azul);
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.4rem 0;
}
.franja div { padding: 1rem .9rem; }
.franja h2 { color: #fff; font-size: 1rem; margin: 0 0 .35rem; }
.franja p { margin: 0; font-size: .95rem; }
.franja div + div { box-shadow: inset 1px 0 rgba(255,255,255,.25); }
.producto {
    transition: transform .2s ease;
}
.producto:hover { transform: translateY(-4px); }
.producto img { width: 100%; height: 120px; object-fit: contain; }
.hero-licencias {
    background:
        linear-gradient(160deg, rgba(14, 27, 46, .82), rgba(13, 71, 161, .72)),
        url("../img/banner.jpg") center / cover no-repeat;
}
.logos { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; list-style: none; padding: 0; }
.logos-clientes { justify-content: center; }
.logos img { height: 46px; width: auto; max-width: 140px; object-fit: contain; }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0; }
.galeria img { width: 100%; border-radius: 12px; display: block; }
.pagos { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.pagos img { height: 42px; width: auto; }
.foto-curso { width: min(420px, 100%); border-radius: 16px; display: block; margin: 1rem 0; }
.cuadro { width: 100%; border-radius: 12px; border: 1px solid var(--linea); }
.nosotros-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0 1.6rem; }
.nosotros-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
@media (max-width: 700px) { .nosotros-fotos { grid-template-columns: 1fr; } }
.sello { display: block; width: 210px; max-width: 100%; height: auto; background: #fff; border-radius: 999px; }
.sello-hero { margin-bottom: .8rem; }
.pie-logo { display: block; height: 30px; width: auto; }
.pie-logros { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; margin-top: 0; max-width: 320px; }
.logro {
    aspect-ratio: 1 / 1; background: #fff; color: var(--tinta); border-radius: 12px;
    padding: .5rem .45rem; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: .3rem; text-align: center; text-decoration: none;
}
.pie a.logro { color: var(--tinta); }
.logro img { max-height: 30px; max-width: 100%; width: auto; }
.logro span { font-size: .72rem; font-weight: 700; line-height: 1.15; }
.logro small { font-size: .62rem; color: #5a6b85; line-height: 1.15; }
.logro-iso { color: var(--azul); font-size: 1rem; line-height: 1; letter-spacing: .02em; }
.logro-libro { grid-column: 1 / -1; aspect-ratio: auto; flex-direction: row; gap: .6rem; padding: .55rem .7rem; text-align: left; }
.logro-libro img { height: 46px; max-height: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .entra,
    html.js .entra.visible,
    html.js .hero .entra > * { animation: none; opacity: 1; transform: none; }
    .hero-marca,
    .hero-marca::before { animation: none; transform: none; }
    .tarjeta, .logos li, .boton, html.js .wa-chat,
    .tarjeta-caso .caso-imagen, .tarjeta-blog .blog-imagen { transition: none; animation: none; }
    .boton::after { display: none; }
    .progreso { transition: none; }
}

@media (max-width: 860px) {
    .barra { flex-wrap: nowrap; min-height: 64px; }
    .barra-menu { padding: 0; }
    .nav-abre { display: inline-block; margin-left: auto; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 64px); overflow: auto; background: #172b4d; padding: 1rem; }
    .nav.abierto { display: block; }
    .nav ul { flex-direction: column; align-items: flex-start; }
    .tiene-sub > ul { position: static; display: flex; box-shadow: none; background: transparent; max-height: none; }
    .menu-grupos .grupo > span { color: #fff; }
    .menu-grupos-caja { grid-template-columns: 1fr; }
    .tiene-sub > .menu-grupos { right: auto; max-width: none; }
    .tiene-sub ul a { color: #fff; }
    .nav-cta { order: -1; margin: 0 0 .7rem; padding: 0 0 .8rem; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.22); width: 100%; }
    .nav-cta .boton { display: block; text-align: center; }
    .franja { grid-template-columns: 1fr 1fr; }
    .grilla-3, .grilla-2, .pie-grid, .galeria { grid-template-columns: 1fr; }
    .hero-marca { padding: 2rem 0 1.6rem; }
    .hero-marca::before { background-size: 280px; animation: none; transform: none; }
    .hero-marca h1 { font-size: 1.7rem; }
    .hero-acciones { flex-direction: column; }
    .hero-acciones .boton { display: block; width: 100%; text-align: center; }
    .ficha-cuerpo .boton, .bloque .boton { display: block; width: 100%; text-align: center; }
    .foto-curso { width: 100%; }
    .acciones-ficha { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
    .franja { grid-template-columns: 1fr; }
    .franja div + div { box-shadow: none; }
}

.hero-marca {
    background-color: #0747a6;
    color: #fff;
    padding: 3.2rem 0 2.6rem;
}
.hero-curso { background-color: #172b4d; }
.hero-curso .lead { max-width: 780px; margin: .2rem 0 .9rem; color: #dbe7f7; font-size: 1.05rem; }
.hero-curso .chips-hero { margin-top: .4rem; }
.hero-curso .chips-hero li { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.hero-marca h1, .hero-marca p, .hero-marca a { color: #fff; }
.hero-marca h1 { font-weight: 700; }
h1, h2, h3 { font-weight: 700; }
.tarjeta-linea { border-top: 3px solid var(--cian); background: var(--fondo); display: flex; flex-direction: column; }
.tarjeta-linea .etiqueta { margin: 0 0 .3rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tarjeta-linea h2 { margin: .1rem 0 .5rem; }
.tarjeta-linea-pie { margin: auto 0 0; padding-top: .6rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.tarjeta-linea-pie .nota { margin: 0; }
.tarjeta-linea-flecha { font-weight: 700; color: var(--azul); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.tarjeta-linea-flecha:hover, .tarjeta-linea-flecha:focus { text-decoration: underline; }
.tarjeta-caso { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tarjeta-caso .caso-imagen { width: 100%; height: auto; display: block; }
.tarjeta-caso .caso-texto { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.tarjeta-caso .caso-texto .pastilla { align-self: flex-start; margin: 0; }
.tarjeta-caso .caso-titulo { margin: .1rem 0 .2rem; font-size: 1.15rem; }
.tarjeta-caso .caso-resumen { margin: 0; }
.tarjeta-caso .caso-resultado { margin: 0; background: #e7eef8; border-radius: 10px; padding: .5rem .7rem; font-size: .92rem; }
.tarjeta-caso .caso-detalle { margin-top: auto; padding-top: .5rem; }
.tarjeta-caso .caso-detalle summary { cursor: pointer; font-weight: 700; color: var(--azul); font-size: .9rem; }
.tarjeta-caso .caso-detalle dl { margin: .6rem 0 0; }
.tarjeta-caso .caso-detalle dt { font-weight: 700; font-size: .82rem; margin-top: .55rem; }
.tarjeta-caso .caso-detalle dd { margin: .1rem 0 0; font-size: .9rem; }
.tarjeta-blog { padding: 0; overflow: hidden; }
.tarjeta-blog .blog-imagen { width: 100%; height: auto; display: block; }
.tarjeta-blog-texto { padding: 1rem 1.1rem 1.2rem; }
.pastilla {
    display: inline-block; background: var(--cian); color: var(--azul-oscuro);
    border-radius: 999px; padding: .15rem .7rem; font-weight: 700; font-size: .85rem;
}
.ficha-cuerpo { width: min(820px, calc(100% - 1.5rem)); margin: 0 auto; padding: 2rem 0 3rem; }
.ficha-cuerpo h2 { margin-top: 2rem; }
.lista-ficha { padding-left: 1.15rem; }
.comentarios { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .9rem; }
.comentario { background: var(--fondo); border-left: 3px solid var(--azul); border-radius: 0 12px 12px 0; padding: .9rem 1.1rem; }
.comentario .estrellas { margin: 0; color: var(--azul); letter-spacing: .1em; font-size: .95rem; }
.comentario-texto { margin: .4rem 0 .5rem; }
.comentario .nota { margin: 0; }
.faq { margin: 0; }
.faq dt { font-weight: 700; margin-top: 1rem; }
.faq dd { margin: .25rem 0 0; }
.nota { color: var(--gris-suave); }
.acciones-ficha { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }

/* Academia: navegación por grupos y tarjetas de programa */
.chips-ancla {
    display: flex; flex-wrap: wrap; gap: .5rem;
    padding-top: 1.4rem;
}
.chips-ancla a {
    background: #e7eef8; border-radius: 999px; padding: .45rem .95rem;
    font-weight: 600; text-decoration: none; color: var(--tinta);
    transition: background .2s ease;
}
.chips-ancla a:hover, .chips-ancla a:focus { background: var(--cian); color: var(--azul-oscuro); }
.chips-ancla span { font-weight: 400; opacity: .65; }
.academia-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.academia-filtros .filtro-campo { display: flex; flex: 1 1 240px; }
.filtro-campo input, .filtro-campo select {
    width: 100%; background: #fff; border: 1px solid var(--linea); border-radius: 999px;
    padding: .55rem .95rem; font: inherit; color: var(--tinta);
}
.filtro-campo input:focus, .filtro-campo select:focus { outline: 2px solid var(--azul); outline-offset: 1px; border-color: var(--azul); }
.filtros-cuenta { margin: 0 0 0 auto; }
.filtros-vacio { margin-top: .9rem; }
@media (max-width: 600px) {
    .filtros-cuenta { margin-left: 0; }
}
.grupo-cursos { padding-top: 1.6rem; scroll-margin-top: 136px; }
.grupo-cursos + .grupo-cursos { border-top: 1px solid var(--linea); margin-top: 2.2rem; }
.grupo-titulo { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.grupo-titulo h2 { margin: 0; }
.grupo-titulo p { margin: 0; }
.grilla-cursos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 1rem; }
.tarjeta-curso {
    display: flex; flex-direction: column; padding: 0; overflow: hidden;
    text-decoration: none; color: inherit;
}
.tarjeta-curso img { width: 100%; height: 158px; object-fit: cover; display: block; }
.curso-sin-foto {
    height: 158px; display: grid; place-items: center; color: #fff; font-weight: 700;
    background: linear-gradient(135deg, var(--azul), var(--azul-oscuro));
}
.tarjeta-curso-texto { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.2rem; }
.tarjeta-curso-texto h3 { margin: 0; font-size: 1.05rem; }
.tarjeta-curso-texto p { margin: 0; }
.tarjeta-curso-texto .nota { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.tarjeta-curso-flecha { margin-top: auto; padding-top: .5rem; font-weight: 700; font-size: .9rem; color: var(--azul); }

/* Ficha de programa: columna de contenido y tarjeta de datos */
.ficha-envoltura {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.2rem; align-items: start; padding: 2rem 0 3rem;
}
.ficha-envoltura .ficha-cuerpo { width: auto; margin: 0; padding: 0; }
.ficha-lateral { position: sticky; top: 96px; }
.ficha-datos { border-top: 3px solid var(--cian); background: var(--fondo); }
.ficha-datos h2 { margin: .6rem 0 .8rem; font-size: 1.1rem; }
.datos-lista { margin: 0 0 .8rem; display: grid; gap: .5rem; }
.datos-lista div { display: flex; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--linea); padding-bottom: .45rem; }
.datos-lista dt { color: var(--gris-suave); font-size: .9rem; }
.datos-lista dd { margin: 0; font-weight: 600; text-align: right; }
.ficha-datos .boton { display: block; text-align: center; margin-top: .6rem; }
.ficha-preparacion { background: var(--fondo); border: 1px dashed var(--linea); border-radius: 14px; padding: 1.4rem; margin-bottom: 1rem; }
.pago-ficha { background: var(--fondo); border-left: 3px solid var(--cian); border-radius: 0 12px 12px 0; padding: .9rem 1.1rem; }
.collage-licencias { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.1rem; }
.pieza-licencia { background: #fff; border: 1px solid var(--linea); border-radius: 14px; padding: .9rem .7rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; font-weight: 700; font-size: .9rem; color: var(--tinta); }
.pieza-licencia img { height: 34px; width: auto; }
.pieza-licencia.nivel-1 { border-color: #b9cde6; box-shadow: 0 6px 18px rgba(23, 43, 77, .1); }
.pieza-licencia.nivel-1 img { height: 46px; }
.collage-centro { grid-column: 1 / -1; background: var(--azul-oscuro); color: #fff; border-radius: 18px; padding: 1.3rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.collage-centro img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.collage-centro .sobre { margin: .35rem 0 0; color: #dbe7f7; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.collage-centro strong { font-size: 1.5rem; }
.collage-centro .nota { margin: 0; color: #dbe7f7; font-size: .85rem; }
@media (max-width: 700px) {
    .collage-licencias { grid-template-columns: repeat(2, 1fr); }
    .pieza-licencia.nivel-1 img { height: 40px; }
}
.pago-ficha p { margin: .25rem 0; }
.ficha-preparacion h2 { margin: .6rem 0 .5rem; font-size: 1.25rem; }
.ficha-puntos { padding-left: 1.15rem; }
.modulo { border: 1px solid var(--linea); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; background: #fff; }
.modulo summary { cursor: pointer; font-weight: 700; }
.modulo summary::marker { color: var(--azul); }
.lecciones { margin: .6rem 0 0; padding-left: 1.2rem; }
.lecciones li { margin: .25rem 0; }
.lecciones span { color: var(--gris-suave); font-size: .9rem; }
.ficha-vuelta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.4rem; }
.ficha-vuelta a { display: block; border: 1px solid var(--linea); border-radius: 12px; padding: .8rem 1rem; text-decoration: none; }
.ficha-vuelta a:hover { border-color: var(--azul); }
.ficha-vuelta span { display: block; color: var(--gris-suave); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.ficha-vuelta a:last-child { text-align: right; }

@media (max-width: 960px) {
    .grilla-cursos { grid-template-columns: repeat(2, 1fr); }
    .ficha-envoltura { grid-template-columns: 1fr; gap: 1.4rem; }
    .ficha-lateral { position: static; order: -1; }
}

@media (max-width: 860px) {
    .grilla-cursos { grid-template-columns: 1fr; }
    .ficha-vuelta { grid-template-columns: 1fr; }
    .ficha-vuelta a:last-child { text-align: left; }
    .grupo-cursos { scroll-margin-top: 80px; }
}


/* Propuesta B: portada con animaciones marcadas (/home-animada/) */
.demo-aviso { background: var(--cian); color: var(--azul-oscuro); text-align: center; font-weight: 600; font-size: .85rem; padding: .45rem .9rem; }
.demo-aviso a { color: var(--azul-oscuro); }
html.js .demo .lado-izq,
html.js .demo .lado-der,
html.js .demo .sube-fuerte,
html.js .demo .escala {
    opacity: 0;
    transition: opacity .95s cubic-bezier(.16, 1, .3, 1), transform 1.05s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--d, 0s);
}
html.js .demo .lado-izq { transform: translateX(-90px); }
html.js .demo .lado-der { transform: translateX(90px); }
html.js .demo .sube-fuerte { transform: translateY(64px) scale(.97); }
html.js .demo .escala { transform: scale(.88); }
html.js .demo .lado-izq.visible,
html.js .demo .lado-der.visible,
html.js .demo .sube-fuerte.visible,
html.js .demo .escala.visible { opacity: 1; transform: none; animation: none; }
html.js .demo .hero .entra > * { opacity: 1; transform: none; animation: none; }
html.js .demo .hero .entra > p.sobre { animation: demoArriba .85s cubic-bezier(.16, 1, .3, 1) both; }
html.js .demo .hero .entra > h1 { animation: demoIzq 1.1s cubic-bezier(.16, 1, .3, 1) .08s both; }
html.js .demo .hero .entra > p.lead { animation: demoDer 1.1s cubic-bezier(.16, 1, .3, 1) .22s both; }
html.js .demo .hero .entra > p.hero-acciones { animation: demoArriba .9s cubic-bezier(.16, 1, .3, 1) .36s both; }
@keyframes demoIzq { from { opacity: 0; transform: translateX(-110px); } to { opacity: 1; transform: none; } }
@keyframes demoDer { from { opacity: 0; transform: translateX(110px); } to { opacity: 1; transform: none; } }
@keyframes demoArriba { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
.demo .demo-marquesina { overflow: hidden; margin-top: 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.demo .demo-cinta { display: flex; width: max-content; animation: demoCinta 32s linear infinite; }
.demo .demo-cinta ul { display: flex; align-items: center; gap: 2.4rem; margin: 0; padding: 0; list-style: none; }
.demo .demo-cinta li { flex: 0 0 auto; }
.demo .demo-cinta li img { height: 34px; width: auto; max-width: none; }
.demo .demo-marquesina:hover .demo-cinta { animation-play-state: paused; }
@keyframes demoCinta { to { transform: translateX(-50%); } }
@media (max-width: 700px) {
    html.js .demo .lado-izq { transform: translateX(-40px); }
    html.js .demo .lado-der { transform: translateX(40px); }
    html.js .demo .sube-fuerte { transform: translateY(36px) scale(.98); }
    .demo .demo-cinta li img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    html.js .demo .lado-izq,
    html.js .demo .lado-der,
    html.js .demo .sube-fuerte,
    html.js .demo .escala { opacity: 1; transform: none; transition: none; }
    html.js .demo .hero .entra > p.sobre,
    html.js .demo .hero .entra > h1,
    html.js .demo .hero .entra > p.lead,
    html.js .demo .hero .entra > p.hero-acciones { opacity: 1; transform: none; animation: none; }
    .demo .demo-cinta { animation: none; }
}

/* Propuesta B: fondo animado, franja gigante y cifras */
.demo .demo-hero { padding-bottom: 7rem; }
.demo .demo-fondo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.demo .demo-mancha, .demo .demo-circulo { position: absolute; display: block; border-radius: 50%; }
.demo .demo-mancha { filter: blur(70px); opacity: .5; }
.demo .demo-mancha.m1 { width: 560px; height: 560px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(84, 234, 251, .55), transparent 65%); animation: demoFlota 26s ease-in-out infinite alternate; }
.demo .demo-mancha.m2 { width: 480px; height: 480px; right: -140px; top: 8%; background: radial-gradient(circle, rgba(7, 71, 166, .85), transparent 66%); animation: demoFlota 32s ease-in-out infinite alternate-reverse; }
.demo .demo-circulo { width: 380px; height: 380px; right: 8%; bottom: -170px; background: radial-gradient(circle, rgba(84, 234, 251, .28), transparent 62%); box-shadow: inset 0 0 0 1px rgba(84, 234, 251, .35); animation: demoFlota 22s ease-in-out infinite alternate; }
.demo .demo-flotante { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--cian); opacity: .55; animation: demoFlotaMini 9s ease-in-out infinite alternate; }
.demo .demo-flotante.f1 { left: 12%; top: 24%; }
.demo .demo-flotante.f2 { right: 18%; top: 32%; width: 10px; height: 10px; animation-duration: 12s; }
.demo .demo-flotante.f3 { left: 30%; bottom: 28%; width: 8px; height: 8px; background: #fff; opacity: .35; animation-duration: 15s; }
.demo .demo-hero .ancho { position: relative; z-index: 2; }
.demo .demo-titan { position: absolute; left: 0; right: 0; bottom: -.08em; margin: 0; overflow: hidden; white-space: nowrap; pointer-events: none; z-index: 1; }
.demo .demo-titan span { display: inline-block; padding-left: 100%; font-weight: 800; letter-spacing: -.02em; font-size: clamp(3.2rem, 12vw, 8.5rem); line-height: 1; color: rgba(255, 255, 255, .11); animation: demoTitan 40s linear infinite; }
.demo .demo-cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: left; }
.demo .demo-cifra { display: flex; align-items: center; gap: .95rem; padding: 1rem 1.1rem; background: linear-gradient(180deg, #fff 0%, #f3f7fd 100%); border: 1px solid rgba(7, 71, 166, .12); border-radius: 16px; }
.demo .demo-icono { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--azul); background: rgba(84, 234, 251, .16); box-shadow: inset 0 0 0 1px rgba(7, 71, 166, .12); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.demo .demo-icono svg { width: 26px; height: 26px; }
.demo .demo-cifra:hover .demo-icono { transform: scale(1.08); }
.demo .demo-dato { min-width: 0; }
.demo .demo-dato strong { display: block; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; color: var(--azul); font-variant-numeric: tabular-nums; }
.demo .demo-dato span { display: block; margin-top: .3rem; font-size: .86rem; line-height: 1.25; opacity: .72; }
@keyframes demoFlota { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(34px, -42px, 0) scale(1.08); } }
@keyframes demoFlotaMini { from { transform: translateY(0); } to { transform: translateY(-24px); } }
@keyframes demoTitan { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 700px) {
    .demo .demo-hero { padding-bottom: 5.5rem; }
    .demo .demo-flotante { display: none; }
    .demo .demo-cifras { grid-template-columns: 1fr 1fr; }
    .demo .demo-cifra { gap: .7rem; padding: .8rem .85rem; }
    .demo .demo-icono { width: 44px; height: 44px; border-radius: 12px; }
    .demo .demo-icono svg { width: 22px; height: 22px; }
}
@media (max-width: 460px) {
    .demo .demo-cifras { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .demo .demo-mancha, .demo .demo-circulo, .demo .demo-flotante, .demo .demo-titan span { animation: none; }
}

/* Movimiento global: entradas laterales, fondo de hero, cintas y cifras */
html.js .entra.lado-izq,
html.js .entra.lado-der,
html.js .entra.sube-fuerte,
html.js .entra.escala {
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.05s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--d, 0s);
}
html.js .entra.lado-izq { transform: translate3d(-72px, 0, 0); }
html.js .entra.lado-der { transform: translate3d(72px, 0, 0); }
html.js .entra.sube-fuerte { transform: translate3d(0, 58px, 0) scale(.96); }
html.js .entra.escala { transform: scale(.9); }
html.js .entra.lado-izq.visible,
html.js .entra.lado-der.visible,
html.js .entra.sube-fuerte.visible,
html.js .entra.escala.visible { opacity: 1; transform: none; animation: none; }

.hero-fondo { position: absolute; inset: -8% 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-mancha { position: absolute; display: block; border-radius: 50%; filter: blur(70px); opacity: .45; }
.hero-mancha.m1 { width: 520px; height: 520px; left: -150px; top: -160px; background: radial-gradient(circle, rgba(84, 234, 251, .6), transparent 65%); animation: heroFlota 26s ease-in-out infinite alternate; }
.hero-mancha.m2 { width: 460px; height: 460px; right: -120px; top: -60px; background: radial-gradient(circle, rgba(7, 71, 166, .9), transparent 66%); animation: heroFlota 34s ease-in-out infinite alternate-reverse; }
.hero-circulo { position: absolute; width: 340px; height: 340px; right: 7%; bottom: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(84, 234, 251, .22), transparent 62%); box-shadow: inset 0 0 0 1px rgba(84, 234, 251, .3); animation: heroFlota 22s ease-in-out infinite alternate; }
.hero-punto { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cian); opacity: .5; animation: heroFlotaMini 8s ease-in-out infinite alternate; }
.hero-punto.p1 { left: 22%; bottom: 26%; }
.hero-punto.p2 { left: 58%; top: 24%; animation-delay: -3s; }
.hero-punto.p3 { right: 18%; bottom: 32%; animation-delay: -5s; }
.hero-marca { padding-bottom: 4.6rem; }
.hero-titan { position: absolute; left: 0; right: 0; bottom: -.06em; margin: 0; overflow: hidden; white-space: nowrap; pointer-events: none; z-index: 1; }
.hero-titan span { display: inline-block; padding-left: 100%; font-weight: 800; letter-spacing: -.02em; font-size: clamp(2.6rem, 9vw, 6.4rem); line-height: 1; color: rgba(255, 255, 255, .1); animation: heroTitan 46s linear infinite; }
@keyframes heroFlota { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(30px, -38px, 0) scale(1.08); } }
@keyframes heroFlotaMini { from { transform: translateY(0); } to { transform: translateY(-22px); } }
@keyframes heroTitan { from { transform: translateX(0); } to { transform: translateX(-100%); } }

html.js .cinta { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
html.js .cinta .cinta-pista { display: flex; width: max-content; animation: cintaFlujo 46s linear infinite; }
html.js .cinta .logos { flex-wrap: nowrap; width: max-content; padding-right: 2.6rem; }
html.js .cinta:hover .cinta-pista { animation-play-state: paused; }
@keyframes cintaFlujo { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: left; }
.cifra { display: flex; align-items: center; gap: .95rem; padding: 1rem 1.1rem; background: linear-gradient(180deg, #fff 0%, #f3f7fd 100%); border: 1px solid rgba(7, 71, 166, .12); border-radius: 16px; }
.cifra-icono { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--azul); background: rgba(84, 234, 251, .16); box-shadow: inset 0 0 0 1px rgba(7, 71, 166, .12); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.cifra-icono svg { width: 26px; height: 26px; }
.cifra:hover .cifra-icono { transform: scale(1.08); }
.cifra-dato { min-width: 0; }
.cifra-dato strong { display: block; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; color: var(--azul); font-variant-numeric: tabular-nums; }
.cifra-dato span { display: block; margin-top: .3rem; font-size: .86rem; line-height: 1.25; opacity: .72; }

body { overflow-x: clip; }

@media (max-width: 900px) {
    .cifras { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    html.js .entra.lado-izq { transform: translate3d(-38px, 0, 0); }
    html.js .entra.lado-der { transform: translate3d(38px, 0, 0); }
    html.js .entra.sube-fuerte { transform: translate3d(0, 38px, 0) scale(.98); }
    .hero-marca { padding-bottom: 3.8rem; }
    .hero-mancha { filter: blur(48px); }
    .hero-mancha.m1, .hero-mancha.m2 { width: 340px; height: 340px; }
    .hero-mancha.m2 { top: -20px; }
    .hero-circulo { width: 220px; height: 220px; }
    .hero-punto { display: none; }
    .hero-titan span { font-size: clamp(2.2rem, 16vw, 4.2rem); }
    .cifra { gap: .7rem; padding: .8rem .85rem; }
    .cifra-icono { width: 44px; height: 44px; border-radius: 12px; }
    .cifra-icono svg { width: 22px; height: 22px; }
}
@media (max-width: 460px) {
    .cifras { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html.js .entra.lado-izq,
    html.js .entra.lado-der,
    html.js .entra.sube-fuerte,
    html.js .entra.escala { opacity: 1; transform: none; transition: none; }
    .hero-mancha, .hero-circulo, .hero-punto, .hero-titan span { animation: none; }
    html.js .cinta .cinta-pista { animation: none; }
}

/* Y16 · Cabecera en dos líneas */
.barra-sup { display: flex; align-items: center; gap: .8rem; min-height: 78px; padding: .35rem 0; flex-wrap: nowrap; }
.logo-cabecera { height: 54px; }
.nav-cta-top { margin-left: auto; background: var(--cian); color: var(--tinta); font-weight: 700; padding: .6rem 1.15rem; }
.nav-cta-top:hover { background: #fff; }
.barra-menu { display: flex; justify-content: flex-end; padding: 0 0 .55rem; }
.barra-menu .nav { margin-left: 0; }
.barra-menu .nav ul { justify-content: flex-end; gap: 1.25rem; font-size: 1rem; }
@media (max-width: 1200px) {
    .logo-cabecera { height: 44px; }
    .barra-menu .nav ul { gap: .9rem; font-size: .95rem; }
}
@media (max-width: 860px) {
    .logo-cabecera { height: 34px; }
    .barra-sup { min-height: 64px; }
    .nav-cta-top { margin-left: auto; padding: .42rem .75rem; font-size: .82rem; }
    .nav-abre { display: grid; place-items: center; width: 40px; height: 36px; padding: 0; margin-left: 0; }
    .nav-abre svg { width: 20px; height: 20px; }
}
@media (max-width: 520px) {
    .logo-cabecera { height: 26px; }
}
@media (max-width: 400px) {
    .logo-cabecera { height: 24px; }
    .nav-cta-top { padding: .38rem .6rem; font-size: .78rem; }
}

/* Y16 · Tarjetas de servicio con icono y tono por categoría */
.linea-icono {
    display: inline-grid; place-items: center;
    width: 52px; height: 52px; margin-bottom: .8rem;
    border-radius: 14px; color: var(--azul);
    background: rgba(84, 234, 251, .18);
    box-shadow: inset 0 0 0 1px rgba(7, 71, 166, .12);
}
.linea-icono svg { width: 26px; height: 26px; }
.tarjeta-linea.tono-1 { background: #f4f8ff; }
.tarjeta-linea.tono-2 { background: #f2fbfd; }
.tarjeta-linea.tono-3 { background: #f5f7ff; }
.tarjeta-linea.tono-4 { background: #f3faf7; }
.tarjeta-linea.tono-5 { background: #f7f8fd; }
.tarjeta-linea.tono-6 { background: #f3f9fb; }
.tarjeta-linea.tono-7 { background: #f6f7ff; }
.tarjeta-linea.tono-8 { background: #f2fbfb; }

/* Y16 · Buscador de servicios */
.filtro-bloque { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.filtro-bloque .filtro-campo { display: flex; flex: 1 1 260px; }
.filtro-bloque .filtros-cuenta { margin: 0; }

/* Y16 · Rejillas de cuatro columnas */
.grilla-4, .grilla-ocho { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
    .grilla-4, .grilla-ocho { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .grilla-4, .grilla-ocho { grid-template-columns: 1fr; }
}

/* Y16 · Academia */
.academia-lista .grilla-cursos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.academia-facebook {
    margin: 2rem 0 1rem; padding: 1.2rem 1.3rem;
    background: var(--fondo); border-left: 3px solid var(--azul);
    border-radius: 0 14px 14px 0;
}
.academia-facebook h2 { margin-top: 0; }
@media (max-width: 700px) {
    .academia-lista .grilla-cursos { grid-template-columns: 1fr; }
}

/* Y16 · Metodologías */
.metodo-fases { display: grid; gap: 1rem; margin: 1.4rem 0; }
.metodo-fase { scroll-margin-top: 136px; }
.metodo-fase .etiqueta { margin: 0 0 .3rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.metodo-fase h2 { margin: .1rem 0 .5rem; font-size: 1.25rem; }
.metodo-cierre { margin-top: 1.6rem; padding: 1.3rem 1.4rem; background: var(--azul-oscuro); border-radius: 16px; color: #fff; }
.metodo-cierre h2 { margin-top: 0; color: #fff; }
.metodo-cierre p { margin: 0; color: #dbe7f7; }

/* Y16 · Licencias */
.collage-centro img { height: 34px; width: auto; filter: none; }
