/* ============================================================
   BANNER DE COOKIES — FONDO CLARO
   ============================================================ */

#banner-cookies {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 18px 40px;
    z-index: 100000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.banner-cookies-contenido {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.banner-cookies-texto {
    flex: 1 1 400px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.banner-cookies-texto a {
    color: #111;
    text-decoration: underline;
}

.banner-cookies-botones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.banner-cookies-botones button {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 22px;
    cursor: pointer;
    border: 1px solid #111;
    transition: all 0.2s ease;
    border-radius: 0;
}

#btn-aceptar-cookies {
    background: #111;
    color: #fff;
}

#btn-aceptar-cookies:hover {
    background: #333;
}

#btn-rechazar-cookies {
    background: transparent;
    color: #111;
}

#btn-rechazar-cookies:hover {
    background: #f0f0f0;
}

.enlace-cookies {
    background: none;
    border: none;
    color: #999;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    letter-spacing: 1px;
}

.enlace-cookies:hover {
    color: #111;
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */

.legal {
    max-width: 700px;
    margin: 40px auto 60px auto;
    padding: 0 40px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.legal h3 {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    margin-top: 40px;
    margin-bottom: 12px;
    font-weight: 500;
}

.legal p {
    margin-bottom: 16px;
    text-align: left;
}

.legal ul {
    margin-bottom: 16px;
    padding-left: 22px;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: #111;
    text-decoration: underline;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
}

.legal th,
.legal td {
    border: 1px solid #e5e5e5;
    padding: 10px;
    text-align: left;
}

.legal th {
    background: #f5f5f5;
    color: #111;
    font-weight: 500;
}

/* ============================================================
   PÁGINA 404
   ============================================================ */

.error-404 {
    text-align: center;
    max-width: 700px;
    margin: 80px auto;
    padding: 0 20px;
}

.error-codigo {
    font-size: 120px;
    font-weight: 200;
    color: #ddd;
    margin: 0;
    line-height: 1;
    letter-spacing: 8px;
}

.error-mensaje {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 30px 0 40px 0;
}

.error-botones {
    margin-top: 30px;
}

.boton-volver {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 30px;
    text-decoration: none;
    transition: background 0.2s ease;
    border-radius: 0;
}

.boton-volver:hover {
    background: #333;
}

@media (max-width: 768px) {
    #banner-cookies {
        padding: 15px 20px;
    }

    .banner-cookies-contenido {
        flex-direction: column;
        align-items: stretch;
    }

    .banner-cookies-botones {
        justify-content: center;
    }

    .banner-cookies-botones button {
        flex: 1;
    }

    .legal {
        font-size: 14px;
        margin: 20px auto 40px auto;
        padding: 0 20px;
    }

    .error-codigo {
        font-size: 80px;
        letter-spacing: 4px;
    }

    .error-404 {
        margin: 50px auto;
    }
}