/* servicio-Banner */
.servicio-banner-servicios {
  position: relative;
  background-image: url("../img/lcdhDesdeArriba.png");
}

.servicio-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* mejora la legibilidad */
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicio-banner-title {
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  font-weight: 600;
  text-align: center;
  padding: 0 1em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}
.servicio-banner-title.animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Contenido de servicios */
.servicios-container {
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .servicios-container {
    padding: 0 1rem;
  }
}

.servicio h2 {
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.servicio p {
  color: #444;
  margin-bottom: 1rem;
}

.galeria {
  /* width: 400px; */ /* Changed */
  max-width: 700px; /* Added */
  width: 90%; /* Added - Adjust percentage as needed */
  margin: 0 auto;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image Styling - Retained fixed size, object-fit */
.swiper-slide img {
  display: block;
  width: 300px;
  height: 300px;
  object-fit: cover;
  /* Ensure image doesn't exceed its own container */
  max-width: 100%;
}

.swiper-slide {
  width: 80%;
}

.swiper-slide:nth-child(2n) {
  width: 60%;
}

.swiper-slide:nth-child(3n) {
  width: 40%;
}

/* Responsive */
@media (max-width: 768px) {
  .galeria img {
    width: 100%;
  }
}
