/* ==========================================================================
   Services Page Styles
   ========================================================================== */

/* Sections Services */
.services-intro {
  padding-bottom: var(--spacing-80);
}

.services-intro .container {
  padding-left: 10vw;
  padding-right: 10vw;
  max-width: 1600px;
}

.services-intro .section-header {
  margin-bottom: var(--spacing-80);
}

.services-intro .media-text-layout {
  margin-bottom: var(--spacing-120);
  gap: var(--spacing-60);
}

.services-intro .about-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.services-intro .about-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  transition: var(--transition);
}

.services-intro .about-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.services-intro .about-visual:hover::before {
  left: 150%;
}

.services-intro .about-visual:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .services-intro .container {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }
  .services-intro .media-text-layout {
    text-align: center;
  }
  .services-intro .media-text-layout > .about-visual {
    order: -1;
  }
}

/* --- Banner CTA de Servicios --- */
.services-cta {
  background-image: url("../../img/services_cta_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--background);
  padding: calc(var(--spacing-80) + var(--spacing-40)) 0;
  overflow: hidden;
}

.services-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-banner);
  opacity: 0.9;
  z-index: 1;
}

.services-cta .container {
  position: relative;
  z-index: 2;
}

.services-cta .section-title {
  color: var(--background) !important;
  margin-bottom: var(--spacing-60);
}
