/* COMPETENCES */
.page.competences .skills-grid {
  display: grid;
  gap: 16px;
}

.page.competences .skill-card {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.page.competences .tags {
  list-style: none;
  padding: 0;
  margin: 10px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page.competences .tags li {
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--text-main);
  font-size: 14px;
}

.page.competences .levels {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.page.competences .level {
  display: grid;
  gap: 6px;
}

.page.competences .bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
}

.page.competences .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, rgba(37,99,235,0.65), rgba(30,64,175,0.85));
  border-radius: 999px;
}

.page.competences .muted {
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .page.competences .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
}
