/* AIFAESA, I.P. — base: tokens, reset, typography, buttons, forms */
:root {
  --green: #1b6b3a;
  --green-d: #134d29;
  --slate: #2f4f3e;
  --gold: #f2b705;
  --red: #c8102e;
  --ink: #1d2a24;
  --muted: #5d6b63;
  --bg: #f6f8f6;
  --paper: #ffffff;
  --line: #dfe6e1;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .12);
  --maxw: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg, iframe { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn {
  display: inline-block; border: 2px solid var(--green); background: var(--green); color: #fff;
  padding: .55em 1.1em; border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--green-d); border-color: var(--green-d); text-decoration: none; }
.btn-sm { padding: .3em .9em; font-size: .85rem; }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1b1b1b; }
.btn-gold:hover { background: #d9a504; border-color: #d9a504; }

.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.field label, .check { font-weight: 600; font-size: .92rem; }
input, select, textarea {
  font: inherit; width: 100%; padding: .55em .7em; border: 1px solid #b9c5be; border-radius: var(--radius); background: #fff; color: var(--ink);
}
input[type=checkbox] { width: auto; }
input[type=file] { padding: .4em; }
textarea { resize: vertical; }
.alert { padding: .8em 1em; border-radius: var(--radius); margin: 0 0 1rem; border: 1px solid; }
.alert-ok { background: #e8f5ec; border-color: #9fd3b0; color: #0f4d27; }
.alert-err { background: #fdeaea; border-color: #eba5ad; color: #8c1020; }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #eef3ef; padding: .1em .4em; border-radius: 4px; }
.code { font-size: 1.15em; font-weight: 700; letter-spacing: .05em; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
