html {
  color: #F9F9FB;
  font-size: 16px;
}
body {
  background: #F9F9FB;
  font-family: 'Marmelat', 'Rubik', sans-serif;
  margin: 0;
  height: 100%;
}
.hero {
  background: #7165E3;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
  position: relative;
  text-align: center;
  width: 100%;
  height: auto; 
}
.hero__title {
  font-size: 2.75rem;
  font-weight: 600;
  margin: 0 auto;
}
.hero__subtitle {
  font-size: 1.625rem;
  font-weight: normal;
  margin: 0 auto 70px;
}
.feat {
  padding: 54px 0;
}
.feat__title {
  color: #7165E3;
  font-size: 2.0625rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}
.card {
  background: #fff;
  border-radius: 32px;
  box-shadow: 4px 4px 10px 0 rgba(0,0,0,0.1);
  color: #3C3B52;
  display: flex;
  margin: auto;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  justify-content: space-evenly;
  overflow: hidden;
  padding: 16px;
  height: 400px;
}
.card--mini {
  box-shadow: 0px 4px 8px rgb(114 121 129 / 20%);
  border-radius: 16px;
  color: #000;
  align-items: center;
  flex-direction: row;
  border-radius: 10px;
  height: 164px;
}
.card__avatar {
  background: #F2F7FF;
  border-radius: 32px;
  display: block;
  font-size: 1.25rem;
  line-height: 1.6;
  padding: 8px;
  text-align: center;
  width: 48px;
  height: 48px;
}
.testimonial {
  color: #000;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px;
  text-align: left;
  height: 164px;
}
.testimonial * {
  margin: 0;
}
.testimonial__name {
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  width: 100%;
}
.testimonial__opinion {
  font-size: 1rem;
  line-height: 1.3;
}
.testimonial__meta {
  color: #99A2AC;
  font-size: 0.75rem;
}
.testimonial__meta:before {
  margin-right: 4px;
  width: 16px;
  height: 16px;
}
.testimonial__meta--online:before {
  background-position: 0 -43px !important;
}
.testimonial__meta--phone:before {
  background-position: -24px -45px !important;
}
.testimonial__meta span {
  color: #586E89;
}
.rating:after, .testimonial__meta:before {
  background: url('https://alm-marketing-sp.s3-sa-east-1.amazonaws.com/marketing/servicios-beneficios/img/icons.svg') no-repeat;
  content: '';
  display: inline-block;
}
.rating:after {
  background-size: 100%;
  position: absolute;
  right: 0;
  width: 120px;
  height: 24px;
}
.rating-4-5:after {
  background-position: 0 0;
}
.rating-5-5:after {
  background-position: 0 -25px;
}
.card__title {
  color: #7165E3;
  font-size: 1.5625rem;
  font-weight: 600;
  line-height: 28px;
  margin: 0 auto;
  max-width: 90%;
  text-transform: uppercase;
}
.card__title:before {
  background: url('https://image.digital.afpcapital.cl/lib/fe31157075640574771d78/m/2/f68313a9-ccd4-4a63-8acb-82bf52259556.png?1') center/contain no-repeat;
  background-size: 57px 21px;
  content: '';
  display: inline-block;
  margin-right: 12px;
  width: 28px;
  height: 21px;
}
.card__title--online:before {
  background-position: 0px;
}
.card__title--phone:before {
  background-position: -29px 0;
}
.card__subtitle {
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 22px;
  margin: 0 auto;
}
.card__text {
  font-size: 1rem;
  line-height: 18px;
  margin: 0 auto;
}
.card__figure--online {
  width: 128px;
  height: 136px;
}
.card__figure--phone {
  width: 146px;
  height: 135px;
}
.disclaimer {
  color: #3C3B52;
  display: block;
  margin: 0 auto;
  font-size: 0.75rem;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}
.btn {
  background: #07f;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 4px 8px 0 rgba(0,119,255,.4);
  color: #fff;
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto;
  padding: 16px 8px;
  position: relative;
  transition: all .2s ease;
  transform: scale(1);
  text-align: center;
  text-decoration: none;
  outline: 0;
  width: 100%;
  z-index: 10;
}
.card:hover .btn, .btn:hover {
 background: #005fcc;
}
.card:active .btn, .btn:active {
  box-shadow: rgba(52,69,89,0) 0 6px 8px 0;
 transform: scale(0.9);
}
.btn--card {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 12px;
  padding: 12px 8px;
  width: 293px;
}
.carousel {
  cursor: grab;
  display: block !important;
  margin: 32px auto;
  outline: 0;
  padding: 8px 0;
  width: 100%;
}
.carousel:after {
  content: '';
}
.carousel:active {
  cursor: grabbing;
}
.carousel__cell {
    padding-bottom: 16px;
}
.flickity-viewport {
    overflow: hidden;
}
.flickity-prev-next-button {
  background: #7165E3;
  border: none;
  border-radius: 50px;
  box-shadow: 0px 4px 8px rgba(114,121,129,0.2);
  display: block;
  font-size: 1.2rem;
  font-family: 'Rubik', sans-serif;
  margin: auto;
  position: absolute;
  top: 0; bottom: 0;
  transition: background 0.1s ease;
  height: 46px; width: 46px;
  z-index: 1100;
}
.flickity-prev-next-button path {
  fill: #fff;
  transition: fill 0.1s ease;
}
.flickity-prev-next-button svg {
  margin-top: 4px;
  width: 22px;
}
.flickity-prev-next-button:hover {
  background: #FFF;
  cursor: pointer;
}
.flickity-prev-next-button:hover path {
  fill: #3d4752;
}
.flickity-prev-next-button.previous {
  left: 0;
  transform: translateX(-80px);
}
.flickity-prev-next-button.next {
  right: 0;
  transform: translateX(80px);
}
.overlay {
  background-color: #7165E3;
  background-image: url('https://image.digital.afpcapital.cl/lib/fe31157075640574771d78/m/2/b13f517a-c33b-44c6-ac6c-540c6c01e1db.png'), url('https://image.digital.afpcapital.cl/lib/fe31157075640574771d78/m/2/1ad36036-b918-4e69-b338-71f04798357b.png');
  background-position: top left, bottom right;
  background-repeat: no-repeat;
  background-size: 353px, 348px;
  display: none;
  align-items: center;
  margin-bottom: -40px;
  opacity: 0;
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 2000;
}
.checklist {
  margin: 0; 
}
.checklist--item {
  color: #343348;
  display: flex;
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.2;
  list-style: none;
  width: 85%;
}
.checklist--item:before {
  content: '\02705';
  font-size: 0.9375rem;
  margin-right: 10px;
  position: relative;
  top: 2px;
}
.checklist--item span {
  display: block;
}
.checklist--item sup {
  font-size: 10px;
  padding-left: 2px;
}
.lead {
  display: flex;
  align-items: center;
  justify-content: space-around;
  justify-content: space-evenly;
  flex-direction: column;
  position: relative;
  height: 100vh; 
  width: 100%;
 }
.lead__options {
  position: relative;
  max-width: 920px;
  width: 100%;
}
.lead__container {
  background: #FFF;
  border-radius: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  padding: 24px 0;
  height: auto;
}
.lead__group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  height: auto;
}
.lead__group:first-child:after {
  background: #F2F8FE;
  border-radius: 8px;
  content: '';
  margin: 0 auto;
  display: block;
  margin: auto;
  position: absolute;
  top: 0; right: 8px; bottom: 0;
  width: 1px;
  height: 80%;
}
.lead__disclaimer {
  color: #7165E3;
  display: block;
  font-size: 9px;
  margin: auto;
  margin-top: 16px;
  text-align: center;
  width: 85%;
}
.lead__title--sub {
  color: #343348;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 auto 8px;
  text-align: center;
  max-width: 90%;
}
.lead__title--sub span {
  color: #7165E3;
  display: block;
  font-size: 1.5625rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.lead__form {
  margin: auto;
  width: 80%;
}
.lead__info {
  color: #343348;
  font-size: 0.95rem;
  text-align: center;
  margin: 24px auto 0;
}
.lead__logo {
  display: block;
  margin: 0 auto 52px;
  width: 143px;
}
.lead__close {
  background: #07f;
  border-radius: 32px;
  color: #fff;
  display: block;
  font-size: 1.7rem;
  line-height: 1.3;
  margin: auto;
  text-align: center;
  text-decoration: none;
  text-indent: -1px;
  transition: all 0.2s ease;
  outline: 0;
  position: absolute;
  top: -10px; right: -10px;
  transition: background 0.2s ease;
  height: 40px; width: 40px;
  z-index: 1000;
}
.lead__close:hover {
  background: #005fcc;
}
.lead__title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0 auto;
  padding-bottom: 16px;
  text-align: center;
}
.lead__title strong {
  display: block;
  font-size: 3.125rem;
}
.lead__btns-wrapper {
  margin-top: 24px;
}
.lead__data {
  margin-bottom: 8px;
}
.lead__required {
  color: #3d4752;
  display: block;
  margin-top: 16px;
}
.btn--form {
  border-radius: 30px;
  box-shadow: rgb(52 69 89 / 20%) 0 6px 8px 0;
  color: #fff;
  cursor: pointer;
  display: block;
  font-family: 'Marmelat', sans-serif;
  font-size: 1.325rem;
  font-weight: 500;
  margin-top: 16px;
  padding: 12px;
  transition: all .2s ease;
  transform: scale(1);
  text-align: center;
  text-decoration: none;
  outline: 0;
  width: 100%;
}
.form .lead__data:first-child .form__label {
  margin-top: 0;
}
.form .lead__data:nth-child(3) {
  margin-bottom: 0;
}
.form__label {
  color: #3C4651;
  display: block;
  font-size: 1.2rem;
  margin-top: 24px;
  position: relative;
  top: 25px;
  transition: 0.3s ease;
  width: 100%;
}
.form__label.focus {
  color: #07f;
  font-size: 1.1rem;
  top: 0;
}
.form__label.error {
  color: #f75d63;
}
.form__input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #979797;
  border-radius: 0;
  color: #3d4752;
  font-family: inherit;
  font-size: 1.4rem;
  outline: 0;
  padding: 0;
  position: relative;
  transition: 0.3s ease;
  height: 36px; width: 100%;
  z-index: 100;
}
.form__input.focus {
  border-bottom: 1px solid #07f;
  color: #07f;
}
.form__input.error {
  border-bottom: 1px solid #f75d63;
  color: #f75d63;
}
.form__btn {
  margin-top: 16px;
}
.form__btn[disabled="disabled"], .form__btn[disabled="disabled"]:hover {
  background: #07f !important;
  box-shadow: none;
  cursor: default;
  opacity: 0.5;
}
.form__error {
  color: #f75d63;
  display: none;
  font-size: 0.85rem;
  margin-top: 8px;
  opacity: 0;
  user-select: none;
}
.show {
  animation: 0.9s show;
  animation-fill-mode: forwards;
  display: block;
}
@keyframes show {
  from {
    opacity: 0;
  } 
  to {
    opacity: 1;
  }
}
@media screen and (max-width: 1199px) {
  .card__title {
    font-size: 1.22rem;
    line-height: 26px;
  }
}
@media screen and (max-width: 991px) {
  .card {
    margin-bottom: 32px;
  }
  .card--mini {
    margin-bottom: 0;
  }
  .lead__title {
    font-size: 2rem;
  }
  .lead__title strong {
    font-size: 2.5rem;
  }
  .lead__title--sub {
    margin-top: 24px;
    width: 80%;
  }
  .checklist {
    margin: 0 auto;
    padding: 0;
    width: 65%;
  }
  .checklist--item {
    width: 100%;
  }
  .lead__group:first-child:after {
    display: none;
  }
  .flickity-prev-next-button.previous, .flickity-prev-next-button.next {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .overlay {
    background-image: none;
    padding: 32px 0;
  }
  .lead__intro {
    margin-bottom: -52px;
  }
  .lead__logo {
    margin-bottom: 24px;
  }
  .lead__title {
    font-size: 1.7rem;
  }
  .lead__title strong {
    font-size: 1.5625rem;
  }
  .lead__disclaimer {
    margin-top: 8px;
  }
  .checklist .checklist--item:nth-child(2), .checklist .checklist--item:nth-child(5), .lead__disclaimer span {
    display: none;
  }
  .lead__form {
    width: 70%;
  }
  .lead__title--sub {
    font-size: 0.875rem;
    line-height: 1.6;
    width: 290px;
  }
  .lead__title--sub span {
    font-size: 1.375rem;
    margin-bottom: 0;
  }
  .form__label {
    font-size: 1.1rem;
  }
  .lead__info {
    font-size: 14px;
  }
  .testimonial__opinion {
    font-size: 0.85rem;
  }
  .rating:after {
    top: 2px;
    width: 95px;
    height: 16px;
  }
  .rating-5-5:after {
    background-position: 0 -20px;
  }
  .disclaimer {
    max-width: 85%;
  }
}
@media screen and (max-width: 575px) {
  .lead {
    height: auto;
  }
  .lead__intro {
    margin-bottom: 32px;
  } 
  .hero__title {
    font-size: 1.5625rem;
    letter-spacing: 1.5px;
  }
  .hero__subtitle {
    font-size: 1.0625rem;
    font-weight: normal;
  }
  .card--feat {
    padding: 8px 4px;
    width: 80%;
    height: auto;
  }
  .card__opinion {
    height: auto;
  }
  .feat__title {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 414px) {
  .lead__logo {
   width: 110px;
  }
  .lead__title {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .lead__title strong {
      font-size: 1.3rem;
  }
  .lead__form {
      width: 85%;
  }
  .checklist {
      width: 80%;
  }
  .checklist--item {
      font-size: 0.9rem;
  }
  .lead__title--sub {
      line-height: 1.5;
      width: 95%;
  }
  .card__title {
    font-size: 1.3rem;
    line-height: 26px;
  }
  .card__subtitle {
    font-size: 1.1875rem;
  }
  .btn--card {
    width: 100%;
  }
}
@media screen and (max-width: 375px) {
  footer small {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 320px) {
  .hero__title {
    font-size: 1.4625rem;
    margin-bottom: 4px;
  }
  .card__avatar img {
    width: 35px;
    height: 35px;
  }
  .card__title {
    font-size: 1.1rem;
    line-height: 22px;
  }
  .card__subtitle {
    font-size: 1rem;
  }
  .card--feat {
    width: 90%;
  }
  .card__opinion {
    font-size: 0.8125rem;
    line-height: 18px;
    height: auto;
  }
  .btn {
    font-size: 1.15rem;
  }
}