/* =========================================================
   ABOUT
========================================================= */

.home-vs .vs-about {
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin-top: -20px;
  padding: 3.75rem 0;
  border-radius: var(--vs-radius-xl);
  background-color: var(--vs-color-white);
}

/* ---------- MEDIA (imagen de fondo) ---------- */
.home-vs .vs-about .vs-about__media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.home-vs .vs-about .vs-about__media picture,
.home-vs .vs-about .vs-about__bg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-vs .vs-about .vs-about__bg {
  object-fit: cover;
  object-position: right center;
}

/* ---------- CONTAINER ---------- */
.home-vs .vs-about .vs-about__container {
  position: relative;
  z-index: 2;
  max-width: var(--vs-container-max);
  margin: 0 auto;
  padding: 0 var(--vs-container-pad);
}

/* ---------- CONTENT ---------- */
.home-vs .vs-about .vs-about__content {
  min-height: 500px;
  display: flex;
  align-items: center;
}

.home-vs .vs-about .vs-about__copy {
  width: 100%;
  max-width: 470px;
  padding: 0.5rem 0;
}

/* ---------- TÍTULO ---------- */
.home-vs .vs-about .vs-about__title {
  margin-bottom: var(--vs-space-md);
  font-size: clamp(2.5rem, 3.3vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--vs-color-primary-dark);
}

.home-vs .vs-about .vs-about__title strong {
  font-weight: 700;
}

/* ---------- TEXTO ---------- */
.home-vs .vs-about .vs-about__text {
  max-width: 460px;
  margin-bottom: 1.35rem;
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 500;
  color: #222222;
}

/* ---------- BOTÓN ---------- */
.home-vs .vs-about .vs-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.8rem 1.45rem;
  border-radius: var(--vs-radius-pill);
  background-color: var(--vs-color-primary-dark);
  color: var(--vs-color-white);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  transition: transform var(--vs-transition-fast);
}

.home-vs .vs-about .vs-about__btn:hover {
  color: var(--vs-color-white);
  transform: translateY(-1px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Desktop M */
@media (max-width: 1199.98px) {
  .home-vs .vs-about {
    padding: 3.25rem 0;
  }

  .home-vs .vs-about .vs-about__bg {
    object-position: 72% top;
  }

  .home-vs .vs-about .vs-about__container {
    padding: 0 var(--vs-container-pad-lg);
  }

  .home-vs .vs-about .vs-about__content {
    min-height: 440px;
  }

  .home-vs .vs-about .vs-about__copy {
    max-width: 430px;
  }

  .home-vs .vs-about .vs-about__title {
    font-size: clamp(2.2rem, 3vw, 3.2rem);
  }

  .home-vs .vs-about .vs-about__text {
    max-width: 430px;
    font-size: var(--vs-text-base);
  }
}

/* Tablet: imagen desktop como fondo + texto a la izquierda */
@media (max-width: 991.98px) {
  .home-vs .vs-about {
    margin-top: -20px;
    padding: 3rem 0;
  }

  .home-vs .vs-about .vs-about__bg {
    object-position: 72% center;
  }

  .home-vs .vs-about .vs-about__container {
    padding: 0 var(--vs-container-pad-md);
    max-width: 100%;
  }

  .home-vs .vs-about .vs-about__content {
    min-height: 460px;
    justify-content: flex-start;
  }

  .home-vs .vs-about .vs-about__copy {
    max-width: 330px;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .home-vs .vs-about .vs-about__text {
    max-width: 100%;
  }
}

/* Mobile: imagen como bloque arriba + texto debajo, ambos visualmente unidos */
@media (max-width: 767.98px) {
  .home-vs .vs-about {
    margin-top: -1rem;
    padding: 0;
  }

  .home-vs .vs-about .vs-about__media {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    min-height: 700px;
  }

  .home-vs .vs-about .vs-about__bg {
    object-position: center top;
  }

  .home-vs .vs-about .vs-about__container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    padding: 42% var(--vs-container-pad-sm) 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
  }

  .home-vs .vs-about .vs-about__content {
    min-height: auto;
    display: block;
  }

  .home-vs .vs-about .vs-about__copy {
    max-width: 350px;
    margin: 4rem auto 0;
    padding: 0;
    text-align: center;
  }

  .home-vs .vs-about .vs-about__title {
    margin-bottom: 0.65rem;
    font-size: 1.9rem;
    line-height: 1.08;
  }

  .home-vs .vs-about .vs-about__text {
    max-width: 100%;
    margin-bottom: 0.9rem;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .home-vs .vs-about .vs-about__btn {
    margin-top: 0.35rem;
    padding: 0.78rem 1.3rem;
    font-size: 0.92rem;
  }
}