.main { padding: 8rem 6vw 6rem; max-width: 1200px; margin: 0 auto; }

.kicker {
  font-family: var(--font-main); font-size: 10px;
  letter-spacing: 4px; color: var(--gold); opacity: 0.6;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.titulo {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.15; margin-bottom: 1rem;
}
.actualizado {
  font-family: var(--font-main); font-size: 10px;
  letter-spacing: 2px; color: var(--text-muted); margin-bottom: 3rem;
}

/* Selector */
.acta-selector-wrap {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.filtro-label {
  font-family: var(--font-main); font-size: 9px;
  letter-spacing: 3px; color: var(--gold); opacity: 0.6;
  text-transform: uppercase; white-space: nowrap;
}
.acta-select {
  flex: 1; min-width: 300px;
  background: var(--dark2); color: var(--text);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 10px 14px;
  font-family: var(--font-main); font-size: 10px;
  letter-spacing: 1px;
  appearance: none; cursor: pointer;
  outline: none;
}
.acta-select:focus { border-color: var(--gold); }

/* Stats */
.stats-section {
  display: grid;
  grid-template-columns: 1fr repeat(4, auto);
  gap: 1px; background: rgba(201,168,76,0.08);
  margin-bottom: 3rem;
}
.stat-card {
  background: var(--dark2); padding: 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.stat-label {
  font-family: var(--font-main); font-size: 9px;
  letter-spacing: 3px; color: var(--gold); opacity: 0.6;
  text-transform: uppercase;
}
.stat-valor {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400;
}
.stat-valor.afirmativo { color: #4caf87; }
.stat-valor.negativo   { color: #c94c4c; }
.stat-valor.abstencion { color: #c9a84c; }
.stat-valor.ausente    { color: rgba(232,224,208,0.3); }
.resultado-card .stat-valor { color: var(--text); }

/* Hemiciclo */
.hemiciclo-section { margin-bottom: 3rem; }
.hemiciclo-wrap {
  position: relative;
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 1rem;
}
#hemiciclo-svg { width: 100%; height: auto; display: block; }

.banca {
  cursor: pointer;
  transition: opacity 0.15s;
}
.banca:hover { opacity: 0.75; }
.banca-afirmativo { fill: #4caf87; }
.banca-negativo   { fill: #c94c4c; }
.banca-abstencion { fill: #c9a84c; }
.banca-ausente    { fill: rgba(232,224,208,0.15); }
.banca-presidente { fill: #6b8cc9; }

.hemi-tooltip {
  position: absolute; display: none;
  background: rgba(6,6,10,0.95);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 10px 14px; pointer-events: none;
  font-family: var(--font-main); font-size: 10px;
  letter-spacing: 1px; color: var(--text);
  max-width: 200px; z-index: 10;
}

.hemi-leyenda {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  padding: 1rem 1rem 0; margin-bottom: 1rem;
}
.ley-item {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-main); font-size: 9px;
  letter-spacing: 2px; color: var(--text-muted);
  text-transform: uppercase;
}
.ley-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.ley-dot.afirmativo { background: #4caf87; }
.ley-dot.negativo   { background: #c94c4c; }
.ley-dot.abstencion { background: #c9a84c; }
.ley-dot.ausente    { background: rgba(232,224,208,0.2); border: 1px solid rgba(232,224,208,0.3); }
.ley-dot.presidente { background: #6b8cc9; }

/* Lista */
.lista-section { margin-bottom: 4rem; }
.lista-header {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap;
  gap: 1rem; margin-bottom: 1.5rem;
}
.lista-titulo {
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 400;
}
.lista-filtros { display: flex; gap: 4px; flex-wrap: wrap; }
.voto-btn {
  font-family: var(--font-main); font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid rgba(201,168,76,0.2);
  background: transparent; color: var(--text-muted);
  cursor: pointer; transition: all 0.15s;
}
.voto-btn:hover { border-color: var(--gold); color: var(--gold); }
.voto-btn.active { background: var(--gold); color: #06060a; border-color: var(--gold); }

.lista-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px; background: rgba(201,168,76,0.08);
}
.diputado-card {
  background: var(--dark2); padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.diputado-foto {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid transparent;
}
.diputado-foto.afirmativo { border-color: #4caf87; }
.diputado-foto.negativo   { border-color: #c94c4c; }
.diputado-foto.abstencion { border-color: #c9a84c; }
.diputado-foto.ausente    { border-color: rgba(232,224,208,0.2); }
.diputado-info { flex: 1; min-width: 0; }
.diputado-nombre {
  font-size: 0.85rem; color: var(--text);
  white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.diputado-voto {
  font-family: var(--font-main); font-size: 8px;
  letter-spacing: 2px; text-transform: uppercase;
}
.diputado-voto.afirmativo { color: #4caf87; }
.diputado-voto.negativo   { color: #c94c4c; }
.diputado-voto.abstencion { color: #c9a84c; }
.diputado-voto.ausente    { color: rgba(232,224,208,0.3); }

.page-footer {
  border-top: 1px solid rgba(201,168,76,0.08);
  padding-top: 2rem; margin-top: 2rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.page-footer p, .page-footer a {
  font-family: var(--font-main); font-size: 9px;
  letter-spacing: 2px; color: var(--text-muted);
  text-decoration: none; text-transform: uppercase;
}
.page-footer a:hover { color: var(--gold); }
.footer-back { color: var(--gold) !important; }

@media (max-width: 768px) {
  .stats-section { grid-template-columns: 1fr 1fr; }
  .lista-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-section { grid-template-columns: 1fr; }
}
