.page-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 200px;
  margin-top: 76px;
  overflow: hidden;
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,28,28,.65) 0%,
    rgba(0,0,0,.15) 100%
  );
}
.page-hero__caption {
  position: absolute;
  bottom: 64px;
  left: 80px;
  color: #fff;
}
.page-hero__caption .section-label {
  color: var(--pink);
  margin-bottom: 10px;
}
.page-hero__caption h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

/* ════════════════════════════════════════════
   SERVICIOS — alternancia foto / texto
   ════════════════════════════════════════════ */
.servicios-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
}

.servicio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  border-bottom: 1px solid var(--light);
  position: relative;
}
.servicio-row:last-child { border-bottom: none; }

.servicio-row--reverse .servicio-row__img  { order: 2; }
.servicio-row--reverse .servicio-row__text { order: 1; }

.servicio-row__img {
  overflow: hidden;
}
.servicio-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.servicio-row:hover .servicio-row__img img {
  transform: scale(1.04);
}

.servicio-row__text {
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.servicio-row__text .section-label {
  font-size: .68rem;
  margin-bottom: 10px;
}
.servicio-row__text h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}
.servicio-row__text p {
  font-size: .96rem;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 14px;
}
.servicio-row__text p:last-child { margin-bottom: 0; }

.servicio-row__text::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  opacity: 0;
  transform: scaleY(.4);
  transition: opacity .4s ease, transform .4s ease;
}

.servicio-row .servicio-row__text::before {
  left: 0;
}

.servicio-row--reverse .servicio-row__text::before {
  left: auto;
  right: 0;
}

.servicio-row:hover .servicio-row__text::before {
  opacity: 1;
  transform: scaleY(1);
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .servicios-wrapper { padding: 56px 24px; }
 
  .servicio-row {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .servicio-row__img  { order: 1 !important; height: 260px; }
  .servicio-row__text { order: 2 !important; padding: 36px 28px; }
  .servicio-row__text::before { display: none; }
 
  .page-hero__caption { left: 28px; bottom: 40px; }
}
 