.amber-purpose {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.amber-purpose * {
  box-sizing: border-box;
}

.amber-purpose__heading {
  margin: 0 0 50px;
  text-align: center;
  font-size: 56px;
  line-height: 1.12;
  font-weight: 500;
}

.amber-purpose__heading-black { color: #111111; }
.amber-purpose__heading-purple { color: #7B1CCB; }

.amber-purpose__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 45px;
  align-items: stretch;
}

.amber-purpose__col {
  position: relative;
}

.amber-purpose__col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 76px;
  right: -22px;
  width: 2px;
  height: 230px;
  background: #E3E3E3;
}

.amber-purpose__col-inner {
  padding: 0 14px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amber-purpose__icon {
  color: #7B1CCB;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.amber-purpose__icon svg {
  width: 48px;
  height: 48px;
}

.amber-purpose__title {
  margin: 0 0 18px;
  color: #111111;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.amber-purpose__text,
.amber-purpose__values-text {
  color: #222222;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

.amber-purpose__text--center {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}

.amber-purpose__values-list {
  display: grid;
  row-gap: 16px;
  max-width: 220px;
  margin: 0 auto;
}

.amber-purpose__value-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
}

.amber-purpose__value-icon {
  color: #7B1CCB;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.amber-purpose__value-icon svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .amber-purpose__heading {
    font-size: 44px;
    margin-bottom: 38px;
  }

  .amber-purpose__grid {
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .amber-purpose__col:not(:last-child)::after {
    display: none;
  }

  .amber-purpose__col-inner {
    padding: 0;
  }

  .amber-purpose__values-list,
  .amber-purpose__text--center {
    max-width: 100%;
  }

  .amber-purpose__value-item {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .amber-purpose__heading {
    font-size: 34px;
  }

  .amber-purpose__title {
    font-size: 24px;
  }

  .amber-purpose__text,
  .amber-purpose__values-text {
    font-size: 15px;
  }
}

/* Responsive estable: conserva tres columnas en tablet y organiza tarjetas en móvil. */
@media (min-width: 768px) and (max-width: 1024px) {
  .amber-purpose {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .amber-purpose__heading {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    font-size: clamp(34px, 5vw, 44px);
    line-height: 1.15;
  }

  .amber-purpose__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    align-items: start;
  }

  .amber-purpose__col {
    min-width: 0;
    width: 100%;
    padding: 0 18px;
  }

  .amber-purpose__col:not(:last-child)::after {
    display: block;
    top: 58px;
    right: 0;
    width: 1px;
    height: calc(100% - 70px);
  }

  .amber-purpose__col-inner {
    width: 100%;
    min-width: 0;
    padding: 0;
    align-items: center !important;
    text-align: center !important;
  }

  .amber-purpose__icon {
    margin-left: auto;
    margin-right: auto;
  }

  .amber-purpose__title,
  .amber-purpose__text {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    overflow-wrap: anywhere;
  }

  .amber-purpose__title {
    font-size: clamp(20px, 2.8vw, 26px);
  }

  .amber-purpose__text,
  .amber-purpose__values-text {
    font-size: clamp(13px, 1.8vw, 16px);
    line-height: 1.38;
  }

  .amber-purpose__values-list {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .amber-purpose__value-item {
    justify-content: flex-start !important;
    text-align: left !important;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .amber-purpose {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden;
  }

  .amber-purpose__heading {
    width: 100%;
    margin: 0 auto 30px;
    text-align: center !important;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .amber-purpose__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }

  .amber-purpose__col {
    width: 100%;
    min-width: 0;
    padding: 28px 0;
  }

  .amber-purpose__col:first-child {
    padding-top: 0;
  }

  .amber-purpose__col:not(:last-child)::after {
    display: block;
    top: auto;
    right: 10%;
    bottom: 0;
    width: 80%;
    height: 1px;
  }

  .amber-purpose__col-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 10px;
    align-items: center !important;
    text-align: center !important;
  }

  .amber-purpose__icon {
    margin: 0 auto 16px;
    display: flex;
  }

  .amber-purpose__title {
    width: 100%;
    margin: 0 auto 14px;
    text-align: center !important;
    font-size: clamp(23px, 7vw, 28px);
    overflow-wrap: anywhere;
  }

  .amber-purpose__text,
  .amber-purpose__text--center {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .amber-purpose__values-list {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    row-gap: 13px;
  }

  .amber-purpose__value-item {
    width: 100%;
    min-width: 0;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .amber-purpose__values-text {
    min-width: 0;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}
