﻿/* ==========================================
   1. REGULACIONES DE FUENTES Y GLOBALES
   ========================================== */
.hero-software,
.hero-software h2,
.hero-software p,
.hero-software a,
.hero-software li,
.hero-software span:not([class*="fa"]) {
    font-family: "Montserrat Medium", "Montserrat", sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
}

.hero-software__title-line,
.hero-software__title-accent,
.hero-software__list-title-char,
.hero-software__list-title-rest,
.hero-software__btn,
.hero-software__btn-text {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 900 !important;
}

/* ==========================================
   1.b ALINEACIÓN DE CONTENIDO AL ANCHO DE LA CAJA
   Mismo ancho que el footer (.container-footer): 90% / máx. 1600px,
   centrado. Los fondos siguen a todo el ancho; solo el CONTENIDO de
   estas secciones se alinea a los márgenes de la caja para que ninguna
   sección sobresalga ni quede más angosta que las demás.
   ========================================== */
.hero-principal-pdf > .container,
.seccion-nuevos-cusos > .container,
.seccion-cursos-tendencia > .container {
    width: 90%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* La sección (fondo, título, botón) ocupa el ancho de la caja, pero la fila
   de tarjetas se limita y centra para que las cards no queden tan anchas. */
.seccion-nuevos-cusos .courses-r-margin-bottom,
.seccion-cursos-tendencia .courses-r-margin-bottom {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   2. COMPONENTE: CARGADOR
   ========================================== */
.cargador {
    background: url(../images/loader.gif) no-repeat center; /* Ajusta esta ruta según tu carpeta de assets */
    background-color: #FFF;
    background-size: 30px 30px;
    min-height: 250px;
    vertical-align: middle;
}

    .cargador .img {
        display: none;
    }

.seccion-nuevos-cusos .cargador,
.seccion-nuevos-cusos .nc-card__img-wrap.cargador {
    min-height: 0;
}

/* ==========================================
   3. COMPONENTE: HEADER Y PRECIOS
   ========================================== */
header .color-blue {
    border: 1px solid #07355e;
    color: #07355e;
    background: transparent;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    padding: 15px 25px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: all .3s ease-in-out !important;
}

    header .color-blue:hover {
        background: #07355e;
        text-decoration: none;
        border: 1px solid #07355e;
        color: #fff;
        transition: all .3s ease-in-out;
    }

.info-precio {
    text-align: right;
    margin-left: auto;
}

/* ==========================================
   4. COMPONENTE: HERO PRINCIPAL PDF
   ========================================== */
.hero-principal-pdf {
    --hero-nav-clearance: 130px;
    --hero-area-height: clamp(380px, 60vh, 750px);
    --hero-img-max-height: min( var(--hero-area-height), calc(100svh - var(--hero-nav-clearance) - 20px) );
    position: relative;
    overflow: visible;
}

.hero-principal-pdf__marco {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #f8f9fa;
    z-index: 0;
}

.hero-principal-pdf .container {
    position: relative;
    z-index: 1;
}

.hero-principal-pdf .hero-content-layer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: var(--hero-area-height);
}

.hero-portada-col {
    background: transparent;
    position: relative;
    width: 100%;
    height: var(--hero-img-max-height);
    max-height: var(--hero-img-max-height);
    flex-shrink: 0;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-portada-img {
    position: relative;
    display: block;
    background: transparent;
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
}

.hero-card-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    flex-shrink: 0;
    margin: 0 auto;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
    text-align: center;
    box-sizing: border-box;
}

.hero-card__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f3460;
    margin: 0 0 24px 0;
}

.hero-card__text {
    font-size: 18.5px;
    font-weight: 700;
    color: #000000;
    line-height: 1.5;
    margin: 0 0 32px 0;
}

.hero-card__btn {
    background-color: #2b7a9e;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    padding: 12px 32px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .hero-card__btn:hover {
        background-color: #236885;
        color: #ffffff;
        text-decoration: none;
    }

/* ==========================================
   5. COMPONENTE: SECCIÓN NUEVOS CURSOS
   ========================================== */
.seccion-nuevos-cusos.Courses-area {
    background: #ffffff;
    padding: 72px 0 80px;
}

.seccion-nuevos-cusos .section-header-box {
    text-align: center;
}

.seccion-nuevos-cusos .section-header {
    display: inline-block;
    padding-bottom: 20px;
}

    .seccion-nuevos-cusos .section-header:before {
        display: none;
    }

    .seccion-nuevos-cusos .section-header h2 {
        display: inline-block;
        font-weight: 400;
        border-bottom: 5px solid #3ee8e0;
        padding-bottom: 14px;
        margin-bottom: 0;
    }

.seccion-nuevos-cusos .single-courses.nc-card {
    background: #fff;
    border-radius: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    box-shadow: 0 8px 28px rgba(15, 52, 93, 0.08);
}

    .seccion-nuevos-cusos .single-courses.nc-card:hover {
        box-shadow: 0 12px 32px rgba(15, 52, 93, 0.12);
    }

.nc-card__img-wrap {
    position: relative;
    min-height: 0;
    background: #e8eef3;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    line-height: 0;
}

    .nc-card__img-wrap.cargador {
        min-height: 0;
        background-size: 30px 30px;
    }

    .nc-card__img-wrap::before {
        display: none !important;
    }

.seccion-nuevos-cusos .single-courses.nc-card figure {
    margin: 0;
}

.nc-card__img-wrap img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    vertical-align: top;
}

.nc-card__img-placeholder {
    padding: 48px 12px;
    line-height: 1.4;
    font-size: 13px;
    color: #6b7280;
    background: #e8eef3;
}

.nc-card__badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #00345d;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 9px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    z-index: 2;
    line-height: 1;
}

.nc-card__badge-virtual {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #00b8b0;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 9px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 2;
    max-width: 130px;
    text-align: left;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .nc-card__badge-virtual i {
        font-size: 11px;
        flex-shrink: 0;
    }

.nc-card__body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
}

.nc-card__title {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a2540;
    line-height: 1.35;
    margin: 0 0 14px 0;
    padding-bottom: 0;
    text-transform: uppercase;
    min-height: 56px;
    letter-spacing: 0.02em;
}

    .nc-card__title a {
        color: inherit;
        text-decoration: none;
    }

        .nc-card__title a:hover {
            text-decoration: underline;
        }

.nc-card__meta {
    font-size: 11.5px;
    color: #6b7280;
    margin: 0 0 8px 0;
    line-height: 1.45;
}

    .nc-card__meta a {
        color: #64748b;
        text-decoration: none;
    }

        .nc-card__meta a:hover {
            color: #00345d;
            text-decoration: underline;
        }

    .nc-card__meta i {
        color: #00345d;
        margin-right: 7px;
        width: 14px;
        font-size: 12px;
        text-align: center;
    }

.nc-card__meta--docentes {
    margin-bottom: 8px;
    text-align: left;
}

.nc-card__meta-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 4px;
}

.nc-card__docentes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

    .nc-card__docentes-list li {
        margin: 0 0 3px 0;
        line-height: 1.35;
    }

        .nc-card__docentes-list li:last-child {
            margin-bottom: 0;
        }

.nc-card__tiendita {
    margin-top: auto;
    padding-top: 18px;
    text-align: center;
}

.nc-card__price-box {
    margin-bottom: 20px;
    text-align: center;
}

.nc-card__price-box--promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nc-card__price-old {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
    text-align: center;
}

.nc-card__price-old-label {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #e53935;
    line-height: 1;
    text-transform: uppercase;
    transform: translateY(-0.38em);
}

.nc-card__price-old-amount {
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #e53935;
    line-height: 1;
    text-decoration: line-through;
}

.nc-card__price {
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #0a2f5c;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nc-card__price-label {
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    align-self: center;
    transform: translateY(-0.38em);
}

.nc-card__price-amount {
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
}

.nc-card__price-now {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0a2f5c;
    line-height: 1;
    text-transform: uppercase;
    transform: translateY(-0.38em);
}

.nc-card__price-free {
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nc-card__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.nc-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #007b8a;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    padding: 7px 28px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

    .nc-card__btn:hover {
        background: #006674;
        color: #fff;
        text-decoration: none;
    }

.nc-card__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    color: #007b8a;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .nc-card__cart:hover {
        color: #006674;
        text-decoration: none;
    }

.nc-card__cart-icon-img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    background: transparent;
}

.nc-mas-cursos {
    display: inline-block;
    background: #2b7a9e;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 52px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 20px;
    transition: background 0.2s ease;
}

    .nc-mas-cursos:hover {
        background: #236885;
        color: #fff;
        text-decoration: none;
    }

/* ==========================================
   6. COMPONENTE: HERO BANNER DOMINA SOFTWARE
   ========================================== */
.hero-software {
    background: linear-gradient(160deg, #0f3a5e 0%, #1a5282 50%, #2569a8 100%);
    overflow: hidden;
    padding: 20px 0 20px 0;
}

.hero-software__grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    width: 90%;
    max-width: 1600px;
    min-height: clamp(520px, 58vh, 660px);
    margin: 0 auto;
    padding: 12px 20px 12px 20px;
}

.hero-software__content {
    flex: 0 0 auto;
    width: min(48%, 580px);
    max-width: 580px;
    margin-left: 0;
    margin-right: 0;
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
    padding-bottom: 4px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    z-index: 2;
}

.hero-software__body {
    transform: translateX(1cm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-software__footer {
    margin-top: 18px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 14px;
}

.hero-software__intro {
    width: fit-content;
    max-width: 100%;
}

.hero-software__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0 0 10px 0;
    width: 100%;
    max-width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
}

.hero-software__title-line,
.hero-software__title-accent {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.85rem, 4.8vw, 4.25rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    border-bottom: 5px solid #1373E8;
    padding-bottom: 4px;
    -webkit-text-stroke: 1.8px currentColor;
    paint-order: stroke fill;
    text-shadow: 1.1px 0 0 currentColor, -1.1px 0 0 currentColor, 0 1.1px 0 currentColor, 0 -1.1px 0 currentColor, 0.8px 0.8px 0 currentColor, -0.8px 0.8px 0 currentColor, 0.8px -0.8px 0 currentColor, -0.8px -0.8px 0 currentColor;
}

.hero-software__title-line {
    color: #FFFFFF;
    margin-bottom: 2px;
}

.hero-software__title-accent {
    color: #0BF3D9;
    margin-bottom: 0;
}

.hero-software__subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(calc(1.2rem + 1pt), calc(1.75vw + 1pt), calc(1.5rem + 1pt));
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    margin: 12px 0 28px 0;
    width: 100%;
    max-width: 100%;
    text-align: left;
}

.hero-software__list {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 14px;
    font-family: "Montserrat", sans-serif;
}

.hero-software__list-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    margin-bottom: 22px;
}

    .hero-software__list-item:last-child {
        margin-bottom: 0;
    }

.hero-software__list-icon {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: -4px;
}

.hero-software__list-body {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 0;
    column-gap: 0;
    min-width: 0;
    margin-top: -4px;
}

.hero-software__list-icon img {
    display: block;
    object-fit: contain;
    background: transparent;
}

.hero-software__list-icon--1 img,
.hero-software__list-icon--2 img,
.hero-software__list-icon--3 img,
.hero-software__list-icon--4 img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
    max-height: 48px;
}

.hero-software__list-title {
    display: contents;
}

.hero-software__list-title-char,
.hero-software__list-title-rest {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    -webkit-text-stroke: 0.55px currentColor;
    paint-order: stroke fill;
    text-shadow: 0.45px 0 0 currentColor, -0.45px 0 0 currentColor, 0 0.45px 0 currentColor, 0 -0.45px 0 currentColor;
}

.hero-software__list-title-char {
    grid-column: 1;
    grid-row: 1;
}

.hero-software__list-title-rest {
    grid-column: 2;
    grid-row: 1;
}

.hero-software__list-text {
    grid-column: 2;
    grid-row: 2;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    padding: 0;
}

.hero-software__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3f6f86;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 900;
    padding: 10px 18px 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

    .hero-software__btn:hover {
        background: #4a7f97;
        color: #ffffff;
        text-decoration: none;
    }

.hero-software__btn-text {
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.02em;
    -webkit-text-stroke: 0.4px currentColor;
    paint-order: stroke fill;
    text-shadow: 0.35px 0 0 currentColor, -0.35px 0 0 currentColor, 0 0.35px 0 currentColor, 0 -0.35px 0 currentColor;
}

.hero-software__btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.hero-software__footnote {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    transform: translateX(-1cm);
}

.hero-software__footnote-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent;
}

.hero-software__footnote-highlight {
    color: #0CDFD9;
}

.hero-software__visual {
    flex: 0 1 52%;
    max-width: 52%;
    position: relative;
    align-self: stretch;
    min-height: 480px;
    margin-bottom: -56px;
    margin-left: 0;
    overflow: hidden;
}

.hero-software__img {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 75%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    transform: translateX(-50%) scale(1.38);
    transform-origin: bottom center;
}

/* ==========================================
   7. COMPONENTE: CURSOS EN TENDENCIA
   ========================================== */
.seccion-cursos-tendencia.Courses-area {
    background: #fff;
    padding: 64px 0 0;
}

.seccion-cursos-tendencia .section-header-box {
    margin-bottom: 36px;
}

.seccion-cursos-tendencia .section-header {
    display: inline-block;
    padding-bottom: 16px;
}

    .seccion-cursos-tendencia .section-header:before {
        display: none;
    }

    .seccion-cursos-tendencia .section-header h2 {
        display: inline-block;
        margin: 0;
        padding-bottom: 12px;
        font-family: "Montserrat", sans-serif;
        font-size: clamp(2.4rem, 4.2vw, 3.6rem);
        font-weight: 700;
        color: #1e2d42;
        border-bottom: 5px solid #3ee8e0;
    }

.seccion-cursos-tendencia .single-courses-box {
    padding: 0 14px 28px;
    margin-bottom: 0;
}

.seccion-cursos-tendencia .single-courses.nc-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 52, 93, 0.1);
}

    .seccion-cursos-tendencia .single-courses.nc-card:hover {
        box-shadow: 0 10px 30px rgba(15, 52, 93, 0.14);
        transform: none;
    }

        .seccion-cursos-tendencia .single-courses.nc-card figure:before,
        .seccion-cursos-tendencia .single-courses.nc-card:hover figure::before,
        .seccion-cursos-tendencia .single-courses.nc-card figure figcaption {
            display: none !important;
        }

.seccion-cursos-tendencia .nc-card__img-wrap {
    border-radius: 16px 16px 0 0;
}

.seccion-cursos-tendencia .nc-card__badge-top {
    top: 14px;
    left: 14px;
    font-size: 10px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #00345d;
}

.seccion-cursos-tendencia .nc-card__badge-virtual {
    top: 14px;
    right: 14px;
    font-size: 10px;
    padding: 7px 12px;
    border-radius: 8px;
    background: #00b8b0;
    max-width: 150px;
}

.seccion-cursos-tendencia .nc-card__body {
    padding: 20px 22px 24px;
    text-align: left;
}

.seccion-cursos-tendencia .nc-card__title {
    font-size: 15px;
    min-height: 52px;
    margin-bottom: 12px;
    color: #0a2540;
}

.seccion-cursos-tendencia .nc-card__meta,
.seccion-cursos-tendencia .nc-card__meta a {
    font-size: 12px;
    margin-bottom: 0;
    color: #5f6b7a;
}

.seccion-cursos-tendencia .nc-card__tiendita {
    padding-top: 16px;
    text-align: center;
}

.seccion-cursos-tendencia .nc-card__price-box {
    margin-bottom: 18px;
}

.seccion-cursos-tendencia .nc-card__price,
.seccion-cursos-tendencia .nc-card__price-amount {
    font-size: 44px;
    color: #0a2f5c;
}

.seccion-cursos-tendencia .nc-card__price-label {
    font-size: 24px;
}

.seccion-cursos-tendencia .nc-card__actions {
    width: 100%;
}

.seccion-cursos-tendencia .nc-card__btn--buy {
    border-radius: 10px;
    font-size: 12px;
    letter-spacing: 0.6px;
}

/* ==========================================
   8. COMPONENTE: CARRUSEL DE CERTIFICACIONES
   ========================================== */
.cert-impulso--embedded {
    padding: 32px 0 8px;
    margin-top: 4px;
    background: transparent;
}

    .cert-impulso--embedded .cert-impulso__title {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 920px;
        margin: 0 auto 28px;
        padding: 0 12px;
        text-align: center;
        font-family: "Montserrat", sans-serif;
        font-size: clamp(1.5rem, 2.45vw, 1.95rem);
        font-weight: 700;
        line-height: 1.35;
        color: #1a3352;
    }

    .cert-impulso--embedded .cert-impulso__title-line {
        display: block;
    }

    .cert-impulso--embedded .cert-impulso__title-line--sub {
        margin-top: 6px;
    }

.cert-carousel__stage {
    position: relative;
    container-type: inline-size;
    width: 100%;
    max-width: 1120px;
    height: clamp(460px, 52vw, 540px);
    margin: 0 auto;
    padding: 0 12px;
}

.cert-carousel__wheel {
    position: absolute;
    inset: 0;
}

.cert-carousel__card {
    position: absolute;
    display: block;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 10px 28px rgba(15, 52, 93, 0.2);
    overflow: hidden;
    z-index: 1;
    line-height: 0;
    opacity: 1;
    transform-origin: center center;
    backface-visibility: hidden;
    transition: box-shadow 0.45s ease;
}

    .cert-carousel__card img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        object-position: center;
        border-radius: 16px;
    }

    .cert-carousel__card.is-flip-passive {
        opacity: 0.82;
        box-shadow: 0 6px 18px rgba(15, 52, 93, 0.14);
    }

    .cert-carousel__card.is-flip-lead {
        z-index: 8;
        opacity: 1;
        box-shadow: 0 22px 52px rgba(15, 52, 93, 0.34);
    }

    .cert-carousel__card.is-pos-1,
    .cert-carousel__card.is-pos-2 {
        top: 0;
        bottom: auto;
        transform: none;
        width: calc(50% - 14px);
        height: auto;
        aspect-ratio: 1080 / 431;
        z-index: 2;
    }

    .cert-carousel__card.is-pos-1 {
        left: 12px;
        right: auto;
    }

    .cert-carousel__card.is-pos-2 {
        left: auto;
        right: 12px;
    }

    .cert-carousel__card.is-pos-3 {
        left: 50%;
        right: auto;
        top: calc((50cqw - 14px) * 431 / 1080 + 0.5cm);
        bottom: auto;
        transform: translateX(-50%);
        width: calc(46% - 12px);
        height: auto;
        aspect-ratio: 1080 / 431;
        z-index: 1;
    }

/* ==========================================
   9. SECCIONES: ACREDITACIONES, ESTADÍSTICAS Y TESTIMONIOS
   ========================================== */
.seccion-acreditaciones-internacionales.slider-content-bottom {
    background: #14597D;
    margin-top: 50px;
    padding: 40px 0 44px;
    width: 100%;
}

.seccion-acreditaciones-internacionales .sider-btm-row-inner,
.seccion-acreditaciones-internacionales .content_body {
    margin: 0;
    padding: 0;
}

.seccion-acreditaciones-internacionales .slider-btm-box.btm-item_01 {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
}

    .seccion-acreditaciones-internacionales .slider-btm-box.btm-item_01::before,
    .seccion-acreditaciones-internacionales .content_body:hover .btm-item_01::before {
        background: transparent;
    }

    .seccion-acreditaciones-internacionales .slider-btm-box.btm-item_01:hover {
        box-shadow: none;
    }

.seccion-acreditaciones-internacionales .title-acreditaciones,
.seccion-acreditaciones-internacionales p,
.seccion-acreditaciones-internacionales p b {
    color: #fff;
}

.seccion-acreditaciones-internacionales .slider-btm-box .title-acreditaciones {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 8px;
    font-size: 3rem;
    font-weight: 700;
    padding-bottom: 25px;
    margin: 0;
}

.seccion-acreditaciones-internacionales .acreditaciones-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 0;
}

.seccion-acreditaciones-internacionales .texto-acreditaciones {
    flex: none;
    width: 29.75cm;
    height: 9.49cm;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 24px;
    font-weight: 500;
    text-align: justify;
}

.seccion-acreditaciones-internacionales .slider-btm-box .texto-acreditaciones p {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    line-height: 1.45;
}

    .seccion-acreditaciones-internacionales .slider-btm-box .texto-acreditaciones p + p {
        margin-top: 0.45em;
    }

.seccion-acreditaciones-internacionales .logos-acreditaciones {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.5vw, 18px);
    width: 100%;
    max-width: 780px;
    margin: 36px auto 0;
    padding: 0;
    z-index: 2;
}

    .seccion-acreditaciones-internacionales .logos-acreditaciones img {
        display: block;
        height: 100px;
        width: auto;
        object-fit: contain;
        margin: 0;
        flex: 0 0 auto;
        background: transparent;
        border: none;
        box-shadow: none;
    }

        .seccion-acreditaciones-internacionales .logos-acreditaciones img[src*="pm.png"] {
            margin-right: -16px;
        }

        .seccion-acreditaciones-internacionales .logos-acreditaciones img[src*="auto.png"] {
            margin-left: -16px;
        }

.counter-area.seccion-estudiantes {
    min-height: auto;
    padding: 40px 0;
}

.slider-content-bottom > .title-cliente.P-4,
.seccion-convenios .title-cliente.P-4 {
    color: #00305F;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 3rem;
    white-space: pre-line;
    text-transform: uppercase;
    text-align: center;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 1600px;
}

/* Mismo ancho que el carrusel de clientes (90% / max 1600) para que Swiper
   mida bien y reparta los logos por todo el ancho. No se fuerza un ancho fijo
   ni flex porque eso amontonaba los logos a la izquierda. */
.seccion-convenios .container.container-personalizado {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.seccion-convenios .carusel-convenios {
    width: 100%;
    height: 169.99px;
    min-height: 169.99px;
    max-height: 169.99px;
    margin: 30px 0 0;
    box-sizing: border-box;
    overflow: hidden; /* todo queda dentro de la caja de 169.99px de alto */
    position: relative;
}

    .seccion-convenios .carusel-convenios.swiper {
        height: 169.99px;
    }

    /* El recorte de los logos se hace solo en el wrapper, así la banda mantiene
   169.99px de alto y los puntos de navegación siguen visibles dentro. */
    .seccion-convenios .carusel-convenios .swiper-wrapper {
        padding: 1rem !important;
        height: 100%;
        box-sizing: border-box;
        align-items: center;
    }

    /* Cada slide ocupa el ancho que le asigna Swiper y centra su logo,
   igual que el carrusel de clientes. */
    .seccion-convenios .carusel-convenios .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Puntos de navegación (paginación) DENTRO de la banda de 169.99px */
    .seccion-convenios .carusel-convenios .swiper-pagination3 {
        position: absolute;
        bottom: 8px;
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 10;
    }

    .seccion-convenios .carusel-convenios .swiper-slide img {
        width: 160px !important;
        height: 160px !important;
        object-fit: contain;
        display: block;
    }

.seccion-testimonios.slider-content-bottom {
    background: #00345D;
    margin-top: 1cm;
    padding: 50px 0;
    width: 100%;
}

/* Desplaza a la derecha el bloque de texto (título + descripción) sin mover
   el carrusel de videos. Solo en escritorio (en móvil las columnas se apilan). */
@media (min-width: 768px) {
    .seccion-testimonios .carusel-testimonios > .col-sm-6:first-child {
        padding-left: 2cm;
    }
}

.seccion-testimonios .carusel-testimonios {
    background: transparent;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
}

    .seccion-testimonios .carusel-testimonios > .col-sm-6:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

.seccion-testimonios .mySwiperTestimonios {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.seccion-testimonios .swiper-pagination4 {
    position: relative;
    left: auto;
    bottom: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 10px;
    margin-top: 12px;
    z-index: 10;
}

.seccion-testimonios .swiper-pagination4 .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0;
    background: #175f7d;
    opacity: 1;
}

.seccion-testimonios .swiper-pagination4 .swiper-pagination-bullet-active {
    background: #168cff;
}

    .seccion-testimonios .mySwiperTestimonios .swiper-slide {
        display: flex;
        justify-content: center;
    }

.seccion-testimonios .carusel-testimonios h3 {
    font-family: "Montserrat Medium", "Montserrat", sans-serif;
    font-weight: 700;
    color: #fff;
}

/* El título va dentro del bloque de texto (ancho del párrafo) y se
       centra sobre él. */
.seccion-testimonios .testimonios-texto h3 {
    text-align: center;
    margin-top: 0;
}

.seccion-testimonios .testimonios-texto {
    width: fit-content;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin: 20px;
    font-family: "Montserrat", sans-serif;
}

    .seccion-testimonios .testimonios-texto p {
        width: 100%;
        height: 100%;
        margin: 0;
        font-family: "Montserrat", sans-serif;
        font-size: 20px;
        font-weight: 500;
        color: #fff;
        line-height: 1.45;
        text-align: justify;
        word-spacing: normal;
    }

    .seccion-testimonios .testimonios-texto .testimonios-linea {
        display: block;
        text-align: justify;
        text-align-last: justify;
        word-spacing: normal;
    }

    .seccion-testimonios .testimonios-texto .testimonios-linea--ultima {
        text-align-last: justify;
    }

/* ==========================================
   10. MEDIA QUERIES (RESPONSIVE)
   ========================================== */

@media (min-width: 768px) {
    .hero-principal-pdf {
        --hero-area-height: clamp(380px, 50vh, 520px);
        --hero-img-max-height: min(var(--hero-area-height), calc(100svh - var(--hero-nav-clearance) - 56px));
    }

        .hero-principal-pdf .hero-content-layer {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 80px;
        }

    .hero-portada-col {
        flex: 1 1 0;
        max-width: calc(50% - 40px);
        height: var(--hero-img-max-height);
        max-height: var(--hero-img-max-height);
        min-height: unset;
        align-items: flex-end;
        justify-content: center;
    }

    .hero-portada-img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
        object-position: center bottom;
    }

    .hero-card-col {
        flex: 0 0 480px;
        width: 480px;
        max-width: 480px;
    }

    .hero-card {
        width: 480px;
        max-width: 480px;
        padding: 48px 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-principal-pdf .hero-content-layer {
        gap: 48px;
    }

    .hero-card-col,
    .hero-card {
        flex: 0 0 auto;
        width: min(480px, calc(100% - 24px));
        max-width: min(480px, calc(100% - 24px));
    }
}

@media (max-width: 991px) {
    .hero-software {
        padding: 44px 0 32px;
    }

    .hero-software__grid {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .hero-software__content {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        align-self: auto;
        justify-content: flex-start;
        min-height: auto;
        padding-bottom: 0;
    }

    .hero-software__body {
        transform: translateX(0.5cm);
    }

    .hero-software__footer {
        margin-top: 24px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-software__visual {
        display: none;
    }

    .seccion-cursos-tendencia.Courses-area {
        padding: 44px 0 52px;
    }

    .cert-carousel__stage {
        height: clamp(440px, 56vw, 520px);
    }

    .cert-carousel__card.is-pos-1,
    .cert-carousel__card.is-pos-2 {
        width: calc(50% - 12px);
    }

    .cert-carousel__card.is-pos-3 {
        width: calc(50% - 12px);
        top: calc((50cqw - 12px) * 431 / 1080 + 0.5cm);
        bottom: auto;
    }
}

@media (max-width: 767px) {
    .cert-carousel__stage {
        height: clamp(460px, 112vw, 560px);
        padding: 0 8px;
    }

    .cert-carousel__card.is-pos-1,
    .cert-carousel__card.is-pos-2 {
        width: calc(50% - 8px);
    }

    .cert-carousel__card.is-pos-3 {
        width: calc(72% - 12px);
        top: calc((50cqw - 8px) * 431 / 1080 + 0.5cm);
        bottom: auto;
    }

    .seccion-acreditaciones-internacionales.slider-content-bottom {
        padding: 32px 0 36px;
    }

    .seccion-acreditaciones-internacionales .slider-btm-box .title-acreditaciones {
        font-size: 2.2rem;
        padding-bottom: 18px;
    }

    .seccion-acreditaciones-internacionales .texto-acreditaciones {
        width: min(29.75cm, 96vw);
        height: auto;
        min-height: 9.49cm;
    }

    .seccion-acreditaciones-internacionales .texto-acreditaciones,
    .seccion-acreditaciones-internacionales .slider-btm-box .texto-acreditaciones p {
        font-size: 24px;
    }

        .seccion-acreditaciones-internacionales .slider-btm-box .texto-acreditaciones p + p {
            margin-top: 0.4em;
        }

    .seccion-acreditaciones-internacionales .logos-acreditaciones {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 28px;
    }

        .seccion-acreditaciones-internacionales .logos-acreditaciones img {
            height: 72px;
        }

            .seccion-acreditaciones-internacionales .logos-acreditaciones img[src*="pm.png"] {
                margin-right: -10px;
            }

            .seccion-acreditaciones-internacionales .logos-acreditaciones img[src*="auto.png"] {
                margin-left: -10px;
            }

    .seccion-convenios .container.container-personalizado {
        width: 100%;
        max-width: 100%;
    }

    .seccion-convenios .carusel-convenios,
    .seccion-convenios .carusel-convenios.swiper {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        height: 169.99px;
        min-height: 169.99px;
        max-height: 169.99px;
        margin: 30px 0 0;
    }

    .seccion-testimonios .testimonios-texto {
        width: fit-content;
        max-width: 100%;
        height: auto;
        min-height: 0;
    }

        .seccion-testimonios .testimonios-texto p {
            height: auto;
            font-size: 20px;
            font-family: "Montserrat", sans-serif;
        }
}

/* ==========================================
   11. AJUSTES RESPONSIVE ADICIONALES (TEXTO Y MEDIOS)
   Revisión integral: títulos, textos y videos adaptados a tablet y
   móvil sin alterar el diseño de escritorio.
   ========================================== */

/* Videos de testimonios: siempre fluidos para no desbordar en móvil
   (en el HTML tienen ancho fijo de 460px). */
.seccion-testimonios .mySwiperTestimonios .swiper-slide iframe {
    width: 100%;
    max-width: 460px; /* en escritorio se mantiene igual; en móvil encoge */
    aspect-ratio: 460 / 258;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ---- Tablet y móvil (<= 991px) ---- */
@media (max-width: 991px) {
    /* Títulos de los carruseles (clientes / convenios) */
    .slider-content-bottom > .title-cliente.P-4,
    .seccion-convenios .title-cliente.P-4 {
        font-size: clamp(1.6rem, 4.2vw, 2.4rem);
        width: 92%;
    }

    /* Encabezados de sección */
    .seccion-nuevos-cusos .section-header h2,
    .seccion-estudiantes .section-header h2 {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
        line-height: 1.25;
    }

    /* Acreditaciones: título y texto adaptables, sin alto fijo en cm */
    .seccion-acreditaciones-internacionales .slider-btm-box .title-acreditaciones {
        font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    }

    .seccion-acreditaciones-internacionales .texto-acreditaciones {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .seccion-acreditaciones-internacionales .texto-acreditaciones,
    .seccion-acreditaciones-internacionales .slider-btm-box .texto-acreditaciones p {
        font-size: clamp(15px, 2.4vw, 20px);
    }
}

/* ---- Móvil (<= 767px) ---- */
@media (max-width: 767px) {
    .slider-content-bottom > .title-cliente.P-4,
    .seccion-convenios .title-cliente.P-4 {
        font-size: clamp(1.35rem, 5.4vw, 1.9rem);
        margin-top: 20px;
    }

    .seccion-nuevos-cusos .section-header h2,
    .seccion-estudiantes .section-header h2 {
        font-size: clamp(1.4rem, 5.2vw, 1.9rem);
    }

    /* Precios de las tarjetas más compactos en pantallas chicas */
    .nc-card__price,
    .nc-card__price-amount,
    .seccion-cursos-tendencia .nc-card__price,
    .seccion-cursos-tendencia .nc-card__price-amount {
        font-size: 34px;
    }

    .nc-card__price-label,
    .nc-card__price-now,
    .seccion-cursos-tendencia .nc-card__price-label {
        font-size: 18px;
    }

    .nc-card__price-old-amount {
        font-size: 22px;
    }

    /* Botón "Más cursos" sin desbordar */
    .nc-mas-cursos {
        padding: 12px 32px;
        font-size: 15px;
    }

    /* Texto de testimonios legible y con flujo natural (sin justificado
       forzado por línea que deja huecos enormes en móvil). */
    .seccion-testimonios .testimonios-texto p {
        font-size: 16px;
        text-align: left;
    }

    .seccion-testimonios .testimonios-texto .testimonios-linea,
    .seccion-testimonios .testimonios-texto .testimonios-linea--ultima {
        display: inline;
        text-align: left;
        text-align-last: left;
    }

    /* Hero software: se quitan los desplazamientos en cm que desbordan */
    .hero-software__body,
    .hero-software__footnote {
        transform: none;
    }
}
