﻿@charset "utf-8";

/* ════════════════════════════════════════
   RESET PÚBLICO
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

@font-face {
    font-family: 'aptos';
    src: url('../fonts/aptos.ttf') format('truetype');
    src: url('../fonts/aptos.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


html, body {
    margin: 0;
    padding: 0;
    font-family: 'aptos', 'Roboto', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ════════════════════════════════════════
   NAV FIJA
════════════════════════════════════════ */
.pubNavFranja {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pubNavInner {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top:20px
}

.pubNavLogo img {
    height: 100px;
    width: auto;
    display: block;
    padding: 6px 0;
}

.pubNavInner nav { flex: 1; }

.ul_menu_pub {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.ul_menu_pub li { position: relative; }

.ul_menu_pub li a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 16px;
    font-size: 18px;
    font-weight: bold;
    color: #2a2a2a;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.ul_menu_pub li a:hover,
.ul_menu_pub li.active a {
    color: #bd0037;
    border-bottom-color: #bd0037;
}

.navChevron { font-size: 11px; color: inherit; }

.btnAccesoAlumno {
    flex-shrink: 0;
    background-color: #bd0037;
    color: #ffffff;
    border-radius: 20px;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}
.btnAccesoAlumno:hover { background-color: #8f0028; color: #fff; }

/* Hamburguesa pública */
.btnHamburguesa {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 0;
    flex-shrink: 0;
}
.btnHamburguesa span {
    display: block;
    width: 24px; height: 2px;
    background-color: #2a2a2a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.btnHamburguesa.abierto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btnHamburguesa.abierto span:nth-child(2) { opacity: 0; }
.btnHamburguesa.abierto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════
   SLIDER
════════════════════════════════════════ */

.pubInicial {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Deja espacio para la nav fija */
    margin-top: 124px;
}


.pubOverlay {
    position: absolute;
    inset: 0;
}

.pubDescripcion {
    min-width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}


.pubTrack {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}


.pubContent {
    position: relative;
    z-index: 2;
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 25px 20px 25px;
    box-sizing: border-box;
    color: #fff;
    padding-bottom:0px
}



.pubTrack {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.pub {
    min-width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.pubTitulo {
    font-size: 20px;
    font-weight: bolder;
    color: white;
    margin-bottom: 8px;
}

.pubNombre {
    font-size: 45px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 14px;
    margin-top: 30px;
}

.pubItems {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.pubItem {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    padding-left: 30px;
}

.pubIcono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #8f0028;
    background-color: #fff;
    border-radius: 50%;
    font-size: 25px;
    font-weight: bold;
    flex-shrink: 0;
}

.Divpub {
    display: flex;
    gap: 10px;
}

.pub1 {
    padding: 20px;
   /* width: 50%;*/
    padding-bottom: 0px;
}

.pub2 {
    padding: 20px;
   width: 50%;
    text-align: end;
    padding-bottom: 0px;
}

.pubDesc {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    margin-top: 20px
}

.pubDirigido {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    margin-top:20px
}

.pubFecha {
    display: inline-flex;
    /*align-items: center;*/
    gap: 10px;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 18px;
    color: white;
    margin-bottom: 10px;
    text-align: left;
    line-height: 22px;
}

.pubFechaBloque {
    display: inline-block;
}

.pubFecha2 { font-size: 25px; }

.pubFechaPlazo {
    font-size: 0.6em;
    opacity: 0.95;
    display: inline-block;
    margin-top: 2px;
}
/* ════════════════════════════════════════
   SLIDER — track de imágenes
════════════════════════════════════════ */
.pubSlider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pubSliderTrack {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.pubSlide {
    min-width: 100%;
    position: relative;
    background-size: cover;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.novisibleslider { display: none; }

.pubSlideOverlay {
    position: absolute;
    inset: 0;
}

.pubSlideFrase {
    position: relative;
    z-index: 2;
    min-height: 420px;
    display: inline-grid;
    align-items: center;
    padding: 20px 25px;
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 3px 6px rgb(16, 16, 16);
    text-align: center;
    width: 100%;
}

.pubSliderDots {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pubSliderDot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.pubSliderDot.active { background-color: #ffffff; }

.pubSliderContenedor {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px 50px 25px;
    box-sizing: border-box;
    overflow: hidden;
}

.pubSlideProximamente {
    background-color: black;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    height: 30px;
}

.cuadro-con-pico {
    position: relative;
    background-color: black;
    color: white;
    border-radius: 8px;
    max-width: 250px;
    text-align: center;
    font-family: Arial, sans-serif;
    margin-left: 19px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 7px 10px 10px 10px;
}

.cuadro-con-pico::after {
    content: "";
    position: absolute;
    border-width: 15px;
    border-style: solid;
    border-color: transparent black transparent transparent;
    left: auto;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/* ════════════════════════════════════════
   CONTENEDOR PÚBLICO
════════════════════════════════════════ */
.pubContenedor {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 25px;
    box-sizing: border-box;
}

/* ════════════════════════════════════════
   SECCIONES COMUNES
════════════════════════════════════════ */
.pubSeccionTitulo {
    font-size: 32px;
    font-weight: bold;
    color: #cd093b;
    margin-bottom: 30px;
}

/* ════════════════════════════════════════
   HOME — INTRODUCCIÓN
════════════════════════════════════════ */
.desplazar { scroll-margin-top: 120px; }

.homeIntroduccion {
    font-size: 15px;
    color: #3a3a3a;
    line-height: 1.4;
    max-width: 860px;
}

.homeIntroduccion a { color: #cd093b; font-weight: bold; }

.homeIntroduccionDestacado {
    font-size: 15px;
    font-weight: bold;
    color: #cd093b;
    margin: 16px 0 6px;
}

/* ════════════════════════════════════════
   HOME — OBJETIVOS
════════════════════════════════════════ */
.homeObjetivosGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 10px;
    justify-content: center;
}

.homeObjetivoCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    border-radius: 12px;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.homeObjetivoIcono {
    width: 150px; height: 150px;
    background-color: #fce8ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #cd093b;
}

.iconoObjetivo { width: 150px; height: 150px; }

.texto-ovalado {
    width: 300px; height: 150px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.contenedor-circular {
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    padding-top: 0;
}

.titulo {
    color: #a10043;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
}

.parrafo {
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    text-wrap: balance;
}

.homeObjetivoTitulo {
    font-size: 14px;
    font-weight: bold;
    color: #cd093b;
    width: 113px;
}

.homeObjetivoDesc { font-size: 13px; color: #555; line-height: 1.5; }

/* ════════════════════════════════════════
   HOME — EQUIPO DOCENTE
════════════════════════════════════════ */
.homeDocentesSeccion { padding: 40px 0 10px; }

.homeDocentesRol {
    font-size: 20px;
    font-weight: bold;
    color: #cd093b;
    text-align: center;
    margin-bottom: 16px;
}

.homeDocenteCoord {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 90px;
    justify-content: center;
}

.homeDocenteAvatar {
    width: 150px; height: 150px;
    border-radius: 50%;
    background-color: #ddd;
    flex-shrink: 0;
    object-fit: cover;
}

.homeDocenteNombre { font-size: 18px; font-weight: bold; color: #cd093b; }
.homeDocenteCargo  { font-size: 18px; color: black; }
.homeDocenteSitio  { font-size: 18px; color: black; font-style: italic; }

.homeDocentesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.homeDocenteCard { display: flex; align-items: center; gap: 14px; }

/* ════════════════════════════════════════
   HOME — CONTACTO
════════════════════════════════════════ */
.iconoContacto { width: 150px; }

.homeContactoBox {
    background-color: #fdf0f3;
    border-radius: 12px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.homeContactoItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.homeContactoIcono { font-size: 36px; color: #cd093b; }
.homeContactoTexto { font-size: 14px; color: #cd093b; font-weight: bold; }
.homeContactoHorario { font-size: 13px; color: black; line-height: 1.6; text-align: center; }

/* ════════════════════════════════════════
   PROGRAMA
════════════════════════════════════════ */
.BloqueSeccionTitulo {
    font-size: 32px;
    font-weight: bold;
    color: #cd093b;
   /* margin-bottom: 30px;*/
}

.progBloque {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
}

.progBloqueLetra {
    width: 114px; height: 104px;
    background-color: #cd093b;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.progBloqueSubTitulo { font-size: 25px; font-weight: bold; color: #cd093b; margin-bottom: 4px; }
.progBloqueTitulo    { font-size: 18px; font-weight: bold; color: black; margin-bottom: 4px; padding-top: 20px; }
.progBloqueDestacado { color: #cd093b; }
.progBloqueAutores   { font-size: 18px; color: black; }

.lineaBloque {
    width: 100%;
    margin: 30px auto;
    height: 5px;
    border-bottom: thin solid #cd093b;
}

/* ════════════════════════════════════════
   DOCENTES (página)
════════════════════════════════════════ */
.docCoordWrapper { margin-bottom: 40px; }

.docGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 16px;
}

.docCard {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 10px;
}

.docAvatar {
    width: 94px; height: 94px;
    border-radius: 50%;
    background-color: #ddd;
    object-fit: cover;
    flex-shrink: 0;
}

.docNombre { font-size: 14px; font-weight: bold; color: #cd093b; }
.docCargo  { font-size: 13px; color: #888; }
.docSitio  { font-size: 12px; color: #aaa; font-style: italic; }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faqItem { border-bottom: 1px solid #eeeeee; padding: 0; margin-bottom: 0; }

.faqPregunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    color: #2a2a2a;
    transition: color 0.2s;
    gap: 12px;
}

.faqPregunta:hover,
.faqPregunta.abierta { color: #cd093b; }

.faqChevron { font-size: 18px; transition: transform 0.3s ease; flex-shrink: 0; }
.faqPregunta.abierta .faqChevron { transform: rotate(180deg); }

.faqRespuesta {
    display: none;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    padding: 0 0 16px 0;
}

/* ════════════════════════════════════════
   CONTACTO (página)
════════════════════════════════════════ */
.contactoForm {
    max-width: 580px;
    margin: 0 auto;
    text-align: left;
}

.contactoFormGrupo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.contactoFormGrupo label { font-size: 14px; font-weight: bold; color: #2a2a2a; }

    .contactoFormGrupo input,
    .contactoFormGrupo textarea,
    .contactoFormGrupo select {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 11px 14px;
        font-size: 14px;
        font-family: 'aptos', 'Roboto', sans-serif;
        color: #2a2a2a;
        outline: none;
        transition: border-color 0.2s ease;
        resize: vertical;
    }

.contactoFormGrupo input:focus,
.contactoFormGrupo textarea:focus { border-color: #cd093b; }

.btnEnviar {
    background-color: #cd093b;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btnEnviar:hover { background-color: #8f0028; }

/* ════════════════════════════════════════
   SEPARADOR DE SECCIÓN
════════════════════════════════════════ */
.pubSeparador { height: 1px; background-color: #eeeeee; margin: 0; }

/* ════════════════════════════════════════
   PIE
════════════════════════════════════════ */
.pieLogos { width: 100%; background-color: #ffffff; border-top: 1px solid #e0e0e0; padding: 30px 0; }
.pieLogosInner { width: 1150px; max-width: 100%; margin: 0 auto; padding: 0 25px; box-sizing: border-box; text-align: center; }
.pieColaboracion { display: block; font-size: 13px; color: #6a6a6a; margin-bottom: 16px; }
.pieLogosRow { display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; }
.pieLogo { height: 70px; width: auto; object-fit: contain; }
.pieOscuro { width: 100%; background-color: #4a4a4a; padding: 30px 0 24px 0; }
.pieOscuroInner { width: 1150px; max-width: 100%; margin: 0 auto; padding: 0 25px; box-sizing: border-box; text-align: center; }
.pieLinks { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; margin-bottom: 14px; }
.pieLinks a { color: #fff; text-decoration: none; font-size: 14px; font-weight: bold; transition: color 0.2s ease; }
.pieLinks a:hover { color: #f7a5b8; }
.pieCopyright { color: #cccccc; font-size: 13px; margin-bottom: 10px; }
.pieOptimizado { color: #aaaaaa; font-size: 12px; line-height: 1.6; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */



@media screen and (max-width: 1150px) {

    .ul_menu_pub li a {
        font-size: 14px;
    }

    .btnAccesoAlumno {
        font-size: 14px;
    }


@media screen and (max-width: 1050px) {

    .ul_menu_pub li a {
        padding:10px 10px;
    }
}



@media screen and (max-width: 975px) {

    /* Nav */
    .btnHamburguesa {
        display: flex;
    }

    .btnAccesoAlumno {
        display: none;
    }

    .pubNavInner {
        flex-wrap: wrap;
        padding: 0 12px;
        padding-top: 8px;
    }

        .pubNavInner nav {
            order: 3;
            width: 100%;
        }

    .pubNavLogo img {
        height: 54px;
    }

    .ul_menu_pub {
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

        .ul_menu_pub.abierto {
            max-height: 500px;
        }

        .ul_menu_pub li {
            width: 100%;
        }

            .ul_menu_pub li a {
                padding: 12px 15px;
                border-bottom: 1px solid #eeeeee;
                border-left: 3px solid transparent;
                border-bottom-color: #eeeeee !important;
            }

                .ul_menu_pub li.active a,
                .ul_menu_pub li a:hover {
                    border-left-color: #bd0037;
                    background-color: #fdf0f3;
                    color: #bd0037;
                    border-bottom-color: #eeeeee !important;
                }
}


    /* ── Tablet ≤ 900px ── */
    @media screen and (max-width: 900px) {
        .pubNavInner {
            padding: 0 16px;
            gap: 10px;
        }

        .pubNavLogo img {
            height: 70px;
        }

        .pubNombre {
            font-size: 32px;
        }

        .pubItem {
            font-size: 18px;
        }

        .pubDesc {
            font-size: 15px;
        }

        .pubDirigido {
            font-size: 15px;
        }

        .pubFecha {
            font-size: 15px;
        }

        .pubFecha2 {
            font-size: 20px;
        }

        .pubContent {
            padding: 24px 16px 0 16px;
        }
        /* homeObjetivosGrid eliminado — auto-fit lo gestiona */
        .homeDocentesGrid {
            grid-template-columns: repeat(2, 1fr);
        }

        .docGrid {
            grid-template-columns: repeat(2, 1fr);
        }

        .homeContactoBox {
            grid-template-columns: 1fr;
            gap: 56px;
        }

        .progBloque {
            gap: 12px;
        }
      
    }







    /* ── Móvil ≤ 680px ── */
    @media screen and (max-width: 680px) {

        /* Nav */
        .btnHamburguesa {
            display: flex;
        }

        .btnAccesoAlumno {
            display: none;
        }

        .pubNavInner {
            flex-wrap: wrap;
            padding: 0 12px;
            padding-top: 8px;
        }

            .pubNavInner nav {
                order: 3;
                width: 100%;
            }

        .pubNavLogo img {
            height: 54px;
        }

        .ul_menu_pub {
            flex-direction: column;
            align-items: stretch;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease;
        }

            .ul_menu_pub.abierto {
                max-height: 500px;
            }

            .ul_menu_pub li {
                width: 100%;
            }

                .ul_menu_pub li a {
                    padding: 12px 15px;
                    border-bottom: 1px solid #eeeeee;
                    border-left: 3px solid transparent;
                    border-bottom-color: #eeeeee !important;
                }

                    .ul_menu_pub li.active a,
                    .ul_menu_pub li a:hover {
                        border-left-color: #bd0037;
                        background-color: #fdf0f3;
                        color: #bd0037;
                        border-bottom-color: #eeeeee !important;
                    }

        /* Slider / cabecera */
        .pubInicial {
            margin-top: 80px;
        }

        .pubNombre {
            font-size: 22px;
            margin-top: 16px;
            margin-bottom: 8px;
        }

        .pubTitulo {
            font-size: 14px;
        }

        .pubItem {
            font-size: 14px;
            padding-left: 8px;
        }

        .pubIcono {
            width: 26px;
            height: 26px;
            font-size: 14px;
        }

        .pubDesc {
            font-size: 13px;
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .pubDirigido {
            font-size: 13px;
            margin-bottom: 8px;
            margin-top: 8px;
        }

        .pubFecha {
            font-size: 10px;
            padding: 6px 10px;
            line-height: 12px;
        }

        .pubFecha2 {
            font-size: 12px;
            width: 100%;
            display: flex;
            text-align: initial;
        }

        .pubContent {
            padding: 16px 12px 0 12px;
        }

        .Divpub {
            flex-direction: column;
            gap: 0;
        }

        .pub1, .pub2 {
            width: 100%;
            text-align: left;
            padding: 8px 0;
        }

        /* Slider: alto fijo 200px e imagen centrada */
        .pubSlider {
            height: 200px;
        }

        .pubSliderTrack {
            height: 200px;
        }

        .pubSlide {
            min-height: 200px;
            height: 200px;
            background-position: center center;
        }

        /* Frase centrada horizontal y verticalmente */
        .pubSlideFrase {
            min-height: 200px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            padding: 10px 16px;
            text-align: center;
        }

        /* Secciones de contenido */
        .pubContenedor {
            padding: 30px 16px;
        }

        .pubSeccionTitulo {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .BloqueSeccionTitulo {
            font-size: 20px;
        }

        .progBloqueSubTitulo {
            font-size: 20px;
        }

        .progBloqueTitulo {
            font-size: 16px;
        }

        .progBloqueAutores {
            font-size: 16px;
        }

        /* Home – introducción */
        .homeIntroduccion {
            font-size: 14px;
        }

        /* Objetivos */
        .homeObjetivosGrid {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .homeObjetivoCard {
            padding: 16px 12px;
        }

        /* Docentes */
        .homeDocentesGrid {
            grid-template-columns: 1fr;
        }

        .homeDocenteCoord {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .docGrid {
            grid-template-columns: 1fr;
        }

        .docCard {
            padding: 12px;
        }

        /* Contacto */
        .homeContactoBox {
            grid-template-columns: 1fr;
            gap: 14px;
            padding: 20px 16px;
        }

        .contactoForm {
            max-width: 100%;
        }

        /* Programa */
        .progBloque {
            flex-direction: column;
            gap: 8px;
            padding: 16px 0;
        }

        .progBloqueLetra {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }

        /* FAQ */
        .faqPregunta {
            font-size: 14px;
        }

        .faqRespuesta {
            font-size: 13px;
        }

        /* Pie */
        .pieLinks {
            gap: 16px;
            flex-direction: column;
        }

        .pieLogosRow {
            gap: 24px;
        }

        .pieLogo {
            height: 44px;
        }

        .pieCopyright,
        .pieOptimizado {
            font-size: 11px;
        }
    }

    /* ── Muy pequeño ≤ 400px ── */
    @media screen and (max-width: 400px) {
        .pubNombre {
            font-size: 18px;
        }

        .pubItem {
            font-size: 12px;
        }

        .pubDesc {
            font-size: 12px;
        }

        .pubSeccionTitulo {
            font-size: 20px;
        }

        .homeObjetivoCard {
            padding: 12px 8px;
        }

        .homeObjetivosGrid {
            grid-template-columns: 1fr;
        }
    }

    /* ════════════════════════════════════════
   SWIPER — slides con frase
════════════════════════════════════════ */
    .pubSwiper {
        width: 100%;
        height: 100%;
    }

        .pubSwiper .pubSlide {
            min-height: 420px;
            background-size: cover;
            display: flex;
            align-items: flex-end;
        }

        .pubSwiper .swiper-pagination-bullet {
            background: rgba(255,255,255,0.6);
            opacity: 1;
        }

        .pubSwiper .swiper-pagination-bullet-active {
            background: #ffffff;
        }

    @media screen and (max-width: 680px) {
        .pubSwiper .pubSlide {
            min-height: 200px;
        }
    }