.profesor-info-inline {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 18px;
    width: 100%;
}
/* Imagen y datos del profesor en línea */
/* Imagen y datos del profesor en línea mejorados */
.profesor-info-inline {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 18px;
}
#profesor-info-1{
    margin-bottom: -10px;
}
.img-profesor {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.profesor-info-inline .list-profesor {
    flex: 1 1 0;
    width: 100%;
    word-break: break-word;
}
/* Popup registro estilo modal */
.popup-registro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.popup-registro[style*="display: flex"] {
    display: flex !important;
}
.popup-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 28px;
    max-width: 400px;
    width: 100%;
    position: relative;
}
.close-popup {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 2em;
    color: #0f4b9f;
    cursor: pointer;
    font-weight: bold;
    z-index: 2;
}
.contenido_curso {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 60px 10% 60px 10%;
    justify-content: space-between;
    color: rgb(75, 75, 75);
    background-color: rgb(248, 248, 248);
}
.contenido_curso p, .contenido_curso li {
    font-size: 1.1em;
    font-weight: 100;
}
.info_curso {
    width: 50%;
    min-width: 320px;
}
.form_curso_lateral {
    display: flex;
    width: 50%;
    justify-content: right;
}
.titulo-curso {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 18px;
    color: rgb(75, 75, 75);
}
.desc-curso {
    margin-bottom: 22px;
}
.subtitulo-curso {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgb(75, 75, 75);
}
.logos-respaldo {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.logo-respaldo {
    height: 65px;
}
.list-profesor {
    margin-bottom: 18px;
    list-style-type: disc;
    padding-left: 18px; /* Menos padding para alinear con el título */
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.list-dirigido {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style-type: disc;
    padding-left: 18px; /* Menos padding para alinear con el título */
}
.contenido_curso {
    display: flex; 
    gap: 40px; 
    align-items: flex-start; 
    padding: 60px 10% 60px 10%; 
    justify-content: space-between; 
}
.acordeon-modulos {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}
.modulo-item {
    border: none;
    background: none;
    margin-bottom: 18px;
    position: relative;
}
.modulo-header {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.08em;
    background: rgb(255, 255, 255);
    border-radius: 8px;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.modulo-header::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: #0f4b9f;
    border-radius: 50%;
    margin-right: 16px;
    box-shadow: 0 0 0 4px rgb(255, 255, 255);
}
.modulo-header.active {
    background: rgb(255, 255, 255);
}
.modulo-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
    background: rgb(255, 255, 255);
    border-radius: 0 0 8px 8px;
    padding: 0 24px;
}
.modulo-body ul li b{
    font-weight: 600;
}
.modulo-body ul{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modulo-body.open {
    padding: 16px 24px;
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
}
.acordeon-linea {
    position: absolute;
    left: 6px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #0f4b9f 0%, rgb(255, 255, 255) 100%);
    z-index: 0;
}

.form_curso_lateral {
    position: sticky;
    top: 40px;
    align-self: flex-start;
}
#hero-curso {
    background: linear-gradient(225deg, rgb(8,0,19) 0%, rgb(15,75,159) 60%);
}
.hero_content_cursos{
    color: white;
    padding-inline: 10%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 15%;
    padding-bottom: 10%;
    align-items: center;
    gap: 150px;
    width: 80%;
}

.col1_hero{
    width: max-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.col1_hero h1{
    font-weight: 100;
    font-size: 2.1em;
}
.modalidad_horas{
    padding-top: 7%;
    display: flex;
    gap: 30px;
    /* justify-content: center; */
    width: auto;
}
.box{
    background-image: url('/assets/img/cuadrado.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 180px;
    width: 180px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.miga_de_pan{
  display: flex;
  align-items: center;
  font-size: 0.68em;
}
.contenedor_boton{
    display: flex;
    justify-content: center;
}
.btn_brochure{
    background-color: black;
    border-width: 0px;
    border-radius: 30px;
    color: white;
    font-size:1.3em;
    font-weight: 200;
    padding-inline: 20px;
    padding-block: 15px;
    width: 330px;
}
.horas{
    font-size: 2.5em;
    font-weight: 200;
}

.contenedor_form_registro{
    background-color: rgb(235, 235, 235);
    padding-inline: 30px;
    padding-block: 20px;
    width: 350px;
    border-radius: 15px;
}
.form_registro_curso{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form_registro_curso h2{
    color: rgb(1, 42, 123);
    font-weight: 100;
    text-align: center;
    padding-bottom: 2%;
}
.form_registro_curso label{
    color: rgb(54, 54, 54);
    font-size: 0.9em;
}
.form_registro_curso input{
    border-right: none;
    border-left: none;
    border-top: none;
    border-bottom: 1px solid gray;
    background-color: rgba(245, 245, 220, 0);
}
.form_registro_curso input:focus {
    outline: none;
    box-shadow: none;
    border-bottom: 1px solid gray;
}
.form_registro_curso button{
    background-color: rgb(0, 34, 101);
    color: white;
    border: none;
    border-radius: 30px;
    padding-block: 10px;
    font-size: 0.9em;
    cursor: pointer;
    width: 160px;
}
.col2_form{
    display: flex;
    justify-content: space-between;
}
.col2_form div{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 46%;
}
.col1_form div{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.select_cursos{
    min-width: 350px;
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow-x: auto;
}
.select_cursos option {
    min-width: 350px;
    white-space: nowrap;
    overflow-x: auto;
    text-overflow: ellipsis;
}

.politicas-privacidad-check {
    margin: 10px 0 10px 0;
}
.politicas-privacidad-check label {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.check-politicas {
    width: 15px;
    height: 15px;
}
.link-politicas {
    color: #1a4fa3;
    text-decoration: underline;
}

/* segundo encabezado */
.btn_brochure_2{
    background-color: rgba(0, 0, 0, 0);
    border-color: #fff;
    color: rgb(255, 255, 255);
    font-size:1em;
    border-style: solid;
    width: 240px;
    padding-block: 8px;
}
.btn_brochure_2:hover{
    transform: scale(0.98);
    cursor: pointer;
    transition-duration: 0.2s;
}
.box h3{
    font-size: 1em;
}
.content_1{
    display: flex;
    gap: 60px;
    width: max-content;
}
.titulo_curso{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: max-content;
}
.titulo_curso h3{
    font-size: 1.2em;
    font-weight: 200;
}
.titulo_curso h1{
    font-family: "Bebas Neue", sans-serif;
    font-size: 4.5em;
    font-weight: 200;
    line-height: 1em;
}
#titulo_curso_topicos{
    width: 320px;
}
.col2_hero{
    display: flex;
    width: max-content;
    justify-content: center;
}
.contenedor_mod_horas{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: max-content;
    /* width: 70%; */
}
.content_2{
    display: flex;
    gap: 7%;
    /* width: 100%; */
    justify-content: center;
    width: 550px;
}
.respaldo_info{
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.respaldo_info p{
    font-size: 0.5em;
}
.respaldo_info img{
    height: 50px;
}
.hero{
    display: flex;
    align-items: center;
}
.menu_search{
    display: flex;
    align-items: center;
    gap: 30px;
}
.menu_movil{
    display: none;
}
.menu_movil_hamburguesa{
    display: none;
}
.buscador_moviles{
    display: none;
}

/* TABLETS */

@media (max-width: 1024px) {
    .contenido_curso {
        flex-direction: column;
        padding: 30px 5% 30px 5%;
    }
    .info_curso, .form_curso_lateral {
        width: 100%;
        justify-content: center;
    }
    .form_curso_lateral {
        position: static;
        margin-top: 30px;
        margin-bottom: 80px;
    }
    .hero_content_cursos{
        height: max-content;
        gap: 80px;
    }
    .content_1{
        flex-direction: column-reverse;
        gap: 0px;
    }
    .contenedor_boton{
        justify-content: flex-start;
    }
    .content_2{
        justify-content: center;
        align-items: flex-start;
    }
    .respaldo_info{
        flex-direction: column;
        align-items: flex-start;
        width: max-content;
    }
    /* MENÚ MÓVILES */
    .menu_principal, .form_busqueda{
        display: none;
    }
    .menu_movil{
        display: flex;
        position: fixed;
        background-color: rgba(0, 14, 28, 0.823);
        color: rgb(255, 255, 255);
        top: 0px;
        left: 0%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        padding-left: 30px;
        padding-top: 60px;
        padding-right: 50px;
        flex-direction: column;
        font-size: 1.2em;
        height: 100%;
        width: 50vw;
        transform: translateX(-100%);
        gap: 20px;
    }
    .cerrar_menu{
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5em;
        cursor: pointer;
    }
    .menu_movil ul{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .menu_movil_hamburguesa{
        display: block;
        font-size: 30px;
        padding-block: 5px;
        padding-inline: 10px;
        border: none;
        background-color: rgba(0, 0, 0, 0.113);
        border-radius: 7px;
    }
    .buscador_moviles{
        display: block;
        font-size: 30px;
    }

    /* FOOTER */
    footer{
        padding-inline: 50px;
        font-size: 0.9em;
    }

    .logo_movil img{
        height: 40px;
    }

}


/* CELULARES */
@media (max-width: 600px) {
    html, body {
        overflow-x: hidden;
    }
    .logo_movil img{
        height: 30px;
    }
    .logo img{
        height: 30px;
        width: auto;
    }
    header{
        width: 100%;
        gap: 25px;
        justify-content: center;
        padding-inline: 0px;
        margin-inline: 0px;
    }
    .hero_content_cursos{
        justify-content: center;
        gap: 60px;
        height: max-content;
        padding-block: 60px;
    }
    .col2_hero{
        padding-top: 40px;
    }
    .titulo_curso{
        max-width: 300px;
    }
    .titulo_curso h1{
        font-size: 3em;
    }
    .titulo_curso h3{
        font-size: 0.8em;
    }
    .box{
        height: 120px;
        width: 120px;
    }
    .horas{
        font-size: 1.8em;
    }
    #modalidad_box p{
        font-size: 0.9em;
    }
    #modalidad_box h3{
        font-size: 0.9em;
    }
    #horas_box p{
        font-size: 0.9em;
    }
    .respaldo_info img{
        height: 40px;
    }
    .logo-respaldo{
        height: 45px;
    }
    .profesor-info-inline{
        flex-direction: column;
        align-items: center;
    }
    .contenedor_form_registro{
        width: 300px;
    }
    .form_registro_curso{
        width: 100%;
    }
    .col1_form select{
        width: 0px; /* Puedes ajustar el valor según lo que necesites */
    }
    .select_cursos {
        min-width: 100%;
    }    
    footer{
        grid-template-columns: auto;
        gap: 30px;
        padding-inline: 20px;
        font-size: 1em;
    }
    .logo_redes{
        align-items: center;
    }
    .menu_footer, .info_contacto{
        gap: 20px;
    }
}