/* --- REGISTRO DE FUENTES --- */
@font-face { font-family: 'Poppins'; src: url('../FONT/Poppins/Poppins-Regular.ttf') format('truetype'); font-weight: 400; }
@font-face { font-family: 'Poppins'; src: url('../FONT/Poppins/Poppins-Bold.ttf') format('truetype'); font-weight: 700; }
@font-face { font-family: 'Poppins'; src: url('../FONT/Poppins/Poppins-Medium.ttf') format('truetype'); font-weight: 500; }

/* --- BASE --- */
body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    font-family: 'Poppins', sans-serif;
    color: #F4F0EC;
}

/* --- HEADER REPLICADO --- */
header {
    background-color: rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    padding: 0 12%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 70px;
}

.icono {
    width: 80px;
    height: 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
}

.icono img { height: 100%; width: auto; }
.icono:hover { width: 450px; }

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav ul li a {
    color: #F4F0EC;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover { color: #D9352A; }

/* --- SECCIÓN TÍTULO (Estilo Landscape) --- */
.container-legal-header {
    padding-top: 150px;
    margin-bottom: 50px;
}

.landscape-tittle {
    margin: 0 10%;
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}

.last-update {
    margin: 10px 10%;
    font-size: 20px;
    color: #D9352A;
}

/* --- CONTENEDOR DE TEXTO (CORREGIDO ANCHO) --- */
.contenedor-principal-legal {
    display: flex;
    justify-content: flex-start;
    padding: 0 10% 100px 10%; /* Alineado con el título */
}

.caja-legal {
    width: 100%; /* Ahora ocupa todo el ancho disponible del margen */
    max-width: 1200px; /* Un ancho máximo generoso */
    background-color: rgba(37, 37, 37, 0.4);
    backdrop-filter: blur(10px);
    border: solid 2px rgba(244, 240, 236, 0.1);
    border-radius: 15px;
    padding: 50px;
    box-sizing: border-box;
}

h2 {
    color: #D9352A;
    font-size: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    font-size: 20px;
    line-height: 1.6;
    color: #F4F0EC;
    text-align: justify;
    max-width: none; /* Eliminamos restricciones de ancho de párrafo */
}

/* --- FOOTER --- */
footer {
    background-color: #252525; /* Fondo gris como el de tu equipo */
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.perfil_social_media {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.perfil_social_media img {
    width: 25px;
    transition: transform 0.3s;
}

.perfil_social_media img:hover { transform: scale(1.5); }

.footer-p {
    text-align: center;
    color: #F4F0EC;
}

.link-volver {
    color: #D9352A;
    text-decoration: none;
    font-weight: bold;
}