/* =========================================================
   PRESS
========================================================= */

.home-vs .vs-press {
  --vs-press-bg: url("https://dojiw2m9tvv09.cloudfront.net/48656/1/banner-elvira-prueba.webp?t=1775503407");
  --vs-press-bg-mobile: url("https://dojiw2m9tvv09.cloudfront.net/48656/1/img-elvira-montero-prensa-mb.webp?t=1777481444");

  position: relative;
  overflow: hidden;
  padding: var(--vs-space-2xl) 0;
  background-image: var(--vs-press-bg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-bottom: 8px solid var(--vs-color-primary);
}

/* Capa suave para lectura */
.home-vs .vs-press::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.24) 42%,
    rgba(255, 255, 255, 0.16) 60%,
    rgba(255, 255, 255, 0) 78%
  );
}

/* ---------- CONTAINER ---------- */
.home-vs .vs-press .vs-press__container {
  position: relative;
  z-index: 2;
  max-width: var(--vs-container-max);
  margin: 0 auto;
  padding: 0 var(--vs-container-pad);
}

.home-vs .vs-press .vs-press__content {
  max-width: 760px;
}

/* ---------- TÍTULO ---------- */
.home-vs .vs-press .vs-press__title {
  margin: 0 0 var(--vs-space-lg);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 400;
  color: var(--vs-color-primary-dark);
}

.home-vs .vs-press .vs-press__title strong {
  font-weight: 700;
}

/* ---------- GRID ---------- */
.home-vs .vs-press .vs-press__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 1.2rem;
  max-width: 760px;
}

/* ---------- ITEM ---------- */
.home-vs .vs-press .vs-press__item {
  text-align: center;
}

/* ---------- CARD ---------- */
.home-vs .vs-press .vs-press__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: var(--vs-space-sm);
  background: var(--vs-color-white);
  border-radius: var(--vs-radius-md);
  box-shadow: var(--vs-shadow-card);
  transition: transform var(--vs-transition-fast), box-shadow var(--vs-transition-fast);
}

.home-vs .vs-press .vs-press__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--vs-shadow-card-hover);
}

.home-vs .vs-press .vs-press__logo {
  display: block;
  max-width: 150px;
  width: 100%;
  height: auto;
}

/* ---------- LINK "Ver más" ---------- */
.home-vs .vs-press .vs-press__link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--vs-color-text);
}

.home-vs .vs-press .vs-press__link:hover {
  color: var(--vs-color-text);
  opacity: 0.8;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Desktop M */
@media (max-width: 1199.98px) {
  .home-vs .vs-press .vs-press__container {
    padding: 0 var(--vs-container-pad-lg);
  }

  .home-vs .vs-press .vs-press__grid {
    max-width: 680px;
  }
}

/* Tablet: imagen vertical + grid 3 columnas centrada */
@media (max-width: 991.98px) {
  .home-vs .vs-press {
    padding: var(--vs-space-xl) 0;
    background-image: var(--vs-press-bg-mobile);
    background-position: center top;
  }

  .home-vs .vs-press::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.78) 50%,
      rgba(255, 255, 255, 0.55) 100%
    );
  }

  .home-vs .vs-press .vs-press__container {
    padding: 0 var(--vs-container-pad-md);
  }

  .home-vs .vs-press .vs-press__content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .home-vs .vs-press .vs-press__title {
    margin-bottom: var(--vs-space-md);
    text-align: center;
  }

  .home-vs .vs-press .vs-press__grid {
    max-width: 620px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile: 2 columnas */
@media (max-width: 767.98px) {
  .home-vs .vs-press {
    padding: 2.5rem 0;
  }

  .home-vs .vs-press .vs-press__container {
    padding: 0 var(--vs-container-pad-sm);
  }

  .home-vs .vs-press .vs-press__title {
    font-size: 2rem;
  }

  .home-vs .vs-press .vs-press__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.9rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .home-vs .vs-press .vs-press__card {
    min-height: 78px;
  }

  .home-vs .vs-press .vs-press__logo {
    max-width: 130px;
  }
}