/* --------------------------------- */
/* RESET BÁSICO Y ESTILOS GLOBALES */
/* --------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

main {
    background-color: rgb(240,240,240);
}

.container-navbar{
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 99999999;
    background-color: rgba(30, 30, 30, 0.7); /* Un poco más transparente */
    backdrop-filter: blur(10px); /* El truco mágico: desenfoca el fondo */
    -webkit-backdrop-filter: blur(10px); /* Para soporte en Safari/iOS */
}

.container-img-logo{
    width: 48px;
    height: 48px;
}

.container-img-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-opciones{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: white;
    font-family: 'Montserrat';
}

.menu-opciones li{
    padding: 8px 0;
    position: relative;
}

.menu-opciones li::after{
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    background-color: white;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: 0.3s;
}

.menu-opciones li:hover::after{
    transform: scaleX(1);
}

/* Clase para resaltar la página actual */
.menu-opciones li a.active {
    color: #BF0A6E; /* Tu color Magenta */
    font-weight: 700;
}
/* Opcional: que la rayita de abajo se quede fija */
.menu-opciones li a.active::after {
    transform: scaleX(1); /* Mantiene la línea subrayada visible */
}

/* Corrección: Agregamos el punto (.) para seleccionar la clase */
.banner {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: black;
}

/* --- LA MAGIA DEL GRADIENTE --- */
/* Esto crea una capa invisible "encima" de la imagen pero "debajo" del texto */
.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* GRADIENTE: */
    /* Va de un negro al 40% (arriba) a un negro al 80% (abajo) */
    /* Esto ayuda mucho a que el botón de abajo resalte más */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgb(0, 0, 0));
    
    z-index: 1; /* Nivel intermedio */
}

.banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Nivel más bajo (al fondo) */
    
    /* Quitamos el filtro de brillo anterior para que la imagen se vea natural detrás del vidrio oscuro */
    /* filter: brightness(0.4);  <-- YA NO SE NECESITA */
}

.info-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    border-radius: 8px;
    
    position: relative; 
    z-index: 2; /* Nivel más alto (frente a todo) */
    padding: 1rem;
}

.info-banner h1 {
    color: white;
    font-family: 'Montserrat';
    font-weight: 700;
    text-align: center;
    font-size: 24px;
    font-weight: 900; /* Necesita ser bien grueso para que se note */
    /* El truco: Fondo gradiente sobre el texto */
    text-transform: uppercase; /* Convierte todo a mayúsculas visualmente */
    letter-spacing: 2px; /* Separa un poquito las letras (queda muy elegante en Montserrat) */
}

.info-banner p {
    color: white;
    font-family: 'Nunito';
    font-size: 16px;
    max-width: 700px; /* Limita el ancho para que sea fácil de leer */
    margin-left: auto;
    margin-right: auto; /* Centra el bloque de texto */
    text-align: center;
    margin-top: 8px;
}

.info-banner a {
    text-align: center;
    color: rgba(0, 255, 255, 0.8); /* Aumenté un poco la opacidad del texto para leer mejor */
    padding: 16px 32px;
    border-radius: 4px;
    margin-top: 4rem;
    font-family: 'Montserrat';
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex; /* Para alinear texto e icono */
    align-items: center;
    justify-content: center;
    gap: 10px; /* Separación entre texto y flecha */
}

.info-banner a:hover {
    background-color: rgba(0, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

@keyframes flotar {
    0% { transform: translateY(0); }
    50% { transform: translateY(5px); } /* Se mueve 5px hacia abajo */
    100% { transform: translateY(0); }
}

.info-banner a i {
    animation: flotar 1.5s infinite ease-in-out;
}



.container-courses {
    width: 100%;
}

.nuestrosCursos {
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 24px;
    padding: 32px 16px;
    width: 100%;
    text-align: center;
}

.courses {
    display: grid;
    /* Esto es "magia": crea tantas columnas como quepan, 
       mínimo 300px, y reparte el espacio sobrante (1fr) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px)); 
    gap: 20px;
    width: 100%;
    max-width: 1200px; /* Evita que se desparrame demasiado en monitores gigantes */
    margin: 0 auto; /* Centra el contenedor de cursos */
    padding: 16px;
    justify-content: center;
    align-items: stretch;
}

.card-course {
    background-color: white;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-course:hover {
    transform: translateY(-5px);
    /* Eleva la tarjeta */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


.container-img-curso {
    width: 100%;
    height: 200px;
    align-self: center;
    justify-self: center;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.container-img-curso img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(80%) contrast(90%);
    transition: filter 0.2s ease;
}

.card-course:hover .container-img-curso img{
    filter: saturate(100%) contrast(100%);
}

.nombre-curso {
    font-family: 'Montserrat';
    font-size: 20px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.descripcion-curso {
    font-family: 'Nunito';
    flex-grow: 1;
    margin-bottom: 32px;
    font-size: 16px;
}

.btn-verCurso {
    padding: 1rem;
    width: 160px;
    border-radius: 4px;
    margin-top: auto;
    
    font-family: 'Montserrat';
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Una curva de animación más suave */
    color: white;
    display: block;
}

.btn-verCurso:hover{
transform: translateY(-4px); /* Sube un poquito */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Sombra más difusa abajo */
}

.btn-verCurso:active {
    transform: translateY(-1px); 
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.card-course:nth-child(2n) .btn-verCurso {
    background-color: #BF0A6E;
}

.card-course:nth-child(2n - 1) .btn-verCurso {
    background-color: #007A7F;
}

.container-requisitos {
    width: 100%;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(240,240,240);
}

.titulo-requisitos {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    margin-bottom: 48px;
    color: rgb(30, 30, 30);
}

.lista-requisitos {
    display: flex;
    flex-wrap: wrap; /* Permite que bajen si no hay espacio */
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
}

.requisito-card {
    flex: 1; /* Todos intentan ocupar el mismo ancho */
    min-width: 280px; /* Pero no menos de 280px */
    max-width: 350px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    
    /* Un borde sutil para encuadrarlo */
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.requisito-card:hover {
    transform: translateY(-5px); /* Pequeña animación al pasar el mouse */
}

.icono-req {
    font-size: 48px;
    color: #007A7F; /* Usamos tu color Turquesa */
    margin-bottom: 16px;
}

/* Alternar colores para que se vea dinámico */
.requisito-card:nth-child(2) .icono-req {
    color: #BF0A6E; /* El del medio usa tu color Magenta */
}

.requisito-card h3 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.requisito-card p {
    font-family: 'Nunito';
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* =========================================
   SECCIÓN DE REQUISITOS E INSCRIPCIÓN
   ========================================= */

.container-requisitos {
    width: 100%;
    padding: 0 16px 64px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulo-requisitos {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    margin-bottom: 48px;
    color: rgb(30, 30, 30);
}

/* --- ESTILOS PARTE A: REQUISITOS --- */
.lista-requisitos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
}

.requisito-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.requisito-card:hover {
    transform: translateY(-5px);
}

.icono-req {
    font-size: 48px;
    color: #007A7F; /* Turquesa Institucional */
    margin-bottom: 16px;
}
/* Alternamos color magenta para el icono del medio */
.requisito-card:nth-child(2) .icono-req { color: #BF0A6E; }

.requisito-card h3 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.requisito-card p {
    font-family: 'Nunito';
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* --- SEPARADOR --- */
.separador-seccion {
    width: 100px;
    height: 4px;
    background-color: #eee;
    margin: 32px 0px;
    border-radius: 2px;
}

/* --- ESTILOS PARTE B: PASOS INSCRIPCIÓN --- */
.contenedor-pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.card-paso {
    position: relative;
    background-color: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 4px solid transparent;
    text-align: center;
    transition: transform 0.3s;
}

.card-paso:hover {
    transform: translateY(-5px);
}

/* Colores de borde superior para cada paso */
.card-paso:nth-child(1) { border-color: #E1306C; } /* Instagram */
.card-paso:nth-child(2) { border-color: #007A7F; } /* Turquesa */
.card-paso:nth-child(3) { border-color: #BF0A6E; } /* Magenta */

.numero-paso {
    background-color: rgb(30, 30, 30);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 18px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contenido-paso h3 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 20px;
    margin-top: 16px;
    margin-bottom: 12px;
}

.contenido-paso p {
    font-family: 'Nunito';
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.info-paso {
    font-family: 'Montserrat';
    font-weight: 700;
    color: #BF0A6E;
    font-size: 14px;
}

/* Botón estilo Instagram */
.btn-paso.instagram {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    color: white;
    /* Degradado oficial de Instagram */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-paso.instagram:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.container-footer{
    width: 100%;
    background-color: rgb(20, 20, 20);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 0;
    gap: 16px;
}

.container-logo-footer{
    width: 64px;
    height: 64px;
}

.container-logo-footer img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.separador{
    background-color: rgb(219, 41, 124);
    width: 20%;
    height: 4px;
}

.info-footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-footer p{
    color: white;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 600;
    text-align: start;
    font-size: 14px;
}

.info-footer p span{
    color: white;
    font-family: 'Nunito';
    font-weight: 400;
}

.social {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Un poco más de espacio entre iconos */
    margin-top: 8px;
}

.social a {
    text-decoration: none;
    color: white; /* Color inicial blanco */
    font-size: 24px; /* Tamaño del icono */
    transition: all 0.3s ease;
    
    /* Centrado para asegurar alineación */
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 40px; /* Área de click más grande */
    height: 40px;
    border-radius: 50%; /* Opcional: si quieres que tengan fondo circular al pasar el mouse */
}

/* EFECTO HOVER GENERAL (Sube y brilla) */
.social a:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1); /* Fondo sutil al pasar el mouse */
}

/* COLORES DE MARCA AL PASAR EL MOUSE (Opcional, pero queda genial) */
.social a:hover .fa-facebook-f {
    color: #1877F2; /* Azul oficial de Facebook */
}

.social a:hover .fa-instagram {
    color: #E1306C; /* Rosa oficial de Instagram */
}

.copy{
    color: white;
    font-family: 'Nunito';
}

/* ESTILOS DE PÁGINAS DE CURSOS */

.informacion-curso{
    padding: 64px 32px 16px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.informacion-curso p{
    font-family: 'Nunito';
}

.informacion-curso h2{
    font-family: 'Montserrat';
    font-weight: 700;
}

.container-tarjetas-info-curso{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.tarjeta-info-curso{
    display: flex;
    flex-direction: column;
    padding: 16px 0 16px 16px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.tarjeta-info-curso h3{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 14px;
}

.tarjeta-info-curso span{
    font-family: 'Nunito';
    color: rgb(70, 70, 70);
    font-size: 12px;
}

.container-icono-tarjeta-curso{
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.container-icono-tarjeta-curso img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-tecnologias{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.container-tecnologias > span{
    background-color: rgb(30, 30, 30);
    border: 1px solid white;
    color: white;
    padding: 8px 32px;
    border-radius: 32px;
    font-family: 'Montserrat';
    transition: 0.2s;
    cursor: pointer;
}

.container-tecnologias > span:hover{
    background-color: #007A7F;
}

.informacion-docente{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 64px 32px;
}

.container-img-docente{
    width: 128px;
    height: 128px;
    flex-shrink: 0;
}
.container-img-docente img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.container-detalles-docente{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.container-detalles-docente h4{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 24px;
    width: 100%;
    text-align: center;
}

.container-detalles-docente p{
    font-family: 'Nunito';
    font-size: 16px;
    max-width: 768px;
}



/* NOSOTROS.HTML */

.container-nosotros{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 64px 16px 16px 16px;
    gap: 64px;
}

.mision, .vision{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;

}

.mision h2, .vision h2{
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 700;
}

.mision p, .vision p{
    font-family: 'Nunito';
    width: 100%;
}

/* =========================================
   SECCIÓN VALORES (ANIMADA)
   ========================================= */

/* Animación de entrada (aparece desde abajo) */
@keyframes subirAparecer {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.valores {
    display: flex;
    flex-wrap: wrap; /* Para que baje en celular */
    justify-content: center;
    gap: 32px; /* Más espacio entre tarjetas */
    width: 100%;
    margin-bottom: 80px; /* Separación con el equipo */
}

.card-valor {
    background-color: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    /* Borde superior transparente para prepararlo para el color */
    border-top: 4px solid transparent; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Aplicamos la animación */
    animation: subirAparecer 0.8s ease-out forwards;
    opacity: 0; /* Empiezan invisibles hasta que la animación corre */
}

/* Retrasos para que aparezcan una por una (Efecto escalera) */
.card-valor:nth-child(1) { animation-delay: 0.2s; border-color: #007A7F; } /* Turquesa */
.card-valor:nth-child(2) { animation-delay: 0.4s; border-color: #BF0A6E; } /* Magenta */
.card-valor:nth-child(3) { animation-delay: 0.6s; border-color: #007A7F; } /* Turquesa */

/* Efecto Hover (Animación al pasar el mouse) */
.card-valor:hover {
    transform: translateY(-10px); /* Sube más que antes */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.container-icono-valores {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    background-color: #f4f4f4; /* Fondo gris muy suave */
    border-radius: 50%;
    
    /* Centramos el icono perfectamente */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Transición para efectos hover */
    transition: all 0.3s ease;
}

/* Estilo base del icono */
.container-icono-valores i {
    font-size: 32px; /* Tamaño del icono */
    color: #555;     /* Color gris inicial */
    transition: color 0.3s ease;
}

/* --- COLORES ESPECÍFICOS POR TARJETA --- */

/* Tarjeta 1 y 3 (Turquesa) */
.card-valor:nth-child(1) .container-icono-valores i,
.card-valor:nth-child(3) .container-icono-valores i {
    color: #007A7F;
}

/* Tarjeta 2 (Magenta) */
.card-valor:nth-child(2) .container-icono-valores i {
    color: #BF0A6E;
}

/* --- EFECTO AL PASAR EL MOUSE POR LA TARJETA --- */
/* Cuando tocas la tarjeta, el fondo del icono se pinta del color institucional y el icono se vuelve blanco */

/* Para las Turquesas */
.card-valor:nth-child(1):hover .container-icono-valores,
.card-valor:nth-child(3):hover .container-icono-valores {
    background-color: #007A7F;
}

/* Para la Magenta */
.card-valor:nth-child(2):hover .container-icono-valores {
    background-color: #BF0A6E;
}

/* El icono se vuelve blanco al hacer hover en cualquiera */
.card-valor:hover .container-icono-valores i {
    color: white;
    transform: scale(1.1); /* Crece un poquito */
}

.card-valor h3 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
    color: rgb(30, 30, 30);
}

.card-valor p {
    font-family: 'Nunito';
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* =========================================
   EQUIPO UNIFICADO CON JERARQUÍA VISUAL
   ========================================= */

.seccion-equipo {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 64px 20px;
}

.titulo-equipo {
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 36px;
    text-align: center;
    text-transform: uppercase;
    color: rgb(30, 30, 30);
    margin-bottom: 64px;
    letter-spacing: 1px;
}

/* --- NIVEL 1: DIRECTIVOS --- */
.nivel-superior {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centradas */
    gap: 40px;
    /* Este margen es la única separación visual con los docentes */
    margin-bottom: 40px; 
}

/* --- NIVEL 2: DOCENTES --- */
.nivel-inferior {
    display: grid;
    /* Grid automático para el resto */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    justify-items: center;
}

/* --- ESTILO BASE DE TARJETA (Minimalista) --- */
.tarjeta-persona {
    background-color: transparent; /* Invisible por defecto */
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tarjeta-persona:hover {
    background-color: white; /* Aparece al pasar el mouse */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* --- DIMENSIONES ESPECÍFICAS --- */

/* Directivos: Más anchas para acomodar el texto */
.tarjeta-persona.directivo {
    width: 100%;
    max-width: 400px; 
}

/* Docentes: Más compactas, solo foto y nombre */
.tarjeta-persona.docente {
    width: 100%;
    max-width: 250px;
}

/* --- FOTO --- */
.foto-persona {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.foto-persona img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarjeta-persona:hover .foto-persona {
    transform: scale(1.05); /* Zoom suave */
}

/* --- TEXTOS --- */
.tarjeta-persona h3 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
    color: rgb(30, 30, 30);
}

.descripcion-directivo {
    font-family: 'Nunito';
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 16px;
}

/* --- ETIQUETAS --- */
.badge-cargo {
    font-family: 'Nunito';
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    color: white;
    letter-spacing: 0.5px;
}

.cargo-directivo { background-color: #BF0A6E; }
.cargo-docente { background-color: #007A7F; }


/* --------------------------------- */
/* ESTILOS DESKTOP (MEDIA QUERY) */
/* --------------------------------- */

@media (min-width: 768px) {

    .info-banner h1{
        font-size: 32px;
    }

    .info-banner p{
        font-size: 20px;
    }

    .nuestrosCursos{
        font-size: 32px;
    }

    .informacion-curso{
        padding-left: 64px;
        padding-right: 64px;
    }

    .container-tarjetas-info-curso{
        grid-template-columns: repeat(4, 1fr);
    }

    .informacion-docente{
        padding: 64px;
    }

    .container-footer{
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: 1fr;
        justify-items: center;
    }

    .copy{
        grid-column: span 3;
    }

    .valores{
        flex-direction: row;
    }

    .mision p, .vision p{
        width: 600px;
    }

    .tarjeta-info-curso h3{
        font-size: 16px;
    }
    .tarjeta-info-curso span{
        font-size: 14px;
    }
}

@media (min-width: 1024px){

    .container-navbar{
        padding: 1rem 4rem;
    }

    .menu-opciones{
        font-size: 20px;
        gap: 16px;
    }

        .info-banner h1{
        font-size: 48px;
    }

    .informacion-curso{
        padding-left: 128px;
        padding-right: 128px;
    }

    .informacion-docente{
        flex-direction: row;
        justify-content: start;
        align-items: start;
        padding: 64px 128px;
    }

        .container-detalles-docente p{
        font-size: 20px;
    }

    .container-img-docente{
        width: 160px;
        height: 160px;
    }
    .container-detalles-docente h4{
        text-align: left;
    }
}

@media (min-width: 1440px) {

    .container-footer{
        grid-template-columns: 1fr 1fr;
    }

    .container-logo-footer{
        width: 80px;
        height: 80px;
        grid-row: span 2;
    }

    .social{
        grid-column: 2;
        grid-row: 2;
    }

    .copy{
        grid-column: span 2;
    }
}