* {
    box-sizing: border-box;
}

.boton{
    max-width:150px;
    min-width:auto;
    width: auto;
    height: auto;
    padding: 10px;
    background: #235EE6;
    margin: 0 auto;
    color: #fff;
    border-radius: 8px;
    text-align: center;
}

.boton:hover{
    cursor:pointer;
}

.premio-card {
    /*background: #003366;*/
    border-radius: 8px;
    padding: 6px;
    width: 140px;
    text-align: center;
    color: #1f1f1f;
    /*box-shadow: 0 10px 20px rgba(0,0,0,0.2);*/
    /*border: 3px solid #ffaa00;*/
    /*position: relative;*/
    /*font-family: sans-serif;*/
    display: inline-block;
    margin: 3px 3px;
}

.premio-card h3{
    font-size: 16px;
    line-height: 0.8;
}
.premio-card p{
    font-size: 12px;
    font-weight: bold;
    line-height: 0.6;
}
.premio-card .p2{
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
}
.premio-icono {
    font-size: 2em;
    margin-bottom: 0px;
}

.premio-card:hover{
    box-shadow: 0px 0px 10px 0px rgba(250,252,252,0.30);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    background: #fff;
    cursor: pointer;
}

.div_guinda, .linea, .menu-boton:hover, .submenu li a:hover, .timeline-item.hoy .timeline-estado, .timeline::before, .timeline-punto, .timeline-btn, .div_nota:hover, .boton:hover{
    background: #691B32;
}

.div_guinda{
    width: 100%;
    height: auto;
    padding: 10px 0 10px 0;
    color: #fff;
}

.div_nota{
    cursor: pointer;
    color: #000;
    min-width: 220px;
    max-width: 280px;
    display: inline-block;
    margin: 5px 10px;
    border-radius: 8px;
    padding: 5px;
    font-size: 12px;
    background: #fff;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #a3a3a3;
}

.div_nota:hover{
    color: #fff;
}

.div_nota p{
    font-weight: 400;
    font-size: 13px;
}

.div_nota h3{
    font-weight: 500;
}

.div_gris, .premio-card{
    background: #ededed;
}

.div_blanco{
    width: 100%;
    height: auto; 
    margin: 5px auto;
    background: #fff;
}

.div_bg{
    border-style: solid;
    border-width: 1px 0 0 0;
    border-color: transparent;
    background: url("../images/bg_design.png");
    background-size: 100%;
    height: auto;
    padding: 0 20px 20px 20px;
    text-align: center;
}

.div_negro{
    width: 100%;
    height: auto; 
    background: #161a1d;
    padding: 20px 20px;
    color: #fff;
}

.mini_banner{
    width: 100%;
    height: auto;
    padding: 20px;
    margin: 0 0;
    background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)), 
    url('../images/banner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.mini_banner h2{
    max-width: 850px;
    text-align: justify;
    margin: 20px auto;
}

.medio{
    text-align: justify;
    padding: 5px 20px 20px 20px;
    max-width: 850px;
    margin: 0 auto;
}

.losdatos{
    /*max-width:1000px;*/
    width: auto;
    margin:0 auto;

}
.datos_gral{
    text-align:center;
    border-style: solid;
    border-width: 1px 0px 0px 0px;
    border-color: #363943;
    /*margin-top: 20px;*/
    margin: 20px auto 0px auto;
    width: fit-content;
}
.datos_gral_r{
    width: fit-content;
    padding-top: 15px;
    border-style: solid;
    border-width: 1px 0px 0px 0px;
    border-color: #363943;
    margin: 0 auto 0 auto;
}

.datos, .datos_gral_r{
    font-size:12px;
    font-weight: normal;
}

.datos-logo{
    width:auto;
    display:inline-block;
    margin:20px 5px;
}

.paddings, .div_blanco{
    padding:20px 20px 10px 20px;
}

.div_gris{
    padding:20px 20px 40px 20px;
}

main{
    width: 100%;
    margin:0px auto;
}

.linea{
    width: 100%;
    height: 4px;
    display: inline-block;
}

html,
body {
    margin: 0 0;
    padding: 30px 0 0 0;
    font-family:
        "Segoe UI",
        Arial,
        sans-serif;
    /*background: #f4f6f9;*/
    text-align: center;
}
    
.menu-superior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #a3a3a3;
    /*box-shadow:
        0 4px 20px rgba(0,0,0,.08);*/
    z-index: 9999;
}

.menu-contenedor {
    width: 100%;
    max-width: 1500px;
    height: 100%;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns:
        1fr auto 1fr;
    align-items: center;
}

.menu-izquierda {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    padding-right: 20px;
}

.menu-derecha {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding-left: 20px;
}


.menu-item {
    position: relative;
}

.logo-central {
    width: 75px;
    height: 72px;
    /*border-radius: 12px;
    background: #f1f2f4;
    border: 2px dashed #c7cbd1;*/
    display: flex;
    align-items: center;
    justify-content: center;
    /*color: #9ca3af;
    font-size: 10px;
    font-weight: 600;*/
    text-align: center;
    overflow: hidden;
}

.logo-central img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-boton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
    transition: all .25s ease;
}

.menu-boton:hover {
    color: #fff;
    transform: translateY(-2px);
}

.flecha {
    font-size: 10px !important;
    margin-left: 3px;
    transition: transform .25s ease;
}

.submenu {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: white;
    padding: 7px;
    margin: 0;
    list-style: none;
    border-radius: 12px;
    border: 1px solid #a3a3a3;
    box-shadow:
        0 15px 35px rgba(0,0,0,.15);
}

.submenu li a {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all .2s ease;
    text-align: left;
}

.submenu li a:hover {
    color: #fff;
    padding-left: 18px;
}

.medio_sec, .medio_sec_tel, .medio_sec_dir, .medio_sec_email, .medio_sec_chat, .medio_sec_hr{
    /*width: 300px;*/
    max-width: 290px;
    min-width: 290px;
    height: auto;
    padding: 15px 15px 15px 60px;
    display: inline-block;
    border-radius: 8px;
    background: #fff;
    margin: 10px 10px;
    vertical-align: top;
    font-size: 14px;
    border: 1px solid #a3a3a3;
   /* box-shadow: 0px 0px 10px 0px rgba(250,252,252,0.30);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);*/
}
.medio_sec_tel{
    background-image: url("../svg/phone.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
    width: 200px;
}

.medio_sec_dir{
    background-image: url("../svg/location.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
    width: 340px;
}

.medio_sec_email{
    background-image: url("../svg/mail.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
    width: 300px;
}

.medio_sec_chat{
    background-image: url("../svg/help.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
    width: 250px;
}

.medio_sec_hr{
    background-image: url("../svg/reloj.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
    width: 250px;
}

.medio_sec:hover, .medio_sec_tel:hover{
   box-shadow: 0px 0px 10px 0px rgba(250,252,252,0.30);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    background: #E9E9E9;
    cursor: pointer;
    background-image: url("../svg/phone.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
}

.medio_sec_dir:hover{
    box-shadow: 0px 0px 10px 0px rgba(250,252,252,0.30);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    background: #E9E9E9;
    cursor: pointer;
    background-image: url("../svg/location.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
}

.medio_sec_email:hover{
    box-shadow: 0px 0px 10px 0px rgba(250,252,252,0.30);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    background: #E9E9E9;
    cursor: pointer;
    background-image: url("../svg/mail.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
}

.medio_sec_chat:hover{
    box-shadow: 0px 0px 10px 0px rgba(250,252,252,0.30);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    background: #E9E9E9;
    cursor: pointer;
    background-image: url("../svg/help.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
}

.medio_sec_hr:hover{
    box-shadow: 0px 0px 10px 0px rgba(250,252,252,0.30);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.30);
    background: #E9E9E9;
    cursor: pointer;
    background-image: url("../svg/reloj.svg"); /* Specifies the image file */
    background-repeat: no-repeat;
    background-position: 15px 15px;
}


.medio_sec_tel:hover b, .medio_sec_dir:hover b, .medio_sec_email:hover b, .medio_sec_chat:hover b{
    color: #000;
}

/* --------- movil ----------- */

.menu-toggle {
    display: none;
    position: absolute;
    right: 15px;
    top: 14px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #611232;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.menu-movil {
    display: none;
}

/* ---------- fechas ---------------------*/
/* CONTENEDOR GENERAL */

.timeline-wrapper {
    width: 100%;
    position: relative;

    display: flex;
    align-items: center;

    /*padding: 0px 45px;*/
    padding: 0 45px 20px;

    box-sizing: border-box;
}


/* ÁREA VISIBLE */

.timeline-viewport {

    width: 100%;
    max-width: 100%;
    width: 860px;
    overflow-x: hidden;
    overflow-y: hidden;
    margin: 0 auto;
    scroll-behavior: smooth;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 25px 0px;
    box-sizing: border-box;
}


/* LÍNEA */

.timeline {
    display: flex;
    position: relative;
    width: max-content;
    /*padding: 70px 20px 30px;*/
    padding: 20px 0px 30px;

}


/* LÍNEA HORIZONTAL */

.timeline::before {

    content: "";

    position: absolute;

    left: -20px;
    right: -20px;

    /*top: 100px;*/
    top: 35px;

    height: 1px;
    /*background: #D4D4D4;*/

    border-radius: 10px;

}

.timeline-card:hover{
    background: #d4d4d4;
}

/* EVENTO */

.timeline-item {

    width: 250px;

    flex-shrink: 0;

    margin-right: 30px;

    text-align: center;

    position: relative;

}


/* PUNTO */

.timeline-punto {

    /*width: 1px;
    height: 40px;*/
    width: 19px;
    height: 19px;
    /*background: #D4D4D4;*/
    margin: 5px auto 0px;

    /*background: white;*/

    /*border: 1px solid #611232;*/

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;

    position: relative;

    z-index: 2;
    /*box-shadow: 0 4px 12px rgba(0,0,0,.15); */

}


/* TARJETA */

.timeline-card {

    background: white;

    border-radius: 12px;

    padding: 18px;

    min-height: 150px;

    /*box-shadow: 0 4px 15px rgba(0,0,0,.10);*/

    /*border-top: 1px solid #611232;
    border: 1px solid #a3a3a3;*/
    box-sizing: border-box;

}


.timeline-fecha {

    font-size: 14px;

    font-weight: bold;

    color: #611232;

    margin-bottom: 8px;

}


.timeline-card h3 {

    margin: 2px 0 2px;

    font-size: 18px;

}


.timeline-card p {

    margin: 0;

    color: #000;

    font-size: 14px;

    /*line-height: 1.5;*/

}


/* PASADOS */

.timeline-item.pasado {

    opacity: .40;

}


/* PRÓXIMO */

.timeline-item.proximo .timeline-punto {

    border-color: #e0a400;

    transform: scale(1.10);

}

.timeline-item.proximo .timeline-card {

    /*border-top-color: #e0a400;*/

}


/* HOY */

.timeline-item.hoy .timeline-punto {

    border-color: #000;

    transform: scale(1.20);

    /*box-shadow:

        0 0 0 8px rgba(198,40,40,.15),

        0 5px 20px rgba(0,0,0,.20);*/

}

.timeline-item.hoy .timeline-card {

    /*border-top-color: #c62828;*/

}


/* ETIQUETA */

.timeline-estado {

    display: inline-block;

    padding: 3px 7px;

    margin-left: 5px;

    border-radius: 20px;

    background: #611232;

    color: white;

    font-size: 10px;

}


/* PRÓXIMO */

.timeline-item.proximo .timeline-estado {

    background: #000;

}


/* HOY */

.timeline-item.hoy .timeline-estado {
   /* background: #23DE07;*/
}

.timeline-item.pasado .timeline-estado{
    color: #000;
    border-style: solid;
    border-color: #a3a3a3;
    border-width: 1px;
    background: none;
}


/* BOTONES */

.timeline-btn {

    position: absolute;

    z-index: 5;

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    /*background: #611232;*/

    color: white;

    font-size: 18px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;
    top: 15px;

    box-shadow: 0 3px 10px rgba(0,0,0,.20);

    transition: .2s;

}


.timeline-btn:hover {

    transform: scale(1.08);

}


.timeline-prev {

    left: 50%;
    margin-left: -430px;

}


.timeline-next {

    right: 50%;
    margin-right: -430px;

}


/* CELULAR */

@media (max-width: 700px) {

    .timeline-wrapper {
        padding: 20px 40px;
    }

    .timeline-item {
        width: 220px;
    }
    
    .timeline::before {
    top: 15px;

    }
    
    .timeline-punto {
    margin: -15px auto 0px;
    }   
    
    .timeline-prev {
    left: 15px;
    margin-left: 0;
    }


    .timeline-next {
    right: 15px;
    margin-right: 0;
    }

}

/* Contenedor principal del organigrama */
        .organigrama {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
        }

        /* Estilos para cada nivel (filas) */
        .nivel {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        /* Estilos para cada nodo (recuadro) */
        .nodo {
            border: 2px solid #a52a2a; /* Color de borde marrón rojizo */
            background-color: #fff;
            color: #333;
            padding: 10px;
            text-align: center;
            width: 180px; /* Ancho ajustable */
            margin: 0 10px; /* Espaciado lateral */
        }

        /* Estilos específicos para el puesto y el nombre */
        .puesto {
            font-weight: bold;
            display: block;
        }

        .nombre {
            font-size: 0.9em;
            display: block;
        }

        /* Estilos para las líneas conectoras */
        .linea {
            background-color: #a52a2a; /* Color de línea igual al borde */
        }

        /* Líneas verticales */
        .linea-v {
            width: 2px;
            height: 20px;
        }

        /* Líneas horizontales */
        .linea-h {
            height: 2px;
            margin-top: -22px; /* Ajuste para superponer a la línea vertical */
            margin-bottom: 20px;
        }

/* ---------- preguntas frecuentes ------- */
.faq-section{
    max-width:750px;
    margin: 0 auto 20px auto;
}

.faq-item {
    border-bottom: 1px solid #a3a3a3;
}

.faq-question {
    width: 100%;
    border: none;
    background: none;
    padding: 18px 10px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.faq-question:hover {
    color: #611232;
}

.faq-question .icon {
    font-size: 24px;
    font-weight: normal;
    color: #611232;
    transition: transform 0.3s ease;
    margin-left:10px;
}

.faq-answer {
    display: none;
    padding: 0 10px 18px 10px;
    color: #555;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* --------- responsivo ----------- */

@media (max-width: 900px) {

    .menu-superior {
        height: 65px;
    }
    
    body {
        padding-top: 35px;
    }

    .menu-contenedor {
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .logo-central {
        width: 48px;
        height: 48px;
    }

    .menu-izquierda, .menu-derecha {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-movil {
        position: fixed;
        display: none;
        top: 65px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        background: white;
        padding: 10px;
        border-top: 1px solid #eee;
        box-shadow: 0 12px 30px rgba(0,0,0,.15);
        z-index: 9998;
    }

    .menu-movil .menu-item {
        width: 100%;
    }

    .menu-movil .menu-boton {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 16px;
        margin-bottom: 3px;
        border-radius: 9px;
    }

    .menu-movil .menu-boton:hover {
        transform: none;
    }

    .menu-movil .submenu {
        position: static;
        transform: none;
        width: 100%;
        min-width: 0;
        margin: 0 0 5px 0;
        padding: 3px 0 3px 15px;
        border: none;
        box-shadow: none;
        background: #ededed;
        border-radius: 8px;
    }

    .menu-movil .submenu li a {
        padding: 11px 15px;

    }

}


@media (max-width: 480px) {
    .menu-toggle {
        right: 10px;
    }

    .logo-central {
        width: 45px;
        height: 45px;
    }
}
