.hero-banner {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(24, 25, 31, 0.51) 40%, rgba(102, 102, 102, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: #f0f0f0;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: black;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.cta-btn:hover {
    background: #f0f0f0;
    color: #FF5722;
}

@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        padding: 4rem 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}


.porque-academia {
    padding: 100px 1rem;
    position: relative;
}

.layer-niam1 {
    position: absolute;
    right: 200px;
    bottom: -10px;
    z-index: -1;
}

.porque-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.imagenes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.imagen-columna {
    display: grid;
    gap: 1rem;
}

.imagen-columna img {
    width: 100%;
    border-radius: 3px;
    object-fit: cover;
    min-height: 200px;
}

.contenido {
    flex: 1;
    min-width: 300px;
}

.contenido h2 {
    font-size: 46px;
    font-weight: 600;
    color: #1F2432;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}


.contenido p {
    font-size: 18px;
    color: #1F2432;
    line-height: 1.6;
    margin: 0;
}

.contenido p strong {
    font-size: 14px;
}

.contenido ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contenido ul li {
    color: #1F2432;
    font-size: 14px;
    position: relative;
    line-height: 200%;
}

/* .contenido ul li::before {
    content: '✔';
    color: #1F2432;
    position: absolute;
    left: 0;
    top: 0;
} */

.programas {
    background: #F1F3F7;
    padding: 80px 1rem;
}

.programas h2 {
    font-size: 46px;
    color: #000;
    font-weight: 600;
    letter-spacing: -2px;
}

.programas-container {
    max-width: 1200px;
    margin: auto;
}

.grid-programas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card-curso {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    position: relative;
}

.card-curso img {
    width: 100%;
    border-radius: 2px 2px 0 0;
    margin-bottom: 0.5rem;
    height: 200px;
    object-fit: cover;
}

.card-curso .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff5722;
    color: white;
    font-size: 14px;
    border-radius: 3px 0 0 0;
    width: 79px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    letter-spacing: 1px;
}

.card-curso .title-container-card {
    padding: 15px;
}

.card-curso .content-container-card {
    position: relative;
    min-height: 92px;
}

.card-curso h3 {
    font-size: 15px;
    color: #1F2432;
    font-weight: 600;
}

.card-curso .boton-mas {
    font-size: 20px;
    background: #CCCCD6;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    color: #fff;
    font-weight: bold;
    margin-top: 1rem;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.card-curso-link {
    text-decoration: none !important;
    cursor: pointer;
}

.card-curso-link:hover .card-curso .boton-mas {
    background: #ff5722;
    color: #fff;
}

.testimonios-home {
    background: #F8F8F9;
    padding: 100px 1rem;
    text-align: center;
}

.testimonios-home .titulo-principal {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 3rem;
    color: #1F2432;
}

.testimonios-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.card-testimonio {
    background: #fff;
    max-width: 300px;
    padding: 1.5rem;
    border-radius: 3.88px;
    text-align: left;
    box-shadow: 0 7.77px 38.83px 0px rgba(114, 133, 172, .1);
}

.header-testimonio {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.header-testimonio strong {
    font-size: 14px;
    color: #1F2432;
}

.header-testimonio span {
    font-size: 12px;
    color: #7285AC;
    font-weight: 500;
}

.header-testimonio .avatar {
    width: 77.65px;
    height: 77.65px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 5px;
}

.mensaje {
    font-size: 12px;
    color: #1F2432;
    line-height: 1.4;
}

.slider-logos {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 4rem;
    animation: scrollSlider 30s linear infinite;
}

.logo-item img {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.8;
}

@keyframes scrollSlider {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.como-trabajamos {
    padding: 100px 1rem;
    background: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.como-trabajamos-container {
    max-width: 991px;
    width: 100%;
    margin: 0 auto;
}

.como-trabajamos h2 {
    color: #1F2432;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -2px;
    text-align: left;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.paso {
    background: #f7f7f7;
    padding: 1.5rem .8rem;
    border-radius: 10px;
    text-align: left;
}

.paso img {
    margin-bottom: 0.5rem;
}

.paso h4 {
    font-size: 28px;
    color: #000;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.paso p {
    font-size: 16px;
    color: #242731;
}

.cta-llamado {
    background: #ff5722;
    color: white;
    padding: 3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    height: 404px;
}

.cta-llamado .contenido {
    max-width: 1100px;
    margin: auto;
}

.cta-llamado h2 {
    font-size: 46px;
    letter-spacing: -2px;
    font-weight: 600;
    line-height: 110%;
    color: #1F2432;
    max-width: 700px;
}

.cta-llamado p {
    margin: 1rem 0;
    font-size: 21px;
    color: #000;
}

.btn-cta {
    background: white;
    color: black;
    width: 271px;
    height: 48px;
    border-radius: 3px;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    text-decoration: none !important;
}

.btn-cta:hover {
    color: #FF5722;
}

.cta-llamado .imagen img {
    max-height: 769px;
    height: auto;
    width: auto;
    position: absolute;
    bottom: 0;
    right: 100px;
}

.cotiza-nam {
    background: #F7FAFE;
    padding: 4rem 1rem;
    position: relative;
    min-height: 550px;
}

.cotiza-nam .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
    gap: 2rem;
    height: 100%;
}

.cotiza-nam .texto {
    display: flex;
    align-items: center;
}

.cotiza-nam .texto h2 {
    font-size: 52px;
    color: #1F2432;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 100%;
}

.cotiza-nam .texto p {
    font-size: 21px;
    color: #1F2432;
    max-width: 560px;
}

.cotiza-nam .texto .center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cotiza-nam .formulario {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 4px 25px 40px 0 rgba(207, 205, 234, 0.2);
    height: fit-content;
    max-width: 401px;
}

.cotiza-nam form p {
    margin-bottom: 5px;
}

.cotiza-nam label {
    width: 100%;
    font-size: 12px;
    color: #1F2432;
    font-weight: 600;
}

.cotiza-nam label span {
    color: #EA1515;
}

.cotiza-nam input {
    height: 40px;
}

.cotiza-nam input,
.cotiza-nam textarea {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    background-color: #EDF4FD;
    margin-top: 2px;
}

.cotiza-nam button {
    background: #ff5722;
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 157px;
    height: 42px;
    letter-spacing: 2px;
}

.cotiza-nam .center-btn {
    text-align: center;
}

.mensaje-ok {
    background: #e3ffe3;
    border: 1px solid #9fdb9f;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 6px;
}

.mensaje-error {
    background: #FDECEA;
    border: 1px solid #F5C2C7;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 6px;
}


@media(max-width:991px) {

    .imagenes,
    .porque-container,
    .cotiza-nam .container {
        grid-template-columns: 1fr;
    }

    .cta-llamado {
        min-height: 1100px;
        align-items: flex-start;
        padding-top: 40px;
    }

    .cta-llamado .contenido {
        margin: 0;
    }

    .cta-llamado .imagen img {
        right: 0px;
    }

    .porque-academia,
    .programas,
    .testimonios-home,
    .como-trabajamos,
    .cta-llamado,
    .cotiza-nam {
        padding: 30px;
    }

    .layer-niam1 {
        right: 0;
        bottom: -60px;
    }

    .layer-niam1 svg {
        width: 350px;
    }

    .contenido h2,
    .programas-container h2,
    .titulo-principal,
    .como-trabajamos-container h2,
    .cotiza-nam h2 {
        font-size: 2.5rem !important;
    }
}