/* GENERATED by PostCSS — NO EDITAR A MANO. Fuente: assets/ (misma ruta relativa). Regenerar con: make build-css (o npm run build:css) */
/* base.css — Reset, tipografía y accesibilidad — mobile-first */
* { box-sizing: border-box; min-width: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--cr-font-sans);
  font-size: var(--cr-text-base);
  line-height: 1.6;
  color: var(--cr-text);
  background: var(--cr-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cr-primary);
  text-decoration: none;
}

a:hover { color: var(--cr-primary-hover); }

a:focus-visible { outline: 2px solid var(--cr-primary); outline-offset: 2px; border-radius: 2px; }

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible { outline: 2px solid var(--cr-primary); outline-offset: 2px; }

::selection { background: var(--cr-primary-soft); }

/* Accesibilidad */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
