.section-toda-la-oferta{
    width: auto;
    max-width: min(1299px,auto);
    background-image: 
    url('../img/toda-la-oferta/bg_header_ofertas-iexe_all.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode:multiply;
    height: auto;
    min-height: 420px;
    border-radius: 0px 0px 15px 15px;
}
.section-toda-la-oferta-licenciaturas{
    width: auto;
    max-width: min(1299px,auto);
    background-image: 
    url('../img/toda-la-oferta/bg_header_ofertas-iexe_licenciaturas.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode:multiply;
    height: auto;
    min-height: 420px;
    border-radius: 0px 0px 15px 15px;
}
.section-toda-la-oferta-maestrias{
    width: auto;
    max-width: min(1299px,auto);
    background-image: 
    url('../img/toda-la-oferta/bg_header_ofertas-iexe_maestrias.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode:multiply;
    height: auto;
    min-height: 420px;
    border-radius: 0px 0px 15px 15px;
}
.section-toda-la-oferta-doctorados{
    width: auto;
    max-width: min(1299px,auto);
    background-image: 
    url('../img/toda-la-oferta/bg_header_ofertas-iexe_doctorados.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode:multiply;
    height: auto;
    min-height: 420px;
    border-radius: 0px 0px 15px 15px;
}

.toda-la-oferta-titulo{
    max-width: 411px;
    font-size: var(--tamaño-fuente-xxl-grande-2);
    font-family: var(--fuente-parrafo-2);
    font-weight: bold;
    color: var(--color-azul-medio-oscuro);
    letter-spacing: 0.43px;
}

.toda-la-oferta-descripcion{
    max-width: 377px;
    font-size: var(--tamaño-fuente-medio-1);
    font-family: var(--fuente-titulo);
    font-weight: normal;
    color: var(--color-azul-dark);
    letter-spacing: -0.23px;
    line-height: 19.6px;
}

.box-programas-en-linea{
    min-height: 831px;
    opacity: 0.88;
    background: linear-gradient(90deg, #FFFFFF00 40%, #E0EFFF 100%);
    border-radius: 15px;
}

.programas-en-linea-titulo{
    font-size: var(--tamaño-fuente-titulos-2);
    font-family: var(--fuente-parrafo-2);
    font-weight: bold;
    color: var(--color-azul-oscuro-texto-titulo);
}

.bg_foto_oferta_iexe{
    border-radius: 24px;
}

.programas-en-linea-descripcion{
    font-family: var(--fuente-titulo);
    font-size: var(--tamaño-fuente-medio-1);
    font-weight: normal;
    color: var(--color-azul-dark);
    letter-spacing: 0.18px;
    line-height: 18px;
}

.toda-la-oferta-item{
    display: inline-block;
    min-width: 8px;
    min-height: 8px;
    height: auto;
    width: auto;
    background-color: var(--color-azul-medio-oscuro);
}

.link-ver-programa {
    text-decoration: none;
    color: var(--color-azul-medio-oscuro);
    font-size: var(--tamaño-fuente-pequeño);
}





    .info-box{
    border:1px solid #ccc; 
    padding:20px; 
    min-height:280px;
    border: 1px solid #99A3FF;
    border-radius: 24px;
    font-family: var(--fuente-titulo);
    font-size: 24px;
    color: var(--color-azul-medio-oscuro);
    font-weight: 600;

}

.box-preguntas-frecuentes{
    background-color: var(--color-azul-medio-oscuro-variante); 
    border-radius:24px; 
    height:100%; 
    padding:32px;
    color:#fff; 
    /* display:flex; 
    flex-direction:column; 
    justify-content:center; */
}

.preguntas-frecuentes-titulo{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-blanco);
    font-size: 36px;
    font-weight: bolder;
}

.preguntas-frecuentes-descripcion{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-blanco);
    font-size: var(--tamaño-fuente-muy-grande);
    font-weight: normal;
}

.programa-relacionado-box{
    background-color: var(--color-blanco);
    border-radius: 12px;
    /* padding: 24px; */
    margin-bottom: 24px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.programa-relacionado-box > h3{
    font-family: var(--fuente-titulo);
    color: var(--color-azul-dark);
    font-size: var(--tamaño-fuente-medio-1);
    font-weight: 400;
}

.programa-relacionado-box > h4{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-azul-medio-oscuro);
    font-size: var(--tamaño-fuente-muy-grande);
    font-weight: bolder;
}

.licenciatura-administracion{
    border: 1px solid #0018FF;
}

.programas-relacionados-titulo{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-azul-oscuro-texto-titulo);
    font-size: var(--tamaño-fuente-xxl-grande-2);
    font-weight: bolder;
}

.contacto-box{
    min-height: 278px;
    border-radius: 15px;
    background-color: var(--color-azul-azul-claro-2);
}

.contacto-titulo{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-azul-oscuro-texto-titulo);
    font-size: var(--tamaño-fuente-muy-grande);
    font-weight: bolder; 
}

.contacto-descripcion{
    font-family: var(--fuente-titulo);
    color: var(--color-azul-oscuro-texto-titulo);
    font-size: var(--tamaño-fuente-medio-1);
    font-weight: normal; 
    width: 185px;
}


/* ---------------------------------- */
/* estilos preguntas frecuentes */
/* ---------------------------------- */

    /* ===== Estilos panel izquierdo ===== */
    .box-preguntas-frecuentes{
    background-color: var(--color-azul-medio-oscuro-variante);
    border-radius:24px;
    height:100%;
    padding:32px;
    color:#fff;
    }
    .preguntas-frecuentes-titulo{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-blanco);
    font-size: 36px;
    font-weight: bolder;
    }
    .preguntas-frecuentes-descripcion{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-blanco);
    font-size: var(--tamaño-fuente-muy-grande);
    font-weight: normal;
    }

    /* ===== Interacción tiles ===== */
    .info-grid{ position: relative; }

    .info-box{
    background: #f6f9ff;
    border: 1px solid #9bb4ff;
    border-radius: 24px;
    min-height: 220px;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition:
        opacity 0s ease,
        transform 0s ease,
        box-shadow .6s ease;
    transform: scale(1);
    display: flex;
    justify-content: center;      /* centrado en estado normal */
    align-items: center;
    padding: 24px;
    }

    /* Atenuar el resto si hay hover (para navegadores con :has) */
    .info-grid:has(.tile:hover) .info-box{
    opacity: .35;
    filter: blur(.5px);
    }

    /* fallback con clase desde JS */
    .info-grid.is-hovering .info-box.is-dim{
    opacity:.35;
    filter: blur(.5px);
    transition: opacity 2s ease, filter 2s ease;
    }

    /* El tile activo encima */
    .info-grid .tile:hover{ z-index: 10; }

    /* Estado expandido */
    .info-grid .tile:hover .info-box,
    .info-box.is-expanded{
    position: absolute;
    inset: 0;                      /* ocupa toda la col-8 */
    margin: 0;
    border-radius: 24px;
    opacity: 1;
    filter: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);

    /* expansión desde 0 a 100% */
    transform: scale(1);
    animation: expandBox 1s ease forwards;

    /* contenido arriba a la izquierda */
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 32px;
    text-align: left;

    /* el scroll NO vive aquí */
    overflow: hidden;
    }

    /* Contenido interno que SÍ scrollea */
    .info-box .info-content{
    width: 100%;
    max-width: 100%;
    }
    .info-box.is-expanded .info-content,
    .info-grid .tile:hover .info-box .info-content{
    height: 100%;
    overflow-y: auto;            /* ← scroll aquí */
    overflow-x: hidden;
    padding-right: 10px;         /* espacio para scrollbar */
    }

    /* Estilos base del título sticky, sin borde */
    .info-box .info-content > h3 {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f6f9ff;
    padding: 8px 0 10px;
    margin: 0 0 12px 0;
    border-bottom: none;
    text-align: center;
    }

    /* Cuando el tile está expandido (hover o is-expanded) */
    .info-box.is-expanded .info-content > h3,
    .info-grid .tile:hover .info-box .info-content > h3 {
    border-bottom: 1px solid #e1e8ff;   /* se activa el borde */
    }


    /* Preguntas: visibles como títulos; respuesta oculta por defecto */
    /* Preguntas: ocultas por defecto */
    .col-8 .faq-item{
    /* display: none;       no se muestran fuera del hover */
    margin-bottom: 16px;
    }

    /* Solo aparecen cuando el tile está expandido */
    .info-box.is-expanded .faq-item,
    .info-grid .tile:hover .info-box .faq-item{
    display: block;
    }
    .faq-item h4{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    margin: 12px 0 0;
    }
    .faq-item p{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;  /* evita salto al cerrar */
    transition: max-height .35s ease, opacity .25s ease, margin .2s ease;
    }
    .faq-item.open p{
    max-height: 600px;   /* ajusta según longitud típica */
    opacity: 1;
    margin-top: 8px;
    }

    /* Arrow SVG y rotación al abrir */
    .nav-arrow-faqs {
    flex: 0 0 auto;
    width: 12px;
    height: 16px;
    margin-top: 3px;
    margin-left: 5px;
    transition: transform .25s ease;
    }
    .nav-arrow-faqs path {
    fill: none;
    stroke: var(--color-azul-oscuro-texto-titulo);
    stroke-width: 2;
    }
    .faq-item.open .nav-arrow-faqs{
    transform: rotate(90deg);
    }

    /* Tipografía adicional (según tus variables) */
    #section-informacion .faq-item h4 {
    font-size: var(--tamaño-fuente-muy-grande);
    color: var(--color-azul-oscuro-texto-titulo);
    }
    #section-informacion .faq-item p {
    font-size: var(--tamaño-fuente-medio-2);
    color: var(--color-azul-oscuro-texto-titulo);
    }

    /* Keyframes expansión */
    @keyframes expandBox {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
    }

    /* Scrollbar bonito solo cuando está expandido */
    .info-box.is-expanded .info-content::-webkit-scrollbar{
    width: 8px;
    }
    .info-box.is-expanded .info-content::-webkit-scrollbar-thumb{
    background: #9bb4ff;
    border-radius: 8px;
    }
    .info-box.is-expanded .info-content::-webkit-scrollbar-track{
    background: #f0f0f0;
    }

    /* Responsivo básico */
    @media (max-width: 991.98px){
    .info-box{ min-height: 180px; padding: 20px; }
    }


    /* El área con scroll usa layout vertical y ocupa todo el alto disponible */
    .info-box.is-expanded .info-content,
    .info-grid .tile:hover .info-box .info-content{
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;                 /* espacio para scrollbar */
    }

    /* Título sticky: reservamos un pequeño margen y no deja “saltos” */
    .info-box .info-content > h3{
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f6f9ff;
    padding: 8px 0 10px;
    margin: 0 0 10px 0;
    border-bottom: none;                  /* sin borde por defecto */
    }
    .info-box.is-expanded .info-content > h3,
    .info-grid .tile:hover .info-box .info-content > h3{
    border-bottom: 1px solid #e1e8ff;    /* aparece solo en hover/expandido */
    }

    /* Lista de preguntas: compacta, responsiva y ajustable a ancho */
    .faq-item{
    margin: 8px 0;                        /* más compacto */
    }

    /* Pregunta (título): tipografía responsiva + ajuste de palabras */
    .faq-item h4{
    display: flex;
    gap: 8px;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    margin: 0;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.25;
    overflow-wrap: anywhere;              /* ajusta palabras largas */
    word-break: break-word;
    hyphens: auto;                        /* cortes amables si hay guiones */
    }


    /* Respuesta: tipografía responsiva + ajuste */
    .faq-item p{
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;

    /* acordeón (si ya lo tienes): oculto por defecto y animación */
    max-height: 0;
    opacity: 0;
    margin: 0;
    transition: max-height .35s ease, opacity .25s ease, margin .2s ease;
    }
    .faq-item.open p{
    max-height: 600px;                    /* ajusta si necesitas más */
    opacity: 1;
    margin-top: 8px;
    }

    /* Pequeños ajustes de padding para que “quepa” mejor en breakpoints */
    @media (max-width: 1400px){
    .info-box{ padding: 28px; }
    }
    @media (max-width: 1200px){
    .info-box{ padding: 22px; }
    }

    .content-box-white-faqs {
    background-color: white;
    border-radius: 15px;
    border: 1px solid #99A3FF;
    padding: 18px 16px;
    margin-bottom: 20px;
    }

    .content-box-white-faqs h3 {
        font-size: var(--tamaño-fuente-grande);
        color: var(--color-azul-medio-oscuro);
        margin-bottom: 0px;
    }


    .title-faqs {
    display: flex;
    align-items: center;
    justify-content: space-between;  /* texto a la izq, flecha a la der */
    gap: 8px;
    }

    .title-faqs h3 {
    margin: 0;
    }

    .title-faqs .nav-arrow-faqs {
    flex-shrink: 0;
    width: 16px;   /* ajusta tamaño */
    height: 16px;
    cursor: pointer; /* si quieres que sea clickeable */
    }


    /* el contenedor donde debe “cubrirse” */
    .info-grid{ position: relative; }

    /* caja normal */
    .info-box{
    background: #f6f9ff;
    border: 1px solid #9bb4ff;
    border-radius: 24px;
    min-height: 220px;
    transition: all 2s ease;     /* duración pedida */
    }

    /* oscurece/atenúa el resto cuando hay hover en cualquiera */
    .info-grid:has(.tile:hover) .info-box{
    opacity: .35;
    filter: blur(.5px);
    }

    /* el tile activo debe quedar encima */
    .info-grid .tile:hover{ z-index: 10; }

    /* al hacer hover, la caja cubre toda la col-8 */
    .info-grid .tile:hover .info-box{
    position: absolute;          /* sale del flujo */
    inset: 0;                    /* ocupa todo el .info-grid */
    margin: 0;
    border-radius: 24px;
    opacity: 1;
    filter: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    }







    .info-box{ transition: all 2s ease; }

    /* .info-grid.is-hovering .info-box.is-dim{ */
    /* opacity:.35; filter: blur(.5px); */
    /* } */

    .info-box.is-expanded{
    position:absolute; inset:0; margin:0;
    opacity:1; filter:none; z-index:10;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    }











    .info-box {
    background: #f6f9ff;
    border: 1px solid #9bb4ff;
    border-radius: 24px;
    min-height: 220px;
    transition:
        opacity 0s ease,        /* opacidad suave */
        transform 0s ease;      /* expansión */
    transform: scale(1);      /* estado normal */
    }

    /* atenuar el resto */
    .info-grid:has(.tile:hover) .info-box {
    opacity: .35;
    filter: blur(.5px);
    }

    /* tile activo */
    .info-grid .tile:hover {
    z-index: 10;
    }

    /* al hacer hover → ocupa todo */
    .info-grid .tile:hover .info-box {
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 24px;
    opacity: 1;
    filter: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);

    /* expansión */
    transform: scale(1);         /* valor final */
    animation: expandBox 0s ease forwards;
    }

    /* animación clave */
    @keyframes expandBox {
    0% {
        transform: scale(0);       /* empieza desde 0x0 */
        opacity: 0;
    }
    100% {
        transform: scale(1);       /* llega a tamaño normal */
        opacity: 1;
    }
    }


    /* Caja normal */
    .info-box{
    background: #f6f9ff;
    border: 1px solid #9bb4ff;
    border-radius: 24px;
    min-height: 220px;
    transition:
        opacity 0s ease,
        transform 0s ease;
    transform: scale(1);
    display: flex;                  /* importante: usar flexbox */
    justify-content: center;        /* por defecto centrado */
    align-items: center;            /* por defecto centrado */
    }

    /* Atenuar el resto */
    .info-grid:has(.tile:hover) .info-box {
    opacity: .35;
    filter: blur(.5px);
    }

    /* tile activo */
    .info-grid .tile:hover { z-index: 10; }

    /* Expandido */
    .info-grid .tile:hover .info-box {
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 24px;
    opacity: 1;
    filter: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);

    /* Animación de expansión */
    transform: scale(1);
    animation: expandBox 0s ease forwards;

    /* Sobrescribir la alineación → arriba izquierda */
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 32px;   /* opcional: separa el contenido del borde */
    text-align: left;
    }

    @keyframes expandBox {
    0% {
        transform: scale(0);
        /* opacity: 0; */
    }
    100% {
        transform: scale(1);
        /* opacity: 1; */
    }
    }


    #section-informacion .faq-item h4 {
        font-size: var(--tamaño-fuente-muy-grande);
        color: var(--color-azul-oscuro-texto-titulo);
        margin-bottom: 10px; 
    }

    #section-informacion .faq-item p {
        font-size: var(--tamaño-fuente-medio-2);
        color: var(--color-azul-oscuro-texto-titulo);
        font-weight: lighter;
        display: contents;
    }


    /* arrow navbar header start */
    .col-4 .nav-arrow-faqs {
        margin-left: 5px;
        margin-top: -3px;
        width: 12px;
        height: 16px;
    }

    .nav-arrow-faqs path {
        fill: none;
        stroke: var(--color-azul-oscuro-texto-titulo);
        stroke-width: 2; 
    }


    /* ===== Panel izquierdo: estilos del contenedor blanco ===== */
    #section-informacion .box-preguntas-frecuentes .content-box-white-faqs{
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(0,0,0,.06);
    }

    /* Título con flecha a la derecha + contenido debajo (grid) */
    #section-informacion .box-preguntas-frecuentes .title-faqs{
    display: grid;
    grid-template-columns: 1fr auto;   /* texto | flecha */
    gap: 10px;
    align-items: center;
    cursor: pointer;                    /* click en todo el header */
    font-weight: 700;
    }

    /* Título limpio */
    #section-informacion .box-preguntas-frecuentes .title-faqs > h3{
    margin: 0;
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 700;
    }

    /* Flecha alineada a la derecha con animación */
    #section-informacion .box-preguntas-frecuentes .title-faqs .nav-arrow-faqs{
    width: 16px; height: 16px;
    flex-shrink: 0;
    transition: transform .25s ease;
    }
    #section-informacion .box-preguntas-frecuentes .title-faqs .nav-arrow-faqs path{
    fill: none;
    stroke: var(--color-azul-oscuro-texto-titulo, #0b2a5b);
    stroke-width: 2;
    }

    /* Cuando el acordeón esté abierto, gira la flecha */
    #section-informacion .box-preguntas-frecuentes .content-box-white-faqs.is-open .title-faqs .nav-arrow-faqs{
    transform: rotate(90deg);
    }

    /* El bloque de pregunta-respuesta vive DENTRO de .title-faqs y ocupa toda la fila */
    #section-informacion .box-preguntas-frecuentes .title-faqs .faq-item{
    grid-column: 1 / -1;        /* que abarque ambas columnas */
    max-height: 0;              /* oculto por defecto */
    overflow: hidden;
    opacity: 0;
    margin: 0;                  /* evita saltos al cerrar */
    transition: max-height .35s ease, opacity .25s ease, margin .2s ease;
    }

    /* Al abrir el acordeón, se muestra con animación */
    #section-informacion .box-preguntas-frecuentes .content-box-white-faqs.is-open .title-faqs .faq-item{
    opacity: 1;
    margin-top: 8px;
    }

    /* Estética del h4 y p dentro del panel izquierdo */
    #section-informacion .box-preguntas-frecuentes .faq-item h4{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px 0;
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--color-azul-oscuro-texto-titulo, #0b2a5b);
    }
    #section-informacion .box-preguntas-frecuentes .faq-item p{
    margin: 0;
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--color-azul-oscuro-texto-titulo, #0b2a5b);
    line-height: 1.5;
    opacity: 1;
    }
    #section-informacion .box-preguntas-frecuentes .faq-item h4 .nav-arrow-faqs{
    width: 12px; height: 14px;
    margin-right: 2px;
    margin-top: 5px;
    }



    /* Transición del acordeón */
.content-faqs .contenedor-preguntas{
  max-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  transition: max-height .35s ease;
}

/* Flecha */
.content-faqs .nav-arrow-faqs{
  width: 12px;
  height: auto;
  transition: transform .25s ease;
}


/* Rota SOLO la flecha del header del bloque (primer SVG) */
#section-informacion .box-preguntas-frecuentes .content-faqs.is-open > .title-faqs > .nav-arrow-faqs{
  transform: rotate(90deg);
}

/* Rota SOLO la flecha del h4 que está activo */
#section-informacion .box-preguntas-frecuentes .content-faqs .faq-item.is-active > h4 > .nav-arrow-faqs{
  transform: rotate(90deg);
}



/* Header clickeable y accesible */
.title-faqs{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  cursor: pointer; /* opcional: si quieres que todo el header sea clickeable */
}
.title-faqs h3{
  margin: 0;
}


/* Acordeón interno por pregunta */
.content-faqs .faq-item p{
  max-height: 0;
  overflow: hidden;
  transition: max-height .0s ease;
  margin: 0; /* evita saltos */
}

/* Rotación solo del ícono dentro del h4 cuando ese ítem está activo */
.content-faqs .faq-item.is-active h4 .nav-arrow-faqs{
  transform: rotate(90deg);
  transition: transform .25s ease;
}



.icono-informativo-titulo {
    font-family: var(--fuente-parrafo-2);
    color: var(--color-azul-medio-oscuro-variante);
    font-size: var(--tamaño-fuente-medio-2);
    font-weight: bolder;
    text-align: center;
}




















.plantilla-profesores{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    z-index: 0;
}

.plantilla-profesor-nombre{
    font-family: var(--fuente-parrafo-2);
    font-size: var(--tamaño-fuente-xxl-grande-2);
    font-weight: bold;
    color: var(--color-azul-dark);
    line-height: 22px;
}

.plantilla-profesor-especialidad{
    font-family: var(--fuente-titulo);
    font-size: var(--tamaño-fuente-muy-grande);
    font-weight: 500;
    color: var(--color-azul-medio-oscuro);
    line-height: 22px;
}

.nuestros-profesores-titulo{
    font-family: var(--fuente-parrafo-2);
    font-size: var(--tamaño-fuente-titulos-2);
    font-weight: 500;
    color: var(--color-azul-dark);
}

.box-profesor{
    min-height: 600px;
}

.profesor-info{
    z-index: 1;
}

.donde-nos-ubicamos{
    font-family: var(--fuente-parrafo-2);
    font-size: var(--tamaño-fuente-xxl-grande-2);
    font-weight: bold;
    color: var(--color-azul-medio-oscuro);
}

.encuentranos-y-resuelve-tus-dudas{
    font-family: var(--fuente-titulo);
    font-size: var(--tamaño-fuente-medio-2);
    font-weight: 300;
    color: var(--color-azul-oscuro);
}

/* Oculta la barra en navegadores WebKit */
.box-plantilla-profesores::-webkit-scrollbar { display: none; }
/* Ya traes scrollbar-width:none; y -ms-overflow-style:none; en el inline */

/* Suaviza el desplazamiento manual (no aplica al “teletransporte” interno) */
.box-plantilla-profesores { scroll-behavior: smooth; }

.box-plantilla-profesores > [class*="col-xl-"] {
  transition: flex-basis 0.4s ease, max-width 0.4s ease;
}

.box-plantilla-profesores .box-profesor {
  transition: transform 0.3s ease;
}

/* .box-plantilla-profesores > .col-xl-4 .box-profesor {
  transform: scale(1.05);
} */

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.scroll-btn-left { left: 10px; }
.scroll-btn-right { right: 10px; }

.profesor-presentacion{
    /* background-color: #001e42;
    transition: 0.8s ease-in-out; */
}

.box-presentacion .plantilla-profesor-nombre, .box-presentacion .plantilla-profesor-especialidad{
    color: white !important;
}

.profesor-presentacion .plantilla-profesor-presentacion{
    color: white;
    text-align: justify;
}

.box-presentacion .plantilla-profesor-presentacion{
    color: white;
    text-align: justify;
}

.box-presentacion{
    background-color: #001e42;
    z-index:100;
    bottom:-600px;
    border-radius: 15px;
    transition: all 0.9s ease-in-out 0s;
}

.box-presentacion-show{
    bottom: 0;
}

.profesor-seleccionado{
    border-radius: 15px;
    padding: 0 0;
    overflow: hidden;
}

.nosotros-arrow-sticky-left, .nosotros-arrow-sticky-right{
        position: absolute;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        cursor: pointer;
        user-select: none;
        padding-left: 0px;
        padding-right: 0px;
        background: #0018FF 0% 0% no-repeat padding-box;
    }

    .nosotros-arrow-sticky-left::after, .nosotros-arrow-sticky-right::after{
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        border-right: 3px solid white;
        border-bottom: 3px solid white;
    }

.nosotros-arrow-sticky-right {
        right: 0;
        bottom: 50%;
    }

    .nosotros-arrow-sticky-left {
        left: 0;
        bottom: 50%;
    }

    .nosotros-arrow-sticky-right::after{
        transform: rotate(-45deg);
    }

    .nosotros-arrow-sticky-left::after{
        transform: rotate(135deg);
    }

    

@media (max-width: 576px) {
  .nuestra-universidad-titulo {
   font-size: 2.8rem;
  }

  .nuestra-mision-titulo{
    font-size: 36px;
  }

  .plantilla-profesor-nombre{
    /* font-size: 24px; */
  }
}



/* ---------------------------------- */
/* estilos preguntas frecuentes */
/* ---------------------------------- */

.box-preguntas-frecuentes{
    background-color: var(--color-azul-medio-oscuro-variante); 
    border-radius:24px; 
    height:100%; 
    padding:32px;
    color:#fff; 
    /* display:flex; 
    flex-direction:column; 
    justify-content:center; */
}

.preguntas-frecuentes-titulo{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-blanco);
    font-size: 36px;
    font-weight: bolder;
}

.preguntas-frecuentes-descripcion{
    font-family: var(--fuente-parrafo-2);
    color: var(--color-blanco);
    font-size: var(--tamaño-fuente-muy-grande);
    font-weight: normal;
}


.info-box{
        background: #f6f9ff;
    border:1px solid #ccc; 
    padding:20px; 
    min-height:470px;
    max-height:470px;
    border: 1px solid #99A3FF;
    border-radius: 24px;
    font-family: var(--fuente-titulo);
    font-size: 24px;
    color: var(--color-azul-medio-oscuro);
    font-weight: 600;
}

/* Arrow SVG y rotación al abrir */
.nav-arrow-faqs {
    flex: 0 0 auto;
    width: 12px;
    height: 16px;
    margin-top: 3px;
    margin-left: 5px;
    transition: transform .25s ease;
}
.nav-arrow-faqs-a { 
    width: 12px;
    width: 16px;
}

 
    .degradado-preguntas {
        background: linear-gradient(to right, #E0EFFF 0%, #A9B0D600 100%);
        opacity: 0.88;
    }
    .nav-arrow-faqs-a path { 
        fill: none;
        stroke: var(--color-azul-medio-oscuro);
        stroke-width: 2;
    }
    .nav-arrow-faqs path {
    fill: none;
    stroke: var(--color-azul-oscuro-texto-titulo);
    stroke-width: 2;
    }
    .faq-item.open .nav-arrow-faqs{
    transform: rotate(90deg);
    }


    
    /* Tipografía adicional (según tus variables) */
    #section-informacion .faq-item h4 {
    font-size: var(--tamaño-fuente-muy-grande);
    color: var(--color-azul-oscuro-texto-titulo);
    }
    #section-informacion .faq-item p {
    font-size: var(--tamaño-fuente-medio-2);
    color: var(--color-azul-oscuro-texto-titulo);
    }

        .info-box.is-expanded .info-content > h3,
    .info-grid .tile:hover .info-box .info-content > h3{
    border-bottom: 1px solid #e1e8ff;    /* aparece solo en hover/expandido */
    }

    /* Lista de preguntas: compacta, responsiva y ajustable a ancho */
    .faq-item{
    margin: 8px 0;                        /* más compacto */
    }

    /* Pregunta (título): tipografía responsiva + ajuste de palabras */
    .faq-item h4{
    display: flex;
    gap: 8px;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    margin: 0;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.25;
    overflow-wrap: anywhere;              /* ajusta palabras largas */
    word-break: break-word;
    hyphens: auto;                        /* cortes amables si hay guiones */
    }

        .info-content {
        border-bottom: 1px solid var(--color-azul-azul-claro-3);
    }
    .info-content .d-flex.justify-content-between.align-items-center.py-2:hover {
        background: linear-gradient(to right, #E0EFFF 0%, #99A3FF55 50% , #A9B0D600 80%);
        opacity: 0.88;
        cursor: pointer;
    }
    .active-faq h3 {
        font-weight: bold;
    }







    /* faqs styles */

 

  /* Cursor e indicador de foco en el título */
  .faq-item > h4 {
    cursor: pointer;
    outline: none;
  }
  .faq-item > h4:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,123,255,.4);
    border-radius: 8px;
  }

  /* Rotación del chevron cuando se abre */
  .faq-item .nav-arrow-faqs {
    width: 16px; height: 16px;
    transition: transform .2s ease;
    margin-right: .5rem;
  }
  .faq-item.is-open .nav-arrow-faqs {
    transform: rotate(90deg);
  }

   /* Respuesta: tipografía responsiva + ajuste */
    .faq-item p{
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;

    /* acordeón (si ya lo tienes): oculto por defecto y animación */
    /* max-height: 0;
    opacity: 0; */
    margin: 0;
    transition: max-height .35s ease, opacity .25s ease, margin .2s ease;
    }
    .faq-item.open p{
    max-height: 600px;                    /* ajusta si necesitas más */
    opacity: 1;
    margin-top: 8px;
    }

        #section-informacion .faq-item h4 {
        font-size: var(--tamaño-fuente-muy-grande);
        color: var(--color-azul-oscuro-texto-titulo);
        margin-bottom: 10px; 
    }

    #section-informacion .faq-item p {
        font-size: var(--tamaño-fuente-medio-2);
        color: var(--color-azul-oscuro-texto-titulo);
        font-weight: lighter;
    }


.btn-cerrar-faqs{
  display:inline-block;
  /* margin: 12px 0 16px 0; */
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-azul-azul-claro-3, #cfe0ff);
  background: #fff;
  font-family: var(--fuente-parrafo-2);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  float: none;
  color: var(--color-azul-medio-oscuro);
}
.btn-cerrar-faqs:hover{
  background: linear-gradient(to right, #E0EFFF 0%, #99A3FF33 100%);
}

/* 1) La caja .w-100 (la que contiene los contenedores) será el ancla */
#section-informacion .info-box > .w-100.d-none{
  position: relative;        /* referencia del botón */
  overflow: hidden;          /* evita que algo se “salga” visualmente */
  border-radius: 24px;       /* igual al de tu tarjeta, opcional */
}

/* 2) Evita que el contenedor interno cree un nuevo contexto */
#section-informacion .info-box > .w-100.d-none [class^="contenedor-preguntas-"]{
  position: static !important; /* clave para que el botón “mire” a la .w-100 */
  padding-top: 10px;           /* respiro superior */
}

/* 3) Título con espacio a la derecha para el botón */
#section-informacion .info-box > .w-100.d-none [class^="contenedor-preguntas-"] > h3{
  padding-right: 120px;    /* reserva para el botón */
  margin: 8px 12px 12px;
  line-height: 1.2;
}

/* 4) Botón anclado a la esquina superior derecha de la .w-100 */
#section-informacion .info-box > .w-100.d-none .btn-cerrar-faqs{
  position: absolute;      /* relativo a .w-100.d-none */
  top: 8px;
  right: 12px;
  z-index: 2;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-azul-azul-claro-3, #cfe0ff);
  background: #fff;
  font-family: var(--fuente-parrafo-2);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
#section-informacion .info-box > .w-100.d-none .btn-cerrar-faqs:hover{
  background: linear-gradient(to right, #E0EFFF 0%, #99A3FF33 100%);
}

/* 5) Ajuste móvil */
@media (max-width: 576px){
  #section-informacion .info-box > .w-100.d-none [class^="contenedor-preguntas-"] > h3{
    padding-right: 96px;
    margin: 8px 10px 10px;
  }
  #section-informacion .info-box > .w-100.d-none .btn-cerrar-faqs{
    top: 6px; right: 10px; padding: 6px 12px; font-size: 13px;
  }
}


#section-informacion .box-preguntas-frecuentes .content-box-white-faqs {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, .06);
}

#section-informacion .box-preguntas-frecuentes .title-faqs > h3 {
    margin: 0;
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 700;
    color: var(--color-azul-medio-oscuro);
    cursor: pointer;
}

#section-informacion .box-preguntas-frecuentes .title-faqs {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
        justify-content: space-between;
}

#section-informacion .box-preguntas-frecuentes .faq-item h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px 0;
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--color-azul-oscuro-texto-titulo, #0b2a5b);
}
#section-informacion .box-preguntas-frecuentes .faq-item h4 .nav-arrow-faqs {
    width: 12px;
    height: 14px;
    margin-right: 2px;
    margin-top: 0px;
}


/* faqs css movile  */

/* Colapso por sección (móvil) */
.content-faqs .contenedor-preguntas[hidden]{ display:none !important; }

.content-faqs .title-faqs{
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 8px; cursor:pointer;
  border-bottom:1px solid var(--color-azul-azul-claro-3, #e1e8ff);
}
.content-faqs .title-faqs:focus-visible{
  outline:none; box-shadow:0 0 0 3px rgba(0,123,255,.35); border-radius:8px;
}

/* Rotación del caret al abrir el bloque */
.content-faqs.is-open .title-faqs .nav-arrow-faqs{ transform: rotate(90deg); transition: transform .2s ease; }
.content-faqs .title-faqs .nav-arrow-faqs{ width:16px; height:16px; transition: transform .2s ease; }

/* Acordeón por pregunta (reusa estilos desktop si ya los tienes) */
.faq-item > h4{ display:flex; gap:8px; align-items:flex-start; cursor:pointer; margin:0; }
.faq-item .nav-arrow-faqs{ width:16px; height:16px; margin-right:.5rem; transition: transform .2s ease; }
.faq-item.is-open .nav-arrow-faqs{ transform: rotate(90deg); }



/* Título */
.content-faqs .faq-item > h4{
  display:flex; gap:8px; align-items:flex-start; cursor:pointer; margin:0;
}
.content-faqs .faq-item .nav-arrow-faqs{ width:16px; height:16px; margin-right:.5rem; transition: transform .2s ease; }
.content-faqs .faq-item.is-open .nav-arrow-faqs{ transform: rotate(90deg); }


/* Aplica a cualquier <div> cuya clase contenga "contenedor-preguntas-" */
div[class*="contenedor-preguntas-"]{
  min-height: 435px !important;
  max-height: 435px !important; /* fija la altura en 540 */
  overflow-y: auto;              /* scroll si el contenido se pasa */
  -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
    scrollbar-width: thin;
    scrollbar-color: #6c87ff #0f172a;
}


.faq-answer > {
    font-size: var(--tamaño-fuente-grande);
    color: var(--color-azul-oscuro);
}



/* Estado base: colapsado (animación por altura) */
#section-informacion .faq-item .faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

/* Abierto */
#section-informacion .faq-item.is-open .faq-answer{
  max-height: 2000px; /* valor suficientemente grande */
}

/* Accesibilidad al enfocar preguntas */
#section-informacion .faq-item > h4[role="button"]:focus {
  outline: none;
}
#section-informacion .faq-item > h4[role="button"]:focus-visible {
  outline: 2px solid var(--thm-base);
  outline-offset: 2px;
  border-radius: 4px;
}


/* Desktop / general */
.faq-item > .faq-answer{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;                 /* evita saltos al colapsar */
  transition: max-height .35s ease, opacity .25s ease, margin .2s ease;
}
.faq-item.is-open > .faq-answer{
  opacity: 1;
  margin-top: .5rem;
  max-height: 999px;         /* ajusta si esperas contenido muy largo */
}

/* Versión explícita que ya usabas */
.faq-item > .faq-answer{ max-height:0; opacity:0; margin:0;
  transition:max-height .35s ease, opacity .25s ease, margin .2s ease; }
.faq-item.is-open > .faq-answer{ max-height:600px; opacity:1; margin-top:8px; }

/* Móvil dentro de .content-faqs */
.content-faqs .faq-item > .faq-answer{
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease, margin .2s ease;
}
.content-faqs .faq-item.is-open > .faq-answer{
  opacity: 1;
  margin-top: 8px;
}
