/* ==========================================================================
   BASE.CSS — Variables, reset y tipografía
   ========================================================================== */

/* 1. RESET BÁSICO
   Eliminamos márgenes y paddings por defecto del navegador.
   box-sizing: border-box hace que el padding no agrande los elementos */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. VARIABLES CSS
   Definimos los valores del diseño en un solo lugar.
   Si la clienta pide cambiar el verde, lo cambiamos aquí y afecta todo. */
:root {
    /* Colores */
    /* Colores */
    --color-bg: #FBFBFB;
    --color-bg-alt: #CADBB7;
    --color-accent: #485935;
    --color-accent-hover: #3a4729;
    --color-text: #1a1a1a;
    --color-text-light: #ffffff;
    --color-text-muted: #666666;
    /* Tipografía */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* UI */
    --transition: 0.3s ease;
    --header-height: 70px;
}

/* 3. BODY BASE */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* 4. HEADINGS — Todos usan Cormorant Garamond */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.15;
}

/* 5. LINKS */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

/* 6. LISTAS */
ul {
    list-style: none;
}

/* 7. IMÁGENES — Siempre responsive */
img {
    max-width: 100%;
    display: block;
}

/* 8. BOTONES — Reseteamos estilos del navegador */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}