:root {
    --azul: #0b3d91;
    --azul2: #0a2f6e;
    --rojo: #d52b1e;
    --rojo2: #a51f15;
    --wa: var(--azul); /* Rolando 26-nov: WhatsApp en azul, no verde */
    --celeste: #eaf0fb;
    --tinta: #16202e;
    --gris: #5b6576;
    --linea: #e3e7ee;
    --fondo: #fff;
    --error: #b3261e;
    --radio: 12px;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--tinta);
    background: var(--fondo);
    line-height: 1.5;
}
a { color: var(--azul); }
.franja { height: 5px; background: linear-gradient(90deg, var(--rojo) 0 33.3%, #fff 33.3% 66.6%, var(--azul) 66.6%); }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 1.2rem 0 .6rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
h3 { margin: 0; font-size: 1.05rem; }
.contenedor { max-width: 760px; margin: 0 auto; padding: 0 1rem; }
.solo-lector { position: absolute; left: -9999px; }

.enlace { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--azul); cursor: pointer; }

.btn {
    display: inline-block; border: 0; border-radius: var(--radio); background: var(--azul); color: #fff;
    font: inherit; font-weight: 700; padding: .7rem 1.1rem; text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--azul); }
.btn-chico { padding: .4rem .8rem; }
.btn-grande { width: 100%; padding: .95rem; font-size: 1.05rem; }
.btn-claro { background: var(--celeste); color: var(--azul); }
.btn-claro:hover { background: #d6e2f8; }
.btn-wa { display: flex; align-items: center; justify-content: center; gap: .5rem; background: var(--wa); }
.btn-wa:hover { background: var(--azul2); }
.btn-wa svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-peligro { background: var(--rojo); }
.btn-peligro:hover { background: var(--rojo2); }

.formulario { display: grid; gap: 1rem; margin-bottom: 2rem; }
.campo { display: grid; gap: .3rem; font-weight: 600; }
input[type=text], input[type=tel], input[type=password], input[type=search], input[type=file], textarea {
    width: 100%; font: inherit; font-weight: 400; padding: .7rem; border: 1px solid var(--linea);
    border-radius: var(--radio); background: #fff;
}
input:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #7aa2e8; outline-offset: 1px; }
fieldset { border: 1px solid var(--linea); border-radius: var(--radio); padding: .8rem; margin: 0; background: #fff; }
legend { font-weight: 600; padding: 0 .4rem; }
.check { display: flex; gap: .5rem; align-items: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--linea); border-radius: 99px; background: #fff; cursor: pointer; }
.chip input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid #7aa2e8; }

.aviso { padding: .8rem 1rem; border-radius: var(--radio); background: #fff8e1; border: 1px solid #f1e0a6; margin: 1rem 0; }
.aviso-ok { background: var(--celeste); border-color: #c5d3ee; }
.aviso-error { background: #fdecea; border-color: #f3c1bb; color: #7d241a; }
.aviso ul { margin: 0; padding-left: 1.1rem; }
