/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
    /* Colores */
    --color-primary:        #111827;
    --color-primary-dark:   #030712;
    --color-accent:         #3b82f6;
    --color-accent-dark:    #2563eb;
    --color-text:           #1a1a1a;
    --color-text-muted:     #6b7280;
    --color-text-light:     #9ca3af;
    --color-surface:        #ffffff;
    --color-bg:             #f9fafb;
    --color-bg-alt:         #f3f4f6;
    --color-border:         #e5e7eb;

    /* Tipografía */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;

    /* Espaciado */
    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  40px;
    --space-xl:  64px;
    --space-2xl: 96px;

    /* Layout */
    --max-width:    1200px;
    --radius:       4px;
    --radius-md:    8px;
    --transition:   0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

/* ─── Tipografía ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);  font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem);font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
    margin-bottom: var(--space-sm);
    color: var(--color-text-muted);
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    padding-left: var(--space-md);
    color: var(--color-text-muted);
}

li {
    margin-bottom: var(--space-xs);
}

/* ─── Utilidades ─────────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    margin-bottom: var(--space-xs);
}

.section-header .section-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.section-header .section-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

.text-center { text-align: center; }
.text-center .section-intro { margin: 0 auto; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ─── Contenido del editor (WP) ──────────────────────────────────────────────── */
.entry-content h2 { margin: var(--space-lg) 0 var(--space-sm); }
.entry-content h3 { margin: var(--space-md) 0 var(--space-xs); }
.entry-content p  { margin-bottom: var(--space-sm); color: var(--color-text); line-height: 1.85; }
.entry-content ul,
.entry-content ol { margin-bottom: var(--space-sm); color: var(--color-text); }
.entry-content a  { color: var(--color-accent); text-decoration: underline; }
.entry-content strong { color: var(--color-primary); }
.entry-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0;
    background: var(--color-bg-alt);
    font-style: italic;
}
