#section-servicios {padding: 3rem}
.expansible-card {
  position: relative;
  border-radius: 12px;
  width: calc(25% - 16px);
  margin-left: 8px;
  margin-right: 8px;
  cursor: pointer;
}
.card-rest-container {
  background: #022755;
  border-radius: 12px;
  padding: 24px;
}
#cards-continer {
  width: 1344px;
  margin: 0 -8px;
}
#cards-continer.expanded {
  width: 1990px;
}
#cards-continer.expanded .expansible-card {
  width: calc(16.7% - 16px);
  flex: 0 0 auto;
}
#cards-continer.expanded .expansible-card.expanded {
  width: calc(49% - 16px);
}
#cards-continer, .expansible-card {
  transition: width 0.5s, transform 0.5s;
}
.card-section {
  width: 100%;
  overflow-x: scroll;
  overflow-y: visible;
  scroll-behavior: smooth;
}
.expansible-card .card-title {
  height: 130px;
}
.expansible-card .card-icon {
  height: 130px;
  margin-bottom: 150px;
}
.expansible-card .card-label {
  height: 124px;
  font-size: 24px;
  line-height: 32px;
}
.card-caption {
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFF;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}
.card-caption-title {
  color: #022755;
}
.card-caption-text {
  font-size: 24px;
  line-height: 32px;
  text-align: justify;
  color: #797E82;
}
.card-caption > .row, .card-caption > .row > .col {
  height: 100%;
}
.expanded > .card-caption {
  opacity: 1;
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.7);
}
.card-caption {
  transition: opacity 0.5s;
}
.expansible-card.expanded {}
#cards-continer .expansible-card .card-caption .col > img {height: 100%;}
@media only screen and (max-width: 767px) {
  #cards-continer {width: 100% !important;}
  #cards-continer .expansible-card {width: 100% !important;margin-bottom: 3rem;}
  .card-section {overflow: visible;}
  .card-caption > .row, .card-caption > .row > .col {height: auto;}
  #cards-continer .expansible-card.expanded .card-rest-container {display: none;}
  #cards-continer .expansible-card.expanded .card-caption {position: static;}
  #cards-continer .expansible-card .card-caption .col > img {height: auto;width: 100%;transform: translate(0,0) !important;}
  #section-servicios {padding: 1rem}
  .card-caption-text {text-align: left;}
}

.card-section.test #cards-continer { background: #BBB; }
.card-section.test {
  width: 40%;
  margin: 0 auto;
  background: aqua;
  padding: 8px 0;
}