/* Home page: services cards inside the "Quienes somos" section. Scoped to .home-services. */
.home-services {
  position: relative;
  padding: 24px 0 48px;
}

.home-services__heading {
  margin: 0 0 24px;
  color: #2b2e33;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.home-services__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.home-services__card {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 32px;
  border-radius: 24px;
  background: #eef5f9;
  color: #2b2e33;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-services__card:hover {
  color: #2b2e33;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(5, 111, 157, 0.14);
}

.home-services__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #009cde;
  color: #ffffff;
}

.home-services__eyebrow {
  margin-top: 8px;
  color: #056f9d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-services__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.home-services__text {
  color: #3d5566;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .home-services__card {
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .home-services__card {
    display: grid;
    flex-basis: 100%;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 2px;
    padding: 20px;
  }

  .home-services__icon {
    grid-row: 1 / span 3;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .home-services__eyebrow {
    margin-top: 0;
  }

  .home-services__title {
    font-size: 18px;
  }

  .home-services__heading {
    margin-bottom: 16px;
  }
}
