@media screen and (max-width: 1400px) {
    .fondo {
        background-image: url("img/hero.jpeg");
        background-size: auto 100%;
        background-repeat: no-repeat;
    }

}

@media screen and (max-width: 1200px) {
    header {
        height: 600px;
    }

    .contenedor {
        width: 100%;
        height: auto;
    }

    #inicio {
        height: 50px;
    }

    header {
        height: auto;
        background-size: cover;
        background-position-x: 60%;
    }

    .hero .items {
        gap: 25px;
        flex-wrap: wrap;
    }

    .logo-back {
        width: 600px;
    }

}

@media (max-width: 950px) {
    .logo-back {
        left: -40px;
        top: -48px;
        width: 400px;
    }

    header {
        background: transparent;
    }

    .fondo {
        background-size: auto 100%;
        background-position-x: 100%;
    }

    .hero .cont {
        background-color: rgba(255, 255, 255, 0.5);
    }

    #home .contenedor {
        background-color: transparent;
    }


    .contenedor {
        width: 100%;
    }

    #home .contenedor {
        position: relative;
    }

    header {
        height: auto;
        background-size: cover;
        background-position-x: 50%;
    }

    #home .contenedor {
        padding: 0;
    }

    .hero .cont {
        padding: 30px;
        width: 100%;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 75%, rgba(255, 255, 255, 0.2) 100%);
    }

    .hero-txt {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 5px;
        width: 60%;
    }

    .hero h1 {
        font-size: 3.5rem;
        color: var(--accion);
        line-height: 30px;
    }

    .hero h2 {
        font-size: 2.5rem;
        line-height: 30px;
    }

    .hero .items {
        gap: 25px;
        flex-wrap: nowrap;
    }

    .botones {
        justify-content: center;
    }


    .beneficios {
        width: 95%;
        margin: auto;
        margin-top: 75px;
        /* position: absolute;
        transform: translate(0%, 40%); */
    }

    .beneficios .icon {
        height: 40px;
    }

    section {
        padding: 0 30px;
    }

    .boxs .items {
        flex-direction: column;
        margin-top: 25px;
        align-items: flex-start;
    }

    .boxs .item {
        width: 100%;
    }

    .boxs .imagen {
        height: 100%;
        background-size: cover;
        background-position: 10%;
    }

    .boxs .imagen img {
        width: 100%;
        height: auto;
    }

    .temario-section {
        width: calc(100% - 60px);
    }

    .temario-container {
        grid-template-columns: repeat(2, 1fr);
        /* En tablets se vuelve de 2 columnas */
        gap: 40px 20px;
    }

    .temario-item h3 {
        font-size: 24px;
    }

    .temario-item p {
        font-size: 20px;
    }

    .cards {
        flex-wrap: wrap;
    }

    .card {
        width: 30%;
    }

    .section_4 .contenedor {
        flex-direction: column;
        align-items: center;
        justify-content: stretch;
    }

    .section_4 .contenedor>div:nth-child(1),
    .section_4 .contenedor>div:nth-child(2),
    .section_4 .contenedor>div:nth-child(3) {
        width: 60%;
    }

    .section_4 .contenedor>div:nth-child(1),
    .section_4 .contenedor>div:nth-child(3) {
        height: 500px;
    }

    footer section {
        padding: 0;
    }

    footer article {
        background-size: cover;
        background-position: center;
    }

    footer h2 {
        font-size: 1.5rem;
    }

    footer .wasa h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 850px) {
    .hero {
        height: auto;
    }

    .fondo {
        height: auto;
    }
}

@media (max-width: 576px) {
    .logo-back {
        width: 100%;
        left: -30px;
        top: -30px;
    }

    header {
        background: transparent;
    }

    h2 {
        font-size: 1.9rem;
        font-weight: 800;
    }

    section {
        padding: 0 20px;
    }

    #home .contenedor {
        padding: 0;
        background-color: transparent;
    }

    .hero {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 65%, rgba(255, 255, 255, 0.1) 100%);
        height: 100vh;
    }

    .fondo {
        background-size: auto 100%;
        background-position-X: 60%;
        background-repeat: no-repeat;
        height: 100vh;
    }

    .hero-txt {
        width: 100%;
    }

    .hero .cont {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 65%, rgba(255, 255, 255, 0.1) 100%);
    }

    .hero .items {
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero h1,
    .hero h2 {
        font-weight: 800;
        line-height: 40px;
    }

    .hero h1 {
        font-size: 3.5rem;
        color: var(--accion)
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero .hero-txt p {
        font-size: 1rem;
        text-align: left;
    }

    .hero .item p {
        font-size: 1rem;
    }

    .items {
        align-items: flex-start;
    }

    .item {
        width: 90%;
        justify-content: flex-start;
    }

    .botones {
        flex-direction: column;
    }

    .botones .boton-whatsapp {
        width: 95%;
    }

    .beneficios {
        flex-wrap: wrap;
        width: calc(100% - 40px);
    }

    .beneficio {
        width: 45%;
    }

    .beneficios .liner {
        display: none;
    }

    .dos-columnas {
        flex-direction: column;
        justify-content: center;

    }

    .boxs {
        padding: 0;
        width: 100%;
        height: clamp(500px, auto, 650px);
    }

    .boxs .imagen {
        height: 500px;
    }

    .temario-section {
        width: calc(100% - 40px);
        background-size: cover;
        background-position-x: 55%;
    }

    .temario-container {
        grid-template-columns: 1fr;
        /* En móviles se vuelve una sola lista vertical */
        gap: 35px;
    }

    .cards {
        align-items: stretch;
    }

    .card {
        width: 45%;
        height: auto;
    }

    .section_4 .contenedor>div:nth-child(1),
    .section_4 .contenedor>div:nth-child(2),
    .section_4 .contenedor>div:nth-child(3) {
        width: 100%;
    }

    .cont-items h1 {
        font-size: 3rem;
        margin: 0;
    }

    footer h4 {
        font-size: 1.2rem;
        text-align: center;
    }

    footer h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    footer .wasa h1 {
        font-size: 2rem;
    }

    footer li {
        display: grid;
        grid-template-columns: 25px auto;
        font-size: 0.8rem;
    }
}

.iva {
    display: flex;
    align-items: center;
}

.iva p {
    margin: 0;
    margin-left: 3px;
}