/* ════════════════════════════════════════════════════════════════════
   ACCESO CULTURAL — Sistema visual "VINO" (renovación de la identidad)
   HTML + CSS + JS puro · sin frameworks · variables CSS
   ──────────────────────────────────────────────────────────────────
   Paleta:  vino #1A0714 · crema #F4EADD · oro #E2B84E · rosa #F0577E
   Tipos:   Playfair Display (display) · Hanken Grotesk (UI) · JetBrains Mono
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* — superficies — */
  --bg:        #1A0714;   /* vino profundo, fondo */
  --bg-2:      #150510;   /* vino aún más oscuro (hero overlay) */
  --surface:   #271022;   /* tarjetas */
  --surface-2: #30152A;   /* inputs, chips, depth */
  --surface-3: #3A1A32;   /* hover sobre surface */
  --line:      #3E2236;   /* separadores */
  --line-soft: #50294330; /* líneas tenues */

  /* — texto — */
  --ink:    #F4EADD;   /* crema, texto principal */
  --muted:  #C7A9B8;   /* secundario */
  --faint:  #8E7383;   /* microcopy, labels */

  /* — marca / acentos — */
  --gold:       #E2B84E;
  --gold-soft:  #C9A23C;
  --gold-ink:   #2A1B05;   /* texto sobre oro */
  --rose:       #F0577E;
  --rose-soft:  #D8466B;
  --rose-ink:   #2A0712;

  /* — estados — */
  --ok:    #4FBE8A;
  --warn:  #E8A33C;
  --bad:   #F0577E;

  /* — butacas — */
  --seat-vip:  #E2B84E;   /* VIP = oro */
  --seat-plA:  #C06BE0;   /* Platea A = violeta */
  --seat-plB:  #6C8CFF;   /* Platea B = azul */
  --seat-occ:  #2A1623;   /* ocupada */
  --seat-sel:  #F0577E;   /* elegida = rosa */
  --seat-line: #4C2A42;

  /* — forma — */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 100px;

  /* — sombra — */
  --sh-sm: 0 2px 8px -3px rgba(0,0,0,.5);
  --sh:    0 14px 34px -20px rgba(0,0,0,.75);
  --sh-lg: 0 30px 70px -30px rgba(0,0,0,.85);
  --sh-gold: 0 8px 24px -10px rgba(226,184,78,.4);

  /* — tipografía — */
  --display: 'Playfair Display', Georgia, serif;
  --ui: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* — layout — */
  --maxw: 1180px;
  --gutter: 20px;
}

/* ─────────────────────────────  reset  ───────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--rose); color: #fff; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar:horizontal { height: 0; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:horizontal { background: transparent; border: 0; }
::-webkit-scrollbar-track { background: transparent; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* eyebrow / mono label */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  opacity: .7;
}

/* ════════════════════════  TYPE  ════════════════════════ */
.display { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.06; }

/* ════════════════════════  BUTTONS  ════════════════════════ */
.btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.005em;
  padding: 13px 20px;
  border-radius: var(--r);
  background: var(--gold);
  color: var(--gold-ink);
  transition: transform .1s, filter .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--rose { background: var(--rose); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); filter: none; }
.btn--wa { background: #25D366; color: #06351b; }
.btn--quiet { background: var(--surface-2); color: var(--ink); }

.iconbtn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid; place-items: center;
  transition: border-color .15s, color .15s, background .15s;
}
.iconbtn:hover { border-color: var(--gold); color: var(--gold); }
.iconbtn svg { width: 19px; height: 19px; }

/* ════════════════════════  CHIPS  ════════════════════════ */
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: .15s;
}
.chip:hover { border-color: var(--gold-soft); color: var(--ink); }
.chip.is-active {
  background: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
}
.chip .ct {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  background: rgba(0,0,0,.16);
  border-radius: var(--r-pill);
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
}
.chip.is-active .ct { background: rgba(42,27,5,.18); }

/* ════════════════════════  INPUTS  ════════════════════════ */
.field { margin-bottom: 15px; }
.field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 7px;
}
.field > label .req { color: var(--rose); }
.input {
  width: 100%;
  font-family: var(--ui);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 14px 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226,184,78,.16); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ════════════════════════  SEARCH  ════════════════════════ */
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg {
  position: absolute; left: 15px;
  width: 18px; height: 18px; color: var(--faint);
  pointer-events: none;
}
.search input {
  width: 100%;
  font-family: var(--ui);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 12px 16px 12px 44px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226,184,78,.14); }

/* badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.badge--gold { background: var(--gold); color: var(--gold-ink); }
.badge--rose { background: var(--rose); color: #fff; }
.badge--glass { background: rgba(20,8,16,.6); color: var(--ink); backdrop-filter: blur(6px); border: 1px solid var(--line-soft); }
