    /* Variables globales, fuentes y reseteo de estilos basicos */
.container-header {
    max-width: 56.25rem;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: center; /* En PC centrado */
    align-items: center;
    position: relative;
}


header a{
    width: 8rem;
    text-align: center;
    display: block;
}

.container-header {
    max-width: 56.25rem;
    margin: 0 auto;
    width: 90%;
    padding: 0.5rem 0 0 0;
}

/* BARRA DE NAVEGACIÓN FIJA */
.header-principal {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95); /* Casi opaco para legibilidad */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borde);
    padding: 0.1rem 0;
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem; /* Más espacio entre foto y nombre */
    padding: 2rem;
}


.nav-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.foto-perfil {
    width: 10rem; /* Un poco más grande para que destaque */
    height: 10rem;
    border-radius: 50%;
    border: 4px solid var(--borde);
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* Sombra para profundidad */
    object-fit: cover;
}

.texto-perfil h1 {
    font-size: 2.5rem; /* Nombre más imponente */
    margin: 0;
    text-align: left;
}

.texto-perfil p {
    font-size: 1.2rem;
    color: #aaa;
    margin: 0;
    text-align: left;
}

.seccion-perfil {
    max-width: 56.25rem;
    margin: 2rem auto;
    background: none; /* Quitamos el fondo de tarjeta para que se vea integrado */
    border: none;     /* Sin bordes para un look más limpio */
    padding: 0;       /* Sin padding extra */
}

.texto-perfil {
    text-align: left;
}

.texto-perfil h1, .texto-perfil p {
    text-align: left; /* Sobrescribe el centrado general que tenías en base.css */
    margin: 0;
}

header p {
    color: #aaa;
}

nav {
    display: flex;
    justify-content: center;
    gap: 1.9rem;
    width: 100%;
    margin-bottom: 0.7rem;
}

nav a {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: #888;
}

nav a:hover {
    color: var(--color-texto);
}

    section {
    max-width: 56.25rem; 
    margin: 1.9rem auto;
    padding: 2.4rem;
    background-color: var(--fondo-tarjeta);
    border-radius: 0.8rem; 
    border: 0.1rem solid var(--borde);
    justify-content: center;
    
}

    /* --- Estilos base (Escritorio) --- */
.menu-toggle {
    display: none; /* Oculto en PC */
    background: none;
    border: none;
    color: var(--color-texto);
    font-size: 2rem;
    cursor: pointer;
}

/* Solo visible en móvil */
.logo-movil {
    display: none;
}

    /* =========================================
    RESPONSIVE - TABLETAS (768px)
    ========================================= */

@media (max-width: 768px) {
    .info-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .texto-perfil h1, .texto-perfil p {
        text-align: center;
    }
}

    /* =========================================
    RESPONSIVE - CELULARES (425px)
    ========================================= */
@media (max-width: 425px) {
    .info-header {
        flex-direction: column; /* Foto arriba, texto abajo */
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .foto-perfil {
        width: 7rem; /* Reducimos el tamaño de la foto */
        height: 7rem;
    }

    .texto-perfil {
        text-align: center; /* Centramos el nombre y cargo */
    }

    .texto-perfil h1 {
        text-align: center;
        font-size: 1.8rem; /* Tamaño de letra más cómodo para móvil */
    }

    .texto-perfil p {
        text-align: center;
        font-size: 1rem;
    }
    
    /* 1. Header más compacto */
    .header-principal {
        display: flex;
        justify-content: flex-end; /* Mueve el botón a la derecha */
        height: 60px; /* Altura fija para que no sea gigante */
        align-items: center;
    }

    section {
        padding: 0.5rem; /* Menos espacio interno para ganar ancho de lectura */
        margin: 1rem auto;
        width: 95%; /* Que ocupe casi toda la pantalla */
    }

    /* 2. El Botón Hamburguesa */
    .menu-toggle {
        display: block; /* Ahora sí se verá */
        background: #222;
        border: 1px solid var(--borde);
        border-radius: 8px;
        width: 45px;
        height: 40px;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 1001; /* Por encima de todo */
        margin-top: 0;
    }

    /* 3. El Menú Desplegable */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 60px; 
        right: 0;
        width: 100%; 
        background-color: rgba(15, 15, 15, 0.98);
        border-bottom: 1px solid var(--borde);
        z-index: 1000;
        padding: 1rem 0 0 0;
        gap: 1rem;
    }

    /* 1. Contenedor: Alineamos el botón a la derecha */
    .container-header {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        width: 100%;
        padding: 0;
        height: 60px;
        position: relative; /* Necesario para que el menú se alinee con este contenedor */
    }

    /* La clase que activa el JS */
    .nav-links.activo {
        display: flex !important; /* Forzamos que se muestre cuando se active */
    }

    .nav-links a {
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0; /* Quitamos márgenes que puedan mover el texto */
    }


    .logo-movil {
        display: block;
        margin-right: auto;
        padding-left: 0.5rem;
    }
    
    .insignia-arp {
        padding: 0.3rem 0.7rem;
        color: #fff;
        font-family: 'Courier New', Courier, monospace; /* Fuente mono para look técnico */
        font-weight: bold;
        font-size: 1rem;
        letter-spacing: 2px;
    }

}