/* ===== ESTILOS UNIFICADOS PARA PÁGINAS DE POLÍTICAS ===== */

/* HERO SECTION */
.hero-section {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: visible;
    padding: 2rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    color: #508991;
    opacity: 0.8;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.6;
}

/* CONTENT SECTION */
.content-section {
    padding: 4rem 0;
    background: #f9fafb;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.policies-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.6;
    color: #374151;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.policies-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

.policies-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #508991;
    padding-bottom: 0.5rem;
}

.policies-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policies-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

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

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

.policies-content strong {
    color: #111827;
    font-weight: 600;
}

.policies-content a {
    color: #508991;
    text-decoration: none;
    font-weight: 500;
}

.policies-content a:hover {
    text-decoration: underline;
}

/* TABLA DE CONTENIDOS */
.table-of-contents {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table-of-contents h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #111827;
}

.table-of-contents ul {
    margin: 0;
    padding-left: 1.5rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #374151;
    text-decoration: none;
}

.table-of-contents a:hover {
    color: #508991;
    text-decoration: underline;
}

/* CONTACT INFO */
.contact-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.contact-info h3 {
    margin-top: 0;
    color: #111827;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #508991;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .policies-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .policies-content h1 {
        font-size: 2rem;
    }
    
    .policies-content h2 {
        font-size: 1.25rem;
    }
    
    .policies-content h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .policies-content {
        padding: 1rem;
        margin: 0 0.5rem;
    }
}
