/* ============ CÓMO COLABORAR ============ */
.collaborate {
  background: var(--color-navy-900);
  text-align: center;
}

.collaborate__inner {
  width: 100%;
  max-width: 1440px;
  padding: 4rem 2rem;
  margin: 0 auto;
}

.collaborate__title {
  font-size: 5rem;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.collaborate__intro {
  font-size: var(--font-size-description);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 2.5rem;
}

.collaborate__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.collaborate-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--color-purple-light);
  color: var(--color-navy-900);
}

.collaborate-card__title {
  font-size: var(--font-size-card-title);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Pushes every CTA to the card's baseline so they align across the row
   regardless of how many lines each description runs to. */
.collaborate-card__text {
  font-size: var(--font-size-section);
  line-height: var(--line-height-normal);
}

/* Buttons do not wrap, so a card narrower than its own CTA would be overflowed
by it. max-width keeps the pill inside the card as a last resort. */
.collaborate-card__cta {
  margin-top: 0.75rem;
  align-self: flex-start;
  max-width: 100%;
}

/* "Sumarme como voluntario" needs ~222px, so a four-column row stops fitting
   below roughly 1274px. Dropping to two columns here rather than at the usual
   1024px keeps every CTA on one line. */
@media (max-width: 1280px) {
  .collaborate__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .collaborate__inner {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .collaborate {
    padding:0;
  }
  .collaborate__inner {
    padding: 4rem 1.5rem;
  }

  .collaborate__title {
    font-size: var(--font-size-h2);
  }

  .collaborate__intro {
    font-size: var(--font-size-body);
  }
  .collaborate__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
