.section-services {
  padding: 80px 20px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.section-services-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-services-title {
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-services-title span {
  color: var(--blue);
  font-weight: 800;
}

.section-services-underline {
  width: 80px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  margin: 14px auto 24px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px 18px 18px;
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 28px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 18px 40px rgba(0,120,212,0.14);
  transform: translateY(-2px);
}

.service-card-top {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
}

/* regla general (todas las imágenes llenan el contenedor) */
.service-card-top img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* afinar solo las 2 primeras imágenes */
.services-cards .service-card:nth-child(1) .service-card-top img,
.services-cards .service-card:nth-child(2) .service-card-top img{
  object-position: center center;   /* o 'center right' / 'center left' si te queda mejor */
  transform: scale(1.05);          /* pequeño zoom para que se vean más llenas */
}


.service-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.service-card-desc {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
}