main.hp-services > section > div {
  box-sizing: border-box;
  width: min(100%, 76rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.hp-services .hp-media-grid,
.hp-services .hp-related-grid {
  display: grid;
  grid-template-columns: repeat(var(--hp-columns, 2), minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.hp-services #servicios > div > .hp-media-grid.hp-media-grid {
  grid-template-columns: repeat(var(--hp-columns, 2), minmax(0, 1fr));
}

.hp-services .hp-media-grid > .hp-media-card,
.hp-services .hp-related-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: #fff;
  color: #172526;
  border: 1px solid #d7e3da;
  border-radius: 1rem;
  box-shadow: 0 8px 24px #1725260c;
}

.hp-services .hp-media-card :is(h3, p) {
  color: #172526;
}
.hp-services :is(.hp-media-card, .hp-related-link) > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: cover;
  background: #e4eae4;
}
.hp-services .hp-card-copy {
  padding: clamp(1rem, 2.4vw, 1.5rem);
}
.hp-services .hp-card-copy h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.hp-services .hp-card-copy p {
  margin-top: .65rem;
  color: #435250;
  font-size: 1rem;
  line-height: 1.55;
}

.hp-services .hp-related {
  background: #eef4ed;
}
.hp-services .hp-related-grid {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.hp-services .hp-related-grid li {
  display: flex;
}
.hp-services .hp-related-link {
  width: 100%;
  text-decoration: none;
}
.hp-services .hp-related-link > img {
  aspect-ratio: 2.35 / 1;
}
.hp-services .hp-related-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
}
.hp-services .hp-related-label > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #e1eee0;
  color: #254b31;
}
.hp-services .hp-related-link:hover {
  border-color: #558651;
  box-shadow: 0 10px 26px #17252620;
}
.hp-services .hp-related-link:focus-visible {
  outline: 3px solid #3e7139;
  outline-offset: 4px;
}
.hp-services .hp-assessment > div {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}
.hp-services .hp-assessment img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
}
.hp-services .hp-applications .hp-media-grid + p {
  margin-top: 1.5rem;
}
.hp-services section:has(> div > ol.grid) li > span:first-child {
  position: static;
  margin-bottom: .65rem;
}

@media (max-width: 760px) {
  .hp-services .hp-media-grid,
  .hp-services #servicios > div > .hp-media-grid.hp-media-grid,
  .hp-services .hp-related-grid,
  .hp-services .hp-assessment > div {
    grid-template-columns: minmax(0, 1fr);
  }
}
