/* Dewemo v1.18 — sección "Lo que hacemos" con fondo parallax visible y optimizado */
.service-section .service-section__intro.service-parallax {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100vw;
  max-width: none;
  min-height: clamp(320px, 31vw, 430px);
  margin: 0 calc(50% - 50vw) clamp(42px, 5vw, 72px);
  padding: clamp(52px, 7vw, 92px) clamp(22px, 7vw, 120px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0b1730;
  text-align: center;
  color: #fff;
}

.service-parallax__background {
  position: absolute;
  z-index: 0;
  inset: -48% 0;
  background-image: url("../image/background/services-parallax.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.14);
  will-change: transform;
  transform-origin: center center;
  pointer-events: none;
}

.service-parallax::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(
    100deg,
    rgba(5, 19, 42, .79) 0%,
    rgba(5, 29, 59, .60) 52%,
    rgba(5, 19, 42, .72) 100%
  );
  pointer-events: none;
}

.service-parallax__content {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  margin: 0 auto;
}

.service-parallax .service-eyebrow {
  margin-bottom: 16px;
  color: #8eeaff;
}

.service-parallax .service-eyebrow::before {
  background: #22d3ee;
}

.service-parallax .service-section__intro h1,
.service-parallax h1 {
  max-width: 850px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(2rem, 4.1vw, 3.45rem);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}

.service-parallax p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(245, 250, 255, .93);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.8;
  text-wrap: pretty;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}

@media (max-width: 700px) {
  .service-section .service-section__intro.service-parallax {
    min-height: 340px;
    margin-bottom: 34px;
    padding: 54px 22px;
  }

  .service-parallax__background {
    inset: -40% -20%;
    background-position: center;
    transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.10);
  }

  .service-parallax::after {
    background: linear-gradient(180deg, rgba(5, 19, 42, .68), rgba(5, 19, 42, .78));
  }

  .service-parallax h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.12;
  }

  .service-parallax p {
    font-size: .98rem;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-parallax__background {
    transform: scale(1.04) !important;
    will-change: auto;
  }
}
