/* 1. FUENTES */
@font-face {
    font-family: 'Regular';
    src: url(../../public_html/recursos/fonts/Regular.woff2);
}

@font-face {
    font-family: 'Negrita';
    src: url(../../public_html/recursos/fonts/Negrita.woff2);
}

/* 2. RESET GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    font-family: 'Regular', sans-serif;
}

/* 3. MEDIA QUERY 1 (> 1367px) */
@media (min-width: 1367px) {
    .seccion-1 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 800px;
        background-color: #f8f9fa;
    }

    .modulo-11 {
        display: flex;
        width: 1200px;
        justify-content: space-between;
        align-items: center;
        gap: 80px;
    }

    .bloque-111 {
        display: flex;
        flex-direction: column;
        width: 600px;
        gap: 30px;
    }

    .titulo-1111 {
        font-family: 'Negrita';
        font-size: 56px;
        color: #1a1a1a;
        line-height: 1.2;
    }

    .destacado-1111 {
        color: #007bff;
    }

    .parrafo-1112 {
        font-size: 18px;
        color: #4a4a4a;
        line-height: 1.6;
    }

    .bloque-1113 {
        display: flex;
        gap: 20px;
    }

    .btn-11131 {
        width: 200px;
        height: 50px;
        background-color: #007bff;
        color: #ffffff;
        border: none;
        border-radius: 8px;
        font-family: 'Negrita';
        font-size: 16px;
        cursor: pointer;
    }

    .btn-11132 {
        width: 200px;
        height: 50px;
        background-color: transparent;
        color: #007bff;
        border: 2px solid #007bff;
        border-radius: 8px;
        font-family: 'Negrita';
        font-size: 16px;
        cursor: pointer;
    }

    .bloque-112 {
        width: 400px;
    }

    /* SECCION 2 */
    .seccion-2 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 600px;
        background-color: #ffffff;
    }

    .modulo-21 {
        display: flex;
        flex-direction: column;
        width: 1200px;
        gap: 50px;
    }

    .bloque-211 {
        text-align: center;
    }

    .titulo-2111 {
        font-family: 'Negrita';
        font-size: 36px;
        color: #1a1a1a;
    }

    .bloque-212 {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }

    .item-2121,
    .item-2122,
    .item-2123 {
        width: 360px;
        padding: 40px;
        background-color: #f1f3f5;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .titulo-21211,
    .titulo-21221,
    .titulo-21231 {
        font-family: 'Negrita';
        font-size: 22px;
        color: #1a1a1a;
    }

    .parrafo-21212,
    .parrafo-21222,
    .parrafo-21232 {
        font-size: 15px;
        color: #666666;
        line-height: 1.5;
    }

    /* SECCION 3 */
    .seccion-3 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 400px;
        background-color: #007bff;
    }

    .modulo-31 {
        width: 800px;
        text-align: center;
    }

    .bloque-311 {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .titulo-3111 {
        font-family: 'Negrita';
        font-size: 40px;
        color: #ffffff;
    }

    .btn-3112 {
        width: 280px;
        height: 60px;
        background-color: #ffffff;
        color: #007bff;
        border: none;
        border-radius: 30px;
        font-family: 'Negrita';
        font-size: 18px;
        cursor: pointer;
    }
}

/* Breakpoints simplificados para brevedad en este ejemplo, pero siguiendo la estructura de 6 queries */
@media (min-width: 1281px) and (max-width: 1366px) {

    .modulo-11,
    .modulo-21 {
        width: 1100px;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {

    .modulo-11,
    .modulo-21 {
        width: 950px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .seccion-1,
    .seccion-2 {
        height: auto;
        padding: 100px 5%;
    }

    .modulo-11,
    .modulo-21 {
        flex-direction: column;
        width: 700px;
    }

    .bloque-212 {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 481px) and (max-width: 767px) {

    .modulo-11,
    .modulo-21 {
        width: 90%;
    }

    .titulo-1111 {
        font-size: 32px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {

    .modulo-11,
    .modulo-21 {
        width: 95%;
    }

    .titulo-1111 {
        font-size: 26px;
    }
}