/* Variables de Color */
:root {
    --color-primary: #0A3D62; /* Azul Oscuro Corporativo */
    --color-accent: #2196F3; /* Azul Medio de Acento */
    --color-light: #F4F4F9; /* Gris Claro para Fondo Principal */
    --color-text-dark: #333;
    --color-text-light: #fff;
    --font-stack: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Base y Reset Mínimo */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Asegura que el footer esté abajo */
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-primary);
}

h1, h2, h3 {
    margin-bottom: 0.8em;
    line-height: 1.2;
    color: var(--color-primary);
}

/* Header */
header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 1.5rem 1rem;
    text-align: center;
}

header h1 {
    color: var(--color-text-light);
    font-size: 1.8rem;
    margin: 0;
}

/* Modo Mantenimiento */
main.maintenance-mode {
    flex-grow: 1; /* Ocupa el espacio restante */
    display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    padding: 2rem 1rem;
    text-align: center;
}

.maintenance-content {
    max-width: 600px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--color-accent);
}

.maintenance-content h2 {
    font-size: 2rem;
    color: var(--color-accent);
}

.maintenance-content p {
    margin-bottom: 1.5rem;
}

.message-status {
    font-size: 1.25rem;
    color: var(--color-primary);
    padding: 0.5rem;
    border: 1px dashed var(--color-primary);
    border-radius: 4px;
    display: inline-block;
    margin: 1.5rem 0;
}

address {
    font-style: normal;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    text-align: center;
    padding: 1rem;
    font-size: 0.85rem;
}