/*
Theme Name: Taquilla Rocafort
Description: Taquilla de entradas para actos y espectáculos municipales de Rocafort
Version: 1.0
Text Domain: taquilla
*/

/* =========================================================
   TOKENS — paleta blanco y negro
   ========================================================= */
:root {
  /* Tipografía */
  --font-sans:   'Instrument Sans', system-ui, sans-serif;
  --font-serif:  'Instrument Serif', Georgia, serif;

  /* Pesos */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Escala de tamaño */
  --text-xs:   .75rem;
  --text-sm:   .875rem;
  --text-base: 1rem;
  --text-body: 1.125rem;
  --text-lead: 1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.75rem;
  --text-hero: clamp(2.75rem, 5vw, 4.5rem);

  /* Altura de línea */
  --leading-tight:  1.15;
  --leading-normal: 1.6;
  --leading-loose:  1.75;

  --color-primary:      #111111;
  --color-accent:       #111111;
  --color-accent-dark:  #ffffff;
  --color-text:         #111111;
  --color-bg:           #ffffff;
  --color-surface:      #ffffff;
  --color-warm:         #f5f5f5;
  --color-muted:        #555555;
  --color-border:       #e5e5e5;
  --color-footer-bg:    #111111;
  --color-footer-text:  #999999;
  --color-footer-link:  #cccccc;
  --color-footer-border:#333333;
  --color-hero-bg:      #111111;

  --radius:   6px;
  --shadow:   0 2px 12px rgba(0,0,0,.08);
  --max-w:    1200px;
  --gap:      2rem;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--leading-normal);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#main { flex: 1; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
  line-height: var(--leading-tight);
  color: var(--color-text);
}
h1 { font-size: clamp(1.85rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem,  4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 {
  font-family: var(--font-sans);
  font-size: var(--text-lead);
  font-weight: var(--fw-semibold);
}
h5 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
}
h6 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .06em;
}
p { max-width: 72ch; }
strong { font-weight: var(--fw-semibold); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  background: var(--color-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 68px;
  padding-inline: 1.5rem;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; }
.site-logo a { display: flex; align-items: center; }
.site-logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: .01em;
}

.nav-primary { display: flex; align-items: center; }
.nav-primary ul { display: flex; gap: .15rem; list-style: none; }
.nav-primary a {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,.82);
  padding: .5rem .9rem;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  display: block;
  text-decoration: none;
}
.nav-primary a:hover,
.nav-primary .current-menu-item > a,
.nav-primary .current-page-ancestor > a {
  background: rgba(0,0,0,.18);
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .75rem;
  margin: -.75rem -.75rem -.75rem auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .2s;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--color-hero-bg) center/cover no-repeat;
  color: #fff;
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 55vh;
}
@media (min-width: 1024px) { .hero { min-height: 72vh; padding: 7rem 0 6rem; } }
.hero--short { min-height: 28vh !important; padding: 3rem 0 2.5rem !important; }
@media (min-width: 1024px) { .hero--short { min-height: 28vh !important; padding: 3rem 0 2.5rem !important; } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 16, 8, .68);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  font-weight: var(--fw-regular);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: var(--leading-tight);
  max-width: 18ch;
  margin-inline: auto;
}
.hero p {
  font-size: var(--text-lead);
  color: rgba(255,255,255,.85);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: var(--leading-loose);
}
.hero .container { width: 100%; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 1.5rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: #111111;
  color: #ffffff;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
}
.btn-primary:hover { background: #333333; color: #ffffff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* =========================================================
   PILLARS (4 items)
   ========================================================= */
.pillars { padding: 3rem 0; background: var(--color-surface); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pillar {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.pillar-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.pillar h3 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: .4rem;
}
.pillar p { font-size: var(--text-sm); color: var(--color-muted); max-width: 100%; }

/* =========================================================
   SECTION GENERIC
   ========================================================= */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-surface); }
.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  margin-bottom: .6rem;
}
.section-subtitle {
  font-size: var(--text-lead);
  font-weight: var(--fw-regular);
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  max-width: 60ch;
}

/* =========================================================
   CARDS (eventos)
   ========================================================= */
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-3px); }
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-bottom: .5rem;
}
.card-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--fw-regular);
  margin-bottom: .6rem;
  line-height: var(--leading-tight);
}
.card-excerpt { font-size: var(--text-body); color: var(--color-muted); margin-bottom: 1rem; line-height: var(--leading-normal); }
.card-meta { font-size: var(--text-xs); font-weight: var(--fw-medium); color: var(--color-muted); text-transform: uppercase; letter-spacing: .05em; }

/* Evento estado */
.event-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 5px;
  margin-bottom: .75rem;
}
.status-open     { background: #111111; color: #ffffff; }
.status-sold_out { background: #555555; color: #ffffff; }
.status-closed   { background: #e5e5e5; color: #555555; }
.status-draft    { background: #e5e5e5; color: #555555; }

/* Precio badge */
.price-tag {
  display: inline-block;
  background: #f5f5f5;
  color: #555555;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  padding: .2rem .7rem;
  border-radius: 100px;
  border: 1px solid #e5e5e5;
}
.price-tag.free {
  background: #f5f5f5;
  color: #111111;
  font-weight: var(--fw-bold);
}

/* =========================================================
   EVENTO DESTACADO (homepage)
   ========================================================= */
.evento-featured {
  padding: 5rem 0;
  background: var(--color-surface);
}
@media (min-width: 1024px) { .evento-featured { padding: 7rem 0; } }

.evento-featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.evento-featured-img {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  aspect-ratio: 4/3;
}
.evento-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.evento-featured-content .hero-badge {
  background: #f5f5f5;
  color: #111111;
  border: 1px solid #e5e5e5;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.evento-featured-content h2 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  margin-bottom: 1rem;
  line-height: var(--leading-tight);
}
.evento-featured-content p {
  font-size: var(--text-body);
  color: var(--color-muted);
  line-height: var(--leading-loose);
  margin-bottom: 2rem;
}
.evento-featured-content .btn-primary {
  background: #111111;
  color: #ffffff;
}
.evento-featured-content .btn-primary:hover { background: #333333; }
.evento-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.evento-meta-row .event-status { margin: 0; }
.evento-meta-detail {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-muted);
}

@media (max-width: 800px) {
  .evento-featured-inner { grid-template-columns: 1fr; gap: 2rem; }
  .evento-featured-img { aspect-ratio: 16/9; }
}

/* =========================================================
   SINGLE EVENTO — cabecera + detalle
   ========================================================= */
.evento-header {
  background: var(--color-hero-bg);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.evento-header .event-status { margin-bottom: 1rem; }
.evento-header h1 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: var(--fw-regular);
  color: #fff;
  margin-bottom: 1.25rem;
}
.evento-hero-meta {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.25rem;
}
.evento-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.78);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}
.evento-hero-meta i {
  font-size: 1.05rem;
  flex-shrink: 0;
  opacity: .85;
}
.evento-body {
  display: grid;
  grid-template-columns: 1fr clamp(300px, 36%, 420px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: 4rem 0;
}
.evento-description {
  font-size: var(--text-body);
  line-height: var(--leading-loose);
  color: var(--color-text);
}
.evento-description p + p { margin-top: 1rem; }

@media (max-width: 900px) {
  .evento-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .evento-body aside { order: -1; }
}

/* =========================================================
   FICHA DE EVENTO (sidebar del single)
   ========================================================= */
.evento-ficha {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.evento-ficha h2 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: 1.25rem;
}
.ficha-row {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.ficha-row:last-of-type { border-bottom: none; }
.ficha-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.ficha-label { font-weight: var(--fw-semibold); color: var(--color-text); }
.ficha-value { color: var(--color-muted); }
.ficha-precio {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin: 1.25rem 0 .75rem;
}
.ficha-precio small {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--fw-regular);
}
.ficha-precio.free { color: var(--color-primary); }
.ficha-btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* Layout: evento sin contenido (solo ficha lateral) */
.evento-body--aside-only {
  grid-template-columns: 1fr;
  max-width: clamp(300px, 42%, 460px);
}
.evento-sin-contenido {
  padding: 2rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-muted);
  font-size: var(--text-sm);
  text-align: center;
}

/* Botón volver en panel de compra */
.btn-back {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
}
.btn-back:hover { color: var(--color-primary); }

/* =========================================================
   TAQUILLA GATE (compra de entradas)
   ========================================================= */
.taquilla-gate {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
}
.taquilla-gate h2 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  margin-bottom: .5rem;
}
.taquilla-gate p { color: var(--color-muted); font-size: var(--text-body); margin-bottom: 1.5rem; }

.buy-form { display: flex; flex-direction: column; gap: 1rem; }
.buy-form label { font-weight: 600; text-align: left; font-size: .9rem; }
.buy-form input[type="number"],
.buy-form input[type="email"],
.buy-form input[type="text"] {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color .15s;
  font-family: var(--font-sans);
}
.buy-form input:focus { outline: none; border-color: var(--color-primary); }
.taquilla-gate .btn { width: 100%; justify-content: center; font-size: 1rem; padding: .85rem; }

.gate-notice {
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--color-muted);
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  text-align: left;
}

/* Feedback */
.taquilla-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.taquilla-message.success { background: #f5f5f5; color: #111111; border: 1px solid #e5e5e5; }
.taquilla-message.error   { background: #f5f5f5; color: #111111; border: 1px solid #bbbbbb; }
.taquilla-message.info    { background: #f5f5f5; color: #555555; border: 1px solid #e5e5e5; }

/* =========================================================
   QUOTE / ALCALDE
   ========================================================= */
.alcalde-section {
  background: var(--color-primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.alcalde-inner { max-width: 680px; margin: 0 auto; }
.alcalde-inner::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--color-accent);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
  opacity: .7;
}
blockquote {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--leading-loose);
  opacity: .88;
}
blockquote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 1.25rem;
  opacity: .65;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--color-footer-link);
  font-size: .82rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col li + li { margin-top: .6rem; }
.footer-col a { color: var(--color-footer-text); font-size: .9rem; }
.footer-col a:hover { color: var(--color-footer-link); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  padding-top: 1.25rem;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-footer-text);
}
.footer-bottom a { color: var(--color-footer-text); }
.footer-bottom a:hover { color: var(--color-footer-link); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .pillars-grid,
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .pillars-grid,
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }

  .nav-primary { display: none; }
  .nav-primary.open {
    display: block;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    padding: .75rem 1rem;
    border-top: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 99;
  }
  .nav-primary.open ul { flex-direction: column; gap: .1rem; }
  .nav-primary.open a { padding: .75rem 1rem; border-radius: var(--radius); }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; }
  .header-inner { position: relative; }

  .hero { padding: 3rem 0 2.5rem; min-height: 45vh; }
  .hero--short { min-height: 22vh !important; padding: 2rem 0 1.75rem !important; }

  .section { padding: 2.5rem 0; }
  .pillars { padding: 2rem 0; }
  .pillar { padding: 1.5rem .75rem; }

  .evento-header { padding: 2rem 0 1.75rem; }
  .evento-hero-meta { gap: .45rem; }
  .evento-body { padding: 2.5rem 0; }

  .evento-ficha  { padding: 1.5rem; }
  .taquilla-gate { padding: 1.75rem 1.25rem; }

  .entrada-card  { margin: 1rem; max-width: none; }
  .entrada-header { padding: 1.25rem 1.5rem; }
  .entrada-body  { padding: 1.25rem 1.5rem; }
}

/* =========================================================
   MAPA DE ASIENTOS
   ========================================================= */
.seat-map-wrap { margin: 2rem 0; }
.seat-map-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.seat-map { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.seat-row { display: flex; align-items: center; gap: 6px; }
.seat-row-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--color-muted);
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}
.seat {
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: background .12s, border-color .12s;
  user-select: none;
}
.seat:hover:not(.taken):not(.selected) { background: var(--color-warm); border-color: #aaaaaa; }
.seat.taken  { background: #111111; border-color: #111111; color: #fff; cursor: not-allowed; }
.seat.selected { background: #fff; border-color: #111111; border-width: 3px; font-weight: var(--fw-bold); color: #111; }
.seat-map-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.seat-map-legend span { display: flex; align-items: center; gap: .35rem; }
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 2px solid var(--color-border);
  display: inline-block;
}
.legend-dot.taken    { background: #111; border-color: #111; }
.legend-dot.selected { border-color: #111; border-width: 3px; }
.seat-map-escenario {
  width: 60%;
  text-align: center;
  background: #f5f5f5;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: .4rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}

/* =========================================================
   ENTRADA / QR
   ========================================================= */
.entrada-card {
  max-width: 480px;
  margin: 3rem auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.entrada-header {
  background: #111111;
  color: #fff;
  padding: 1.5rem 2rem;
}
.entrada-header h1 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--fw-regular);
  color: #fff;
  margin-bottom: .25rem;
}
.entrada-header .entrada-meta { font-size: var(--text-sm); opacity: .75; }
.entrada-body { padding: 2rem; }
.entrada-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.entrada-row:last-of-type { border-bottom: none; }
.entrada-row dt { font-weight: var(--fw-semibold); color: var(--color-muted); }
.entrada-row dd { color: var(--color-text); }
.entrada-qr { text-align: center; padding: 1.5rem 0 .5rem; }
.entrada-estado {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .5rem 1rem;
  border-radius: 100px;
  margin: 1rem auto 0;
  display: inline-block;
}
.entrada-estado.valida { background: #111; color: #fff; }
.entrada-estado.usada  { background: #e5e5e5; color: #555; }
