/***************************************************
 * Servicios Section
 ***************************************************/
 html, body {
  margin: 0;
  padding: 0;
}

.services-section {
  /* full-bleed */
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;

  /* ahora sólo padding vertical */
  padding: 60px 0;
  background-color: #000;
  color: #fff;
  box-sizing: border-box;
}


/* Services header */
.services-header {
  max-width: 1200px;
  margin: 0 auto 40px auto; /* Centrado y margen inferior */
  text-align: center;
}
.services-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.services-header p {
  font-size: 18px;
  line-height: 1.5;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  
  /* ocupa todo el ancho y centra el contenido dentro */
  width: 100%;
  padding: 0 20px;
}

/* Each service box */
.service-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-box:hover {
  transform: scale(1.03);
}

/* Service image background */
.service-image {
  width: 100%;
  height: 180px; /* Ajusta según necesites */
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
  border-radius: 8px;
}

/* Service title & description */
.service-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: bold;
}
.service-box p {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Service button */
.service-btn {
  display: inline-block;
  background-color: deepskyblue;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.service-btn:hover {
  background-color: #007acc;
}

/* Services responsive */
@media (max-width: 768px) {
  .services-header h2 {
    font-size: 28px;
  }
  .services-header p {
    font-size: 16px;
  }
  .service-image {
    height: 150px;
  }
}