/* =========================
   SERVICIOS MODERNO
========================= */

.servicios {
  padding: 90px 20px;
  background: #ffffff;
}

.servicios-header {
  text-align: center;
  margin-bottom: 60px;
}

.servicios-header h2 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 10px;
  font-weight:600;
}

.servicios-header p {
  color: #64748b;
  font-size: 1rem;
}

/* GRID */

.servicios-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */

.servicio-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.servicio-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Overlay */

.servicio-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.servicio-info h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.servicio-info span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hover */

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.servicio-card:hover img {
  transform: scale(1.05);
}