
/* =========================
   HERO
========================= */
.legal-hero {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #1a1206 55%, #000 100%);
    border-bottom: 1px solid rgba(242, 169, 0, 0.25);
}

.legal-eyebrow {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #dd910d;
    margin-bottom: 8px;
}

.legal-updated {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #a8a8a8;
    margin-top: 10px;
}

/* =========================
   CONTENIDO LEGAL
========================= */

.legal-overlay h1 {
    font-family: 'Alegreya', serif;
    font-size: 4rem;
    color: #dd910d;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.legal-page {
    background: #000;
    padding-bottom: 60px;
}

main.container {
    margin-top: 0;
}

.legal-contenido {
    margin-top: 2rem;
}

/* Cajas */
.legal-box {
    background: #111;
    padding: 2rem;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.8);
}

/* Subtítulos */
.legal-subtitulo {
    font-family: 'Alegreya', serif;
    font-size: 1.6rem;
    color: #dd910d;
    margin-bottom: 1rem;
    position: relative;
}

/* Línea decorativa */
.legal-subtitulo::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #dd910d;
    margin-top: 8px;
}

/* Párrafos */
.legal-box p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ddd;
    text-align: justify;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-link {
    color: #dd910d;
    text-decoration: underline;
    text-decoration-color: rgba(242, 169, 0, 0.4);
}

.legal-link:hover {
    color: #ffc94d;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .legal-hero {
        height: 300px;
    }

    .legal-overlay h1 {
        font-size: 2.6rem;
        text-align: center;
    }

    main.container {
        margin-top: 40px;
    }

    .legal-box {
        padding: 1.5rem;
    }
}