/* =========================================
   MAIN.CSS (Globals & Typography)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@500;700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=mona-sans@200,300,400,500,600,700,800,900&display=swap');

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- AJUSTES GLOBALES DE TIPOGRAFÍA --- */
:root { 
    --font-display: 'Mona Sans', 'Manrope', sans-serif; 
}

h1, h2, h3, h4, h5, .logo-text, .page-title, .featured-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
    line-height: 1.1;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-body);
}

body, p, a, li, .post-excerpt {
    font-family: var(--font-body);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Títulos Clave Globales */
.hero-title, .section-title, .block-title { 
    font-weight: 700 !important; 
}
.section-title { 
    font-size: 2.75rem !important; 
}

/* Contenedor Principal */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin-inline: auto;
    position: relative;
    z-index: 2;
}

.container-fluid {
    width: 95%;
    margin-inline: auto;
}

/* Grilla de fondo global */
.bg-grid {
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

@media (max-width: 992px) {
    .section-title { font-size: 2rem !important; }
}