/* /soluciones/ — audience + use-case page. New components only; the hero,
   section, eyebrow, section-title, faq-* and cta-band come from site.css.
   Colour pairs measured against WCAG 1.4.3:

     --ink   #0e0e1a on --surface #fff     19.15:1   segment titles, outcome text
     --muted #5b5b70 on --surface #fff      6.61:1   segment bodies
     --quiet #68687d on --canvas #fbfbfd    5.26:1   kickers
     violet  #7c3aed on #f3eefd             5.01:1   module chips */

/* ---------- audience segment ----------
   Narrative on the left, the outcomes it buys on the right — the same
   "problem stated, answer beside it" rhythm the home page uses, at
   section scale. Anchored (scroll-margin) so the mega menu can jump to a
   segment. */
.solution-seg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--space-11);
  align-items: start;
  scroll-margin-top: var(--space-20);
}

.solution-seg + .solution-seg {
  margin-top: var(--space-16);
  padding-top: var(--space-16);
  border-top: 1px solid var(--line-soft);
}

.seg-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  color: var(--quiet);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seg-kicker svg {
  width: 18px;
  height: 18px;
  color: var(--purple);
}

.seg-title {
  margin: 0;
  font-size: var(--display-xs);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.seg-body {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.seg-modules {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.seg-chip {
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--purple);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* The outcomes card: what this audience gets, as a checked list. */
.seg-outcomes {
  padding: var(--space-8);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 60px -44px rgb(14 14 26 / 30%);
}

.seg-outcomes h3 {
  margin: 0 0 var(--space-5);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--quiet);
}

.seg-outcomes ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.seg-outcomes li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-md);
  line-height: 1.55;
}

.seg-check {
  display: flex;
  width: 24px;
  height: 24px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dot, linear-gradient(120deg, #8b5cf6, #a855f7));
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
}

/* ---------- use-case grid ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.usecase-card {
  padding: var(--space-7);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.usecase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -30px rgb(14 14 26 / 35%);
}

.usecase-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--purple);
}

.usecase-icon svg {
  width: 22px;
  height: 22px;
}

.usecase-title {
  margin: var(--space-4) 0 0;
  font-size: var(--text-xl);
  font-weight: 700;
}

.usecase-body {
  margin: var(--space-2) 0 0;
  color: var(--muted);
  font-size: var(--text-md);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .solution-seg {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }

  .usecase-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
