/* ===========================
   ESTILOS LEGALES / COOKIES / PRIVACY
=========================== */

/* Contenedor general */
#legal-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #fff;
    overflow-x: hidden;
}

/* Fondo con imagen + capa oscura */
#legal-container::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('/images/logo2.jpg') no-repeat center center / cover;
    filter: brightness(0.2);
    z-index: -2;
}

#legal-container::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

/* Header */
#legal-header {
    background: linear-gradient(70deg, #30e8bf, #000000);
    color: #fff;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2; /* evita quedar detrás del menú */
}

/* Icono pequeño y centrado */
#legal-icon {
    width: 36px !important;
    height: 36px !important;
    margin: 0 auto 10px auto !important;
    display: block !important;
}

#legal-icon svg {
    width: 100% !important;
    height: 100% !important;
    fill: #fff !important;
}

/* Título y subtítulo */
#legal-header h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    color: #fff;
}

#legal-header p {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
    color: #f9f9f9;
}

/* Contenido principal centrado */
#legal-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 16px;
    position: relative;
    z-index: 1;
}

/* Artículo principal */
#legal-article {
    max-width: 760px;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    color: #fff;
    line-height: 1.6;
    text-align: center !important;
    backdrop-filter: blur(8px);
}

/* Encabezados dentro del artículo */
#legal-article h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #30e8bf;
}

/* Listas centradas */
#legal-article ul {
    list-style: none;
    padding: 0;
    margin: 12px auto;
    display: inline-block;
    text-align: left;
}

#legal-article ul li {
    margin: 6px 0;
    position: relative;
    padding-left: 18px;
    color: #30e8bf;
}

#legal-article ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #30e8bf;
}

/* Footer */
#legal-footer {
    background: rgba(0,0,0,0.75);
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #30e8bf;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    #legal-article {
        padding: 20px;
        margin-top: 20px;
    }
}
