/* ===== HERO ===== */
.hero-representacion {
  height: 70vh;
  background: url('../images/hero/gavel and Constitution.jpg') center center / cover no-repeat;
  position: relative;
  color: #fff;
}

.hero-representacion .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
}

/* ===== SECCIÓN ===== */
.representacion-section {
  background: linear-gradient(180deg, #fdfdfd 0%, #fafafa 100%);
}

/* ===== TABLA ===== */
.representacion-table {
  border-radius: 12px;
  overflow: hidden;
}

.representacion-table thead {
  background: linear-gradient(90deg, #f9d342, #ffe57f);
  font-weight: bold;
}

.representacion-table tbody tr {
  transition: background 0.3s ease, transform 0.2s ease;
}

.representacion-table tbody tr:hover {
  background: rgba(255, 235, 59, 0.12);
  transform: translateY(-2px);
}

/* ===== LOGOS ===== */
.logo-partido {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ===== ANIMACIÓN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-representacion {
    height: 40vh;
  }

  .logo-partido {
    width: 34px;
    height: 34px;
  }
}
