#info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  text-align: center;
    margin-top: 16px;
}

.textoInfo {
  margin-bottom: 16px;
}

.textoInfo p,
.textoInfo h2 {
  margin: 8px 16px 0 16px;
  text-align: center;
}

.textoInfo h2 {
  padding-bottom: 12px;
}

#figP0,
#figP15 {
  position: relative;
}

#figP0 .slide,
#figP15 .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#figP0 .slide.active,
#figP15 .slide.active {
  opacity: 1;
  z-index: 1;
}

.imagen {
  height: 90vh;
  width: 30vw;
  overflow: hidden;
  position: relative;
}

.imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figure {
  position: relative;
  float: left;
}

.imagen .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.imagen .slide.active {
  opacity: 1;
}

.imagen .nombreSucursal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5em 1em;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  z-index: 2;
}

.imagen .direccionSucursal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5em 1em;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1rem;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  #info {
    display: flex;
    flex-direction: column;
    place-items: center;
    text-align: center;
    margin-top: 16px;
  }

  .textoInfo {
    order: 1;
    padding: 24px;
  }

  .textoInfo h2 {
    padding-bottom: 8px;
  }

  #carouselP0 {
    order: 2;
    margin-bottom: 6px;
  }

  #carouselP15 {
    order: 3;
  }

  .imagen {
    height: 30vh;
    width: 100vw;
  }
}