body {
  background-color: #F1F1F1;
}

.max-width {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.my-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

.py-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.pt-section {
  padding-top: 30px;
}

.px-section {
  padding-left: 20px;
  padding-right: 20px;
}

.bg-dark-white {
  background-color: #F1F1F1;
}

.card-carrusel-prefooter {
  border-radius: 20px;
  position: relative;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.card-carrusel-prefooter,
.card-carrusel-prefooter .card-carrusel-prefooter-text {
  display: flex;
  flex-direction: column;
}

.card-carrusel-prefooter .card-carrusel-prefooter-text {
  background-color: #fff;
  padding: 30px 20px;
  width: 100%;
  height: 52%;
}

.card-carrusel-prefooter .card-carrusel-prefooter-text .btn {
  margin-top: auto;
  border-bottom: 0;
  border-radius: 10px;
  width: fit-content;
  min-width: 160px;
}

.card-carrusel-prefooter-img {
  height: 48%;
}

.card-carrusel-prefooter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-carrusel-prefooter .card-carrusel-prefooter-text .card-carrusel-prefooter-title {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 700;
  text-align: start;
  color: #ca082c;
}

.card-carrusel-prefooter .card-carrusel-prefooter-text .card-carrusel-prefooter-description {
  margin: 0 0 15px;
  font-size: 14px;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
  height: 50px;
  width: 50px;
  padding: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-color: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0px 4px 4px 0px #a6a6a640;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.owl-nav .owl-prev {
  left: -30px;
}

.owl-nav .owl-next {
  right: -30px;
}

.new-title-section {
  font-size: 18px;
  font-weight: 300;
  margin: 0 0 20px;
}

.new-bajada-section {
  font-size: 16px;
  font-weight: 300;
  margin: 0 0 20px;
}

.new-title-section.border-left {
  border-left: 4px solid #001F56;
  padding-left: 10px;
}

.text-start {
  text-align: start;
}

.text-center {
  text-align: center;
}

.text-blue {
  color: #001F56;
}

.text-white {
  color: #fff;
}

section .owl-dots .owl-dot.active {
  background: #CA082C !important;
  width: 46px;
}

.card-tipo-ahorro {
  border-radius: 15px;
  box-shadow: 0px 4px 4px 0px #00000040;
  overflow: hidden;
}

.card-tipo-ahorro-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 100%;
  height: 350px;
  background-color: #0d0d0dbf;
  justify-content: end;
}

.card-tipo-ahorro-title {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.card-tipo-ahorro-title::before {
  content: "";
  bottom: 0;
  left: 0;
  position: absolute;
  width: 26px;
  height: 3px;
  background-color: #fff;
}

.card-tipo-ahorro-p {
  margin-bottom: 20px;
}

.card-tipo-ahorro-p,
.card-tipo-ahorro-btn {
  font-size: 14px;
}

.card-tipo-ahorro-btn {
  padding: 10px 15px;
  background-color: #CA082C;
  color: #fff !important;
  border-radius: 20px;
  text-decoration: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-weight: 500 !important;
  margin-top: auto;
  transition: 0.3s;
}

.card-tipo-ahorro-btn:hover {
  opacity: 0.9;
}

.carrusel-banners-bottom_img img {
  aspect-ratio: 7 / 10;
}

@media (min-width: 576px) {
  .card-tipo-ahorro-title {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .max-width {
    max-width: 700px;
  }

  .my-section {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .py-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .pt-section {
    padding-top: 50px;
  }

  .card-carrusel-prefooter {
    height: 400px;
  }

  .new-title-section {
    font-size: 22px;
  }

  .new-bajada-section {
    font-size: 18px;
  }

  .card-tipo-ahorro-title {
    font-size: 24px;
  }

  .carrusel-banners-bottom_img img {
    aspect-ratio: 33 / 10;
  }
}

@media (min-width: 992px) {
  .max-width {
    max-width: 900px;
  }

  .section-bg-skyblue {
    padding-top: 60px;
  }

  .new-title-section {
    font-size: 24px;
  }

  .card-tipo-ahorro-title {
    font-size: 26px;
  }
}

@media (min-width: 1200px) {
  .max-width {
    max-width: 1100px;
  }

  .my-section {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .py-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pt-section {
    padding-top: 60px;
  }

  .carrusel-prefooter .card-carrusel-prefooter {
    transition: 0.3s;
  }

  .carrusel-prefooter .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carrusel-prefooter .owl-item {
    height: 566px;
  }

  .carrusel-prefooter .owl-item .card-carrusel-prefooter {
    height: 100%;
    max-height: 492px;
    width: 100%;
  }

  .carrusel-prefooter .owl-item.center .card-carrusel-prefooter {
    max-height: 100%;
    min-width: 110%;
  }

  .card-carrusel-prefooter .card-carrusel-prefooter-text {
    justify-content: center;
  }

  .card-carrusel-prefooter .card-carrusel-prefooter-text .card-carrusel-prefooter-title {
    font-size: 24px;
  }

  .card-carrusel-prefooter .card-carrusel-prefooter-text .card-carrusel-prefooter-description {
    font-size: 16px;
  }

  .card-carrusel-prefooter .card-carrusel-prefooter-text .btn {
    margin-top: 20px;
  }

  .carrusel-productos-ahorro .owl-item {
    height: 490px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .card-tipo-ahorro {
    height: 100%;
    max-height: 372px;
    transition: 0.3s;
  }

  .owl-item.center .card-tipo-ahorro {
    max-height: 100%;
  }

  .card-tipo-ahorro-content {
    justify-content: end;
    background-color: transparent;
    transition: 0.3s;
    height: 100%;
  }

  .card-tipo-ahorro:hover .card-tipo-ahorro-content {
    background-color: #0d0d0dbf;
  }

  .card-tipo-ahorro-content .card-tipo-ahorro-btn {
    max-width: 150px;
  }

  .card-tipo-ahorro-content .card-tipo-ahorro-btn:hover {
    max-width: 160px;
  }

  .content-hide {
    max-height: 0;
    overflow: hidden;
    transition: 0.8s;
    opacity: 0;
  }

  .card-tipo-ahorro:hover .content-hide {
    max-height: 100%;
    opacity: 1;
  }

  .card-tipo-ahorro-title {
    font-size: 28px;
  }

  .card-tipo-ahorro-p {
    font-size: 16px;
  }

  .new-bajada-section {
    font-size: 20px;
  }
}

@media (min-width: 1400px) {
  .max-width {
    max-width: 1200px;
  }

  .my-section {
    margin-top: 70px;
    margin-bottom: 70px;
  }

  .py-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pt-section {
    padding-top: 70px;
  }

  .card-carrusel-prefooter {
    height: 430px;
  }

  .carrusel-todo-pension .owl-item.center .card-carrusel-prefooter {
    height: 525px;
  }

  .new-title-section {
    font-size: 26px;
  }
}