/* Legión Barber Club — sistema base v2 (tokens, tipografía, componentes compartidos)
   Dirección: carbón, latón y marfil. Bodoni para la voz, Geist para la lectura.
   El oro es un acento de hilo fino, nunca un relleno. */

@font-face { font-family: "Bodoni Moda"; src: url("fuentes/bodoni-moda-latin-opsz-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fuentes/bodoni-moda-latin-opsz-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fuentes/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fuentes/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --onix: #0B0A09;        /* carbón: negro cálido de sala de cine */
  --pizarra: #13110F;     /* humo */
  --piedra: #1C1916;
  --veta: #2C2823;
  --oro: #C8A46B;         /* latón envejecido */
  --oro-claro: #EAD3A4;   /* champán */
  --oro-hondo: #7A5A2B;
  --hueso: #F2EBDF;       /* marfil */
  --hueso-tenue: #A69D8F;
  --burdeos: #4A1916;     /* vino oxblood, el cuero de los sillones */
  --vino-luz: rgba(122, 32, 26, 0.38);
  --verde: #111C17;       /* verde botella de club inglés */
  --verde-luz: rgba(40, 74, 58, 0.32);
  --champan: linear-gradient(100deg, #F5E6C4 0%, #D3B079 38%, #EED9AE 62%, #A9864F 100%);
  --exito: #8DB596;

  --hoja: linear-gradient(180deg, #F3E5C2 0%, #CDAE72 36%, #8E6C35 52%, #DCC390 68%, #76582A 100%);

  --f-titulo: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-texto: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-cita: "Bodoni Moda", Georgia, serif;

  --t-xs: 0.78rem; --t-s: 0.875rem; --t-m: 1rem; --t-l: 1.25rem; --t-xl: 1.6rem;
  --t-2xl: 2.1rem; --t-3xl: 2.8rem; --t-4xl: 3.8rem;

  --r-s: 4px; --r-m: 10px; --r-l: 18px;
  --sombra: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --borde: 1px solid rgba(194, 161, 106, 0.22);
  --borde-fuerte: 1px solid rgba(194, 161, 106, 0.55);
  --hilo: 1px solid rgba(242, 237, 228, 0.1);
  --ancho: 1240px;
  --curva: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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; } }
body { margin: 0; background: var(--onix); color: var(--hueso); font: 400 var(--t-m)/1.6 var(--f-texto); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--hueso); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--oro-claro); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--oro); color: var(--onix); }

h1, h2, h3 { font-family: var(--f-titulo); font-weight: 500; line-height: 1.04; margin: 0 0 0.45em; letter-spacing: -0.015em; font-optical-sizing: auto; }
h2 { font-size: clamp(2.2rem, 4.6vw, var(--t-4xl)); }
h3 { font-size: var(--t-xl); letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
em { font-family: var(--f-titulo); font-style: italic; }
h1 em, h2 em, .cierre-frase em, .contactos-frase em, .portada-titulo em { background: var(--champan); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }

.oro-hoja { background: var(--hoja); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contenedor { width: min(var(--ancho), 100% - 3rem); margin-inline: auto; }
.tenue { color: var(--hueso-tenue); }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones: rectángulo de esquina mínima, mayúsculas espaciadas y flecha que se desliza.
   Marfil sólido para la acción principal; filete marfil para la secundaria. El latón nunca rellena. */
.boton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem; min-height: 52px; padding: 0.85rem 1.6rem;
  border-radius: 2px; border: 1px solid transparent; font: 500 0.74rem/1 var(--f-texto); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background-color 0.35s var(--curva), color 0.35s var(--curva), border-color 0.35s var(--curva), transform 0.25s var(--curva); }
.boton::after { content: "→"; font: 400 1rem/1 var(--f-texto); letter-spacing: 0; transition: transform 0.5s var(--curva); }
.boton:hover::after { transform: translateX(5px); }
.boton.sin-flecha::after, .boton[download]::after { content: none; }
.boton:active { transform: scale(0.985); }
.boton-oro { background: var(--hueso); color: var(--onix); }
.boton-oro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--curva); }
.boton-oro:hover::before { transform: translateX(120%); }
.boton-linea { border-color: rgba(242, 237, 228, 0.32); color: var(--hueso); background: rgba(14, 13, 12, 0.18); }
.boton-linea:hover { border-color: var(--hueso); background: rgba(242, 237, 228, 0.06); }
.boton-quieto { background: rgba(242, 237, 228, 0.06); color: var(--hueso); border-color: rgba(242, 237, 228, 0.08); }
.boton-quieto:hover { background: rgba(242, 237, 228, 0.11); }
.boton[disabled] { opacity: 0.35; cursor: not-allowed; }

/* Campos */
.campo { display: grid; gap: 0.4rem; }
.campo label { font-size: var(--t-s); color: var(--hueso-tenue); }
.campo input, .campo select, .campo textarea { background: rgba(242, 237, 228, 0.04); border: 1px solid var(--veta); border-radius: var(--r-m);
  padding: 0.75rem 0.9rem; min-height: 48px; }
.campo select option { background: var(--pizarra); }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--oro); outline: none; box-shadow: 0 0 0 3px rgba(194, 161, 106, 0.16); }

/* Pastillas de selección */
.pastilla { border: 1px solid var(--veta); background: transparent; border-radius: 999px; padding: 0.5rem 1rem; cursor: pointer; min-height: 44px; font-size: var(--t-s);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.pastilla:hover { border-color: rgba(242, 237, 228, 0.35); }
.pastilla[aria-pressed="true"] { border-color: var(--hueso); background: var(--hueso); color: var(--onix); }

/* Aviso */
.aviso { border-left: 1px solid var(--oro); background: rgba(194, 161, 106, 0.06); padding: 0.85rem 1rem; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: var(--t-s); }
.aviso-error { border-left-color: #c46a5a; background: rgba(196, 106, 90, 0.08); }

/* Grano de película para superficies oscuras */
.grano { position: relative; }
.grano::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E"); }

/* ================================================================ botones de la casa (2026-11-29)
   Sin flecha en cada botón ni destello que barre: peso tipográfico, buen aire y un cambio de tono al pasar. */
.boton { gap: 0.6rem; min-height: 52px; padding: 0.9rem 1.9rem; border-radius: 1px; font-size: 0.7rem; letter-spacing: 0.24em; font-weight: 500;
  transition: background-color 0.45s var(--curva), color 0.45s var(--curva), border-color 0.45s var(--curva), letter-spacing 0.6s var(--curva); }
.boton::after { content: none; }
.boton-oro::before { display: none; }
.boton-oro { background: var(--hueso); color: var(--onix); box-shadow: inset 0 0 0 1px rgba(14, 13, 12, 0.04); }
.boton-oro:hover { background: var(--oro-claro); letter-spacing: 0.27em; }
.boton-linea { background: transparent; border-color: rgba(242, 237, 228, 0.28); }
.boton-linea:hover { background: transparent; border-color: var(--oro-claro); color: var(--oro-claro); letter-spacing: 0.27em; }
@media (prefers-reduced-motion: reduce) { .boton, .boton:hover { letter-spacing: 0.24em; } }
