/* === ESTILOS PARA PÁGINAS LEGALES === */

#contenido-legal {
    padding-top: 90px; /* Espacio para el header fijo */
    min-height: 100vh;
}

/* Header de las páginas legales */
#legal-header {
    /* background: linear-gradient(135deg, #22a29b 0%, #45b8b1 100%); */
    /* color: white; */
    text-align: center;
    padding: 80px 0 60px 0;
}

#legal-header .breadcrumb {
    max-width: 1296px;
    margin: auto;
    text-align: left;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 25px;
}


.breadcrumb {
    font-size: 16px;
    margin-bottom: 10px;
    color: #666;
}

.breadcrumb a {
    text-decoration: none;
    color: #45b8b1;
}

.breadcrumb span {
    color: #666;
}


.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.titulo-legal {
    font-family: 'KGHAPPYSolid', sans-serif;
    font-size: 55px;
    margin-bottom: 10px;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.3); */
}

.titulo-legal .o {
    display: inline-block;
    width: 50px;
    height: 64px;
    background-image: url('../img/Otexto.webp');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    text-indent: -9999px;
    margin: 0 5px;
}

.subtitulo-legal {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
    margin: 0;
}

/* Contenido principal */
.contenido-texto {
    max-width: 900px;
    margin: 0 auto;
    /* padding: 60px 20px; */
    line-height: 1.6;
}

.seccion-legal {
    margin-bottom: 50px;
}

.seccion-legal.intro {
    margin-bottom: 60px;
    text-align: center;
}

.texto-destacado {
    font-size: 20px;
    color: #3D3D3C;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #22a29b;
    margin: 0;
}

/* Títulos de sección */
.seccion-legal h2 {
    color: #000;
    font-size: 32px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.seccion-legal h3 {
    color: #000;
    font-size: 22px;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.seccion-legal h4 {
    color: #000;
    font-size: 18px;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

/* Listas */
.seccion-legal ul {
    margin: 15px 0;
    padding-left: 0;
}

.seccion-legal li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    list-style: none !important; 
}

.seccion-legal li::before {
    content: "•";
    color: #22a29b;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Información de empresa */
.info-empresa ul {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

.info-empresa li::before {
    content: "📍";
}

/* Grid para servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.servicio-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.servicio-item:hover {
    border-color: #22a29b;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(34, 162, 155, 0.2);
}

.servicio-item h4 {
    color: #22a29b;
    margin-bottom: 10px;
}

/* Información destacada */
.plazos-info, .calidad-section, .legislacion-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #22a29b;
}

/* Derechos grid */
.derechos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.derecho-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.derecho-item:hover {
    border-color: #22a29b;
    box-shadow: 0 3px 10px rgba(34, 162, 155, 0.1);
}

.derecho-item h4 {
    color: #22a29b;
    margin-bottom: 10px;
    font-size: 16px;
}

.derecho-item p {
    margin: 0;
    font-size: 14px;
}

.ejercer-derechos {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #bbdefb;
}

/* Información de contacto */
.contacto-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.contacto-info p {
    margin: 10px 0;
}

.contacto-info a {
    color: #22a29b;
    font-weight: 600;
}

/* === ESTILOS ESPECÍFICOS PARA ELIMINACIÓN DE DATOS === */

/* Tipos de datos */
.tipos-datos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tipo-dato {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.tipo-dato:hover {
    border-color: #22a29b;
    box-shadow: 0 3px 10px rgba(34, 162, 155, 0.1);
}

.tipo-dato h4 {
    color: #22a29b;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Sección importante */
.seccion-legal.importante {
    margin: 50px 0;
}

.limitaciones-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 25px;
}

.limitaciones-box ul li::before {
    content: "⚠️";
}

.nota-legal {
    font-style: italic;
    margin-top: 15px;
    color: #6c5b0d;
    font-weight: 500;
}

/* Formulario de eliminación */
.formulario-container {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.formulario-eliminacion .form-group {
    margin-bottom: 25px;
}

.formulario-eliminacion label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #3D3D3C;
}

.formulario-eliminacion input[type="text"],
.formulario-eliminacion input[type="email"],
.formulario-eliminacion input[type="tel"],
.formulario-eliminacion select,
.formulario-eliminacion textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.formulario-eliminacion input:focus,
.formulario-eliminacion select:focus,
.formulario-eliminacion textarea:focus {
    outline: none;
    border-color: #22a29b;
    box-shadow: 0 0 0 3px rgba(34, 162, 155, 0.1);
}

.formulario-eliminacion small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 14px;
}

/* Checkboxes personalizados */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background: #e9ecef;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #22a29b;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #22a29b;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-confirmacion {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #bbdefb;
}

/* Botón de enviar */
.btn-enviar {
    background: linear-gradient(135deg, #22a29b 0%, #45b8b1 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 30px auto 0 auto;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 162, 155, 0.4);
}

.btn-enviar:active {
    transform: translateY(0);
}

/* Tiempo de proceso */
.tiempo-proceso {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.paso-tiempo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.paso-tiempo .numero {
    width: 40px;
    height: 40px;
    background: #22a29b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.paso-tiempo .contenido h4 {
    margin: 0 0 5px 0;
    color: #22a29b;
}

.paso-tiempo .contenido p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* Opciones alternativas */
.opciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.opcion-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.opcion-card:hover {
    border-color: #22a29b;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(34, 162, 155, 0.2);
}

.opcion-card h4 {
    color: #22a29b;
    margin-bottom: 15px;
}

.btn-opcion {
    display: inline-block;
    background: #22a29b;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-opcion:hover {
    background: #45b8b1;
    color: white;
}

/* Contacto directo */
.contacto-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.contacto-opciones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.contacto-opcion {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contacto-opcion strong {
    color: #22a29b;
}

.nota-contacto {
    text-align: center;
    font-style: italic;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* FAQ */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 3px 10px rgba(34, 162, 155, 0.1);
}

.faq-item h4 {
    color: #22a29b;
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-item p {
    margin: 0;
    color: #6c757d;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .titulo-legal {
        font-size: 36px;
    }
    
    .titulo-legal .o {
        width: 35px;
        height: 45px;
    }
    
    .subtitulo-legal {
        font-size: 16px;
    }
    
    #legal-header {
        padding: 20px 0 20px 0;
    }
    
    .contenido-texto {
        padding: 40px 15px;
    }
    
    .seccion-legal h2 {
        font-size: 26px;
    }
    
    .seccion-legal h3 {
        font-size: 20px;
    }
    
    .formulario-container {
        padding: 25px
    }
}