/*
 * 📝 TIPOGRAFÍA - SISTEMA DE DISEÑO XACOBEOS
 * Estilos tipográficos base y jerarquía de textos
 */

/* ================================
   TIPOGRAFÍA BASE
   ================================ */
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-800);
    margin: 0 0 1rem 0;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.25;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
}

h5 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    line-height: 1.5;
}

h6 {
    font-size: clamp(0.875rem, 1.25vw, 1rem);
    font-weight: 600;
    line-height: 1.6;
}

p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
}

/* ================================
   ELEMENTOS DE TEXTO
   ================================ */
.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-600);
    font-weight: 400;
}

.caption {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-500);
    font-weight: 400;
}

small {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-500);
    font-weight: 400;
}

blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--camino-blue);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--gray-700);
}

blockquote p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-style: normal;
}

ul, ol {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

ul li {
    list-style-type: disc;
}

ol li {
    list-style-type: decimal;
}

code {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

a {
    color: var(--camino-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--camino-blue-light);
    text-decoration: underline;
}

em {
    font-style: italic;
}

u {
    text-decoration: underline;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 480px) {
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .ds-section {
        padding: 1.5rem 1rem;
    }
} 