/* Fuente general */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

/* Sección principal */
.inicio {
    height: 100vh;
    width: 100%;
    background-image: url("img/portadainicio.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100svh;

    /* oscurece la imagen para mejor contraste */
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: darken;
}
.logo-portada {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 160px;
    max-width: 40vw;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .logo-portada {
        width: 120px;
        bottom: 20px;
        right: 20px;
    }
}


.contenido h3 {
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 300;
}

.contenido h1 {
    font-size: 55px;
    font-weight: 600;
    color: white;
    margin-top: 0;
    max-width: 500px;
    line-height: 1.1;
}

/* BOTÓN estilo UTN */
.contenido button {
    margin-top: 25px;
    background: white;
    padding: 14px 36px;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.contenido button:hover {
    background: #e8e8e8;
}



/* Fuente general */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 0 20px; /* <--- separa el navbar de los bordes */
}

/* Logo */
.logo-fain {
    height: 65px;
}

.logo-iapg {
    height: 40px;   /* más chico que FaIn */
    margin-left: 15px; /* separa un poco los logos */
     transform: translateY(-10px);
}


/* Menú */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: 400;
    transition: 0.2s;
}

.nav-menu a:hover {
    color: #000;
    font-weight: 500;
}

/* Contenedor central */
.nav-container {
    width: 100%;
    max-width: 1400px;   /* ajusta esto si querés más o menos ancho */
    margin: 0 auto;      /* centra horizontalmente */
    padding: 0 40px;     /* espacio a los lados */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Hamburguesa */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 75px;
        left: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 20px;
        padding: 30px 0;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .nav-menu.active {
        display: flex;
    }
}

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    /* 🔥 Reducimos altura del navbar */
    .navbar {
        height: 65px;
        padding: 0 15px;
    }

    /* 🔥 Reducimos tamaño de logos */
    .logo-fain {
        height: 45px;
    }

    .logo-iapg {
        height: 38px;
        margin-left: 10px;
    }

    /* Menú desplegable */
    .nav-menu {
        position: absolute;
        top: 65px; /* igual a la nueva altura del navbar */
        left: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 20px;
        padding: 30px 0;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .nav-menu.active {
        display: flex;
    }
}

@media (max-width: 480px) {

    .logo-fain {
        height: 38px;
    }

    .logo-iapg {
        height: 30px;
    }

    .nav-container {
        padding: 0 15px;
    }
}


/* PORTADA */
/*.inicio {
    height: 100vh;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1526401485004-2aa7d6b07f15?auto=format&fit=crop&w=1600&q=80')
                center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: darken;
}

.contenido h3 {
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 300;
}

.contenido h1 {
    font-size: 55px;
    font-weight: 600;
    color: white;
    max-width: 500px;
    margin: 0 auto;
}*/

/* Botón principal */
.contenido button {
    margin-top: 25px;
    background: white;
    padding: 14px 36px;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.contenido button:hover {
    background: #e8e8e8;
}
/*inicio*/
.modalidad,
.objetivos,
.destinatarios-cuadro,
.marco-metodologico,
.presentacion {
    background: #ffffff !important;
}


/* ===== TÍTULO HERO ===== */

.titulo-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url("img/modulo1.jpg"); /* tu imagen */
    background-size: cover;
    background-position: center;

    background-color: rgba(0, 40, 90, 0.65); /* overlay azul */
    background-blend-mode: multiply;
}

.titulo-contenido {
    max-width: 1000px;
    padding: 60px 20px;
}

/* Línea azul */
.titulo-linea {
    display: block;
    width: 120px;
    height: 6px;
    background: #0b5ed7;
    margin: 0 auto 25px;
    border-radius: 4px;
}

/* Título principal */
.titulo-hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #e6f0ff;
}

/* Subtítulo */
.titulo-sub {
    font-size: 20px;
    font-weight: 400;
    color: #cfe2ff;
    letter-spacing: 0.3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .titulo-hero {
        min-height: 400px;
    }

    .titulo-hero h1 {
        font-size: 36px;
    }

    .titulo-sub {
        font-size: 16px;
    }

    .titulo-linea {
        width: 90px;
        height: 5px;
    }
}


/* PRESENTACIÓN */
/* FUNDAMENTACIÓN */
.fundamentacion {
    padding: 70px 20px;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.fundamentacion-contenedor {
    max-width: 900px;
}

.fundamentacion h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.fundamentacion p {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 18px;
}

.fundamentacion {
    position: relative;
    overflow: hidden;
}

.fundamentacion::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;

    width: 50%;
    height: 100%;

    background-image: url("img/circulodedeming.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    opacity: 0.2; /* más visible pero elegante */
    z-index: 1;
}

.fundamentacion-contenedor {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .fundamentacion::before {
        width: 100%;
        height: 100%;
        right: 0;
        opacity: 0.2;
        background-position: center;
        background-size: contain;
    }

    .fundamentacion-contenedor {
        max-width: 100%;
    }
}

.institucional {
    padding: 80px 20px;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.institucional-contenedor {
    max-width: 900px;
    background: #ffffff;
    padding: 60px 70px;
    border-radius: 20px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
}
.institucional-contenedor {
    position: relative;
    overflow: hidden; /* CLAVE para que no se salga la animación */
}

/* Línea superior animada */
.institucional-contenedor::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        #0052cc,
        transparent
    );
    animation: linea-move 6s linear infinite;
}

/* Línea inferior animada */
.institucional-contenedor::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 40%;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        #0052cc,
        transparent
    );
    animation: linea-move-invertida 6s linear infinite;
}
@keyframes linea-move {
    0% {
        left: -40%;
    }
    100% {
        left: 100%;
    }
}

@keyframes linea-move-invertida {
    0% {
        left: 100%;
    }
    100% {
        left: -40%;
    }
}


.institucional h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1d1d1d;
}

.institucional p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 18px;
}

/* SECCIÓN MODALIDAD */

.modalidad-inicio {
    padding: 80px 20px;
    background: #ffffff; /* blanco real */
    text-align: center;
}

.modalidad-inicio h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #222;
}

/* Contenedor de tarjetas */
.mod-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20 px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}


/* Tarjetas */
.mod-card {
    background: #fff;
    width: 300px;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.10);
    text-align: center;
    transition: 0.3s;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 25px rgba(0,0,0,0.15);
}

.mod-card h3 {
    font-size: 22px;
    color: #0052cc;
    margin-bottom: 15px;
}

.mod-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.mod-card i {
    font-size: 42px;          /* tamaño del ícono */
    color: #0056d2;           /* azul (ajustalo si usás otro) */
    margin-bottom: 15px;
    display: inline-block;
}

.mod-card i {
    transition: transform 0.3s ease;
}

.mod-card:hover i {
    transform: translateY(-5px);
}

/* ===== CARD PLENA ===== */
/* ===== CARD PLENA AZUL ===== */

.card-plena {
    position: relative;
    margin-top: 60px;
    padding: 70px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0b5ed7, #084298);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Línea superior */
.card-plena::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00e0ff, transparent);
    animation: lineaDerecha 4s linear infinite;
}

/* Línea inferior */
.card-plena::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00e0ff, transparent);
    animation: lineaIzquierda 4s linear infinite;
}

/* Animaciones opuestas */
@keyframes lineaDerecha {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

@keyframes lineaIzquierda {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Contenido */
.card-plena-contenido {
    max-width: 850px;
    margin: 0 auto;
}

.card-plena h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.card-plena p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Botón */
.btn-plena-inicio {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: #0b5ed7;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-plena:hover {
    background: #e9f2ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .card-plena {
        padding: 50px 20px;
    }

    .card-plena h3 {
        font-size: 24px;
    }

    .card-plena p {
        font-size: 16px;
    }
}


/* SECCIÓN OBJETIVOS */
.objetivos {
    padding: 70px 60px;
    background: #ffffff;
    text-align: center;
}

.objetivos h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #222;
}

/* Contenedor de tarjetas */
.obj-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

/* Tarjetas */
.obj-card {
    width: 280px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.obj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.15);
}

.obj-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0052cc;
    margin-bottom: 10px;
}

.obj-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.obj-card {
    text-align: center;
}

.obj-card i {
    font-size: 40px;
    color: #0056d2;       /* mismo azul institucional */
    margin-bottom: 15px;
    display: inline-block;
}

.obj-card i {
    transition: transform 0.3s ease;
}

.obj-card:hover i {
    transform: scale(1.1);
}


/* MARCO METODOLÓGICO */
.marco-metodologico {
    padding: 80px 60px;
    background: #ffffff;
    text-align: center;
}

.marco-metodologico h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.marco-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

/* Contenedor de ejes */
.ejes-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Cards de ejes */
.eje-card {
    background: #ffffff;
    width: 320px;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.10);
    transition: 0.3s;
    text-align: left;
}

.eje-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 6px 25px rgba(0,0,0,0.15);
}

.eje-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0052cc;
    margin-bottom: 5px;
}

.eje-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1d;
    margin-bottom: 15px;
}

.eje-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* ====== LAYOUT ESPECIAL EJES (SIN TOCAR CARDS) ====== */

.ejes-container {
    display: grid;
    grid-template-columns: 360px 80px 360px;
    grid-template-rows: auto auto;
    gap: 40px 20px;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Posiciones */
.eje-1 {
    grid-column: 1;
    grid-row: 1;
    position: relative;
}

.eje-2 {
    grid-column: 1;
    grid-row: 2;
    position: relative;
}

.eje-3 {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: stretch;   /* 👈 CLAVE */
    position: relative;
}
.eje-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Flecha vertical Eje 1 → Eje 2 */
.eje-1::after {
    content: "↓";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 34px;
    color: #1e6fa3;
    font-weight: bold;
}

/* Flecha horizontal Eje 1 → Eje 3 */
.eje-1::before {
    content: "↔";
    position: absolute;
    right: -60px;
    top: 25%;
    transform: translateY(-50%);
    font-size: 32px;
    color: #1e6fa3;
    font-weight: bold;
}

/* Flecha horizontal Eje 2 → Eje 3 */
.eje-2::after {
    content: "↔";
    position: absolute;
    right: -60px;
    top: 25%;
    transform: translateY(-50%);
    font-size: 34px;
    color: #1e6fa3;
    font-weight: bold;
}

/* ===== RESPONSIVE MARCO METODOLÓGICO ===== */

@media (max-width: 768px) {

    .marco-metodologico {
        padding: 60px 20px;
    }

    .ejes-container {
        display: flex;              /* 🔁 vuelve a flex */
        flex-direction: column;
        gap: 30px;
    }

    .eje-card {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        text-align: left;
    }

    /* Ocultar flechas en mobile */
    .eje-1::before,
    .eje-1::after,
    .eje-2::after {
        display: none;
    }

    /* Reset posiciones grid */
    .eje-1,
    .eje-2,
    .eje-3 {
        grid-column: auto;
        grid-row: auto;
    }

    .eje-3 {
        align-self: auto;
    }
}


/* DESTINATARIOS - CUADRO */
.destinatarios-cuadro {
    padding: 80px 20px;
    background: #f7f9fc;
    display: flex;
    justify-content: center;
}

.dest-cuadro {
    max-width: 900px;
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 18px;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.12);
    text-align: center;
}

.dest-cuadro h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1d1d1d;
}

.dest-cuadro p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 18px;
}

/* ===== SEDE ===== */

.sede-section {
    padding: 80px 20px;
    background: #f4f7fb;
}

.sede-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Texto */
.sede-info {
    flex: 1;
    min-width: 280px;
}

.sede-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0b5ed7; /* azul institucional */
}

.sede-info p {
    font-size: 17px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.direccion {
    font-weight: 500;
    color: #1d3557;
}

/* Botón */
.btn-mapa {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: #0b5ed7;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
}

.btn-mapa:hover {
    background: #084298;
}

/* Mapa más chico */
.sede-mapa {
    flex: 1;
    min-width: 280px;
}

.sede-mapa iframe {
    width: 100%;
    height: 260px;  /* ⬅️ MÁS CHICO */
    border: 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .sede-container {
        flex-direction: column;
    }

    .sede-mapa iframe {
        height: 220px;
    }
}




/*programa */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f5f6fa;
}

.container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
}

/* --- Estilo del acordeón --- */
.modulo {
    background: white;
    margin-bottom: 12px;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.modulo:hover {
    background: #f0f4ff;
}

.titulo-modulo {
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contenido-modulo {
    margin-top: 10px;
    display: none; /* Lo abrimos con JS */
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    text-align: justify;
}

.icono {
    font-size: 20px;
    transition: transform 0.3s;
}

.abierto .icono {
    transform: rotate(90deg);
}

.modulo-img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: 50% 30%;
}

/* Imágenes por módulo */
.modulo-1 {
    background-image: url("img/modulo1.jpg");
}
.modulo-2 {
    background-image: url("img/modulo2.jpg");
}

.modulo-3 {
    background-image: url("img/modulo3.png");
}

.modulo-4 {
    background-image: url("img/modulo4.png");
}

.modulo-5 {
    background-image: url("img/modulo5.jpeg");
}

.modulo-6A {
    background-image: url("img/modulo6A.jpg");
}

.modulo-6B {
    background-image: url("img/modulo6B.png");
}

.modulo-7 {
    background-image: url("img/modulo7.png");
}

.modulo-8 {
    background-image: url("img/modulo8.png");
}

.modulo-9 {
    background-image: url("img/modulo9.png");
}

.modulo-10A {
    background-image: url("img/modulo10A.png");
}

.modulo-10B {
    background-image: url("img/modulo10B.png");
}

.modulo-11 {
    background-image: url("img/modulo11.png");
}

.modulo-12 {
    background-image: url("img/modulo12.png");
}

.modulo-13 {
    background-image: url("img/modulo13.png");
}

.modulo-14 {
    background-image: url("img/modulo14.png");
}
.modulo-img {
    position: relative;
}

/* SECCIÓN EVALUACIÓN */
.evaluacion {
    margin-top: 50px;
    padding: 60px 20px;
}

.evaluacion h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
}

/* Contenedor */
.eval-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* Tarjetas */
.eval-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.eval-card h3 {
    font-size: 20px;
    color: #0052cc;
    margin-bottom: 12px;
}

.eval-card p,
.eval-card ul {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.eval-card ul {
    padding-left: 18px;
}

.eval-card ul li {
    margin-bottom: 8px;
}

/* Tarjeta destacada */
.eval-card.destacado {
    background: #0052cc;
    color: white;
}

.eval-card.destacado h3 {
    color: white;
}

.eval-card.destacado p {
    color: white;
}

.plena-card-section {
    padding: 0px 20px;
    display: flex;
    justify-content: center;
}

.plena-card {
    max-width: 500px;
    width: 100%;
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.12);
}

.plena-card i {
    font-size: 48px;
    color: #0052cc;
    margin-bottom: 20px;
}

.plena-card h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1d;
}

.plena-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

.btn-plena {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 40px;
    background: #0052cc;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}

.btn-plena:hover {
    background: #003f9e;
    transform: translateY(-2px);
}


.bibliografia {
    max-width: 1000px;
    margin: 5px auto;
    font-family: 'Poppins', sans-serif;
}

.biblio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f5f7fa;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.biblio-header h2 {
    margin: 0;
    font-size: 26px;
}

.biblio-header span {
    font-size: 28px;
    font-weight: bold;
}

.biblio-content {
    display: none;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: white;
}

.biblio-content ol {
    padding-left: 20px;
}

.biblio-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* MODALIDAD DE DICTADO */
.modalidad-programa {
    margin: 30px auto;
    padding: 80px 20px;
    background: #f5f6fa; /* gris suave */
}

.modalidad-programa h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

/* Grid */
.modalidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Cards */
.modalidad-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.modalidad-card h3 {
    color: #0052cc;
    font-size: 20px;
    margin-bottom: 10px;
}

.modalidad-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* Card destacada */
.modalidad-card.destacado {
    grid-column: 1 / -1;
    background: #f5f7fa;
    border-left: 6px solid #0052cc;
}
.modalidad-card.destacado {
    grid-column: 1 / -1;
    background: #f5f7fa;
    border-left: 6px solid #0052cc;
}

/* ===== CRONOGRAMA ===== */

.cronograma {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.mes {
    margin-bottom: 40px;
}

.mes h3 {
    font-size: 28px;
    font-weight: 600;
    color: #0052cc;
    margin-bottom: 20px;
}

/* Lista */
.mes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Cada fila */
.mes li {
    display: flex;                 /* 👈 CLAVE */
    align-items: flex-start;
    gap: 25px;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    line-height: 1.6;
}

/* Fecha */
.mes li span {
    min-width: 80px;               /* 👈 ancho fijo */
    font-weight: 600;
    color: #0052cc;
    font-size: 16px;
}

/* Texto */
.mes li:not(.examen) {
    font-size: 16px;
    color: #333;
}

/* ===== EXÁMENES (más relevantes) ===== */

.mes li.examen {
    border-left: 6px solid #d32f2f;
    background: #fff5f5;
}

.mes li.examen span {
    color: #d32f2f;
}

.mes li.examen strong {
    font-size: 16px;
    text-transform: uppercase;
}

/* ===== EXÁMENES ===== */

.mes li.examen {
    background: #fff4f4;
    border-left: 5px solid #d62828;
    padding: 14px 16px;
    margin: 10px 0;
    border-radius: 8px;
}

.mes li.examen strong {
    color: #d62828;
    font-size: 17px;
}

.mes li.examen span {
    font-weight: 700;
    color: #b00020;
}

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Sección */
.docentes {
    max-width: 1100px;
    margin: 120px auto 60px auto;
    padding: 0 20px;
}

.docentes h1 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
}

/* Card docente */
.docente-card {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden; /* pega foto y texto */
}

/* Foto */
.docente-foto {
    width: 180px;
    flex-shrink: 0;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.docente-foto img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

/* Info */
.docente-info {
    padding: 25px;
    text-align: justify;
}

.docente-info h2 {
    font-size: 22px;
    color: #0052cc;
    margin-bottom: 10px;
}

.docente-info p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .docente-card {
        flex-direction: column;
    }

    .docente-foto {
        width: 100%;
        height: 260px;
    }
}

/* INSCRIPCIÓN */
.inscripcion {
    width: 100%;
    padding: 140px 20px 80px; /* espacio por navbar */
    display: flex;
    justify-content: center;
    background: #ffffff;
}

.inscripcion-contenedor {
    max-width: 800px;
    text-align: center;
}

.inscripcion h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1d;
}

.inscripcion-texto {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 35px;
    text-align: justify;
}

.btn-inscripcion {
    display: inline-block;
    background: #0052cc;
    color: white;
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-inscripcion:hover {
    background: #333;
}

.info-extra {
    margin-top: 40px;
    font-size: 16px;
    color: #555;
}

.info-extra p {
    margin: 6px 0;
}

/* CONTACTO */
.contacto {
    width: 100%;
    padding: 140px 20px 80px;
    display: flex;
    justify-content: center;
    background: #ffffff;
}

.contacto-contenedor {
    max-width: 800px;
    text-align: center;
}

.contacto h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1d;
}

.contacto-texto {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
    text-align: justify;
}

.contacto-mails p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333;
}

.contacto-mails a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.contacto-mails a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col img {
    height: 125px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-col p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #cbd5f5;
}

.footer-col a {
    color: #cbd5f5;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #cbd5f5;
}
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;   /* 👈 apila */
        align-items: center;
        text-align: center;
    }

    .footer-col {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    /* Orden explícito */
    .footer-col:nth-child(1) {
        order: 1; /* logo */
        margin-bottom: 30px;
    }

    .footer-col:nth-child(2) {
        order: 2; /* diplomatura */
        margin-bottom: 30px;
    }

    .footer-col:nth-child(3) {
        order: 3; /* contacto */
    }
}
