/*
 * Capa visual Landing 2026 para ASP.NET MVC 5.
 * Se carga después de los estilos heredados para modernizar la portada sin
 * eliminar las clases y hooks utilizados por el sistema existente.
 */

:root {
    --landing-page: #ffffff;
    --landing-page-alt: #f0fdfa;
    --landing-card: #ffffff;
    --landing-fg: #003450;
    --landing-fg-soft: #4a7089;
    --landing-line: #dbe7ee;
    --landing-azul-1000: #00121d;
    --landing-azul-950: #001f30;
    --landing-azul-900: #003450;
    --landing-azul-800: #0d4972;
    --landing-azul-700: #165a7f;
    --landing-azul-600: #286f8e;
    --landing-cian-700: #04756a;
    --landing-cian-600: #06b8a6;
    --landing-cian-500: #0fefd9;
    --landing-cian-400: #73f4e5;
    --landing-cian-300: #aef4e9;
    --landing-cian-200: #d9fcf5;
    --landing-shadow: 0 18px 45px rgba(0, 52, 80, .12);
    --landing-radius: 18px;
}

html.dark {
    --landing-page: #00121d;
    --landing-page-alt: #001f30;
    --landing-card: #062b42;
    --landing-fg: #ffffff;
    --landing-fg-soft: #aef4e9;
    --landing-line: rgba(255, 255, 255, .12);
    --landing-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--landing-page);
    color: var(--landing-fg);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    transition: background-color .25s ease, color .25s ease;
}

a,
button,
input {
    font-family: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(15, 239, 217, .55);
    outline-offset: 3px;
}

.landing-shell {
    width: min(1180px, calc(100% - 32px));
    margin-right: auto;
    margin-left: auto;
}

/* Encabezado y barra promocional */
.landing-site-header {
    position: relative;
    z-index: 1030;
    border: 0;
}

.landing-site-header .header-top {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: var(--landing-azul-1000);
    color: #fff;
}

.landing-site-header .header-top::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    height: 44px;
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-600), var(--landing-cian-500));
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    content: "";
}

.landing-site-header .header-top .container,
.landing-site-header .header-top .row,
.landing-site-header .header-top-left {
    position: relative;
    z-index: 1;
    min-height: 44px;
}

.landing-promo {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.landing-promo__message,
.landing-promo__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.landing-promo__message strong {
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--landing-cian-500);
    color: var(--landing-azul-950);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.landing-promo__message b {
    color: var(--landing-cian-300);
}

.landing-promo__link,
.landing-promo__link:hover,
.landing-promo__link:focus {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.landing-promo__link strong {
    border-bottom: 2px solid currentColor;
    letter-spacing: .04em;
}

.landing-site-header .header-body {
    position: relative;
    border-bottom: 1px solid var(--landing-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(0, 52, 80, .05);
}

html.dark .landing-site-header .header-body {
    background: rgba(0, 18, 29, .96);
}

.landing-site-header .edu-navbar {
    min-height: 74px;
    margin: 0;
    border: 0;
    background: transparent;
}

.landing-site-header .container-heder-01 {
    width: min(1180px, calc(100% - 32px));
    min-height: 74px;
    padding: 0;
}

.landing-site-header .navbar-brand {
    display: flex;
    height: 74px;
    margin: 0 !important;
    padding: 9px 10px 9px 0 !important;
    align-items: center;
}

.landing-site-header .navbar-brand .logo,
.landing-site-header .navbar-brand .logo-is-sticky {
    width: auto;
    max-height: 52px;
    object-fit: contain;
}

.landing-site-header .navbar-nav > li > a {
    padding: 29px 9px 25px;
    color: var(--landing-fg);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
    transition: color .2s ease;
}

.landing-site-header .navbar-nav > li > a:hover,
.landing-site-header .navbar-nav > li > a:focus {
    background: transparent;
    color: var(--landing-cian-600);
}

html.dark .landing-site-header .navbar-nav > li > a {
    color: #fff;
}

.landing-site-header .navbar-search {
    margin-top: 18px;
    border: 1px solid var(--landing-line);
    border-radius: 999px;
    background: var(--landing-page-alt);
}

.landing-site-header .navbar-search__input {
    color: var(--landing-fg);
}

.landing-site-header .navbar-search__results {
    border-color: var(--landing-line);
    background: var(--landing-card);
    color: var(--landing-fg);
}

.landing-theme-item {
    display: flex !important;
    height: 74px;
    align-items: center;
    padding: 0 4px;
}

.landing-theme-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--landing-line);
    border-radius: 50%;
    background: transparent;
    color: var(--landing-fg);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.landing-theme-toggle:hover {
    border-color: var(--landing-cian-500);
    color: var(--landing-cian-600);
    transform: translateY(-1px);
}

.landing-theme-toggle svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.landing-theme-toggle__sun,
html.dark .landing-theme-toggle__moon {
    display: none;
}

html.dark .landing-theme-toggle__sun {
    display: block;
}

.landing-site-header .navbar-cart-link,
.landing-site-header .icon-user-sesion {
    display: inline-flex;
    width: 36px;
    height: 36px;
    margin-top: 19px;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--landing-line);
    border-radius: 50%;
}

.landing-site-header .navbar-cart-icon {
    max-width: 18px;
    max-height: 18px;
}

.landing-site-header .navbar-btn {
    margin-top: 18px !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 9px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 16px !important;
}

.landing-site-header .btn-corporativo {
    background: var(--landing-cian-500) !important;
    color: var(--landing-azul-950) !important;
}

.landing-site-header .btn-corporativo-blank {
    background: var(--landing-azul-800) !important;
    color: #fff !important;
}

/* Hero */
.landing-home {
    background: var(--landing-page);
    color: var(--landing-fg);
}

.landing-hero {
    position: relative;
    overflow: hidden;
    background: var(--landing-page);
}

.landing-hero__glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}

.landing-hero__glow--left {
    top: -150px;
    left: -140px;
    background: rgba(15, 239, 217, .23);
}

.landing-hero__glow--right {
    top: 25%;
    right: -170px;
    background: rgba(22, 90, 127, .18);
}

.landing-hero__grid {
    position: relative;
    display: grid;
    min-height: 610px;
    padding-top: 72px;
    padding-bottom: 76px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
    gap: 66px;
}

.landing-eyebrow {
    display: inline-flex;
    padding: 8px 15px;
    border: 1px solid rgba(15, 239, 217, .5);
    border-radius: 999px;
    background: rgba(15, 239, 217, .09);
    color: var(--landing-cian-700);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

html.dark .landing-eyebrow {
    color: var(--landing-cian-300);
}

.landing-hero__title {
    margin: 22px 0 0;
    color: var(--landing-fg);
    font-size: clamp(36px, 4.2vw, 54px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.04em;
}

.landing-hero__title span {
    display: block;
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .landing-hero__title span {
    background-image: linear-gradient(90deg, var(--landing-cian-300), var(--landing-cian-500));
}

.landing-hero__description {
    max-width: 610px;
    margin: 22px 0 0;
    color: var(--landing-fg-soft);
    font-size: 16px;
    line-height: 1.8;
}

.landing-hero__actions {
    display: flex;
    margin-top: 28px;
    gap: 12px;
}

.landing-button {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 24px;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.landing-button:hover {
    transform: translateY(-2px);
}

.landing-button--primary {
    background: var(--landing-cian-500);
    box-shadow: 0 12px 28px rgba(15, 239, 217, .26);
    color: var(--landing-azul-950) !important;
}

.landing-button--outline {
    border-color: var(--landing-azul-800);
    color: var(--landing-azul-800) !important;
}

html.dark .landing-button--outline {
    border-color: rgba(255, 255, 255, .3);
    color: #fff !important;
}

.landing-authorized {
    display: flex;
    margin-top: 34px;
    padding-top: 22px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--landing-line);
}

.landing-authorized > span:first-child {
    color: var(--landing-fg-soft);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.landing-authorized__chip {
    display: inline-flex;
    height: 44px;
    padding: 8px 12px;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.landing-authorized__chip img {
    width: auto;
    max-height: 22px;
}

.landing-authorized__pmi {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.landing-hero__visual {
    position: relative;
    width: 100%;
    max-width: 530px;
    margin: 0 auto;
}

.landing-hero__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3.12;
    border: 1px solid var(--landing-line);
    border-radius: 28px;
    background: var(--landing-page-alt);
    box-shadow: 0 26px 60px rgba(0, 52, 80, .22);
}

.landing-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    transition: opacity .55s ease, transform 7s linear;
    transform: scale(1.035);
}

.landing-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.landing-hero__shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 18, 29, .5), transparent 55%);
    pointer-events: none;
}

.landing-hero__experience,
.landing-hero__badge {
    position: absolute;
    z-index: 3;
    border-radius: 12px;
    box-shadow: var(--landing-shadow);
    font-size: 10px;
    font-weight: 800;
}

.landing-hero__experience {
    top: -13px;
    right: -12px;
    padding: 8px 13px;
    background: var(--landing-azul-800);
    color: #fff;
}

.landing-hero__badge {
    bottom: -16px;
    left: -18px;
    padding: 12px 15px;
    border: 1px solid var(--landing-line);
    background: var(--landing-card);
    color: var(--landing-fg);
}

.landing-hero__badge b {
    color: var(--landing-cian-600);
}

.landing-hero__dots {
    display: flex;
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 18px;
    gap: 7px;
}

.landing-hero__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .55);
    transition: width .2s ease, background-color .2s ease;
}

.landing-hero__dot.is-active {
    width: 28px;
    background: var(--landing-cian-500);
}

/* Secciones y títulos */
.landing-home section {
    position: relative;
}

.landing-home .container,
.landing-home .container-personalizado {
    max-width: 1180px;
}

.landing-home .seccion-nuevos-cusos {
    padding: 90px 0;
    background: var(--landing-page);
}

.landing-home .seccion-cursos-tendencia {
    background: var(--landing-page-alt);
}

.landing-home .section-header {
    margin-bottom: 36px;
    text-align: left;
}

.landing-home .section-header h2,
.landing-home .title-acreditaciones,
.landing-home .title-cliente {
    margin: 0;
    color: var(--landing-fg);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.035em;
    text-transform: none;
}

.landing-home .section-header h2::after {
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 13px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-500));
    content: "";
}

.landing-home .courses-r-margin-bottom {
    display: grid;
    margin-right: 0;
    margin-left: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.landing-home .courses-r-margin-bottom::before,
.landing-home .courses-r-margin-bottom::after {
    display: none;
}

.landing-home .single-courses-box {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

.landing-home .nc-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--landing-line);
    border-radius: 15px;
    background: var(--landing-card);
    box-shadow: 0 4px 18px rgba(0, 52, 80, .06);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.landing-home .nc-card:hover {
    border-color: var(--landing-cian-500);
    box-shadow: 0 18px 38px rgba(15, 239, 217, .12);
    transform: translateY(-9px);
}

.landing-home .nc-card figure {
    margin: 0;
}

.landing-home .nc-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--landing-azul-950);
}

.landing-home .nc-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.landing-home .nc-card:hover .nc-card__img-wrap > img {
    transform: scale(1.045);
}

.landing-home .nc-card__badge-top,
.landing-home .nc-card__badge-virtual {
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
}

.landing-home .nc-card__badge-top {
    background: var(--landing-cian-500);
    color: var(--landing-azul-950);
}

.landing-home .nc-card__badge-virtual {
    background: rgba(0, 18, 29, .86);
    color: var(--landing-cian-300);
}

.landing-home .nc-card__body {
    display: flex;
    padding: 19px;
    flex: 1;
    flex-direction: column;
}

.landing-home .nc-card__title,
.landing-home .nc-card__title a {
    color: var(--landing-fg) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

.landing-home .nc-card__meta,
.landing-home .nc-card__meta a,
.landing-home .nc-card__docentes-list a {
    color: var(--landing-fg-soft) !important;
    font-size: 11px;
}

.landing-home .nc-card__tiendita {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--landing-line);
}

.landing-home .nc-card__btn {
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--landing-cian-500), var(--landing-cian-400));
    color: var(--landing-azul-950) !important;
    font-size: 10px;
    font-weight: 900;
}

.landing-home .nc-card__cart {
    border-color: var(--landing-line);
    border-radius: 8px;
    background: var(--landing-page-alt);
}

.landing-home .nc-mas-cursos,
.landing-home .hero-software__btn {
    border: 2px solid var(--landing-azul-800);
    border-radius: 11px;
    background: transparent;
    color: var(--landing-azul-800);
    font-size: 12px;
    font-weight: 800;
}

/* Bloque de software existente, actualizado a la paleta */
.landing-home .hero-software {
    overflow: hidden;
    min-height: 600px;
    background: linear-gradient(135deg, var(--landing-azul-1000), var(--landing-azul-800)) !important;
}

.landing-home .hero-software > img {
    opacity: .22;
}

.landing-home .hero-software__title,
.landing-home .hero-software__list-title,
.landing-home .hero-software__list-text,
.landing-home .hero-software__subtitle,
.landing-home .hero-software__footnote {
    color: #fff;
}

.landing-home .hero-software__title-accent,
.landing-home .hero-software__list-title-char,
.landing-home .hero-software__footnote-highlight {
    color: var(--landing-cian-400);
}

.landing-home .hero-software__btn {
    border: 0;
    background: var(--landing-cian-500);
    color: var(--landing-azul-950);
}

/* Acreditaciones */
.landing-home .seccion-acreditaciones-internacionales {
    overflow: hidden;
    padding: 90px 0;
    border: 0;
    background: linear-gradient(180deg, var(--landing-azul-1000), var(--landing-azul-800), var(--landing-azul-1000));
}

.landing-home .seccion-acreditaciones-internacionales::before {
    position: absolute;
    top: -160px;
    left: 50%;
    width: 560px;
    height: 320px;
    border-radius: 50%;
    background: rgba(15, 239, 217, .15);
    content: "";
    filter: blur(100px);
    transform: translateX(-50%);
}

.landing-home .seccion-acreditaciones-internacionales .slider-btm-box {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
}

.landing-home .seccion-acreditaciones-internacionales .title-acreditaciones {
    color: #fff;
    text-align: center;
}

.landing-home .texto-acreditaciones p {
    color: rgba(217, 252, 245, .78);
    font-size: 14px;
    line-height: 1.75;
}

.landing-home .logos-acreditaciones img {
    max-width: 105px;
    max-height: 84px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
}

/* Estadísticas */
.landing-home .seccion-estudiantes {
    padding: 90px 0;
    background: var(--landing-page);
}

.landing-home .seccion-estudiantes .counter-text-bottom,
.landing-home .seccion-estudiantes .counters {
    color: var(--landing-fg);
}

.landing-home .seccion-estudiantes .counters-item {
    margin-bottom: 12px;
    border: 1px solid var(--landing-line);
    border-radius: 14px;
    background: var(--landing-page-alt);
}

.landing-home .seccion-estudiantes .counter-box i,
.landing-home .seccion-estudiantes .project-count {
    color: var(--landing-cian-600);
}

.landing-home .seccion-estudiantes .project-count {
    font-size: 34px;
    font-weight: 900;
}

.landing-home .seccion-estudiantes .counters-item span {
    color: var(--landing-fg-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* Clientes, convenios y testimonios */
.landing-home > .slider-content-bottom:not(.seccion-testimonios):not(.seccion-convenios):not(.seccion-acreditaciones-internacionales) {
    padding: 70px 0;
    border: 0;
    background: linear-gradient(180deg, var(--landing-azul-1000), var(--landing-azul-950), var(--landing-azul-1000));
}

.landing-home > .slider-content-bottom:not(.seccion-testimonios):not(.seccion-convenios):not(.seccion-acreditaciones-internacionales) .title-cliente {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #fff;
    text-align: center;
}

.landing-home .carusel-cliente .swiper-slide,
.landing-home .carusel-convenios .swiper-slide {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
}

.landing-home .carusel-cliente img,
.landing-home .carusel-convenios img {
    object-fit: contain;
}

.landing-home .seccion-convenios {
    padding: 75px 0;
    background: var(--landing-page-alt);
}

.landing-home .seccion-convenios .title-cliente {
    margin-bottom: 32px;
    text-align: center;
}

.landing-home .seccion-testimonios {
    overflow: hidden;
    padding: 88px 0;
    background: linear-gradient(135deg, var(--landing-azul-900), var(--landing-azul-800), var(--landing-azul-700));
}

.landing-home .testimonios-texto h3 {
    color: var(--landing-cian-300);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-home .testimonios-texto p {
    color: #fff;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.landing-home .mySwiperTestimonios {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: var(--landing-azul-1000);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.landing-home .mySwiperTestimonios iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* Certificados */
.landing-home .cert-impulso {
    margin-top: 70px;
    padding: 45px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--landing-azul-1000), var(--landing-azul-800));
}

.landing-home .cert-impulso__title,
.landing-home .cert-impulso__title-line {
    color: #fff;
}

/* Pie de página heredado */
.container-footer {
    margin: 0;
    padding-top: 62px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: var(--landing-azul-1000) !important;
    color: rgba(217, 252, 245, .7);
}

.container-footer h3,
.container-footer h4,
.container-footer .footer-title {
    color: #fff !important;
    font-weight: 800;
}

.container-footer p,
.container-footer li,
.container-footer a {
    color: rgba(217, 252, 245, .7) !important;
}

.container-footer a:hover {
    color: var(--landing-cian-400) !important;
}

.landing-whatsapp {
    display: flex;
    position: fixed;
    z-index: 1100;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
    color: #fff;
    transition: transform .2s ease, background-color .2s ease;
}

.landing-whatsapp:hover,
.landing-whatsapp:focus {
    background: #20bd5a;
    color: #fff;
    transform: scale(1.06);
}

.landing-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

#iconWhatsApp {
    display: none !important;
}

.landing-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
}

.landing-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1199px) {
    .landing-site-header .navbar-nav > li > a {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 9px;
    }

    .landing-site-header .navbar-search {
        display: none;
    }

    .landing-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
        gap: 38px;
    }

    .landing-home .courses-r-margin-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .landing-site-header .container-heder-01 {
        width: calc(100% - 28px);
    }

    .landing-site-header .navbar-header {
        float: none;
    }

    .landing-site-header .navbar-toggle {
        display: block;
        margin-top: 19px;
        border-color: var(--landing-line);
        border-radius: 9px;
    }

    .landing-site-header .navbar-toggle .icon-bar {
        background: var(--landing-fg);
    }

    .landing-site-header .navbar-collapse {
        float: none !important;
        max-height: calc(100vh - 118px);
        padding: 8px 0 18px;
        border: 0;
        background: var(--landing-page);
        box-shadow: none;
    }

    .landing-site-header .navbar-collapse.collapse {
        display: none !important;
    }

    .landing-site-header .navbar-collapse.collapse.in {
        display: block !important;
        overflow-y: auto !important;
    }

    .landing-site-header .navbar-nav,
    .landing-site-header .navbar-nav > li {
        float: none !important;
    }

    .landing-site-header .navbar-nav {
        width: 100%;
        margin: 0;
    }

    .landing-site-header .navbar-nav > li > a {
        padding: 11px 5px;
        font-size: 11px;
    }

    .landing-theme-item {
        height: auto;
        padding: 7px 3px;
    }

    .landing-site-header .navbar-cart-link,
    .landing-site-header .icon-user-sesion,
    .landing-site-header .navbar-btn {
        margin: 7px 0 !important;
    }

    .landing-hero__grid {
        padding-top: 58px;
        padding-bottom: 64px;
        grid-template-columns: 1fr;
    }

    .landing-hero__content {
        max-width: 720px;
    }

    .landing-hero__visual {
        max-width: 660px;
    }

    .landing-home .hero-software__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .landing-site-header .header-top::after {
        display: none;
    }

    .landing-promo {
        justify-content: center;
        font-size: 11px;
    }

    .landing-promo__message {
        display: none;
    }

    .landing-site-header .navbar-brand {
        padding-left: 0 !important;
    }

    .landing-site-header .navbar-brand .logo,
    .landing-site-header .navbar-brand .logo-is-sticky {
        max-width: 155px;
        max-height: 48px;
    }

    .landing-shell {
        width: min(100% - 28px, 1180px);
    }

    .landing-hero__grid {
        min-height: 0;
        gap: 46px;
    }

    .landing-hero__title {
        font-size: clamp(34px, 11vw, 45px);
    }

    .landing-hero__actions {
        flex-direction: column;
    }

    .landing-button {
        width: 100%;
    }

    .landing-hero__experience {
        right: 10px;
    }

    .landing-hero__badge {
        left: 10px;
    }

    .landing-home .seccion-nuevos-cusos,
    .landing-home .seccion-acreditaciones-internacionales,
    .landing-home .seccion-estudiantes,
    .landing-home .seccion-testimonios {
        padding: 66px 0;
    }

    .landing-home .courses-r-margin-bottom {
        grid-template-columns: 1fr;
    }

    .landing-home .cert-impulso {
        padding: 28px 18px;
    }

    .landing-home .logos-acreditaciones {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .landing-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .landing-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ================================================================
   Layout 2: cabecera y pie fieles al diseño fuente de Landing 2026
   ================================================================ */
#header.landing-shell-header {
    position: sticky;
    z-index: 1030;
    top: 0;
    width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.landing-shell-header *,
.landing-shell-footer * {
    box-sizing: border-box;
}

.landing-shell-promo {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 44px;
    background: var(--landing-azul-1000);
    color: #fff;
}

.landing-shell-promo__accent {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 46%;
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-600), var(--landing-cian-500));
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.landing-shell-promo__inner {
    display: flex;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    height: 44px;
    margin: 0 auto;
    padding: 0 32px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.landing-shell-promo__message,
.landing-shell-promo__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.landing-shell-promo__message strong {
    color: var(--landing-cian-400);
    font-weight: 800;
}

.landing-shell-promo__badge,
.landing-shell-promo__mobile-badge {
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--landing-cian-500);
    color: var(--landing-azul-950);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.landing-shell-promo__mobile-badge {
    display: none;
}

.landing-shell-promo__link,
.landing-shell-promo__link:hover,
.landing-shell-promo__link:focus {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.landing-shell-promo__link strong {
    border-bottom: 2px solid currentColor;
    letter-spacing: .035em;
    line-height: 1.15;
}

.landing-shell-nav-wrap {
    width: 100%;
    min-height: 78px;
    border-bottom: 1px solid var(--landing-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html.dark .landing-shell-nav-wrap {
    background: rgba(0, 18, 29, .96);
}

.landing-shell-nav {
    display: grid;
    width: 100%;
    max-width: 1280px;
    min-height: 77px;
    margin: 0 auto;
    padding: 0 32px;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
}

.landing-shell-nav__brand {
    display: flex;
    width: 44px;
    height: 58px;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.landing-shell-nav__brand img {
    display: block;
    width: auto;
    height: 56px;
    max-width: none;
    object-fit: contain;
}

.landing-shell-nav__links,
.landing-shell-mobile__links,
.landing-shell-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-shell-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.landing-shell-nav__links > li,
.landing-shell-nav__links > li > a {
    display: block;
}

.landing-shell-nav__links > li > a {
    padding: 10px 0;
    color: var(--landing-fg);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
    white-space: nowrap;
}

.landing-shell-nav__links > li > a:hover,
.landing-shell-nav__links > li > a:focus {
    color: var(--landing-cian-600);
    text-decoration: none;
}

.landing-shell-nav__links > li > a:focus,
.landing-shell-nav__links > li > a:focus-visible {
    outline: none;
    box-shadow: none;
}

.landing-shell-nav__links > li > a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

html.dark .landing-shell-nav__links > li > a {
    color: #fff;
}

.landing-shell-nav__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.landing-shell-circle,
.landing-shell-header .landing-theme-toggle {
    display: inline-flex;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--landing-line);
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--landing-fg);
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.landing-shell-circle:hover,
.landing-shell-circle:focus,
.landing-shell-header .landing-theme-toggle:hover,
.landing-shell-header .landing-theme-toggle:focus {
    border-color: var(--landing-cian-500);
    background: transparent;
    color: var(--landing-cian-600);
    outline: 0;
    text-decoration: none;
    transform: translateY(-1px);
}

html.dark .landing-shell-circle,
html.dark .landing-shell-header .landing-theme-toggle {
    color: #fff;
}

.landing-shell-circle svg,
.landing-shell-header .landing-theme-toggle svg {
    width: 17px;
    height: 17px;
}

.landing-shell-cart svg,
.landing-shell-menu-toggle svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.landing-shell-action,
.landing-shell-action:hover,
.landing-shell-action:focus {
    display: inline-flex;
    height: 33px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.landing-shell-action--aula,
.landing-shell-action--aula:hover,
.landing-shell-action--aula:focus {
    background: var(--landing-azul-800);
    color: #fff;
}

.landing-shell-action--login,
.landing-shell-action--login:hover,
.landing-shell-action--login:focus {
    background: var(--landing-cian-500);
    color: var(--landing-azul-950);
}

.landing-shell-user-name {
    display: inline-block;
    max-width: 130px;
    overflow: hidden;
    color: var(--landing-fg);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.dark .landing-shell-user-name {
    color: #fff;
}

.landing-shell-user-menu .landing-shell-circle {
    gap: 3px;
}

.landing-shell-user-menu .dropdown-menu {
    margin-top: 10px;
    padding: 5px 0;
    border-color: var(--landing-line);
    border-radius: 8px;
}

.landing-shell-menu-toggle,
.landing-shell-mobile,
.landing-shell-mobile.collapse.in,
.landing-shell-mobile.collapsing {
    display: none;
}

.landing-shell-menu-toggle__close,
.landing-shell-menu-toggle[aria-expanded="false"] .landing-shell-menu-toggle__close,
.landing-shell-menu-toggle[aria-expanded="true"] .landing-shell-menu-toggle__open {
    display: none;
}

.landing-shell-menu-toggle[aria-expanded="true"] .landing-shell-menu-toggle__close {
    display: block;
}

.landing-shell-footer {
    width: 100%;
    margin: 0;
    padding: 64px 32px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: var(--landing-azul-1000);
    color: rgba(217, 252, 245, .7);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.landing-shell-footer__inner {
    display: grid;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 48px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.landing-shell-footer__logo {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    gap: 13px;
}

.landing-shell-footer__logo img {
    display: block;
    width: auto;
    height: 56px;
    max-width: none;
    object-fit: contain;
}

.landing-shell-footer__logo span {
    color: rgba(217, 252, 245, .6);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.landing-shell-footer h3 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.landing-shell-footer p {
    margin: 22px 0 0;
    color: rgba(217, 252, 245, .7);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

.landing-shell-footer ul {
    display: grid;
    margin-top: 15px;
    gap: 8px;
}

.landing-shell-footer li,
.landing-shell-footer a {
    color: rgba(217, 252, 245, .7);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
}

.landing-shell-footer a:hover,
.landing-shell-footer a:focus {
    color: var(--landing-cian-400);
    text-decoration: none;
}

.landing-shell-footer__bottom {
    display: flex;
    min-height: 65px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(217, 252, 245, .5);
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.landing-whatsapp {
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
}

.landing-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 1199px) {
    .landing-shell-nav {
        gap: 18px;
    }

    .landing-shell-nav__links {
        gap: 13px;
    }

    .landing-shell-nav__links > li > a {
        font-size: 11px;
    }

    .landing-shell-nav__actions {
        gap: 7px;
    }

    .landing-shell-action {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    .landing-shell-nav {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .landing-shell-nav__links {
        display: none;
    }

    .landing-shell-nav__actions {
        justify-self: end;
    }

    .landing-shell-menu-toggle {
        display: inline-flex;
    }

    .landing-shell-mobile {
        width: auto;
        margin: 0 -32px;
        padding: 14px 32px 18px;
        border-top: 1px solid var(--landing-line);
        background: var(--landing-page);
        grid-column: 1 / -1;
    }

    .landing-shell-mobile.collapse.in {
        display: block;
    }

    .landing-shell-mobile.collapsing {
        display: block;
    }

    .landing-shell-mobile__links a {
        display: block;
        padding: 10px 0;
        color: var(--landing-fg);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .025em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .landing-shell-mobile__aula {
        display: block;
        margin-top: 9px;
        padding: 11px 16px;
        border-radius: 8px;
        background: var(--landing-azul-800);
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .025em;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
    }

    .landing-shell-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .landing-shell-promo__accent,
    .landing-shell-promo__message {
        display: none;
    }

    .landing-shell-promo__inner {
        padding: 0 16px;
        justify-content: center;
        font-size: 12px;
    }

    .landing-shell-promo__mobile-badge {
        display: inline-block;
    }

    .landing-shell-promo__date {
        display: none;
    }

    .landing-shell-nav {
        padding: 0 18px;
    }

    .landing-shell-action--aula {
        display: none !important;
    }

    .landing-shell-mobile {
        margin-right: -18px;
        margin-left: -18px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .landing-shell-footer {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 639px) {
    .landing-shell-cart,
    .landing-shell-user-name {
        display: none;
    }

    .landing-shell-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479px) {
    .landing-shell-nav {
        min-height: 70px;
        padding: 0 14px;
        gap: 8px;
    }

    .landing-shell-nav__brand {
        width: 39px;
        height: 52px;
    }

    .landing-shell-nav__brand img {
        height: 50px;
    }

    .landing-shell-nav__actions {
        gap: 6px;
    }

    .landing-shell-action--login {
        height: 32px;
        padding: 0 11px;
        font-size: 10px;
    }

    .landing-shell-circle,
    .landing-shell-header .landing-theme-toggle {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .landing-shell-mobile {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .landing-shell-footer {
        padding-top: 48px;
    }
}

/* Hero portado del componente Hero.tsx del diseño fuente. */
.landing-home .landing-hero {
    position: relative;
    overflow: hidden;
    background: var(--landing-page);
}

.landing-home .landing-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.landing-home .landing-hero__glow--left {
    top: -96px;
    left: -128px;
    width: 384px;
    height: 384px;
    background: rgba(15, 239, 217, .25);
    filter: blur(110px);
}

.landing-home .landing-hero__glow--right {
    top: 33.333%;
    right: -96px;
    width: 416px;
    height: 416px;
    background: rgba(22, 90, 127, .15);
    filter: blur(120px);
}

html.dark .landing-home .landing-hero__glow--left {
    background: rgba(15, 239, 217, .2);
}

html.dark .landing-home .landing-hero__glow--right {
    background: rgba(15, 239, 217, .1);
}

.landing-home .landing-hero__grid {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 1280px;
    min-height: 0;
    margin: 0 auto;
    padding: 80px 32px;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}

.landing-home .landing-hero__copy-stack {
    display: grid;
    position: relative;
}

.landing-home .landing-hero__copy {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    grid-area: 1 / 1;
}

.landing-home .landing-hero__copy.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: landingHeroCopyIn .4s ease both;
}

@keyframes landingHeroCopyIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-home .landing-eyebrow {
    display: inline-flex;
    min-height: 31px;
    padding: 6px 16px;
    align-items: center;
    border: 1px solid rgba(15, 239, 217, .5);
    border-radius: 999px;
    background: rgba(15, 239, 217, .1);
    color: var(--landing-cian-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1.2;
    text-transform: uppercase;
}

html.dark .landing-home .landing-eyebrow {
    color: var(--landing-cian-300);
}

.landing-home .landing-hero__title {
    margin: 20px 0 0;
    color: var(--landing-fg);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
    text-transform: none;
}

.landing-home .landing-hero__title span {
    display: inline;
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .landing-home .landing-hero__title span {
    background-image: linear-gradient(90deg, var(--landing-cian-400), var(--landing-cian-500));
}

.landing-home .landing-hero__description {
    max-width: 576px;
    margin: 20px 0 0;
    color: var(--landing-fg-soft);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.landing-home .landing-hero__actions {
    display: flex;
    margin-top: 28px;
    flex-direction: row;
    gap: 12px;
}

.landing-home .landing-button {
    display: inline-flex;
    min-height: 52px;
    padding: 14px 28px;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.landing-home .landing-button--primary {
    background: var(--landing-cian-500);
    box-shadow: 0 10px 22px rgba(15, 239, 217, .3);
    color: var(--landing-azul-950) !important;
}

.landing-home .landing-button--primary:hover,
.landing-home .landing-button--primary:focus {
    background: var(--landing-cian-400);
}

.landing-home .landing-button--outline {
    border-color: var(--landing-azul-800);
    background: transparent;
    color: var(--landing-azul-800) !important;
}

.landing-home .landing-button--outline:hover,
.landing-home .landing-button--outline:focus {
    background: var(--landing-azul-800);
    color: #fff !important;
}

html.dark .landing-home .landing-button--outline {
    border-color: rgba(255, 255, 255, .3);
    color: #fff !important;
}

html.dark .landing-home .landing-button--outline:hover,
html.dark .landing-home .landing-button--outline:focus {
    background: rgba(255, 255, 255, .1);
}

.landing-home .landing-authorized {
    display: flex;
    margin-top: 32px;
    padding-top: 24px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--landing-line);
}

.landing-home .landing-authorized > span:first-child {
    color: var(--landing-fg-soft);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.landing-home .landing-authorized__chip {
    display: inline-flex;
    height: 44px;
    padding: 0 12px;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    outline: 1px solid rgba(0, 0, 0, .05);
}

.landing-home .landing-authorized__chip img {
    display: block;
    width: auto;
    height: 20px;
    max-height: 20px;
}

.landing-home .landing-authorized__pmi {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.landing-home .landing-hero__dots {
    display: flex;
    position: static;
    margin-top: 24px;
    align-items: center;
    gap: 8px;
}

.landing-home .landing-hero__dot {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 52, 80, .25);
    box-shadow: none;
    transition: width .2s ease, background-color .2s ease;
}

html.dark .landing-home .landing-hero__dot {
    background: rgba(255, 255, 255, .28);
}

.landing-home .landing-hero__dot.is-active {
    width: 32px;
    background: var(--landing-cian-500);
}

.landing-home .landing-hero__visual {
    position: relative;
    width: 100%;
    max-width: 512px;
    margin: 0 auto;
}

.landing-home .landing-hero__media {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3.1;
    border: 1px solid var(--landing-line);
    border-radius: 24px;
    background: var(--landing-page-alt);
    box-shadow: 0 25px 50px -12px rgba(0, 52, 80, .2);
}

.landing-home .landing-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    transform: scale(1.04);
    transition: opacity .5s ease, transform .5s ease;
}

.landing-home .landing-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.landing-home .landing-hero__shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 31, 48, .55), transparent 55%);
    pointer-events: none;
}

.landing-home .landing-hero__experience {
    position: absolute;
    z-index: 4;
    top: -13px;
    right: -16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--landing-azul-800);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.landing-home .landing-hero__badge {
    display: none;
    position: absolute;
    z-index: 4;
    bottom: -16px;
    left: -20px;
    padding: 10px 16px;
    align-items: center;
    border: 1px solid var(--landing-line);
    border-radius: 12px;
    background: var(--landing-card);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
    color: var(--landing-fg);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.landing-home .landing-hero__badge.is-active {
    display: inline-flex;
    animation: landingHeroBadgeIn .35s ease both;
}

.landing-home .landing-hero__badge b {
    margin-right: 4px;
    color: var(--landing-cian-700);
}

html.dark .landing-home .landing-hero__badge b {
    color: var(--landing-cian-400);
}

@keyframes landingHeroBadgeIn {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 991px) {
    .landing-home .landing-hero__grid {
        padding: 64px 24px 72px;
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .landing-home .landing-hero__content {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .landing-home .landing-hero__visual {
        max-width: 560px;
    }
}

@media (max-width: 767px) {
    .landing-home .landing-hero__grid {
        padding: 48px 16px 64px;
        gap: 52px;
    }

    .landing-home .landing-hero__title {
        font-size: 36px;
    }

    .landing-home .landing-hero__description {
        font-size: 16px;
    }

    .landing-home .landing-hero__actions {
        flex-direction: column;
    }

    .landing-home .landing-button {
        width: 100%;
    }

    .landing-home .landing-hero__experience {
        right: 10px;
    }

    .landing-home .landing-hero__badge {
        left: 10px;
    }
}

@media (max-width: 479px) {
    .landing-home .landing-hero__title {
        font-size: 32px;
    }

    .landing-home .landing-authorized {
        align-items: flex-start;
    }

    .landing-home .landing-authorized > span:first-child {
        width: 100%;
    }
}

/* Franja de organizaciones aliadas del diseño fuente. */
.landing-home .landing-partners {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: linear-gradient(180deg, #00121d 0%, #001f30 50%, #00121d 100%);
}

.landing-partners__heading {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.landing-partners__heading h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.25;
    text-transform: none;
}

.landing-partners__heading h2 span {
    background: linear-gradient(90deg, var(--landing-cian-300), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-partners__viewport {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.landing-partners__track {
    display: flex;
    width: max-content;
    padding: 0 8px;
    gap: 16px;
    animation: landingPartnersMarquee 56s linear infinite;
    will-change: transform;
}

.landing-partners__viewport:hover .landing-partners__track,
.landing-partners__viewport:focus-within .landing-partners__track {
    animation-play-state: paused;
}

.landing-partner-tile {
    display: flex;
    flex: 0 0 208px;
    width: 208px;
    height: 80px;
    padding: 0 16px;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.landing-partner-tile__logo {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    object-fit: contain;
}

.landing-partner-tile__name {
    color: rgba(255, 255, 255, .82);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

@keyframes landingPartnersMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 639px) {
    .landing-home .landing-partners {
        padding: 56px 0;
    }

    .landing-partners__heading {
        padding: 0 16px;
    }

    .landing-partners__heading h2 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-partners__track {
        animation: none;
    }
}

/* Catálogo de cursos en tendencia del diseño fuente. */
.landing-home .landing-trending-courses {
    padding: 96px 32px;
    background: var(--landing-page);
}

.landing-trending-courses__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-trending-courses__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.landing-trending-courses__eyebrow {
    display: block;
    color: var(--landing-cian-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1.25;
    text-transform: uppercase;
}

html.dark .landing-trending-courses__eyebrow {
    color: var(--landing-cian-400);
}

.landing-trending-courses__header h2 {
    margin: 12px 0 0;
    color: var(--landing-fg);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.2;
    text-transform: none;
}

.landing-trending-courses__header h2 span {
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .landing-trending-courses__header h2 span {
    background-image: linear-gradient(90deg, var(--landing-cian-300), var(--landing-cian-500));
}

.landing-trending-courses__all,
.landing-trending-courses__all:hover,
.landing-trending-courses__all:focus {
    flex: 0 0 auto;
    padding: 10px 20px;
    border: 2px solid var(--landing-azul-800);
    border-radius: 12px;
    background: transparent;
    color: var(--landing-azul-800);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.landing-trending-courses__all:hover,
.landing-trending-courses__all:focus {
    background: var(--landing-azul-800);
    color: #fff;
}

html.dark .landing-trending-courses__all,
html.dark .landing-trending-courses__all:hover,
html.dark .landing-trending-courses__all:focus {
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}

html.dark .landing-trending-courses__all:hover,
html.dark .landing-trending-courses__all:focus {
    background: rgba(255, 255, 255, .1);
}

.landing-trending-courses__all--mobile {
    display: none;
}

.landing-trending-courses__grid {
    display: grid;
    margin-top: 40px;
    align-items: stretch;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.landing-course-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--landing-line);
    border-radius: 12px;
    background: var(--landing-card);
    box-shadow: 0 1px 3px rgba(0, 52, 80, .12);
    text-align: left;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.landing-course-card--offset {
    margin-top: 32px;
}

@media (min-width: 992px) {
    .landing-course-card {
        aspect-ratio: 7 / 10;
    }

    .landing-course-card--offset {
        aspect-ratio: auto;
    }
}

.landing-course-card:hover {
    border-color: var(--landing-cian-500);
    box-shadow: 0 20px 25px -5px rgba(15, 239, 217, .1);
    transform: translateY(-10px) scale(1.03);
}

.landing-course-card__media {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 0;
    aspect-ratio: 780 / 450;
    background: var(--landing-azul-950);
}

.landing-course-card__media.cargador {
    min-height: 0;
}

.landing-course-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.landing-course-card__category,
.landing-course-card__featured {
    position: absolute;
    z-index: 2;
    top: 12px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1.2;
    text-transform: uppercase;
}

.landing-course-card__category {
    left: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    background: rgba(0, 18, 29, .85);
    color: var(--landing-cian-300);
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.landing-course-card__featured {
    right: 12px;
    background: var(--landing-cian-500);
    color: var(--landing-azul-950);
}

.landing-course-card__category + .landing-course-card__featured {
    max-width: 95px;
}

.landing-course-card__body {
    display: flex;
    min-height: 0;
    padding: 20px;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

.landing-course-card__body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 0;
    margin: 0;
    color: var(--landing-fg);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.35;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.landing-course-card__body h3 a,
.landing-course-card__body h3 a:hover,
.landing-course-card__body h3 a:focus {
    color: inherit;
    text-decoration: none;
}

.landing-course-card__teachers {
    display: flex;
    overflow: visible;
    min-height: 0;
    margin-top: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: var(--landing-cian-700);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

html.dark .landing-course-card__teachers {
    color: var(--landing-cian-300);
}

.landing-course-card__teachers a,
.landing-course-card__teachers a:hover,
.landing-course-card__teachers a:focus {
    display: block;
    max-width: 100%;
    color: inherit;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.landing-course-card__teachers a:not(:last-child)::after {
    content: none;
}

.landing-course-card__detail {
    display: flex;
    overflow: visible;
    margin: 4px 0 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--landing-fg-soft);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
}

.landing-course-card__modality {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-course-card__detail time {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}

.landing-course-card__button,
.landing-course-card__button:hover,
.landing-course-card__button:focus {
    display: inline-flex;
    min-height: 37px;
    margin-top: auto;
    padding: 9px 16px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--landing-cian-500), var(--landing-cian-400));
    color: var(--landing-azul-950);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.landing-course-card__button:hover,
.landing-course-card__button:focus {
    box-shadow: 0 0 20px rgba(15, 239, 217, .4);
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .landing-home .landing-trending-courses {
        padding: 80px 24px;
    }

    .landing-trending-courses__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .landing-home .landing-trending-courses {
        padding: 72px 16px;
    }

    .landing-trending-courses__header h2 {
        font-size: 28px;
    }

    .landing-trending-courses__all--desktop {
        display: none;
    }

    .landing-trending-courses__all--mobile {
        display: block;
        margin-top: 32px;
    }

    .landing-trending-courses__grid {
        grid-template-columns: 1fr;
    }

    .landing-course-card--offset {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-course-card:hover {
        transform: none;
    }
}

/* Respaldo institucional de la landing aislada. */
.landing-home .landing-certifications {
    position: relative;
    overflow: hidden;
    padding: 96px 32px;
    background: linear-gradient(180deg, #00121d 0%, #0d4972 50%, #00121d 100%);
    color: #fff;
}

.landing-certifications__glow {
    position: absolute;
    top: -180px;
    left: 50%;
    width: 520px;
    height: 360px;
    border-radius: 50%;
    background: rgba(19, 229, 216, .18);
    filter: blur(100px);
    pointer-events: none;
    transform: translateX(-50%);
    animation: landing-certifications-pulse 6s ease-in-out infinite;
}

.landing-certifications__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.landing-certifications__eyebrow {
    margin: 0;
    color: #71f1e5;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.landing-certifications h2 {
    max-width: 768px;
    margin: 12px auto 0;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -.025em;
}

.landing-certifications h2 span {
    background: linear-gradient(90deg, #5eead4, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-certifications__grid {
    display: grid;
    margin-top: 48px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.landing-certification-card {
    min-width: 0;
    min-height: 208px;
    padding: 24px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
    text-align: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.landing-certification-card--offset {
    margin-top: 24px;
}

.landing-certification-card:hover {
    border-color: rgba(94, 234, 212, .55);
    box-shadow: 0 20px 44px rgba(1, 18, 29, .26), 0 0 24px rgba(45, 212, 191, .12);
    transform: translateY(-8px) scale(1.04);
}

.landing-certification-card__logo {
    display: flex;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.landing-certification-card__logo--white {
    padding: 8px;
    border-radius: 8px;
    background: #fff;
}

.landing-certification-card__logo--round {
    border-radius: 50%;
}

.landing-certification-card__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing-certification-card h3 {
    margin: 16px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.landing-certification-card p {
    margin: 4px 0 0;
    color: rgba(165, 243, 252, .7);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.landing-certification-card__meta {
    display: inline-flex;
    margin-top: 12px;
    padding: 2px 8px;
    border: 1px solid rgba(45, 212, 191, .3);
    border-radius: 4px;
    color: #67e8f9;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

@keyframes landing-certifications-pulse {
    0%, 100% {
        opacity: .65;
        transform: translateX(-50%) scale(.9);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.15);
    }
}

@media (max-width: 991px) {
    .landing-home .landing-certifications {
        padding: 96px 24px;
    }

    .landing-certifications__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .landing-home .landing-certifications {
        padding: 80px 16px;
    }

    .landing-certifications h2 {
        font-size: 27px;
    }

    .landing-certifications__grid {
        gap: 16px;
    }

    .landing-certification-card {
        min-height: 220px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .landing-certification-card--offset {
        margin-top: 24px;
    }
}

@media (max-width: 420px) {
    .landing-certifications__grid {
        grid-template-columns: 1fr;
    }

    .landing-certification-card,
    .landing-certification-card--offset {
        min-height: 0;
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-certifications__glow {
        animation: none;
    }

    .landing-certification-card:hover {
        transform: none;
    }
}

/* Cifras de impacto de la landing aislada. */
.landing-home .landing-impact {
    padding: 96px 32px;
    background: var(--landing-page);
    color: var(--landing-fg);
}

.landing-impact__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-impact__header {
    max-width: 672px;
    margin: 0 auto;
    text-align: center;
}

.landing-impact__eyebrow {
    margin: 0;
    color: var(--landing-cian-700);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .02em;
    text-transform: uppercase;
}

html.dark .landing-impact__eyebrow {
    color: var(--landing-cian-400);
}

.landing-impact__header h2 {
    margin: 12px 0 0;
    color: var(--landing-fg);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -.025em;
}

.landing-impact__header h2 span {
    display: block;
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .landing-impact__header h2 span {
    background-image: linear-gradient(90deg, var(--landing-cian-300), var(--landing-cian-500));
}

.landing-impact__description {
    margin: 16px 0 0;
    color: var(--landing-fg-soft);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.landing-impact__grid {
    display: grid;
    margin-top: 48px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.landing-impact-card {
    min-width: 0;
    min-height: 130px;
    padding: 32px 16px;
    border: 1px solid var(--landing-line);
    border-radius: 12px;
    background: var(--landing-page-alt);
    text-align: center;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.landing-impact-card--offset {
    margin-top: 24px;
}

.landing-impact-card:hover {
    border-color: var(--landing-cian-500);
    box-shadow: 0 18px 38px rgba(0, 52, 80, .12);
    transform: translateY(-6px) scale(1.04);
}

.landing-impact-card__value {
    margin: 0;
    color: var(--landing-fg);
    font-size: 36px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.landing-impact-card__value strong {
    color: var(--landing-cian-700);
    font: inherit;
}

html.dark .landing-impact-card__value strong {
    color: var(--landing-cian-500);
}

.landing-impact-card__label {
    margin: 8px 0 0;
    color: var(--landing-fg-soft);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .02em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .landing-home .landing-impact {
        padding: 96px 24px;
    }

    .landing-impact__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .landing-home .landing-impact {
        padding: 80px 16px;
    }

    .landing-impact__header h2 {
        font-size: 27px;
    }

    .landing-impact__grid {
        gap: 16px;
    }

    .landing-impact-card {
        padding: 28px 12px;
    }

    .landing-impact-card__value {
        font-size: 30px;
    }
}

@media (max-width: 420px) {
    .landing-impact__grid {
        grid-template-columns: 1fr;
    }

    .landing-impact-card,
    .landing-impact-card--offset {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-impact-card:hover {
        transform: none;
    }
}

/* Testimonios en video de la landing aislada. */
.landing-home .landing-testimonials {
    position: relative;
    overflow: hidden;
    padding: 96px 32px;
    background: linear-gradient(135deg, var(--landing-azul-900) 0%, var(--landing-azul-800) 52%, var(--landing-azul-700) 100%);
    color: #fff;
}

.landing-testimonials__glow {
    position: absolute;
    bottom: -130px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(15, 239, 217, .2);
    filter: blur(110px);
    pointer-events: none;
}

.landing-testimonials__container {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
}

.landing-testimonials__eyebrow {
    margin: 0;
    color: var(--landing-cian-300);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.landing-testimonials__content h2 {
    margin: 12px 0 0;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -.025em;
}

.landing-testimonials__content h2 span {
    display: block;
    background: linear-gradient(90deg, var(--landing-cian-300), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-testimonials__description {
    max-width: 512px;
    margin: 16px 0 0;
    color: rgba(217, 252, 245, .75);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.landing-testimonials__person {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.landing-testimonials__name {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.landing-testimonials__role {
    margin: 4px 0 0;
    color: rgba(217, 252, 245, .7);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.landing-testimonials__viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: var(--landing-azul-950);
    box-shadow: 0 25px 55px rgba(0, 0, 0, .28);
    outline: 1px solid rgba(255, 255, 255, .1);
}

.landing-testimonial-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.landing-testimonial-slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.landing-testimonial-slide iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.landing-testimonials__dots {
    display: flex;
    min-height: 12px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.landing-testimonials__dot {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .3);
    box-shadow: none;
    transition: width .2s ease, background-color .2s ease;
}

.landing-testimonials__dot:hover,
.landing-testimonials__dot:focus {
    background: rgba(15, 239, 217, .6);
}

.landing-testimonials__dot.is-active {
    width: 28px;
    background: var(--landing-cian-500);
}

@media (max-width: 991px) {
    .landing-home .landing-testimonials {
        padding: 96px 24px;
    }

    .landing-testimonials__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .landing-testimonials__content {
        max-width: 720px;
    }
}

@media (max-width: 639px) {
    .landing-home .landing-testimonials {
        padding: 64px 16px;
    }

    .landing-testimonials__content h2 {
        font-size: 30px;
    }

    .landing-testimonials__person {
        margin-top: 28px;
    }

    .landing-testimonials__dots {
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-testimonial-slide,
    .landing-testimonials__dot {
        transition: none;
    }
}

/* Muestra de certificados de la landing aislada. */
.landing-home .landing-certificate-showcase {
    position: relative;
    overflow: hidden;
    padding: 64px 32px;
    border-top: 1px solid rgba(22, 90, 127, .08);
    border-bottom: 1px solid rgba(22, 90, 127, .08);
    background:
        radial-gradient(ellipse at 50% 68%, rgba(15, 239, 217, .14), transparent 48%),
        linear-gradient(180deg, #f8fcfc 0%, #eaf7f5 100%);
    color: var(--landing-fg);
}

html.dark .landing-home .landing-certificate-showcase {
    border-color: rgba(174, 244, 233, .08);
    background:
        radial-gradient(ellipse at 50% 68%, rgba(15, 239, 217, .09), transparent 50%),
        linear-gradient(180deg, #001f30 0%, #002a3d 100%);
}

.landing-certificate-showcase__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-certificate-showcase__container > h2 {
    max-width: 576px;
    margin: 0 auto;
    color: var(--landing-fg);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.025em;
    text-align: center;
}

.landing-certificate-showcase__container > .landing-impact__description {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.landing-certificate-showcase__container > h2 span {
    background: linear-gradient(90deg, var(--landing-azul-700), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .landing-certificate-showcase__container > h2 span {
    background-image: linear-gradient(90deg, var(--landing-cian-300), var(--landing-cian-500));
}

.landing-certificate-showcase__grid {
    display: grid;
    margin-top: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    perspective: 1200px;
}

.landing-certificate-showcase-card {
    position: relative;
    min-width: 0;
    transform: rotate(-1.25deg);
    transition: transform .3s ease;
    transform-origin: center center;
    will-change: transform;
}

.landing-certificate-showcase-card:first-child {
    transform-origin: left center;
}

.landing-certificate-showcase-card:last-child {
    transform-origin: right center;
}

.landing-certificate-showcase-card:nth-child(even) {
    transform: rotate(1.25deg);
}

.landing-certificate-showcase-card:hover {
    z-index: 10;
    transform: translateY(-7px) rotate(0) scale(1.16);
}

.landing-certificate-showcase-card--pmi {
    background: transparent;
}

.landing-certificate-showcase-card--institutional {
    background: transparent;
}

.landing-certificate-showcase-card--autodesk {
    background: transparent;
}

.landing-certificate-showcase-card--unt {
    background: transparent;
}

.landing-certificate-showcase-card__inner {
    display: flex;
    position: relative;
    padding: 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 90, 127, .16);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(226, 241, 242, .92));
    box-shadow:
        0 16px 30px rgba(0, 52, 80, .14),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.landing-certificate-showcase-card:hover .landing-certificate-showcase-card__inner {
    border-color: rgba(15, 239, 217, .55);
    box-shadow:
        0 24px 42px rgba(0, 52, 80, .24),
        0 0 0 4px rgba(15, 239, 217, .09),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

html.dark .landing-certificate-showcase-card__inner {
    border-color: rgba(174, 244, 233, .16);
    background: linear-gradient(145deg, rgba(13, 73, 114, .82), rgba(0, 31, 48, .96));
    box-shadow: 0 18px 34px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.landing-certificate-showcase-card__frame {
    overflow: hidden;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid rgba(0, 18, 29, .52);
    border-radius: 3px;
    background: #16120f;
    box-shadow: 0 8px 18px rgba(0, 18, 29, .28);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.landing-certificate-showcase-card:hover .landing-certificate-showcase-card__frame {
    border-color: rgba(0, 52, 80, .72);
    box-shadow: 0 12px 24px rgba(0, 18, 29, .34);
}

.landing-certificate-showcase-card__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 1.41 / 1;
    object-fit: cover;
}

.landing-certificate-showcase-card__content h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.landing-certificate-showcase-card__line {
    display: block;
    width: 64px;
    height: 1px;
    margin-top: 8px;
    background: rgba(255, 255, 255, .3);
}

.landing-certificate-showcase-card__content p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

.landing-certificate-showcase__action {
    display: flex;
    margin-top: 32px;
    justify-content: center;
}

.landing-certificate-showcase__action a,
.landing-certificate-showcase__action a:hover,
.landing-certificate-showcase__action a:focus {
    display: inline-flex;
    min-height: 48px;
    padding: 14px 32px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--landing-azul-800);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.landing-certificate-showcase__action a:hover,
.landing-certificate-showcase__action a:focus {
    background: var(--landing-azul-700);
    box-shadow: 0 12px 28px rgba(0, 52, 80, .2);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .landing-home .landing-certificate-showcase {
        padding: 64px 24px;
    }

    .landing-certificate-showcase__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-certificate-showcase-card,
    .landing-certificate-showcase-card:first-child,
    .landing-certificate-showcase-card:last-child {
        transform-origin: center center;
    }

    .landing-certificate-showcase-card:hover {
        transform: translateY(-5px) rotate(0) scale(1.18);
    }
}

@media (max-width: 639px) {
    .landing-home .landing-certificate-showcase {
        padding: 48px 16px;
    }

    .landing-certificate-showcase__container > h2 {
        font-size: 22px;
    }

    .landing-certificate-showcase-card {
        width: 100%;
        transform: none;
    }

    .landing-certificate-showcase-card:nth-child(even) {
        transform: none;
    }

    .landing-certificate-showcase-card:hover {
        transform: none;
    }

    .landing-certificate-showcase__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-certificate-showcase-card:hover,
    .landing-certificate-showcase-card:hover .landing-certificate-showcase-card__frame,
    .landing-certificate-showcase__action a:hover,
    .landing-certificate-showcase__action a:focus {
        transform: none;
    }
}

/* Llamada a la acción final, inmediatamente antes del footer de Layout2. */
.landing-home .landing-final-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, #003450 0%, #0d4972 45%, #0fefd9 140%);
    color: #fff;
}

.landing-final-cta__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom, rgba(15, 239, 217, .25), transparent 60%);
    pointer-events: none;
    animation: landing-final-cta-drift 10s ease-in-out infinite;
}

.landing-final-cta__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 32px;
    text-align: center;
}

.landing-final-cta__content {
    position: relative;
}

.landing-final-cta__content h2 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -.025em;
}

.landing-final-cta__content h2 span {
    background: linear-gradient(90deg, var(--landing-cian-300), var(--landing-cian-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-final-cta__content > p {
    max-width: 576px;
    margin: 16px auto 0;
    color: rgba(217, 252, 245, .7);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.landing-final-cta__actions {
    display: flex;
    margin-top: 32px;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.landing-final-cta__button,
.landing-final-cta__button:hover,
.landing-final-cta__button:focus {
    display: inline-flex;
    min-width: 216px;
    min-height: 49px;
    padding: 14px 32px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.landing-final-cta__button--primary,
.landing-final-cta__button--primary:hover,
.landing-final-cta__button--primary:focus {
    border: 1px solid #fff;
    background: #fff;
    color: var(--landing-azul-950);
}

.landing-final-cta__button--primary:hover,
.landing-final-cta__button--primary:focus {
    border-color: var(--landing-cian-200);
    background: var(--landing-cian-200);
    box-shadow: 0 12px 28px rgba(0, 18, 29, .2);
    transform: translateY(-2px);
}

.landing-final-cta__button--secondary,
.landing-final-cta__button--secondary:hover,
.landing-final-cta__button--secondary:focus {
    border: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
}

.landing-final-cta__button--secondary:hover,
.landing-final-cta__button--secondary:focus {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

@keyframes landing-final-cta-drift {
    0%, 100% {
        opacity: .75;
        transform: translate(0, 0) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(30px, -10px) scale(1.04);
    }
}

@media (max-width: 991px) {
    .landing-final-cta__container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 639px) {
    .landing-final-cta__container {
        padding: 80px 16px;
    }

    .landing-final-cta__content h2 {
        font-size: 30px;
    }

    .landing-final-cta__content > p {
        font-size: 16px;
    }

    .landing-final-cta__break {
        display: none;
    }

    .landing-final-cta__actions {
        flex-direction: column;
    }

    .landing-final-cta__button,
    .landing-final-cta__button:hover,
    .landing-final-cta__button:focus {
        width: 100%;
        max-width: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-final-cta__glow {
        animation: none;
    }

    .landing-final-cta__button:hover,
    .landing-final-cta__button:focus {
        transform: none;
    }
}
