/* ═══ PROBLEMS — Dark theme ═══ */

.problems {
  display: none;
  flex-direction: column;
  gap: 32px;
  padding: 48px var(--section-px) 64px;
  background: var(--noir-bg);
}

/* ── Header ── */

.problems__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.problems__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--brume);
}

.problems__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.problems__title-l1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--noir);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.problems__title-l2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-text);
}

.problems__sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--gris-400);
  line-height: 1.7;
  max-width: 640px;
  margin: 0;
}

/* ── Cards grid ── */

.problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.problems__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--noir-card);
  border-radius: 14px;
  border: 1px solid var(--gris-200);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s;
}

.problems__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.2);
}

.problems__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problems__icon-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--error);
}

.problems__card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.problems__card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--noir);
  margin: 0;
}

.problems__card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gris-400);
  line-height: 1.5;
  margin: 0;
}

/* ── Tablet ── */

@media (min-width: 768px) {
  .problems {
    display: flex;
  }

  .problems__title-l1 {
    font-size: 40px;
  }

  .problems__title-l2 {
    font-size: 36px;
  }

  .problems__sub {
    font-size: 17px;
  }

  .problems__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Desktop ── */

@media (min-width: 1024px) {
  .problems__title-l1 {
    font-size: 44px;
  }

  .problems__title-l2 {
    font-size: 40px;
  }

  .problems__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }
}
