/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:root {
  /* Paleta — fondo blanco, texto oscuro, acento marrón */
  --bg-deep: #faf9f7;
  --bg-alt: #f1efea;
  --cream: #1c1a18;
  --gold: #6b4c38;
  --gold-light: #9a6e55;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(248, 246, 243, 0.85);
  --border-gold: rgba(28, 26, 24, 0.10);
  --border-gold-strong: rgba(107, 76, 56, 0.35);
  --label: rgba(28, 26, 24, 0.5);

  /* Tipografía */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;

  /* Sombras / efectos */
  --shadow-soft: 0 20px 60px rgba(28, 26, 24, 0.12);
  --shadow-glow: 0 8px 24px rgba(107, 76, 56, 0.18);
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --transition: 280ms var(--ease);

  /* Layout */
  --max-width: 1180px;
  --radius: 3px;
}

html, body {
  height: 100%;
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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