.canal-hero {
  align-items: start;
  padding-bottom: 72px;
}

.canal-when {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.ladder {
  background: var(--dark);
  color: #f3f1ea;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(11, 20, 18, 0.16);
  overflow: hidden;
  border-left: 4px solid var(--orange);
}

.ladder-top {
  display: block;
  padding: 28px 28px 0;
}

.ladder-titleline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.ladder-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ladder-top h2 {
  margin: 0;
  max-width: 16em;
  color: #f3f1ea;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.ladder-note {
  margin: 12px 0 0;
  max-width: none;
  color: rgba(243, 241, 234, 0.72);
  font-size: 15px;
}

.ladder .canal-when {
  margin: 0 0 6px;
  color: rgba(243, 241, 234, 0.62);
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.ladder-board {
  margin-top: 22px;
  border-top: 1px solid rgba(243, 241, 234, 0.1);
}

.ladder-board--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ladder-col + .ladder-col {
  border-left: 1px solid rgba(243, 241, 234, 0.1);
}

.ladder-head,
.ladder-row {
  display: grid;
  grid-template-columns: 3rem minmax(9rem, max-content) minmax(1.25rem, 1fr) auto;
  align-items: center;
  gap: 0.7rem 0.9rem;
  padding: 0.55rem 1.25rem;
}

.ladder-head {
  color: rgba(243, 241, 234, 0.46);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(243, 241, 234, 0.08);
}

.ladder-head span:last-child { text-align: center; min-width: 4.5rem; }

.ladder-row {
  border-bottom: 1px solid rgba(243, 241, 234, 0.08);
  font-variant-numeric: tabular-nums;
}

.ladder-row:last-child { border-bottom: 0; }

.ladder-row--last {
  background: rgba(224, 135, 0, 0.08);
}

.ladder-nivel {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f3f1ea;
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.ladder-kwh {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.ladder-kwh small {
  color: rgba(243, 241, 234, 0.62);
  font-size: 13px;
}

.ladder-leader {
  border-top: 1px dashed rgba(243, 241, 234, 0.28);
}

.ladder-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  min-height: 2.1rem;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--dark);
  font-weight: 800;
}

.ladder-state {
  margin: 0;
  padding: 28px 22px 32px;
  color: rgba(243, 241, 234, 0.72);
}

@media (max-width: 960px) {
  .canal-hero { padding-bottom: 48px; }
  .ladder-kwh { font-size: 14px; }
  .ladder-top { padding: 22px 18px 0; }
  .ladder-titleline { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ladder .canal-when { text-align: left; white-space: normal; }
  .ladder-board--split { grid-template-columns: 1fr; }
  .ladder-col + .ladder-col { border-left: 0; border-top: 1px solid rgba(243, 241, 234, 0.1); }
}

@media (max-width: 640px) {
  .ladder-head,
  .ladder-row {
    grid-template-columns: 2.4rem minmax(0, 1fr) auto;
    gap: 0.45rem 0.6rem;
    padding-inline: 0.9rem;
  }

  .ladder-leader,
  .ladder-head span:nth-child(3) { display: none; }
}
