html {
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-ink);
  background-color: var(--color-cream);
}

/* Tipografía base */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-forest-dark);
}

h1 { font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }

p {
  max-width: 68ch;
  color: var(--color-ink-muted);
}

strong { font-weight: var(--weight-semibold); color: var(--color-ink); }

/* Links */
a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Label / tag style */
.label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Material Symbols base */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
  vertical-align: middle;
}
.material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--color-gold);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-gold-light); }

.btn--outline {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}
.btn--outline:hover {
  background: rgba(200,146,58,0.08);
}

.btn--dark {
  background: var(--color-forest);
  color: var(--color-cream);
}
.btn--dark:hover { background: var(--color-forest-light); }

.btn--ghost {
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}
.btn--ghost:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

/* Separador visual — línea editorial delgada */
.divider {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  border: none;
  opacity: 0.7;
  margin: var(--space-4) 0;
}

/* Visibilidad / 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-width: 0;
}

/* Los reveals deben seguir siendo legibles si GSAP/CDN falla o tarda en cargar. */
[data-reveal] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
