/* Web pública de Crotalix: sobria y accesible. La identidad visual definitiva llegará en la fase de branding. */
:root {
  --brand: #2f5233;
  --text: #1f2421;
  --muted: #4d5650;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --border: #d9d4c8;
  --focus: #b8860b;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--brand); text-underline-offset: 2px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 1rem; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 1.25rem 1rem; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.25rem; color: var(--brand); text-decoration: none; }
nav ul { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; flex-wrap: wrap; }
h1 { font-size: 2rem; line-height: 1.2; margin: 1rem 0 0.5rem; }
h2 { font-size: 1.25rem; margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin: 1rem 0; }
.button { display: inline-block; background: var(--brand); color: #fff; padding: 0.7rem 1.2rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.notice { border-left: 4px solid var(--focus); background: #fff8e6; padding: 0.75rem 1rem; }
footer { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); }
footer ul { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
