* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
}

/* Header con logo */
.header-simple {
    background: #0C2B4E;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(12, 43, 78, 0.15);
}

.header-simple img {
    height: 45px;
    width: auto;
}

.header-simple h1 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    letter-spacing: -0.2px;
}

/* Footer simple */
.footer-simple {
    background: #0C2B4E;
    color: white;
    text-align: center;
    padding: 24px 20px;
    margin-top: 60px;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .header-simple {
    padding: 16px 24px;
    }

    .header-simple img {
    height: 38px;
    }

    .header-simple h1 {
    font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header-simple {
    padding: 14px 16px;
    gap: 10px;
    }

    .header-simple img {
    height: 32px;
    }

    .header-simple h1 {
    font-size: 1rem;
    }
}


.terminos-container {
min-height: 100vh;
background: linear-gradient(180deg, #f8f9fc 0%, #e9ecf2 100%);
padding: 60px 20px;
font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
}

.terminos-wrapper {
max-width: 900px;
margin: 0 auto;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(12, 43, 78, 0.08);
border: 1px solid rgba(12, 43, 78, 0.08);
}

/* Header */
.terminos-header {
background: #0C2B4E;
color: white;
padding: 48px 50px;
text-align: center;
position: relative;
}

.terminos-header::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background: rgba(255, 255, 255, 0.3);
}

.terminos-header h1 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 12px;
letter-spacing: -0.4px;
}

.terminos-header .subtitle {
font-size: 1rem;
opacity: 0.9;
font-weight: 400;
}

.last-update {
margin-top: 16px;
font-size: 0.875rem;
opacity: 0.85;
font-style: italic;
}

/* Botón PDF */
.pdf-download {
position: absolute;
top: 20px;
right: 30px;
background: rgba(255, 255, 255, 0.15);
color: white;
padding: 10px 20px;
border-radius: 6px;
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
transition: all 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.2);
}

.pdf-download:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-1px);
}

/* Contenido */
.terminos-content {
padding: 50px;
}

/* Índice */
.indice {
background: #f8f9fb;
padding: 30px;
border-radius: 8px;
border: 1px solid #e5e9f0;
margin-bottom: 40px;
}

.indice h2 {
color: #0C2B4E;
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 20px;
}

.indice ol {
list-style: none;
counter-reset: indice-counter;
padding: 0;
}

.indice ol li {
counter-increment: indice-counter;
margin-bottom: 12px;
}

.indice ol li a {
color: #334155;
text-decoration: none;
font-size: 0.9375rem;
font-weight: 400;
transition: color 0.2s ease;
display: block;
padding: 8px 0;
}

.indice ol li a::before {
content: counter(indice-counter) ". ";
color: #0C2B4E;
font-weight: 600;
margin-right: 8px;
}

.indice ol li a:hover {
color: #0C2B4E;
padding-left: 8px;
}

/* Secciones */
.section {
margin-bottom: 50px;
scroll-margin-top: 20px;
}

.section h2 {
color: #0C2B4E;
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 2px solid #e5e9f0;
}

.section h3 {
color: #0C2B4E;
font-size: 1.125rem;
font-weight: 600;
margin-top: 24px;
margin-bottom: 12px;
}

.section p {
color: #334155;
font-size: 0.9375rem;
line-height: 1.8;
margin-bottom: 16px;
text-align: justify;
}

.section ul, .section ol {
margin-left: 24px;
margin-bottom: 16px;
}

.section li {
color: #334155;
font-size: 0.9375rem;
line-height: 1.8;
margin-bottom: 10px;
text-align: justify;
}

.highlight-box {
background: #f0f7ff;
border-left: 3px solid #0C2B4E;
padding: 20px;
margin: 24px 0;
border-radius: 6px;
}

.highlight-box p {
margin-bottom: 0;
}

strong {
color: #0C2B4E;
font-weight: 600;
}

/* Footer */
.terminos-footer {
background: #f8f9fb;
padding: 40px 50px;
text-align: center;
border-top: 1px solid #e5e9f0;
}

.terminos-footer .logo {
color: #0C2B4E;
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 12px;
}

.terminos-footer p {
color: #64748b;
font-size: 0.875rem;
line-height: 1.6;
margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
.terminos-container {
    padding: 40px 15px;
}

.terminos-header {
    padding: 36px 30px;
}

.terminos-header h1 {
    font-size: 1.625rem;
}

.pdf-download {
    position: relative;
    top: 0;
    right: 0;
    display: inline-block;
    margin-top: 20px;
}

.terminos-content {
    padding: 35px 30px;
}

.indice {
    padding: 24px 20px;
}

.terminos-footer {
    padding: 32px 30px;
}

.section h2 {
    font-size: 1.25rem;
}

.section h3 {
    font-size: 1rem;
}
}

@media (max-width: 480px) {
.terminos-header {
    padding: 28px 20px;
}

.terminos-header h1 {
    font-size: 1.375rem;
}

.terminos-content {
    padding: 28px 20px;
}

.indice {
    padding: 20px 16px;
}

.terminos-footer {
    padding: 28px 20px;
}
}
