/**
 * Base de agunsa.com.pe.
 *
 * Lo que antes ponían twentytwentyone y Elementor por debajo de todo, medido
 * en producción (05/11/2026): letra del sistema a 20 px con interlineado 1,7,
 * texto negro sobre blanco, cajas con `border-box`. Los colores y las letras
 * de marca, como variables.
 */

:root {
    --ag-rojo: #E31E13;
    --ag-rojo-oscuro: #9F1109;
    --ag-rojo-tarifa: #E41C1C;
    --ag-gris: #7A7A7A;
    --ag-gris-oscuro: #414141;
    --ag-gris-claro: #E4E4E4;
    --ag-tahoma: Tahoma, sans-serif;
    --ag-roboto: "Roboto", sans-serif;
    --ag-sistema: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --ag-caja: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; line-height: 1.7; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--ag-sistema);
    font-size: 20px;
    line-height: 1.7;
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    /* El pie queda abajo aunque la página sea corta (la 404). */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.ag-contenido { flex: 1 0 auto; }

img, svg { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

.ag-oculto,
.ag-saltar:not(:focus) {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.ag-saltar:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 10px 16px; background: #fff; color: #000; font-size: 15px; }

.ag-caja { max-width: var(--ag-caja); margin: 0 auto; padding: 0 10px; }
.ag-texto { padding-top: 60px; padding-bottom: 60px; font-size: 17px; line-height: 28px; }

/* Roboto de Google, autoalojada por Elementor en uploads/: se sigue cargando de ahí. */
