
.highlights-grid-section {
  position: relative;
  width: var(--highlights-grid-vw, 100vw);
  margin-left: calc(50% - var(--highlights-grid-vw, 100vw) / 2);
  margin-right: calc(50% - var(--highlights-grid-vw, 100vw) / 2);
  padding: 60px 70px;
  overflow: hidden;
  box-sizing: border-box;
}

.highlights-grid-section *,
.highlights-grid-section *::before,
.highlights-grid-section *::after {
  box-sizing: border-box;
}

.highlights-grid-section,
.highlights-grid-section * {
  font-family: 'Ubuntu', sans-serif !important;
}

.highlights-grid-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* --- Header ------------------------------------------------------------- */

.highlights-grid-header {
  padding-bottom: 24px;
  text-align: center;
}


.highlights-grid-title > *:first-child {
  margin-top: 0;
}

.highlights-grid-title > *:last-child {
  margin-bottom: 0;
}

.highlights-grid-title h1,
.highlights-grid-title h2,
.highlights-grid-title h3,
.highlights-grid-title h4,
.highlights-grid-title h5,
.highlights-grid-title h6 {
  max-width: 552px;
  margin: 0 auto;
  color: #000;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.highlights-grid-title p {
  max-width: 744px;
  margin: 24px auto 0;
  color: #28292C;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  word-break: break-word;
}

.highlights-grid-title h1 span,
.highlights-grid-title h2 span,
.highlights-grid-title h3 span,
.highlights-grid-title h4 span,
.highlights-grid-title h5 span,
.highlights-grid-title h6 span{
    color: #FF4B2B;
}

/* Separador: reproduce el nodo "Separator" del Figma (30px) con el naranja
   de marca. Cambia width/height/background aquí para ajustarlo. */
.highlights-grid-title hr {
  width: 30px;
  height: 2px;
  margin: 24px auto;
  border: 0;
  border-radius: 2px;
  background: #FF4B2B;
}

.highlights-grid-title a {
  color: inherit;
  text-decoration: underline;
}

.highlights-grid-title ul,
.highlights-grid-title ol {
  max-width: 744px;
  margin: 24px auto 0;
  padding-left: 20px;
  color: #28292C;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

/
.highlights-grid-accent {
  color: #FF4B2B;
}

/* --- Grid de cards ------------------------------------------------------ */

.highlights-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 32px;
  margin-top: 22px;
}

.highlights-grid-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 40px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 16px 32px 8px rgba(16, 26, 119, 0.12);
}

.highlights-grid-card-icon {
  display: block;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.highlights-grid-card-title {
  margin: 0;
  color: #0F172A;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.highlights-grid-card-body {
  width: 100%;
  color: #0F172A;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.highlights-grid-card-line {
  margin: 0 0 24px;
  word-break: break-word;
}

.highlights-grid-card-line:last-child {
  margin-bottom: 0;
}

.highlights-grid-card-line strong {
  font-weight: 700;
}


.highlights-grid-js .highlights-grid-card {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.highlights-grid-js .highlights-grid-card.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease var(--highlights-grid-delay, 0ms),
    transform 0.6s ease var(--highlights-grid-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .highlights-grid-js .highlights-grid-card {
    opacity: 1;
    transform: none;
  }

  .highlights-grid-js .highlights-grid-card.is-visible {
    transition: none;
  }
}

/* --- Laptop: aún 3 columnas, pero recuperamos ancho para las cards -------- */

@media (max-width: 1300px) and (min-width: 992px) {
  .highlights-grid-section {
    padding: 60px 40px;
  }
}

/* --- Tablet -------------------------------------------------------------- */

@media (max-width: 991px) {
  .highlights-grid-section {
    padding: 48px 40px;
  }

  .highlights-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 0;
  }
}

/* --- Mobile -------------------------------------------------------------- */

@media (max-width: 767px) {
  .highlights-grid-section {
    padding: 48px 24px;
  }

  .highlights-grid-header {
    text-align: left;
  }

  .highlights-grid-title h1,
  .highlights-grid-title h2,
  .highlights-grid-title h3,
  .highlights-grid-title h4,
  .highlights-grid-title h5,
  .highlights-grid-title h6 {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: 28px;
  }

  .highlights-grid-title p,
  .highlights-grid-title ul,
  .highlights-grid-title ol,
  .highlights-grid-title hr {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

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

  .highlights-grid-card {
    gap: 24px;
  }

  .highlights-grid-card-icon {
    width: 48px;
    height: 48px;
  }
}
