/* --- Reset Básico y Estilos Globales --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif; /* Fuente limpia para el cuerpo */
    background-color: #fdfdfd; /* Un blanco ligeramente cálido */
    color: #222; /* Negro suave para el texto */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Encabezado y Navegación --- */
header.main-header {
    width: 100%;
    padding: 20px 40px;
    background-color: #ffffff;
    border-bottom: 2px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo a {
    font-family: 'Merriweather', serif; /* Fuente clásica para el nombre */
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo a svg {
    width: 28px;
    height: 28px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* --- Contenido Principal --- */
main {
    flex-grow: 1; /* Permite que el footer se quede abajo */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Footer --- */
footer.main-footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-top: 2px solid #eeeeee;
    color: #888;
    font-size: 14px;
}