/* ================= SERVICIOS ================= */

.services {
  padding: 40px 8%;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 30px;
}

/* GRID */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* CARD */

.service-card {
  position: relative;
  background: #1e293b;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* IMAGENES IGUALES */

.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO */

.service-card h3 {
  margin-top: 20px;
  font-size: 22px;
}

.service-card p {
  margin-top: 10px;
  color: #cbd5e1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .service-image {
    height: 180px;
  }
}
