/* ============================================
   VARIABLES GLOBALES
   ============================================ */
:root {
    /* Colores principales */
    --primary-blue: #283593;
    --primary-blue-dark: #1a237e;
    --primary-red: #d32f2f;
    --primary-red-dark: #b71c1c;
    
    /* Colores secundarios */
    --secondary-blue: #1976d2;
    --secondary-blue-light: #e3f2fd;
    --secondary-red: #f44336;
    --secondary-red-light: #ffebee;
    
    /* Colores neutros */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #333333;
    --text-color: #333333;
    
    /* Colores adicionales unificados */
    --success-light: #e8f5e8;
    --success-dark: #2e7d32;
    --warning-light: #fff3cd;
    --warning-dark: #856404;
    --info-light: #d1ecf1;
    --info-dark: #0c5460;
    --purple-light: #f3e5f5;
    --purple-dark: #7b1fa2;
    
    /* Espaciado */
    --spacing-mini: 0.15rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Bordes */
    --border-radius: 8px;
    --border-radius-sm: 6px;
    
    /* Sombras */
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 6px 12px rgba(0, 0, 0, 0.15);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ============================================
   ESTILOS BASE Y RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
header {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    color: var(--white);
    padding: var(--spacing-xs) 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 var(--spacing-sm);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-light);
}

.logo-box img {
    width: 100%;
    height: auto;
}

.logo-box:hover {
    transform: rotate(5deg);
    box-shadow: var(--shadow-medium);
}

.logo-box .logoUS {
    filter: brightness(0) invert(1);
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--white);
    font-weight: 600;
}

nav {
    padding-top: var(--spacing-mini)
}
nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-normal);
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
main {
    padding: var(--spacing-lg) 0;
    flex: 1;
}

.hero {
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    opacity: 0.5;
}

.hero .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    position: relative;
    z-index: 3;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
    color: #718096;
}

.breadcrumb a {
    color: #718096;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary-blue);
}

/* ============================================
   SECCIONES DE CONTENIDO
   ============================================ */
.section {
    margin-bottom: var(--spacing-xl);
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
    scroll-margin-top: 100px;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--primary-blue);
    color: var(--primary-blue-dark);
    font-weight: 600;
}

.section-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.section-content h3 {
    font-size: 1.25rem;
    margin: var(--spacing-md) 0;
    color: var(--primary-blue-dark);
    font-weight: bold;
}

.section-content img.text-image {
    width: 40%;
    height: auto;
    flex-shrink: 0;
    border-radius: var(--border-radius);
}

.text-content {
    flex: 1;
    min-width: 250px;
}

.text-content p {
    text-align: justify;
    line-height: 1.6;
    margin: 0;
}

.text-content h3 {
    font-size: 1.5rem;
    margin: var(--spacing-sm) 0;
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--primary-blue);
    color: var(--primary-blue-dark);
    font-weight: 500;
}

.text-content ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
    list-style-type: none;
    position: relative;
}

.text-content ul li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.7;
}

.text-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: bold;
}

.text-content ul li ul {
    margin: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-md);
    padding-left: 0;
}

.text-content ul li ul li:before {
    content: "○";
    color: var(--secondary-blue);
    font-size: 1rem;
}

.text-content a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

.text-content a:hover {
    color: var(--primary-blue-dark);
    border-bottom: 1px solid var(--primary-blue-dark);
}

.text-content a:active {
    color: var(--primary-red);
    border-bottom: 1px solid var(--primary-red);
}

.text-content a:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* ============================================
   COMPONENTES ESPECIALES DE SECCIONES
   ============================================ */
.section-footer {
    text-align: right;
    font-style: italic;
    margin-top: 10px;
}

.section-footer a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.section-footer a:hover {
    text-decoration: underline;
}

.section-box h2 {
    padding: 1.5rem;
    background-color: var(--primary-blue-dark);
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    color: var(--white);
    margin-bottom: 0;
}

.section-box .section-content {
    background: var(--white);
}

.mapa {
    position: relative;
}

.mapa .mapa-facutlad {
    width: 100%;
}

.mapa .mapa-facultad-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: var(--spacing-md);
    background-color: var(--white);
}

.mapa-facultad-overlay a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mapa-facultad-overlay a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* ============================================
   TARJETAS (CARDS)
   ============================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    align-items: stretch;
    width: 100%;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: var(--spacing-md);
    transition: all var(--transition-normal), box-shadow var(--transition-normal);
    border-left: 4px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-blue);
}

.card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
    flex-shrink: 0;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: width var(--transition-normal);
}

.card:hover .card-header::after {
    width: 100%;
}

.card-header-icon {
    width: 4rem;
    height: 4rem;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.card-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-gray);
    letter-spacing: -0.5px;
    flex: 1;
    min-width: 200px;
}

.card-header h4 {
    width: 100%;
    margin: var(--spacing-xs) 0 0 0;
    font-size: 1rem;
    order: 3;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-item {
    margin-bottom: var(--spacing-sm);
}

.card-item .card-item-title {
    font-weight: bold;
    color: var(--primary-blue-dark);
    position: relative;
    padding-left: 1.75rem;
}

.card-item .card-item-title img {
    width: 1.5rem;
    position: absolute;
    left: -0.25rem;
}

.card-item .card-item-text {
    padding-left: 1.75rem;
}

.card-personal-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid transparent;
    margin-bottom: var(--spacing-sm);
}

.card-personal-tag .personal-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.card-personal-tag .personal-name {
    margin-bottom: 5px;
    color: #2c3e50;
    font-size: medium;
    font-weight: bolder;
}

.card-highlight {
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: block;
    text-align: left;
    padding: 0 var(--spacing-md);
    flex-grow: 1;
}

.card-footer {
    margin-top: auto;
    padding-top: var(--spacing-sm);
}

.card a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.card a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.card a.btn-link {
    color: var(--white);
}

/* ============================================
   BADGES Y VARIANTES DE CARDS
   ============================================ */
.badge {
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
}

.card-electronica {
    border-left-color: var(--area-electronica-dark);
    background: linear-gradient(to right, var(--area-electronica-light), var(--white));
}

.card-electronica:hover {
    border-color: var(--area-electronica-dark);
}

.card-electronica .card-header::after {
    background: var(--area-electronica-darker);
}

.card-electronica .badge {
    background: var(--area-electronica-darker);
}

.card-electromagnetismo {
    border-left-color: var(--area-electromagnetismo-dark);
    background: linear-gradient(to right, var(--area-electromagnetismo-light), var(--white));
}

.card-electromagnetismo:hover {
    border-color: var(--area-electromagnetismo-dark);
}

.card-electromagnetismo .card-header::after {
    background: var(--area-electromagnetismo-darker);
}

.card-electromagnetismo .badge {
    background: var(--area-electromagnetismo-darker);
}

/* ============================================
   BOTONES
   ============================================ */
.btn-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-normal);
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-link:hover {
    background-color: var(--primary-blue-dark);
}

/* ============================================
   FOOTER
   ============================================ */
footer.site-footer {
    background-color: var(--primary-blue-dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

/* Logo del footer */
.footer-logo {
    margin-bottom: var(--spacing-xs);
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-normal);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

/* Información de copyright */
.footer-info {
    text-align: center;
    max-width: 800px;
    line-height: 1.6;
}

.footer-info .copyright {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Navegación de enlaces legales */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 600px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    position: relative;
    white-space: nowrap;
}

.footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-blue);
}

.footer-links a:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

/* Línea decorativa bajo enlaces al hover */
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-blue);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.footer-links a:hover::after {
    width: 80%;
}

/* Separador entre enlaces en vista horizontal */
.footer-links a:not(:last-child)::before {
    content: "|";
    position: absolute;
    right: -12px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* ============================================
   NOTICIAS
   ============================================ */
.section.noticia {
    font-size: larger;
}

.section.noticia .section-content {
    all: initial;
    display: block;
    font-family: inherit;
    color: inherit;
    box-sizing: border-box;
    width: 100%;
}

.section.noticia .section-content * {
    all: revert;
    box-sizing: border-box;
}

.section.noticia .section-content h1 {
    color: var(--primary-blue);
    font-size: 2em;
    margin: 0.67em 0;
    font-weight: bold;
}

.section.noticia .section-content h2 {
    color: var(--primary-blue);
    font-size: 1.5em;
    margin: 0.83em 0;
    font-weight: bold;
}

.section.noticia .section-content h3 {
    color: var(--primary-blue);
    font-size: 1.17em;
    margin: 1em 0;
    font-weight: bold;
}

.section.noticia .section-content div {
    margin: 1em 0;
    line-height: 1.5;
    text-align: justify;
}

.section.noticia .section-content ol,
.section.noticia .section-content ul {
    margin: 1em 0;
    padding-left: 40px;
}

.section.noticia .section-content a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.section.noticia .section-content b,
.section.noticia .section-content strong {
    font-weight: bold;
}

.section.noticia .section-content i,
.section.noticia .section-content em {
    font-style: italic;
}

.section.noticia .section-content u {
    text-decoration: underline;
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section-content {
        flex-direction: column;
    }
    
    .section-content img.text-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 20px;
    }
    
    .text-content {
        width: 100%;
    }
    
    .cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    /* Footer tablet */
    footer.site-footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer-container {
        gap: var(--spacing-md);
    }
    
    .footer-logo img {
        max-width: 160px;
    }
    
    .footer-info .copyright {
        font-size: 0.9rem;
        padding: 0 var(--spacing-sm);
    }
    
    .footer-links {
        gap: var(--spacing-sm);
        padding-top: var(--spacing-sm);
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Tablet pequeña (576px - 768px) */
@media (max-width: 768px) {
    /* Header responsive - MODIFICADO */
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: var(--spacing-sm);
        order: 1;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        text-align: center;
        flex-grow: 1;
        margin: 0 var(--spacing-sm);
        order: 2;
    }
    
    .logo-box:first-child {
        order: 1;
    }
    
    .logo-box:last-child {
        order: 3;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
        align-self: flex-end;
        margin-top: var(--spacing-sm);
    }
    
    nav {
        order: 3;
        width: 100%;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-blue);
        position: absolute;
        top: 100%;
        left: 0;
        padding: var(--spacing-sm);
        box-shadow: var(--shadow-heavy);
        z-index: 999;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: var(--spacing-sm);
        text-align: center;
    }
    
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .section-footer {
        text-align: center;
    }
    
    /* Footer tablet pequeña */
    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        margin: 0.25rem;
    }
    
    .footer-info .copyright {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Móvil (hasta 576px) */
@media (max-width: 576px) {
    body {
        font-size: 15px;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    /* Header móvil */
    .logo h1 {
        font-size: 1.2rem;
        margin: 0 var(--spacing-xs);
        line-height: 1.3;
    }
    
    .logo-box {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .menu-toggle {
        margin-top: var(--spacing-xs);
    }
    
    .hero {
        padding: var(--spacing-md) 0;
        margin-bottom: var(--spacing-md);
        border-radius: 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section {
        margin-bottom: var(--spacing-lg);
        padding-bottom: var(--spacing-md);
    }
    
    .section h2 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .card {
        padding: var(--spacing-sm);
    }
    
    .btn-link {
        width: 100%;
        text-align: center;
    }
    
    /* Footer móvil */
    footer.site-footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
        margin-top: var(--spacing-lg);
    }
    
    .footer-container {
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }
    
    .footer-logo img {
        max-width: 140px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
        padding-top: var(--spacing-sm);
    }
    
    /* Eliminar separadores verticales en disposición vertical */
    .footer-links a::before {
        content: none !important;
    }
    
    .footer-links a {
        padding: 0.6rem 1.2rem;
        text-align: center;
        min-width: 180px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: var(--border-radius);
        width: 100%;
        max-width: 250px;
        box-sizing: border-box;
    }
    
    .footer-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
    }
    
    .footer-info .copyright {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0;
    }
}

/* Móvil pequeño (hasta 400px) */
@media (max-width: 400px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo-box {
        width: 35px;
        height: 35px;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .section h2 {
        font-size: 1.2rem;
    }
    
    .text-content p {
        text-align: left;
    }
    
    /* Footer móvil pequeño */
    .footer-logo img {
        max-width: 120px;
    }
    
    .footer-info .copyright {
        font-size: 0.75rem;
    }
    
    .footer-links a {
        min-width: 160px;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   ACCESIBILIDAD Y TEMAS DEL SISTEMA
   ============================================ */

/* Ajustes para alto contraste */
@media (prefers-contrast: high) {
    footer.site-footer {
        background-color: #000;
        border-top: 3px solid #fff;
    }
    
    .footer-links a {
        color: #fff;
        text-decoration: underline;
        border: 1px solid #fff;
    }
    
    .footer-links a:hover {
        background-color: #fff;
        color: #000;
    }
}

/* Ajustes para modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
    footer.site-footer {
        background-color: #1a252f;
    }
    
    .footer-info .copyright {
        color: #95a5a6;
    }
    
    .footer-links a {
        color: #ecf0f1;
    }
    
    .footer-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #3498db;
    }
}