/* Colores personalizados */
.text-primary { color: #DA512B !important; }
.bg-primary { background-color: #DA512B !important; }
.bg-luistrigo-dark { background-color: #000 !important; }

/* Sección Misión, Visión, Valores */
.mvv-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  min-height: 24rem; /* Altura mínima, pero puede crecer según el contenido */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
  height: auto; /* Permite crecer según el contenido */
}
.mvv-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2), 0 8px 10px -6px rgba(0,0,0,0.1);
}
.mvv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
  z-index: 1;
}
.mvv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}
.mvv-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 1rem;
  width: 100%;
  /* NO poner overflow ni max-height */
}

/* Elimina cualquier restricción de altura o scroll en la columna de Visión */
.mvv-card-scroll .mvv-content {
  max-height: none !important;
  overflow-y: visible !important;
}

@media (max-width: 767px) {
  .mvv-card {
    min-height: 16rem;
    height: auto;
  }
}