/* ===========================================================================
   base.css - Estilos base mobile-first (Fase 0).
   El sistema completo de tema claro/oscuro se define en Fase 3 (theme.css).
   =========================================================================== */

:root {
    --bg: #ffffff;
    --text: #1f2430;
    --muted: #5b6472;
    --accent: #c8963e;
    --border: #e5e7eb;
    --container: 72rem;
    --space: clamp(1rem, 3vw, 2rem);
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space);
}

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

a:hover,
a:focus-visible {
    text-decoration: underline;
}

/* --- Header / footer --- */
.site-header {
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1rem;
}

.brand {
    font-weight: 700;
    color: var(--text);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding-block: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* --- Hero (prueba) --- */
.hero {
    padding-block: clamp(2rem, 8vw, 5rem);
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem);
    margin: 0 0 0.5rem;
}

.hero__slogan {
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.hero__note {
    color: var(--accent);
    font-weight: 600;
}
