@import "../../../basic_imports";

.homeHeader.lazy-bg.lazy-bg-loaded {
  .homeHeader__title .headerTitle--white {
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
    @media (max-width: $grid-float-breakpoint-max) {
      font-size: 37px;
      width: 70%;
      margin: 0 auto;
    }
  }
}
h2.text-center {
  margin-bottom: 20px;
}
.rewards-instructions {
  max-width: 780px;
  margin: 0 auto;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 20px;
  @media (min-width: $grid-float-breakpoint) {
    margin-bottom: 40px;
    border-bottom: 0;
    padding-bottom: 0;
  }
  &__instruction {
    font-size: 16px;
    text-align: center;
    .instruction-icon {
      width: 118px;
      height: 123px;
      display: block;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
      margin: 0 auto;
    }
    .instruction-text {
      width: 70%;
      margin: 0 auto;
      @media (min-width: $grid-float-breakpoint) {
        width: auto;
      }
    }
    &--01 {
      .instruction-icon {
        background-image: url("/headers/img/rewards_landing/reward_icon_01.svg");
      }
    }
    &--02 {
      .instruction-icon {
        background-image: url("/headers/img/rewards_landing/reward_icon_02.svg");
      }
    }
    &--03 {
      .instruction-icon {
        background-image: url("/headers/img/rewards_landing/reward_icon_03.svg");
      }
    }
    @media (min-width: $grid-float-breakpoint) {
      font-size: 22px;
      text-align: left;
      border-left: 10px solid;
      display: flex;
      align-items: center;
      padding-left: 50px;
      position: relative;
      padding-bottom: 30px;
      &:after {
        content: "";
        display: block;
        width: 23px;
        height: 23px;
        border: 5px solid;
        border-radius: 50%;
        position: absolute;
        bottom: -1px;
        left: -16px;
        background: #fff;
        z-index: 3;
      }
      .instruction-icon {
        width: 200px;
        height: 189px;
        margin-right: 50px;
        flex: 0 0 auto;
      }
      &--01 {
        &, &:after {
          border-color: #d7d7d7;
        }
        &:before {
          content: "";
          display: block;
          width: 23px;
          height: 23px;
          border: 1px solid #b2b0ae;
          border-radius: 50%;
          position: absolute;
          top: -1px;
          left: -16px;
          background: #fff;
          z-index: 3;
        }
        div:before {
          content: "";
          display: block;
          width: 13px;
          height: 13px;
          border: 1px solid #b2b0ae;
          border-radius: 50%;
          position: absolute;
          top: 4px;
          left: -11px;
          background: #fff;
          z-index: 4;
        }
      }
      &--02 {
        &, &:after {
          border-color: #a9a7a5;
        }
      }
      &--03 {
        &, &:after {
          border-color: $brand-grey-dark;
        }
      }
    }
  }
}
.rewards-faqs {
  @media (min-width: $grid-float-breakpoint) {
    display: flex;
    flex-wrap: wrap;
    max-width: 910px;
    margin: 0 auto;
  }
  &__faq {
    margin-bottom: 15px;
    @media (min-width: $grid-float-breakpoint) {
      margin-bottom: 30px;
      flex: 0 1 50%;
      padding: 0 25px 0 160px;
      background-position: top 0 left 20px;
      background-repeat: no-repeat;
      &.faq01 {
        background-image: url("/headers/img/rewards_landing/destacado01.jpg");
      }
      &.faq02 {
        background-image: url("/headers/img/rewards_landing/destacado02.jpg");
      }
      &.faq03 {
        background-image: url("/headers/img/rewards_landing/destacado03.jpg");
      }
      &.faq04 {
        background-image: url("/headers/img/rewards_landing/destacado04.jpg");
      }
    }
    .faq {
      &__question {
        font-size: 18px;
        color: $brand-grey-dark;
        text-align: left;
        margin-bottom: 10px;
        @media (min-width: $grid-float-breakpoint) {
          margin-left: 30px;
        }
      }
      &__answer {
        border: 1px solid #979797;
        background: #fff;
        padding: 15px;
        border-radius: 10px;
        text-align: left;
      }
    }
  }
}
.rewards-benefits {
  @media (min-width: $grid-float-breakpoint) {
    display: flex;
    flex-wrap: nowrap;
    max-width: 1020px;
    margin: 0 auto;
  }
  &__benefit {
    border: 1px solid;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    @media (min-width: $grid-float-breakpoint) {
      flex: 0 1 33%;
      & + .rewards-benefits__benefit {
        margin-left: 15px;
      }
    }
    .benefit-icon {
      text-align: center;
      .icon {
        width: 36px;
        height: 36px;
      }
    }
    .benefit-text {
      text-align: center;
      line-height: normal;
      @media (min-width: $grid-float-breakpoint) {
        font-size: 20px;
      }
      strong {
        display: block;
      }
    }
    &--01 {
      border-color: #979797;
      .benefit-icon {
        .icon {
          &, & * {
            fill: $brand-grey-dark;
          }
        }
      }
      .benefit-text {
        color: $brand-grey-dark;
      }
    }
    &--02 {
      border-color: #bc4206;
      .benefit-icon {
        .icon {
          &, & * {
            fill: #bc4206;
          }
        }
      }
      .benefit-text {
        color: #bc4206;
      }
    }
    &--03 {
      border-color: #027a02;
      .benefit-icon {
        .icon {
          &, & * {
            fill: #027a02;
          }
        }
      }
      .benefit-text {
        color: #027a02;
      }
    }
  }
}