/* Estilos para convocatoria FCAS UABC - Coherencia con formulario */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

/* Capa verde transparente sobre todo el fondo */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 139, 34, 0.04);
    z-index: -1;
    pointer-events: none;
}

/* Asegurar que todo el contenido esté por encima del fondo */
.header,
.main-container,
.lists-grid-container,
.full-width-container,
.registration-container,
details.eje,
.logos-banner {
    position: relative;
    z-index: 1;
}

/* CABECERA CON COLORES INSTITUCIONALES */
.header {
    background: linear-gradient(135deg, #228B22 0%, #1E7A1E 50%, #FF8C00 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #228B22 50%, #FF8C00 50%);
}

.header h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header h2 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.95;
    line-height: 1.4;
}

.header h2:last-of-type {
    margin-bottom: 0;
    font-size: 1.4rem;
    opacity: 0.9;
}

/* CONTENEDOR PRINCIPAL - Desktop: 2 columnas */
.main-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 20px;
}

.image-column {
    flex: 0 0 calc(40% - 10px);
    max-width: calc(40% - 10px);
    box-sizing: border-box;
}

.basic-content-column {
    flex: 0 0 calc(60% - 10px);
    max-width: calc(60% - 10px);
    box-sizing: border-box;
}

/* Estilos para la imagen */
.image-column-inner {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.15);
    height: 100%;
    border: 2px solid rgba(34, 139, 34, 0.1);
}

.image-column-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-column-inner:hover img {
    transform: scale(1.02);
}

/* Estilos para el contenido */
.content-column-inner {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid rgba(34, 139, 34, 0.1);
}

/* CONTENEDOR DE LISTAS EN 2 COLUMNAS - Desktop */
.lists-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.list-column {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(34, 139, 34, 0.1);
}

/* Para asegurar 2 columnas exactas en desktop */
@media (min-width: 901px) {
    .list-column {
        flex: 0 0 calc(50% - 15px);
    }
}

/* CONTENEDOR DE DESTACADO - ocupa todo el ancho */
.full-width-container {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 100%;
    border: 1px solid rgba(34, 139, 34, 0.1);
}

/* CONTENEDOR DE REGISTRO - ocupa todo el ancho */
.registration-container {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(34, 139, 34, 0.2);
    width: 100%;
}

.intro {
    font-size: 1.15rem;
    margin-bottom: 25px;
    text-align: justify;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
    line-height: 1.7;
}

.info-section {
    margin-bottom: 15px;
    padding: 18px;
    background-color: #f8fcf8;
    border-radius: 10px;
    border-left: 5px solid #228B22;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.1);
}

.info-title {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1a5f1a;
    font-size: 1.1rem;
}

.info-title span {
    margin-right: 10px;
    font-size: 1.3rem;
    min-width: 24px;
}

.info-content {
    padding-left: 34px;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.5;
}

.section-title {
    color: #228B22;
    font-size: 1.4rem;
    margin: 20px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(34, 139, 34, 0.1);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #FF8C00;
}

.list-item {
    background-color: #f8fcf8;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #FF8C00;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 15px;
}

.list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(34, 139, 34, 0.1);
}

.list-item ul {
    list-style-type: none;
    padding-left: 10px;
}

.list-item li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.list-item li:before {
    content: "✓";
    color: #228B22;
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 7px;
    font-weight: bold;
}

/* BOTONES CREAR CUENTA / LOGIN */


.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap; /* para móviles */
}

.auth-buttons form {
    margin: 0; /* elimina márgenes verticales heredados */
}

/* En móviles se acomodan uno debajo del otro */
@media (max-width: 600px) {
    .auth-buttons {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
}

/* ============================================== */
/* ESTILOS ESPECÍFICOS PARA CONVOCATORIA */
/* ============================================== */

/* ÍNDICE */
.indice-ejes {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin: 20px 0;
}

.indice-ejes li {
    margin: 0;
}

.indice-ejes a {
    display: block;
    font-weight: 600;
    color: #1E7A1E;
    text-decoration: none;
    padding: 14px 18px;
    background: rgba(34, 139, 34, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #228B22;
    font-size: 1.05rem;
}

.indice-ejes a:hover {
    color: #FF8C00;
    background: rgba(34, 139, 34, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(34, 139, 34, 0.15);
}
/*texto centrado en contenedor con botones*/
/* Texto de llamado a la acción */
.cta-text {
    text-align: center;
    font-size: 1.2rem;
    margin: 15px 0 30px;
}


/* ACORDEONES */
details.eje {
    max-width: 100%;
    margin: 25px auto;
    border: 2px solid rgba(34,139,34,0.25);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

details.eje:hover {
    box-shadow: 0 8px 20px rgba(34, 139, 34, 0.12);
}

details.eje summary {
    cursor: pointer;
    padding: 22px 25px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #228B22;
    background: linear-gradient(135deg, rgba(34,139,34,0.08), rgba(255,140,0,0.06));
    border-radius: 14px;
    position: relative;
    list-style: none;
    transition: all 0.3s ease;
}

details.eje summary:hover {
    background: linear-gradient(135deg, rgba(34,139,34,0.12), rgba(255,140,0,0.09));
}

details.eje summary::-webkit-details-marker {
    display: none;
}

details.eje summary::after {
    content: "▼";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #228B22;
    font-size: 1rem;
}

details.eje[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

details.eje[open] summary {
    border-bottom: 2px solid rgba(34,139,34,0.2);
    border-radius: 14px 14px 0 0;
}

/* CONTENIDO DE ACORDEONES */
details.eje .highlight-box {
    margin: 0;
    border: none;
    border-radius: 0 0 12px 12px;
    text-align: left;
    padding: 30px;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.03), rgba(255, 140, 0, 0.02));
}

details.eje .highlight-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    text-align: justify;
    color: #333;
}

details.eje .highlight-box p:last-child {
    margin-bottom: 0;
}

details.eje .highlight-box strong {
    color: #1E7A1E;
    font-size: 1.15rem;
    display: block;
    margin-bottom: 12px;
    margin-top: 1.5rem;
}

details.eje .highlight-box strong:first-child {
    margin-top: 0;
}

/* ENLACES VOLVER ARRIBA */
.volver-arriba {
    display: block;
    text-align: center;
    padding: 16px 25px;
    font-weight: bold;
    color: #228B22;
    text-decoration: none;
    background: rgba(34, 139, 34, 0.05);
    margin-top: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    border: 1px solid rgba(34, 139, 34, 0.1);
}

.volver-arriba:hover {
    color: #FF8C00;
    background: rgba(34, 139, 34, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(34, 139, 34, 0.1);
}

/* BOTÓN FLOTANTE */
.btn-float-container {
    position: fixed;
    bottom: 80px; 
    right: 30px;
    display: flex;
    gap: 12px;
    z-index: 9999;
}

.btn-top,
.btn-bot {
    background: linear-gradient(135deg, #228B22 0%, #1E7A1E 100%);
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}



.btn-top:hover,
.btn-bot:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FF7B00 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
    color: white;
}

/* LOGOS */
.logos-banner {
    width: 100%;
    margin: 25px 0 35px;
}

.logos-banner2 img{
    width: 100%;
    margin: 25px 0 35px;

}

.logos-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.logos-container img {
    max-height: 110px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    object-fit: contain;
    flex: 1;
    min-width: 130px;
    max-width: 240px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.logos-container img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* TABLAS */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(34, 139, 34, 0.1);
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 16px;
    text-align: center;
    vertical-align: middle;
}

th {
    background: linear-gradient(135deg, rgba(34,139,34,0.15), rgba(34,139,34,0.08));
    color: #1E7A1E;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(34, 139, 34, 0.2);
}

td {
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
}

tr:hover td {
    background: rgba(34, 139, 34, 0.05);
}

/* DESTACADO */
.highlight-box {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1), rgba(255, 140, 0, 0.1));
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 2px solid rgba(34, 139, 34, 0.3);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #228B22, #FF8C00);
}

.highlight-box h3 {
    color: #228B22;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.highlight-box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #FF8C00;
}

.highlight-box p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    color: #333;
    line-height: 1.7;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* MEJORAS ESPECÍFICAS PARA EL CONTENIDO */
.full-width-container .highlight-box h3 {
    margin-top: 0;
}

/* CONTACTO */
.contact-info {
    text-align: center;
    font-style: italic;
    color: #555;
    padding: 25px;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.08), rgba(255, 140, 0, 0.05));
    border-radius: 12px;
    border: 2px dashed #228B22;
    margin-top: 25px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.contact-info a {
    color: #228B22;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(34, 139, 34, 0.1);
    border: 1px solid rgba(34, 139, 34, 0.2);
}

.contact-info a:hover {
    color: #FF8C00;
    background: rgba(255, 140, 0, 0.15);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.1);
}

/* FORMULARIO DE REGISTRO - Coherente con la otra página */
.registration-container fieldset {
    border: 2px solid rgba(34, 139, 34, 0.3);
    border-radius: 12px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.05), rgba(255, 140, 0, 0.03));
}

.legend {
    font-size: 1.6rem;
    color: #228B22;
    font-weight: bold;
    padding: 0 20px;
    background-color: white;
    border-radius: 6px;
    border-bottom: 3px solid #FF8C00;
    padding-bottom: 8px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.legend::after {
    position: absolute;
    right: 20px;
    bottom: -10px;
    background-color: white;
    padding: 0 10px;
    font-size: 13px;
    color: #FF8C00;
    font-weight: 600;
}

form {
    text-align: center;
    margin-top: 25px;
}

input[type="submit"] {
    background: linear-gradient(135deg, #228B22 0%, #1E7A1E 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(34, 139, 34, 0.3);
    text-transform: uppercase;
    min-width: 220px;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FF7B00 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
}

input[type="submit"]:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

/* ============================================== */
/* RESPONSIVE PARA MÓVILES - UNA SOLA FILA/COLUMNA */
/* ============================================== */

/* Tablet y móviles (hasta 900px) */
@media (max-width: 900px) {
    body {
        padding: 15px;
        max-width: 100%;
    }
    
    /* Header más compacto */
    .header {
        padding: 20px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .header h1 {
        font-size: 1.9rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .header h2 {
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .header h2:last-of-type {
        font-size: 1.2rem;
    }
    
    /* CONTENEDOR PRINCIPAL - UNA COLUMNA */
    .main-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .image-column,
    .basic-content-column {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .image-column {
        order: 1;
        height: 280px;
        margin-bottom: 0;
    }
    
    .basic-content-column {
        order: 2;
    }
    
    .image-column-inner {
        border-radius: 12px;
    }
    
    .content-column-inner {
        padding: 25px;
        border-radius: 12px;
    }
    
    /* LISTAS - UNA COLUMNA */
    .lists-grid-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .list-column {
        flex: 0 0 100%;
        width: 100%;
        padding: 25px;
        border-radius: 12px;
        margin-bottom: 0;
    }
    
    /* CONTENEDORES ANCHO COMPLETO */
    .full-width-container,
    .registration-container {
        padding: 25px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    /* Textos más compactos */
    .intro {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .info-section {
        padding: 16px;
        margin-bottom: 15px;
    }
    
    .info-title {
        font-size: 1.05rem;
    }
    
    .info-content {
        font-size: 1rem;
        padding-left: 30px;
    }
    
    .section-title {
        font-size: 1.35rem;
        margin: 15px 0 12px;
    }
    
    .list-item {
        padding: 18px;
        margin-bottom: 12px;
    }
    
    .list-item li {
        padding: 7px 0;
        font-size: 1rem;
    }
    
    /* ESTILOS ESPECÍFICOS RESPONSIVE */
    .indice-ejes {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 15px 0;
    }
    
    .indice-ejes a {
        padding: 12px 16px;
        font-size: 1.05rem;
    }
    
    .logos-container {
        justify-content: center;
        gap: 15px;
    }
    
    .logos-container img {
        max-width: 170px;
        min-width: 110px;
        max-height: 95px;
        padding: 12px;
    }
    
    details.eje {
        margin: 20px auto;
    }
    
    details.eje summary {
        padding: 18px 20px;
        font-size: 1.15rem;
    }
    
    details.eje .highlight-box {
        padding: 25px;
    }
    
    .btn-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* DESTACADO */
    .highlight-box {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .highlight-box h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .highlight-box p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    /* FORMULARIO */
    .registration-container fieldset {
        padding: 25px;
    }
    
    .legend {
        font-size: 1.4rem;
        padding: 0 15px 6px;
    }
    
    .legend::after {
        font-size: 12px;
        right: 15px;
    }
    
    input[type="submit"] {
        padding: 16px 35px;
        font-size: 1.15rem;
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
    
    /* TABLAS */
    table {
        margin: 20px 0;
    }
    
    th, td {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
    .btn-float-container {
    padding-bottom: env(safe-area-inset-bottom);
}

}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .header {
        padding: 18px 12px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .header h1 {
        font-size: 1.7rem;
        margin-bottom: 6px;
    }
    
    .header h2 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .header h2:last-of-type {
        font-size: 1.1rem;
    }
    
    .main-container {
        margin-bottom: 20px;
        gap: 15px;
    }
    
    .image-column {
        height: 220px;
    }
    
    .image-column-inner,
    .content-column-inner,
    .list-column,
    .full-width-container,
    .registration-container {
        padding: 20px;
        border-radius: 10px;
    }
    
    .lists-grid-container {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .intro {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .info-section {
        padding: 14px;
        margin-bottom: 12px;
    }
    
    .info-title {
        font-size: 1rem;
    }
    
    .info-title span {
        font-size: 1.2rem;
        min-width: 22px;
    }
    
    .info-content {
        font-size: 0.95rem;
        padding-left: 28px;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin: 12px 0 10px;
    }
    
    .section-title::after {
        width: 50px;
    }
    
    .list-item {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .list-item li {
        padding-left: 22px;
        font-size: 0.95rem;
    }
    
    .list-item li:before {
        font-size: 0.95rem;
        top: 6px;
    }
    
    /* ESTILOS ESPECÍFICOS RESPONSIVE */
    .indice-ejes a {
        padding: 10px 14px;
        font-size: 1rem;
    }
    
    .logos-container img {
        max-width: 140px;
        min-width: 90px;
        max-height: 85px;
        padding: 10px;
    }
    
    details.eje summary {
        padding: 16px 18px;
        font-size: 1.1rem;
    }
    
    details.eje summary::after {
        right: 18px;
        font-size: 0.9rem;
    }
    
    details.eje .highlight-box {
        padding: 20px;
    }
    
    details.eje .highlight-box p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    
    details.eje .highlight-box strong {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    th, td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .highlight-box {
        padding: 20px;
    }
    
    .highlight-box h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .highlight-box p {
        font-size: 1.05rem;
    }
    
    .contact-info {
        padding: 16px;
        font-size: 1.05rem;
    }
    
    .contact-info a {
        padding: 6px 12px;
        font-size: 0.95rem;
    }
    
    .volver-arriba {
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .btn-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        padding: 0;
    }
    
    .registration-container fieldset {
        padding: 20px;
    }
    
    .legend {
        font-size: 1.3rem;
        padding: 0 12px 5px;
    }
    
    .legend::after {
        font-size: 11px;
        right: 12px;
    }
    
    input[type="submit"] {
        padding: 14px 30px;
        font-size: 1.1rem;
        border-radius: 45px;
        min-width: 200px;
    }
}

/* Para pantallas muy pequeñas (hasta 360px) */
@media (max-width: 360px) {
    body {
        padding: 8px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header h2 {
        font-size: 1.1rem;
    }
    
    .header h2:last-of-type {
        font-size: 1rem;
    }
    
    .image-column {
        height: 200px;
    }
    
    .image-column-inner,
    .content-column-inner,
    .list-column,
    .full-width-container,
    .registration-container {
        padding: 16px;
        border-radius: 8px;
    }
    
    .intro {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.15rem;
    }
    
    /* ESTILOS ESPECÍFICOS RESPONSIVE */
    .logos-container img {
        max-width: 120px;
        min-width: 80px;
        max-height: 75px;
        padding: 8px;
    }
    
    details.eje summary {
        padding: 14px 16px;
        font-size: 1.05rem;
    }
    
    .indice-ejes a {
        padding: 9px 12px;
        font-size: 0.95rem;
    }
    
    input[type="submit"] {
        padding: 12px 25px;
        font-size: 1.05rem;
        min-width: 180px;
    }
    
    .highlight-box h3 {
        font-size: 1.3rem;
    }
    
    .highlight-box p {
        font-size: 1rem;
    }
}

/* Logo institucional opcional */
.header::after {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Espaciado entre secciones */
.full-width-container:not(:last-child),
.registration-container:not(:last-child),
.lists-grid-container:not(:last-child) {
    margin-bottom: 30px;
}

/* Ajustes para texto largo en tablas */
td[colspan] {
    text-align: center;
    font-weight: 500;
}

/* Mejora para listas dentro de highlight-box */
.highlight-box ul,
.highlight-box ol {
    margin: 15px 0;
    padding-left: 25px;
}

.highlight-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}