/* Página legal: misma identidad visual, lectura serena y sin animaciones. */

.legal-page {
    background: #f7f7f7;
}

.legal-hero {
    min-height: 390px;
    padding: 1.7rem 2rem 5rem;
    color: var(--white);
    background:
        radial-gradient(circle at 75% 12%, rgba(220, 38, 38, 0.13), transparent 34%),
        radial-gradient(ellipse at 50% 25%, #3d3d3d 15%, #292929 100%);
}

.legal-brand {
    width: min(100%, var(--canvas));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.legal-brand:hover {
    color: var(--white);
    text-decoration: none;
}

.legal-brand svg {
    width: 20px;
    height: auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
}

.legal-hero-inner {
    width: min(100%, var(--content));
    margin: 6rem auto 0;
}

.legal-overline {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 6vw, 3.7rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.legal-lead {
    max-width: 640px;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    line-height: 1.65;
}

.legal-content {
    width: min(calc(100% - 3rem), 840px);
    margin: -2.7rem auto 6rem;
    padding: clamp(2rem, 5vw, 4.6rem);
    background: var(--white);
    border: 1px solid rgba(220, 38, 38, 0.055);
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    position: relative;
}

.legal-updated {
    margin-bottom: 3rem;
    color: #858585;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.legal-content section + section {
    margin-top: 3.25rem;
}

.legal-content h2 {
    margin-bottom: 1.1rem;
    color: #2f2f2f;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.018em;
}

.legal-content p,
.legal-content address {
    color: #555555;
    font-size: 16px;
    line-height: 1.78;
}

.legal-content p + p {
    margin-top: 1rem;
}

.legal-content a {
    font-weight: 550;
    text-decoration: underline;
    text-decoration-color: rgba(220, 38, 38, 0.34);
    text-underline-offset: 0.16em;
}

.legal-contact-card,
.legal-authority {
    margin-top: 1rem;
    padding: 1.35rem 1.5rem;
    background: rgba(220, 38, 38, 0.025);
    border-left: 3px solid var(--red);
    border-radius: 0 6px 6px 0;
    font-style: normal;
}

.legal-url {
    font-size: 0.92em;
    overflow-wrap: anywhere;
}

.legal-objection {
    padding: 1.5rem;
    background: #f7f7f7;
    border-radius: 7px;
}

.legal-objection h2 {
    margin-bottom: 0.75rem;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 4rem;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none !important;
}

.legal-back-link::before {
    content: "←";
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.legal-back-link:hover::before {
    transform: translateX(-3px);
}

.legal-footer {
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
}

.legal-footer-inner {
    width: min(100%, var(--canvas));
    margin: 0 auto;
}

.legal-footer-inner > p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 650;
}

.legal-footer .footer-legal-nav {
    margin-top: 1.4rem;
    padding-top: 1rem;
}

.legal-footer [aria-current="page"] {
    color: var(--white);
}

@media (max-width: 768px) {
    .legal-hero {
        min-height: 340px;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .legal-hero-inner {
        margin-top: 4.5rem;
    }

    .legal-content {
        width: min(calc(100% - 2rem), 840px);
        margin-bottom: 4rem;
    }

    .legal-content section + section {
        margin-top: 2.7rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        min-height: 320px;
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .legal-brand {
        font-size: 13px;
    }

    .legal-content {
        width: calc(100% - 1.2rem);
        margin-top: -2rem;
        padding: 2rem 1.35rem 2.5rem;
        border-radius: 7px;
    }

    .legal-content p,
    .legal-content address {
        font-size: 15px;
        line-height: 1.72;
    }

    .legal-contact-card,
    .legal-authority {
        padding: 1.1rem 1rem;
    }

    .legal-footer {
        padding: 2.8rem 1.2rem;
    }
}
