.hero {
  background: url('/wp-content/themes/bioingentechtheme/assets/images/veinte ago (1).webp') center/cover no-repeat;
}

/* ================= OUR PRODUCTS LIST ================= */
.our-products-list {
  padding: 3rem 0 4rem;
  background: #f6f7fb; /* fondo claro */
}

.opl-title {
  font-size: clamp(28px, 3vw, 36px);
  margin: 0 0 2rem;
  text-align: center;
  color: #022e47; /* ajusta a tu color de títulos */
  font-weight: 700;
}

/* Grid */
.opl-grid {
  list-style: none;
  margin: 0 4rem;
  padding: 0;
  display: grid;
  gap: 2rem;
}

/* Item */
.opl-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.opl-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

.opl-item.reverse {
  grid-template-columns: 1fr 320px;
}
.opl-item.reverse .opl-imgwrap { order: 2; }
.opl-item.reverse .opl-content { order: 1; }

/* Imagen */
/* lienzo base */
.opl-imgwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: #fff; /* para logos con fondo transparente */
}

/* default: fotos/banner -> recortar suave */
.opl-imgwrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

/* SI ES LOGO: no recortar; encajar y no hacer zoom en hover */
.opl-imgwrap.is-logo img {
  height: 160px;          /* un poco más chico para logos */
  object-fit: contain;
  width: auto;            /* que no estire a lo ancho */
  max-width: 100%;
  transform: none !important;
}

.opl-imgwrap:hover img { transform: scale(1.06); }
.opl-imgwrap.is-logo:hover img { transform: none; }

@media (max-width: 920px) {
  .opl-imgwrap img { height: 200px; }
  .opl-imgwrap.is-logo img { height: 140px; }
}


/* Contenido */
.opl-content {
  padding: .5rem 1rem;
}
.opl-item-title {
  font-size: 22px;
  margin: 0 0 .75rem;
  font-weight: 700;
}
.opl-item-title a {
  color: #022e47;
  text-decoration: none;
}
.opl-item-title a:hover { text-decoration: underline; }

.opl-desc {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #022e47;
  font-size: 15px;
}

/* Botón */
.opl-btn {
  display: inline-block;
  padding: .65rem 1.25rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  background: #6265fe;        /* color principal */
  color: #fff;
  box-shadow: 0 6px 16px rgba(98,101,254,.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.opl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(98,101,254,.45);
  background: #4e51f3; /* tono más oscuro */
}

/* Responsive */
@media (max-width: 920px) {
  .opl-item,
  .opl-item.reverse {
    grid-template-columns: 1fr;
  }
  .opl-imgwrap img {
    height: 200px;
  }
}
@media (max-width: 600px) {
  .opl-item {
    padding: 1rem;
  }
  .opl-item-title {
    font-size: 20px;
  }
  .opl-desc {
    font-size: 14px;
  }
}
