/* CSS específico para la página de Políticas de Privacidad */

/* Estilos para el encabezado de la página */
.page-header {
    background-color: var(--light-bg);
    padding: 80px 0 40px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-family: "Playfair Display", serif;
    font-size: 50px;
    color: var(--accent-dark);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--primary-dark);
    font-size: 16px;
}

/* Contenido legal */
.legal-content {
    padding: 0 0 80px;
}

.legal-section {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.legal-section:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.legal-section h2 {
    color: var(--accent-color);
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.legal-section h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 5px;
    list-style: none;
}

.legal-section ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.legal-section strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Botón de volver arriba */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Índice de contenidos */
.content-index {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.content-index h3 {
    font-family: "Playfair Display", serif;
    color: var(--accent-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.content-index ul {
    list-style: none;
    padding-left: 0;
}

.content-index ul li {
    margin-bottom: 10px;
    padding-left: 0;
}

.content-index ul li a {
    color: var(--secondary-color);
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
}

.content-index ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.content-index ul li a::before {
    content: "→";
    margin-right: 8px;
    color: var(--primary-color);
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .page-header {
        padding: 70px 0 30px;
    }
    
    .page-header h1 {
        font-size: 40px;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 25px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .legal-section {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 50px 0 20px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .legal-section {
        padding: 15px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section ul li {
        padding-left: 20px;
    }
}