/* ============================================
   VÉRTICE COMUNICACIÓN — SERVICIOS STYLESHEET
   SERVICIOS PAGE: HERO & 4 SERVICE ALTERNATING CAPSULES
   ============================================ */

/* ============================================
   1. HERO SECTION (ELEMENTOR-STYLE SEAMLESS GRADIENT)
   ============================================ */
.servicios-top-wrapper {
  width: 100%;
  background: linear-gradient(180deg, 
    #bca1dc 0%, 
    #d89ce7 25%, 
    #f0c7f4 55%, 
    #fbf2fb 85%, 
    #ffffff 100%
  );
  position: relative;
  overflow: hidden;
}

.servicios-top-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/bg-hero.png') no-repeat center top;
  background-size: cover;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.85;
}

.servicios-headline-section {
  width: 100%;
  max-width: 1920px;
  margin: clamp(60px, 13vw, 250px) auto clamp(40px, 5.5vw, 105px) auto;
  padding: 0 clamp(20px, 7.22vw, 138.6px);
  position: relative;
  z-index: 2;
}

.servicios-title {
  font-size: clamp(2.2rem, 4.11vw, 78.96px);
  font-weight: 600;
  color: #353535;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.servicios-subtitle {
  font-size: clamp(1.2rem, 2.06vw, 39.48px);
  font-weight: 300;
  color: #1d1d1b;
  line-height: 1.25;
  margin-top: clamp(8px, 0.78vw, 15px);
}

/* ============================================
   2. SERVICES SECTION (4 ALTERNATING CAPSULES)
   ============================================ */
.services-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

.service-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: clamp(400px, 41vw, 788px);
  margin-bottom: clamp(40px, 5vw, 100px);
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

/* --- CAPSULE IMAGE WRAPPERS --- */
.service-img-wrapper {
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.service-img-wrapper.left {
  width: 53%;
  max-width: 1050px;
  height: clamp(350px, 41vw, 788px);
  border-radius: 0 clamp(80px, 20.5vw, 394px) clamp(80px, 20.5vw, 394px) 0;
  margin-right: auto;
}

.service-img-wrapper.right {
  width: 53%;
  max-width: 1050px;
  height: clamp(350px, 41vw, 788px);
  border-radius: clamp(80px, 20.5vw, 394px) 0 0 clamp(80px, 20.5vw, 394px);
  margin-left: auto;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-block:hover .service-img {
  transform: scale(1.03);
}

/* --- SERVICE CONTENT (TEXT & LISTS) --- */
.service-content {
  flex: 1 1 45%;
  max-width: 820px;
  padding: 0 clamp(25px, 5vw, 95px);
}

.service-title {
  font-size: clamp(1.8rem, 2.08vw, 40px);
  font-weight: 600;
  color: #1d1d1b;
  line-height: 1.2;
  margin-bottom: clamp(16px, 1.4vw, 26px);
}

.service-desc-1 {
  font-size: clamp(1.05rem, 1.72vw, 33.04px);
  font-weight: 300;
  color: #1d1d1b;
  line-height: 1.28;
  margin-bottom: clamp(16px, 1.4vw, 26px);
}

.service-desc-2 {
  font-size: clamp(1.05rem, 1.72vw, 33.04px);
  font-weight: 300;
  color: #1d1d1b;
  line-height: 1.28;
  margin-bottom: clamp(20px, 1.8vw, 34px);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.52vw, 10px);
}

.service-list li {
  font-size: clamp(0.95rem, 1.26vw, 24.1px);
  font-weight: 600;
  color: #1d1d1b;
  line-height: 1.25;
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: default;
}

.service-list li:hover {
  transform: translateX(6px);
  color: #6a4099;
}

/* ============================================
   RESPONSIVE BREAKPOINTS (SERVICIOS)
   ============================================ */
@media (max-width: 992px) {
  .service-block,
  .service-block.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    min-height: auto;
  }

  .service-img-wrapper.left,
  .service-img-wrapper.right {
    width: 100%;
    max-width: 100%;
    height: clamp(260px, 50vw, 420px);
    border-radius: 30px;
    margin: 0;
  }

  .service-content {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  .service-desc-1 br,
  .service-desc-2 br {
    display: none;
  }
}
