 @import url('inteleanStyle.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header en color primario */
header {
    background: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); /* Hace el logo blanco */
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 300;
    color: var(--white);
    margin: 0;
}

.logo-text h1 span {
    font-weight: 700;
    color: var(--secondary);
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: var(--transition);
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

nav ul li a:hover {
    color: var(--white);
    border-bottom-color: var(--secondary);
}

.header-contact .btn-phone {
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
}

.header-contact .btn-phone:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.2);
}

.header-contact .btn-phone i {
    color: var(--secondary);
}

/* Sección legal principal */
.legal-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-300);
}

/* Header del documento legal */
.legal-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-300);
}

.legal-header h1 {
    font-size: 32px;
    font-weight: 300;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.legal-header p {
    font-size: 13px;
    color: var(--gray-500);
    letter-spacing: 0.3px;
}

/* Contenido legal */
.legal-content {
    color: var(--gray-700);
}

.legal-content h2 {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    margin: 30px 0 15px 0;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 15px;
}

.legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-700);
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul {
    margin: 15px 0 20px 20px;
    list-style: none;
}

.legal-content ul li {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-700);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.legal-content ul li::before {
    content: '•';
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-content b {
    font-weight: 500;
    color: var(--primary);
}

/* Botón de regreso */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
}

.back-button i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.back-button:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: var(--white);
}

.back-button:hover i {
    transform: translateX(-3px);
}

.footer {
    background: var(--primary);  /* Cambiado de white a primary */
    border-top: 1px solid rgba(255, 255, 255, 0.1);  /* Borde más sutil */
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Títulos del footer - ahora en blanco */
.footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);  /* Cambiado de primary a white */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Texto descriptivo - blanco suave */
.footer-col p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);  /* Blanco semitransparente */
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 300;
}

/* Enlaces del footer - blanco suave */
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);  /* Cambiado de gray-500 a blanco suave */
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
    transition: var(--transition);
    font-weight: 300;
}

.footer-col a:hover {
    color: var(--secondary);  /* Mantenemos verde al hover */
    transform: translateX(3px);
}

/* Logo en el footer - sin filtro para mantener colores originales */
.footer-brand img {
    height: 25px;
    width: 100px;
    margin-bottom: 15px;
    /* Eliminado cualquier filtro para mantener el logo original */
}

/* Redes sociales - iconos blancos */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);  /* Iconos blancos */
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
}

.footer-social a:hover {
    color: var(--secondary);  /* Verde al hover */
    transform: translateY(-2px);
}

/* Botón del footer - estilo outline blanco */
.footer-btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);  /* Borde blanco semitransparente */
    color: var(--white) !important;  /* Texto blanco */
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
    transition: var(--transition);
}

.footer-btn:hover {
    border-color: var(--secondary);  /* Borde verde al hover */
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);  /* Fondo semitransparente al hover */
}

/* Línea inferior del footer */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);  /* Borde blanco sutil */
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);  /* Texto blanco muy suave */
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .logo {
        justify-content: center;
    }
    
    .legal-container {
        padding: 30px 20px;
    }
    
    .legal-header h1 {
        font-size: 28px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 24px;
    }
    
    .legal-content h2 {
        font-size: 16px;
    }
    
    .legal-content p,
    .legal-content ul li {
        font-size: 14px;
    }
}