/* ── Estilos Premium para Páginas Legales ────────────────── */

.legal-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--beige-dark);
}

.legal-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: blur(2px);
    animation: slowZoom 20s infinite alternate ease-in-out;
}

.legal-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.legal-hero__eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--terra);
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0;
    animation: fadeInDown 0.8s forwards 0.2s;
}

.legal-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--text-dark);
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.4s;
}

.legal-container {
    max-width: 1000px;
    margin: -80px auto 100px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.legal-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    padding: 60px 80px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.6s;
}

.legal-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--terra);
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    border-bottom: 1px solid var(--beige);
    padding-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
}

.legal-content strong {
    color: var(--green-dark);
}

/* Animaciones */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Responsive */
@media(max-width: 768px) {
    .legal-hero { height: 250px; }
    .legal-hero__title { font-size: 2.2rem; }
    .legal-card { padding: 40px 30px; margin-top: -40px; }
    .legal-container { margin-bottom: 60px; }
}
