/* Páginas legales — cookies, privacidad, aviso legal */

.legal-hero {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    color: var(--text-light);
    padding: clamp(6.5rem, 12vw, 7.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 0.85rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.18);
    line-height: 1.2;
}

.legal-hero .subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    opacity: 0.95;
    max-width: 44rem;
    margin: 0 auto;
    line-height: 1.55;
}

.legal-hero .legal-updated {
    margin-top: 1rem;
    font-size: 0.88rem;
    opacity: 0.88;
}

.legal-content {
    background: var(--background-white);
    padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(3rem, 6vw, 4rem);
}

.legal-content-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 10px 40px var(--shadow-light);
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.legal-content-card:hover {
    box-shadow: 0 15px 50px var(--shadow-medium);
    transform: translateY(-3px);
}

.legal-content-card h2 {
    color: var(--text-dark);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.85rem;
}

.legal-content-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.legal-content-card h3 {
    color: var(--accent-orange);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content-card p,
.legal-content-card li {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.legal-content-card ul {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0;
}

.legal-content-card ul li {
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    background: var(--background-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
}

.legal-content-card ul li strong {
    color: var(--accent-orange);
}

.legal-owner-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 1rem;
}

.legal-owner-table th,
.legal-owner-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

.legal-owner-table th {
    width: 38%;
    color: var(--text-dark);
    font-weight: 600;
    background: var(--background-light);
}

.legal-highlight-box {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.08));
    border: 2px solid var(--accent-green);
    border-radius: 15px;
    padding: clamp(1.25rem, 3vw, 2rem);
    margin: 1.5rem 0;
    text-align: center;
}

.legal-highlight-box h3 {
    color: var(--accent-green);
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
    margin-bottom: 0.65rem;
}

.legal-info-box {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.06), rgba(255, 215, 0, 0.06));
    border-left: 4px solid var(--accent-orange);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}

.legal-numbered-section {
    position: relative;
    padding: 0 1rem 0 3.25rem;
}

.legal-numbered-section::before {
    content: attr(data-number);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.legal-cta-section {
    text-align: center;
    padding: 2rem 0 0.5rem;
}

.legal-cta-section .btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.45);
    color: #fff;
}

.legal-inline-links a {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-inline-links a:hover {
    color: #c45a1a;
}

@media (max-width: 768px) {
    .legal-owner-table th,
    .legal-owner-table td {
        display: block;
        width: 100%;
    }

    .legal-owner-table th {
        border-bottom: none;
        padding-bottom: 0.35rem;
    }

    .legal-numbered-section {
        padding-left: 2.85rem;
    }

    .legal-numbered-section::before {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.9rem;
    }
}
