 body {
    font-family: Arial, sans-serif;
    background-color: #0B1026; 
    margin: 0;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container-legal {
    max-width: 750px;
    width: 100%;
    background: #ffffff; 
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

h1 {
   
    color: #0B1026; 
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 700;
}

h2 {
   
    color: #0B1026; 
    font-size: 18px;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 8px;
    font-weight: 600;
}

p {
    color: #4a5568; 
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

li {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.btn-regresar {
    display: inline-block;
    background-color: #1E3DFF; 
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    margin-top: 30px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-regresar:hover {
      background-color: #0022cc; 
    transform: translateY(-1px);
}

.btn-subir-gris {
    display: none; /* Oculto por defecto, JS lo muestra al bajar */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #1E3DFF; /* Gris sutil de fondo */
    color: #ffffff; /* Tu color principal para el icono */
    cursor: pointer;
    padding: 15px;
    border-radius: 50%; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

.btn-subir-gris:hover {
    background-color: #001fcc;
    
    transform: translateY(-3px); 
}

.icon-fa-subir {
    font-size: 18px;
}
