/* ============================================================
   AVISO LEGAL - SPECIFIC STYLES
   Prefix: legal-page-
   ============================================================ */

:root {
    --legal-primary: #ff7a18;
    --legal-secondary: #ec4899;
    --legal-text-main: #1f2933;
    --legal-text-muted: #4b5563;
    --legal-bg-light: #f8fafc;
    --legal-border: #e2e8f0;
    --legal-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --legal-radius: 20px;
}

/* HERO SECTION */
.legal-page-hero {
    padding: 80px 0;
    background: radial-gradient(circle at top right, rgba(255, 122, 24, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.legal-page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.legal-page-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--legal-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.legal-page-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--legal-text-main);
}

.legal-page-hero .highlight {
    background: linear-gradient(90deg, var(--legal-primary), var(--legal-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-page-hero p {
    font-size: 1.1rem;
    color: var(--legal-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.legal-page-hero-buttons {
    display: flex;
    gap: 16px;
}

.legal-page-hero-image {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* BODY LAYOUT */
.legal-page-content-section {
    padding: 100px 0;
}

.legal-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* SIDEBAR STICKY */
.legal-sidebar {
    position: sticky;
    top: 100px;
}

.legal-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--legal-border);
}

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

.legal-sidebar-nav a {
    display: block;
    padding: 10px 24px;
    text-decoration: none;
    color: var(--legal-text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    margin-left: -2px;
}

.legal-sidebar-nav a:hover {
    color: var(--legal-primary);
}

.legal-sidebar-nav li.active a {
    color: var(--legal-primary);
    border-left: 2px solid var(--legal-primary);
}

/* LEGAL CARDS */
.legal-content-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.legal-section-card {
    background: white;
    padding: 50px;
    border-radius: var(--legal-radius);
    border: 1px solid var(--legal-border);
    box-shadow: var(--legal-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.legal-section-card:hover {
    border-color: rgba(255, 122, 24, 0.2);
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.legal-section-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 122, 24, 0.1);
    color: var(--legal-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
}

.legal-section-card h2 {
    font-size: 1.8rem;
    color: var(--legal-text-main);
}

.legal-section-body {
    color: var(--legal-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-section-body p {
    margin-bottom: 20px;
}

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

/* BADGES */
.legal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.legal-badge {
    padding: 6px 14px;
    background: var(--legal-bg-light);
    border: 1px solid var(--legal-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--legal-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* LISTS & CALLOUTS */
.legal-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.legal-check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
}

.legal-check-list li::before {
    content: '\eb7a'; /* boxicons check */
    font-family: 'boxicons';
    position: absolute;
    left: 0;
    color: var(--legal-primary);
    font-size: 20px;
}

.legal-callout {
    background: var(--legal-bg-light);
    border-left: 4px solid var(--legal-primary);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
}

/* FOOTER CTA */
.legal-footer-cta {
    padding: 80px 0;
    background: #0f172a; /* Deep dark for contrast */
    color: white;
    text-align: center;
    border-radius: 40px;
    margin: 0 24px 100px;
    position: relative;
    overflow: hidden;
}

.legal-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.1) 0%, transparent 70%);
}

.legal-footer-cta .container {
    position: relative;
    z-index: 1;
}

.legal-footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.legal-footer-cta p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

.legal-footer-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .legal-page-layout {
        grid-template-columns: 1fr;
    }
    .legal-sidebar {
        display: none; /* Hide sidebar on mobile or move to top */
    }
    .legal-page-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .legal-page-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .legal-page-hero-buttons {
        justify-content: center;
    }
    .legal-page-hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .legal-section-card {
        padding: 30px;
    }
    .legal-footer-cta {
        margin: 0 16px 60px;
        padding: 60px 20px;
    }
    .legal-footer-cta h2 {
        font-size: 2rem;
    }
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
