/* =========================================================
   SECCIÓN · El problema y cómo lo resolvemos (#problema)
   Cada fila: problema de hoy → solución con PARFI.
   Los números con data-to cuentan desde 0 (js/effects.js).
   ========================================================= */
.problem-top { display: grid; grid-template-columns: 1fr auto; gap: 32px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.problem-top > * { min-width: 0; }
.problem-top .head { margin-bottom: 0; }

.stats { display: flex; gap: 28px; }
.stat { display: grid; gap: 4px; min-width: 0; }
.stat .big {
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); color: var(--orange-deep); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat > span:last-child { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

.vs-head, .friction li { display: grid; grid-template-columns: 52px minmax(0, 13rem) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.vs-head { padding-bottom: 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.vs-head span:last-child { color: var(--orange-deep); }

.friction { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
.friction li { align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line-light); }
.friction h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 105%; transition: color .2s; }
.friction .now { color: var(--ink-soft); }
.friction .fix { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; }
.friction .fix::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg);
}
.friction li:hover h3 { color: var(--orange-deep); }
.friction li:hover .ico { transform: rotate(-6deg) scale(1.1); }

@media (max-width: 960px) {
  .problem-top { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .vs-head { display: none; }
  .friction li { grid-template-columns: 44px 1fr; gap: 8px 16px; align-items: start; }
  .friction .now, .friction .fix { grid-column: 2; }
  .friction .now::before { content: "Hoy: "; font-weight: 600; color: var(--ink); }
}
