/*Titulo*/
#convocatoria {
    background: linear-gradient(110deg,
            #74D5F7 0%,
            #54B8F0 30%,
            #438FE1 65%,
            #3269BD 100%);

    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#convocatoria p, #convocatoria h4 {
    font-family: 'Poppins', sans-serif;
}

.contConvocatoria p {
    font-size: 15px;
    line-height: 1.6;
    color: #102B53;
}

.contConvocatoria h4 {
    font-size: 30px;
    line-height: 1.2;
    color: #f6f8fb;
}

.enlacesDocumentos a {
    text-decoration: none;
}

.enlacesDocumentos a::before {
    content: "📄";
    font-size: 23px;
    flex-shrink: 0;
}

/* SECCIÓN MODALIDADES */

/* SECCIÓN GENERAL */
#modalidades {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 45px 3%;
    background: #F5F9FD;
    font-family: 'Poppins', sans-serif;
}

#modalidades>h3 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 28px;
    color: #123B60;
    margin: 0 0 20px;
}

/* TARJETAS HORIZONTALES */
.modParticipacion {
    display: grid;
    grid-template-columns: 35% minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 15px;

    background: #FFFFFF;
    border: 1px solid #DCE8F2;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 5px 18px rgba(13, 27, 61, 0.10);
    transition: 0.3s ease;
}

.modParticipacion:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(13, 27, 61, 0.15);
}

/* IMAGEN IZQUIERDA */
.modParticipacion figure {
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
    min-width: 0;
}

.imgModalidad {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

/* TÍTULO */
.modParticipacion h4 {
    grid-column: 2;
    grid-row: 1;

    font-size: 18px;
    font-weight: 700;
    color: #123B60;
    margin: 16px 15px 5px 0;
}

/* DESCRIPCIÓN */
.modParticipacion p {
    grid-column: 2;
    grid-row: 2;

    font-size: 12px;
    line-height: 1.5;
    color: #526779;

    margin: 0 15px 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #DCE8F2;
}

/* LISTAS */
.modParticipacion ul {
    grid-column: 2;
    grid-row: 3;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;

    list-style: none;
    padding: 0 15px 16px 0;
    margin: 0;
    align-content: start;
}

.modParticipacion li {
    position: relative;
    padding-left: 17px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    color: #243B53;
}

/* MARCADORES */
.modParticipacion li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;

    width: 13px;
    height: 13px;
    border-radius: 50%;

    background: #00AEB8;
    color: #FFFFFF;
    font-size: 9px;
    text-align: center;
    line-height: 13px;
}

.poster li::before {
    background: #6253DB;
}

/*===============================================
Sección de requisitos para postulación de trabajos
================================================== */

.requisitos {
    font-family: 'Poppins', sans-serif;
    border-radius: 20px;
}

.requisitostitulos {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(120deg,
            #F3FAFF 0%,
            #E5F3FC 50%,
            #DCEEFF 100%);
}

.requisitostitulos h3 {
    line-height: 50px;
    color: #173B68;
    font-size: 28px;
    margin: 0;

}

.requisitostitulos p {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0;

    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    text-align-last: center;
}

.reqproduccion {
    display: flex;
    flex-direction: row;

    gap: 20px;
    padding: 30px;
    background-color: #F3F8FC;
}

.reqproduccion>article {
    flex: 1 1 450px;
    min-width: 0;
    padding: 25px;

    background-color: #FFFFFF;
    border: 1px solid #DCE8F2;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(23, 59, 104, 0.08);
}

.reqproduccion>article h4 {
    color: #173B68;
    font-size: 20px;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #DCE8F2;
}

.enlacesDocumentos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enlacesDocumentos li {
    margin-bottom: 12px;
}

.enlacesDocumentos a {
    color: #2563A6;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.5;
}

.enlacesDocumentos a:hover {
    color: #0891B2;
    text-decoration: underline;
}
.plantilla{
    color:#64748B;
    text-align: center;
    margin-top: 10px;
}
.plantilla a{
 text-decoration: none;
 color: #3269BD;

}
.plantilla a:hover {
    color: #174A7E;
    
}



/*Cronograma */

/* CRONOGRAMA */
#cronograma {
    padding: 65px 5%;
    background: linear-gradient(135deg, #FFFFFF, #EAF5FF);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

#cronograma h3,
#reconocimientos h3 {
    font-size: 30px;
    color: #123B60;
    margin: 0 0 10px;
}

#cronograma>p,
#reconocimientos>p {
    font-size: 15px;
    color: #526779;
    margin: 0 0 45px;
}

/* LÍNEA DE TIEMPO HORIZONTAL */
.lineaTiempo {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    padding: 30px 0 0;
    margin: 0;
    position: relative;
}

/* LÍNEA DE CONEXIÓN */
.lineaTiempo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, #00AEB8, #1678BD, #6253DB);
}

.lineaTiempo li {
    position: relative;
    background: #FFFFFF;
    padding: 25px 12px;
    border-radius: 16px;
    border: 1px solid #DCE8F2;
    box-shadow: 0 5px 18px rgba(13, 27, 61, 0.08);
    transition: 0.3s ease;
}

.lineaTiempo li::before {
    content: "";
    position: absolute;
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 13px;
    border: 4px solid #FFFFFF;
    border-radius: 50%;
    background: #087FAD;
    box-shadow: 0 0 0 2px #087FAD;
}

.lineaTiempo li:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(13, 27, 61, 0.14);
}

/* FECHAS */
.lineaTiempo time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #087FAD, #164E73);
    color: #FFFFFF;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.1;
}

.lineaTiempo time small {
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 5px;
}

.lineaTiempo h4 {
    font-size: 14px;
    line-height: 1.5;
    color: #123B60;
    margin: 0;
}

/* RECONOCIMIENTOS */
#reconocimientos {
    padding: 60px 5%;
    background: #F4F9FE;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

#reconocimientos ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#reconocimientos li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 155px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #DCE8F2;
    border-top: 4px solid #087FAD;
    border-radius: 16px;
    color: #34536B;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: 0 5px 18px rgba(13, 27, 61, 0.07);
    transition: 0.3s ease;
}

#reconocimientos li:nth-child(2) {
    border-top-color: #1678BD;
}

#reconocimientos li:nth-child(3) {
    border-top-color: #6253DB;
}

#reconocimientos li:nth-child(4) {
    border-top-color: #00AEB8;
}

#reconocimientos li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(13, 27, 61, 0.13);
}


/* ==========================================
   DISEÑO TABLETS
   769px - 1024px
========================================== */

@media (min-width: 769px) and (max-width: 1024px) {

    /* TÍTULO DE CONVOCATORIA */

    #convocatoria {
        min-height: 180px;
        padding: 25px 20px;
        box-sizing: border-box;
    }

    .contConvocatoria h4 {
        font-size: 26px;
    }

    .contConvocatoria p {
        font-size: 14px;
    }

    /* MODALIDADES */

    #modalidades {
        grid-template-columns: 1fr;
        padding: 35px 5%;
        gap: 20px;
    }

    #modalidades > h3 {
        font-size: 26px;
    }

    .modParticipacion {
        grid-template-columns: 35% minmax(0, 1fr);
    }

    .imgModalidad {
        min-height: 220px;
    }

    .modParticipacion h4 {
        font-size: 18px;
    }

    .modParticipacion li {
        font-size: 12px;
    }

    /* REQUISITOS */

    .requisitostitulos {
        padding: 25px 20px;
        box-sizing: border-box;
    }

    .requisitostitulos h3 {
        font-size: 25px;
        line-height: 1.4;
    }

    .requisitostitulos p {
        font-size: 15px;
        max-width: 750px;
    }

    .reqproduccion {
        gap: 15px;
        padding: 20px;
    }

    .reqproduccion > article {
        flex: 1 1 0;
        padding: 20px;
    }

    .reqproduccion > article h4 {
        font-size: 18px;
    }

    .enlacesDocumentos a {
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .plantilla {
        margin-top: 35px;
    }

    /* CRONOGRAMA */

    #cronograma {
        padding: 45px 5%;
    }

    .lineaTiempo {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        padding-top: 0;
    }

    .lineaTiempo::before,
    .lineaTiempo li::before {
        display: none;
    }

    .lineaTiempo li {
        padding: 20px 12px;
    }

    /* RECONOCIMIENTOS */

    #reconocimientos {
        padding: 45px 5%;
    }

    #reconocimientos ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================
   DISEÑO  CELULARES
   Hasta 768px
========================================== */

@media (max-width: 768px) {

    /* TÍTULO DE CONVOCATORIA */

    #convocatoria {
        min-height: 160px;
        padding: 30px 18px;
        box-sizing: border-box;
    }

    .contConvocatoria {
        width: 100%;
    }

    .contConvocatoria h4 {
        font-size: 23px;
        line-height: 1.3;
        margin: 0 0 12px;
    }

    .contConvocatoria p {
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    /* MODALIDADES */

    #modalidades {
        grid-template-columns: 1fr;
        padding: 30px 15px;
        gap: 18px;
    }

    #modalidades > h3 {
        font-size: 23px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .modParticipacion {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    /* IMAGEN */

    .modParticipacion figure {
        grid-column: 1;
        grid-row: auto;
    }

    .imgModalidad {
        width: 100%;
        height: 200px;
        min-height: 0;
        object-fit: cover;
    }

    /* TÍTULO */

    .modParticipacion h4 {
        grid-column: 1;
        grid-row: auto;

        font-size: 18px;
        margin: 18px 18px 8px;
    }

    /* DESCRIPCIÓN */

    .modParticipacion p {
        grid-column: 1;
        grid-row: auto;

        font-size: 13px;
        margin: 0 18px 12px;
        padding-bottom: 12px;
    }

    /* LISTA DE MODALIDADES */

    .modParticipacion ul {
        grid-column: 1;
        grid-row: auto;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;

        padding: 0 18px 20px;
    }

    .modParticipacion li {
        font-size: 12px;
        line-height: 1.5;
    }

    /* REQUISITOS: TÍTULO */

    .requisitostitulos {
        min-height: auto;
        padding: 30px 18px;
        box-sizing: border-box;
    }

    .requisitostitulos h3 {
        font-size: 23px;
        line-height: 1.4;
        margin: 0 0 15px;
    }

    .requisitostitulos p {
        width: 100%;
        max-width: 100%;
        padding: 0;

        font-size: 14px;
        line-height: 1.7;
        text-align: justify;
        text-align-last: left;
    }

    /* REQUISITOS: TARJETAS */

    .reqproduccion {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }

    .reqproduccion > article {
        flex: 0 1 auto;
        width: 100%;
        min-width: 0;
        padding: 20px;
        box-sizing: border-box;
    }

    .reqproduccion > article h4 {
        font-size: 19px;
        line-height: 1.4;
    }

    /* DOCUMENTOS */

    .enlacesDocumentos li {
        margin-bottom: 15px;
    }

    .enlacesDocumentos a {
        font-size: 14px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .enlacesDocumentos a::before {
        font-size: 19px;
    }

    /* PLANTILLA Y CORREO */

    .plantilla {
        margin-top: 30px;
        font-size: 13px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    /* CRONOGRAMA */

    #cronograma {
        padding: 40px 15px;
    }

    #cronograma h3,
    #reconocimientos h3 {
        font-size: 24px;
        line-height: 1.4;
    }

    #cronograma > p,
    #reconocimientos > p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .lineaTiempo {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0;
    }

    /* OCULTAR LÍNEA HORIZONTAL */

    .lineaTiempo::before,
    .lineaTiempo li::before {
        display: none;
    }

    .lineaTiempo li {
        padding: 22px 15px;
    }

    .lineaTiempo time {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }

    .lineaTiempo h4 {
        font-size: 14px;
    }

    /* RECONOCIMIENTOS */

    #reconocimientos {
        padding: 40px 15px;
    }

    #reconocimientos ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #reconocimientos li {
        min-height: 120px;
        padding: 20px;
        box-sizing: border-box;
    }
}

/* ==========================================
   CELULARES PEQUEÑOS
   Hasta 480px
========================================== */

@media (max-width: 480px) {

    .contConvocatoria h4 {
        font-size: 21px;
    }

    .requisitostitulos h3 {
        font-size: 21px;
    }

    .modParticipacion ul {
        grid-template-columns: 1fr;
    }

    .imgModalidad {
        height: 180px;
    }

    .reqproduccion > article {
        padding: 16px;
    }

    .enlacesDocumentos a {
        font-size: 13px;
    }
}