/* 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 */

.nav-logo img {
    height: 65px;
}

/* 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;
    }
}

/* 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;
}


/*titulo diplomatura*/
.titulo-diplomatura {
    width: 100%;
    padding: 120px 20px 50px; /* espacio para que no tape el navbar */
    text-align: center;
    background: white;

    padding: 120px 20px 60px; /* deja espacio por el navbar */
}


.titulo-diplomatura h1 {
    font-size: 42px;
    font-weight: 600; /* Poppins fuerte */
    color: #1d1d1d;
    margin-bottom: 10px;
}

.titulo-diplomatura p{
    font-size: 18px;
    color: #555;
    font-weight: 300;
    margin: 0;
    text-align: justify;
}

.titulo-diplomatura {

    
    min-height: 400px; 
    padding: 160px 20px 120px;  
    position: relative;
    overflow: hidden;

    background-image: url("img/modulo6A.jpg"); /* 👈 tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* capa sutil para contraste */
.titulo-diplomatura::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75); /* 👈 claro, académico */
    z-index: 1;
}

/* texto por arriba de la imagen */
.titulo-diplomatura h1,
.titulo-diplomatura p {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .titulo-diplomatura {
        background-position: right center;
    }

    .titulo-diplomatura::before {
        background: rgba(255, 255, 255, 0.85);
    }
}


/* 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);
}

/* 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;
}



/* 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;
}




/*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: 80px;
    padding: 60px 20px;
    background: #ffffff;
}

.evaluacion h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
}

/* Contenedor */
.eval-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Tarjetas */
.eval-card {
    background: #f7f9fc;
    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;
}
/* La tarjeta destacada ocupa toda la fila */
.eval-card.destacado {
    grid-column: 1 / -1; /* ocupa todas las columnas */
    padding: 35px;
    font-size: 16px;
}

.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: 80px 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 {
    padding: 50px 10px;
}

.cronograma h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.mes {
    max-width: 900px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.1);
}

.mes h3 {
    font-size: 26px;
    color: #0052cc;
    margin-bottom: 20px;
}

.mes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mes li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.mes li:last-child {
    border-bottom: none;
}

.mes span {
    display: inline-block;
    width: 90px;
    font-weight: 600;
    color: #333;
}

.mes em {
    color: #666;
    font-style: normal;
}
/* ===== 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 */
    }
}
