/* =========================================================
   LISTA de ítems de cada sección
   ========================================================= */

/* ---------- Lista y detalle ---------- */
.stage {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-columns);
  margin-top: var(--gap-stage);
}

/* Planes y Contacto tienen vista propia: el escenario deja de repartir lista y detalle */
.stage.show-custom { display: block; }

.list {
  flex: 0 0 clamp(260px, 32%, 360px);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 12px;
  background: none;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  font: inherit;
  font-size: 20px;
  text-align: left;
  cursor: pointer;
  transition: color var(--quick) var(--glide), transform var(--move) var(--spring);
}

/* Franja de luz detrás del ítem: fuerte en el activo, tenue bajo el cursor */
.item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015) 75%, transparent);
  opacity: 0;
  transition: opacity var(--quick) var(--glide);
  pointer-events: none;
}

.item.on {
  color: var(--fg);
  transform: translateX(6px);
}

.item.on::before { opacity: 1; }

.dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  transition: background var(--quick) var(--glide), transform var(--move) var(--spring);
}

.item.on .dot {
  background: var(--accent);
  transform: scale(1.4);
  animation: pulse var(--breath) ease-in-out infinite;
}

.itx {
  display: flex;
  flex-direction: column;
}

.it-t {
  font-weight: 300;
  transition: font-size var(--move) var(--glide);
}

.item.on .it-t {
  font-weight: 400;
  font-size: 25px;
  animation: breathe var(--breath) ease-in-out infinite;
}

/* El subtítulo se despliega en vez de aparecer de golpe */
.it-s {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  font-size: 14px;
  color: var(--muted);
  transition: max-height var(--move) var(--glide), margin-top var(--move) var(--glide), opacity var(--move) var(--glide), visibility 0s var(--move);
}

.item.on .it-s {
  max-height: 3em;
  margin-top: 4px;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

@keyframes breathe {
  0%, 100% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { text-shadow: 0 0 14px rgba(255, 255, 255, .45); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 255, 255, .35); }
  50% { box-shadow: 0 0 10px 2px rgba(255, 255, 255, .7); }
}
