
/* SERVICIOS */

.services-section {
    margin-top: 170px;
  width: 100%;
  background: #ffffff;
}

.service-item {
  position: relative;
  height: 60vh;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 0; /* sin esquinas */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Imagen como fondo */
.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Overlay oscuro elegante */
.service-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
  z-index: 2;
}

/* Texto encima */
.service-content {
  position: relative;
  z-index: 3;

  height: 100%;
  display: flex;
  flex-direction: column;

  justify-content: center;   /* 👈 centra vertical */
  align-items: flex-start;   /* 👈 mantiene a la izquierda */

  padding: 0 8%;
  max-width: 850px;

  color: #fff;
  text-align: left;
}

.service-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-service {
  display: inline-block;
  width: fit-content;
  padding: 12px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-service:hover {
  background: #111827;
  color: #ffffff;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .service-content {
    padding: 0 6%;
  }

  .service-content h2 {
    font-size: 2.2rem;
  }

  .service-content p {
    font-size: 0.95rem;
  }
}


