/* Legal Pages Styles - Based on Quienes Somos format */
.legal-notice-page {
    background-color: #000;
    min-height: 100vh;
}

.accessibility-page {
    background-color: #000;
    min-height: 100vh;
}

.cookie-policy-page {
    background-color: #000;
    min-height: 100vh;
}

/* Hero Section - Fondo Negro */
.legal-hero-section {
    background-color: #000000;
    padding: 120px 0 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

/* Label de sección */
.section-label {
    margin-bottom: 3rem;
}

.label-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 7%;
    color: rgba(186, 255, 41, 1);
    text-transform: uppercase;
}

/* Título principal */
.hero-title-container {
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 74px;
    letter-spacing: -3%;
    color: #ffffff;
    margin: 0;
}

/* Descripción hero */
.hero-description {
    margin-top: 2rem;
}

.description-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    leading-trim: none;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin: 0;
}

.description-text p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    leading-trim: none;
    line-height: 100%;
    letter-spacing: 0%;
}

/* Contenido legal principal */
.legal-content-section {
    background-color: #000000;
    padding: 80px 0;
}

.legal-content {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #ffffff;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: rgba(186, 255, 41, 1);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h1 {
    font-size: 32px;
    line-height: 40px;
}

.legal-content h2 {
    font-size: 28px;
    line-height: 36px;
}

.legal-content h3 {
    font-size: 24px;
    line-height: 32px;
}

.legal-content h4 {
    font-size: 20px;
    line-height: 28px;
}

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

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

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

.legal-content a {
    color: rgba(186, 255, 41, 1);
    text-decoration: underline;
    text-decoration-color: rgba(186, 255, 41, 1);
    text-decoration-thickness: 1px;
    transition: opacity 0.3s ease;
}

.legal-content a:hover {
    opacity: 0.8;
    color: rgba(186, 255, 41, 1);
}

.legal-content strong {
    color: rgba(186, 255, 41, 1);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 48px;
        line-height: 60px;
    }
    
    .description-text {
        font-size: 28px;
    }
    
    .legal-content {
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .legal-hero-section {
        padding: 100px 0 60px 0;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 52px;
    }
    
    .description-text {
        font-size: 24px;
    }
    
    .legal-content {
        font-size: 14px;
        line-height: 150%;
    }
    
    .legal-content h1 {
        font-size: 28px;
        line-height: 36px;
    }
    
    .legal-content h2 {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 767px) {
    .legal-hero-section {
        padding: 80px 0 40px 0;
    }
    
    .legal-content-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .description-text {
        font-size: 20px;
    }
    
    .label-text {
        font-size: 14px;
    }
    
    .legal-content {
        font-size: 13px;
        line-height: 160%;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 36px;
    }
    
    .description-text {
        font-size: 16px;
    }
    
    .legal-content {
        font-size: 12px;
    }
}

/* Estilos específicos para elementos obsoletos que ya estaban */
.header-small {
    display: none; /* Ocultamos el header pequeño para usar el nuevo formato */
}

.separator-line {
    display: none; /* Ocultamos la línea separadora */
}

.legal-intro-section {
    display: none; /* Ocultamos la sección antigua */
}
