/* =========================
   RESPONSIVE GENERAL
========================= */

@media (max-width: 768px) {

    body {
        width: 100%;
        overflow-x: hidden;
    }

    .header {
        width: 100%;
        height: auto;
        min-height: auto;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        padding: 15px 20px;

        gap: 15px;
    }

    .logo img {
        width: 55px;
        height: auto;

        object-fit: contain;
    }

    .menu,
    .nav {
        width: 100%;

        display: flex;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 10px 15px;
    }

    .menu a,
    .nav a {
        font-size: 13px;

        text-align: center;
    }

    .redes-sociales,
    .redes {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 25px;
    }

    .redes-sociales a,
    .redes a {
        font-size: 21px;
    }

    .hero {
        width: 100%;
        min-height: 300px;

        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 40px;

        line-height: 1.1;

        text-align: center;
    }

    .hero p {
        font-size: 15px;

        text-align: center;
    }

    .seccion,
    .biblioteca,
    .seccion-manuales,
    .conocenos {
        width: 100%;

        padding: 50px 20px;
    }

    .contenedor-pdf,
    .contenedor-manuales,
    .manuales,
    .marcas {
        width: 100%;

        grid-template-columns: 1fr;
    }

    .tarjeta-pdf,
    .tarjeta-manual,
    .manual,
    .tarjeta {
        width: 100%;

        max-width: 100%;

        margin: 0 auto;
    }

    .buscador {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;
    }

    .buscador input,
    .buscador button {
        width: 100%;

        border-radius: 10px;
    }

}
/* ===============================
   CONFIGURACIÓN GENERAL
================================ */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


/* ===============================
   CELULAR Y TABLET
================================ */

@media (max-width: 768px) {

    /* HEADER */

    .header {
        width: 100%;
        height: auto;
        min-height: auto;

        padding: 15px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 15px;
    }


    .logo {
        display: flex;
        justify-content: center;
    }


    .logo img {
        width: 60px;
        height: auto;
    }


    /* MENÚ */

    .menu,
    .nav {
        width: 100%;

        display: flex;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 10px 15px;
    }


    .menu a,
    .nav a {
        font-size: 13px;

        text-align: center;
    }


    /* REDES SOCIALES */

    .redes-sociales,
    .redes {
        width: 100%;

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 25px;
    }


    /* HERO */

    .hero {
        width: 100%;
        min-height: 300px;

        padding: 40px 20px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        text-align: center;
    }


    .hero h1 {
        width: 100%;

        font-size: 38px;

        line-height: 1.1;

        word-break: normal;
    }


    .hero p {
        width: 100%;

        font-size: 15px;

        line-height: 1.6;
    }


    /* TÍTULOS */

    h1 {
        font-size: 38px;
    }


    h2 {
        font-size: 32px;
    }


    h3 {
        font-size: 20px;
    }


    /* SECCIONES */

    .seccion,
    .biblioteca,
    .seccion-manuales,
    .conocenos,
    .gratis,
    .informacion {
        width: 100%;

        padding: 50px 20px;
    }


    /* BUSCADOR */

    .buscador {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;
    }


    .buscador input {
        width: 100%;

        padding: 16px;

        font-size: 14px;

        border-radius: 10px;
    }


    .buscador button {
        width: 100%;

        padding: 16px;

        border-radius: 10px;
    }


    /* MARCAS */

    .marcas {
        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }


    .marca {
        width: 100%;

        padding: 10px;

        display: flex;

        align-items: center;
        justify-content: center;
    }


    .marca img {
        width: 100px;
        height: 90px;

        object-fit: contain;
    }


    /* TARJETAS DE MANUALES */

    .manuales,
    .contenedor-manuales,
    .contenedor-pdf {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 25px;
    }


    .manual,
    .tarjeta-manual,
    .tarjeta-pdf {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 30px 20px;
    }


    .tarjeta-manual p,
    .tarjeta-pdf p,
    .manual p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* BOTONES */

    .botones {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;
    }


    .botones a,
    .boton-gratis,
    .tarjeta-manual a,
    .manual a {
        width: 100%;

        text-align: center;

        padding: 15px;
    }


    /* TARJETA QUIÉNES SOMOS */

    .tarjeta {
        width: 100%;
        max-width: 100%;

        padding: 25px 20px;
    }


    .tarjeta p {
        font-size: 14px;

        line-height: 1.8;

        text-align: left;
    }


    /* PDF */

    .icono-pdf {
        width: 75px;
        height: 95px;

        font-size: 20px;
    }


    /* FOOTER */

    footer {
        width: 100%;

        padding: 25px 20px;

        text-align: center;
    }

}


/* ===============================
   CELULARES PEQUEÑOS
================================ */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 31px;
    }


    h1 {
        font-size: 31px;
    }


    h2 {
        font-size: 27px;
    }


    .marcas {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }


    .marca img {
        width: 80px;
        height: 75px;
    }


    .menu a,
    .nav a {
        font-size: 12px;
    }


    .seccion,
    .biblioteca,
    .seccion-manuales,
    .conocenos,
    .gratis,
    .informacion {
        padding: 40px 15px;
    }

}