.latam-home-segmentation {
  padding: 5.5rem 1.5rem;
  background: #f8fcff;
}

.latam-home-segmentation__container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.latam-home-segmentation__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.6rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.latam-home-segmentation__header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.latam-home-segmentation__title {
  margin: 0 0 0.8rem;
  color: #1f3442;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
}

.latam-home-segmentation__title-gradient {
  background: linear-gradient(90deg, #42b8ee, #fbc862, #42b8ee);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: latam-seg-gradient 3s ease infinite;
}

.latam-home-segmentation__subtitle {
  margin: 0 auto;
  max-width: 78ch;
  color: #5f7381;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
}

.latam-home-segmentation__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.latam-seg-card {
  background: #ffffff;
  border: 1px solid #dfeaf2;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 8px 26px -16px rgba(21, 40, 52, 0.25);
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  transition-delay: var(--seg-delay, 0ms);
}

.latam-seg-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.latam-seg-card:hover {
  border-color: rgba(66, 184, 238, 0.5);
  box-shadow: 0 18px 38px -20px rgba(16, 37, 50, 0.35);
}

.latam-seg-card__icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  background: rgba(66, 184, 238, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.latam-seg-card__icon img {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
  margin: auto;
  object-fit: contain;
  filter: invert(51%) sepia(56%) saturate(1285%) hue-rotate(163deg) brightness(96%) contrast(94%);
}

.latam-seg-card__title {
  margin: 0 0 0.55rem;
  font-size: 1.24rem;
  line-height: 1.3;
  color: #1f3442;
  font-weight: 800;
}

.latam-seg-card__desc {
  margin: 0 0 1rem;
  color: #5f7381;
  line-height: 1.65;
  flex: 1;
}

.latam-seg-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 2px solid rgba(66, 184, 238, 0.55);
  color: #228fbf;
  text-decoration: none;
  font-weight: 700;
  border-radius: 11px;
  padding: 0.58rem 0.8rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.latam-seg-card__cta:hover {
  background: rgba(66, 184, 238, 0.08);
  border-color: #42b8ee;
}

@keyframes latam-seg-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 980px) {
  .latam-home-segmentation__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
