/* Barberia — estilos compartidos por el sitio y el panel.
   Paleta: carbon y hueso con acento laton. Tipografia: Anton (titulares
   condensados), Instrument Serif (acentos en cursiva) e Inter (texto). */

:root {
  --negro: #0d0c0b;
  --carbon: #171513;
  --carbon-2: #201d1a;
  --hueso: #f2ece2;
  --gris: #a39b90;
  --gris-2: #6f685f;
  --laton: #c9a55a;
  --laton-claro: #e6cf9c;
  --verde-wa: #25d366;
  --error: #e5826f;
  --linea: rgba(242, 236, 226, 0.12);
  --radio: 14px;
  --ancho: 1180px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --salida: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Ninguna clase con display puede ganarle al atributo hidden. */
[hidden] { display: none !important; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--negro);
  color: var(--hueso);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--laton); color: var(--negro); }

:focus-visible { outline: 2px solid var(--laton-claro); outline-offset: 3px; border-radius: 4px; }

.contenedor { width: min(var(--ancho), 100% - 40px); margin-inline: auto; }

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

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; transition: transform 0.25s var(--salida), background 0.25s, border-color 0.25s, color 0.25s;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0); }
.boton-primario { background: var(--laton); color: var(--negro); }
.boton-primario:hover { background: var(--laton-claro); }
.boton-fantasma { border-color: var(--linea); color: var(--hueso); background: transparent; }
.boton-fantasma:hover { border-color: var(--laton); color: var(--laton-claro); }
.boton svg { width: 20px; height: 20px; flex: none; }
.boton[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.etiqueta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--laton);
}
.etiqueta::before { content: "✦"; font-size: 0.7rem; }

/* Aparicion al hacer scroll */
[data-revelar] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--salida), transform 0.9s var(--salida); }
[data-revelar].visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-revelar] { opacity: 1; transform: none; }
}
