/* =========================================================
   Cúcuta Come · versión narrativa (v2)
   Se carga después de styles.css. Solo agrega las secciones
   nuevas: el problema, la app y el video.
   ========================================================= */

html { scrollbar-gutter: stable; }

/* ── El problema ─────────────────────────────────────────── */
.problem {
  background: linear-gradient(180deg, #f4f1ec 0%, #f8f6f3 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.problem .eyebrow { color: var(--red); }
.problem h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
  line-height: 1.02;
}
.problem h2 .hl { color: var(--red); }

.problem__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.problem__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding-top: 6px;
}
.problem__lead {
  max-width: 34ch;
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.problem__list { list-style: none; padding: 0; margin: 0; }
.problem__item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 180px;
  column-gap: 20px;
  align-items: center;
  padding: 26px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(24, 27, 32, 0.04);
}
.problem__item + .problem__item { margin-top: 16px; }
.problem__num {
  align-self: start;
  padding-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}
.problem__body h3 { margin: 0; font-size: 1.38rem; color: var(--ink); }
.problem__body p {
  margin: 7px 0 0;
  max-width: 32ch;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.problem__visual {
  position: relative;
  justify-self: end;
  width: 180px;
  color: var(--ink);
}
.problem__visual--chat { height: 94px; }
.bubble {
  position: absolute;
  max-width: 158px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 10px 10px 10px 4px;
  background: rgba(246, 243, 239, 0.9);
  font-size: 0.56rem;
  line-height: 1.35;
  color: var(--ink-2);
  box-shadow: 0 6px 12px rgba(24, 27, 32, 0.04);
}
.bubble--in:nth-child(1) { top: 0; left: 0; }
.bubble--out {
  top: 28px;
  right: 0;
  border-color: rgba(229, 48, 42, 0.2);
  border-radius: 10px 10px 4px 10px;
  background: var(--red);
  color: #fff;
}
.bubble--in:nth-child(3) { top: 60px; left: 12px; }
.chat-count {
  position: absolute;
  right: 0;
  bottom: -12px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
}

.problem__visual--paper { height: 84px; }
.mini-ticket {
  position: absolute;
  top: 8px;
  left: 0;
  width: 90px;
  padding: 7px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.53rem;
  line-height: 1.2;
  transform: rotate(-6deg);
  box-shadow: 0 8px 18px rgba(24, 27, 32, 0.04);
}
.mini-ticket small { display: block; margin-top: 3px; font-size: 0.48rem; color: var(--muted); }
.mini-ticket:nth-child(2) { top: 2px; left: 44px; transform: rotate(4deg); }
.mini-ticket:nth-child(3) { top: 13px; left: 88px; transform: rotate(-2deg); }
.mini-ticket--lost { border: 1px solid rgba(229, 48, 42, 0.25); }
.mini-ticket--lost small { color: var(--red); font-size: 0.8rem; font-weight: 700; }

.problem__visual--delivery { width: 190px; }
.problem__visual--delivery span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.56rem;
}
.problem__visual--delivery span:last-child { border-bottom: 0; }
.problem__visual--delivery b { font-weight: 600; color: var(--ink); }
.problem__visual--delivery small {
  font-size: 0.5rem;
  color: var(--red);
  white-space: nowrap;
}

.problem__visual--close {
  width: 180px;
  padding: 12px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  transform: rotate(-2deg);
  box-shadow: 0 14px 24px rgba(24, 27, 32, 0.04);
}
.problem__visual--close span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.52rem;
  color: var(--muted);
}
.problem__visual--close b { color: var(--ink); font-weight: 600; }
.problem__visual--close .mini-total {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--ink);
  border-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}
.problem__visual--close .mini-total b { color: var(--red); }

.problem__bridge {
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: clamp(38px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.problem__no,
.problem__yes {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.problem__no s {
  color: rgba(24, 27, 32, 0.38);
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.055em;
}
.problem__yes span { color: var(--red); }
.problem__because {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  font-weight: 600;
  color: var(--ink-2);
}
.problem__because::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}

/* ── La app ──────────────────────────────────────────────── */
.app { background: var(--cream); }
.app__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.app h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.02;
}
.app h2 .hl { color: var(--red); }
.app__points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.app__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.app__points .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--red); stroke-width: 2.4; }
@media (max-width: 920px) {
  .problem__intro { position: static; }
  .problem__item { grid-template-columns: 30px minmax(0, 1fr); }
  .problem__visual { grid-column: 2; justify-self: start; margin-top: 16px; }
}

@media (max-width: 720px) {
  .problem__visual { display: block; justify-self: start; width: min(100%, 180px); margin-top: 16px; }
  .problem__visual--delivery { width: min(100%, 190px); }
  .problem__no, .problem__yes { font-size: clamp(2.2rem, 11vw, 3.3rem); }
  .problem__because { font-size: 1.02rem; }
  .app h2 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
}
