/* ==========================================================================
   BELA IA — reset.css
   Fuente única de verdad para color, tipografía y ritmo.
   Cambiar un valor aquí se propaga a todo el sitio, incluida la escena 3D
   (scene.js lee estos custom properties en tiempo de ejecución).
   ========================================================================== */

:root {
  /* — Superficies — */
  --color-bg: #000000;
  --color-bg-alt: #060c12;
  --color-bg-deep: #010204;
  --color-panel: #0b1620;
  --color-panel-soft: #071019;

  /* — Texto — */
  --color-text: #eaf6fb;
  --color-text-dim: #9db4c0;
  --color-text-faint: #63808f;

  /* — Acento (cian eléctrico, Bela IA) — */
  --color-accent: #00d4ff;
  --color-accent-light: #7ceeff;
  --color-accent-dim: #0a5d73;
  --color-glow: #ccf6ff;

  /* — Estado — */
  --color-warn: #a56258;
  --color-warn-light: #d8a89d;

  /* — Bordes — */
  --color-border: rgba(234, 246, 251, 0.1);
  --color-border-strong: rgba(234, 246, 251, 0.22);

  /* — Tipografía — */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;

  /* — Ritmo — */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --container-w: 1180px;

  /* — Sombra / resplandor — */
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.16);
  --shadow-panel: 0 20px 50px rgba(0, 0, 0, 0.55);

  /* — Movimiento — */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.45s;
  --dur-slow: 0.9s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.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;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Respeta preferencia de movimiento reducido en todo el sitio */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
   