@use "sass:color";
/*#############################################################################
# GENERAL CONTENT ELEMENTS
#############################################################################*/

// Content Box - Content Elements

.div-border-red {
  border: 2px solid red;
}

.content-box {
  .content-subtitle {
    color: #00C8E1;
    text-transform: uppercase;
  }

  .content-description {
    color: $color-secondary-dark;
  }

  .content-cta {
    font-weight: 900;
  }

  .content-image {
    max-width: 500px;
    display: block;
    margin: 0 auto;
  }
}

.rounded-image {
  border-radius: 50%;
}

.text-general-description {
  color: $color-secondary-dark;
}

.center-box {
  margin: 0 15%;
  padding: 60px 0;

  .content-description {
    color: $color-secondary-dark;
  }
}

.testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 50px 0 20px;

  .testimonial-box {
    flex: 0 1 calc(100% - 40px);
    margin: 0 20px 20px;

    @include responsive($breakpoint-medium) {
      flex: 0 1 calc(50% - 40px);
    }

    @include responsive($breakpoint-large) {
      flex: 0 1 calc(25% - 40px);
      margin-bottom: 0;
    }
  }

  // Elements
  p.testimonial {
    font-size: rem-calc(14px);
    font-style: italic;
    opacity: 0.6;
  }

  .testimonial-person {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-column-gap: 15px;

    img.photo {
      max-width: 40px;
      @include border-radius(100%);
      @include box-shadow(
        0 0 0 4px rgba(white,0.1),
        0 0 0 1px rgba(white,1)
      );
    }

    h6.name {
      font-size: rem-calc(14px);
    }
  }
}

.logo-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;

  &.title-line {
    font-size: 0.8em;
    font-weight: 100;
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 15px;

    &:before {
      border-top: 1px solid #eeeeee;
      content: "";
      margin: 0 auto;
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      bottom: 0;
      width: 95%;
      z-index: -1;
    }
    span {
      background: #fff;
      padding: 0 15px;
    }

    .line-logo {
      background-color: #FFFFFF;
      padding-right: 15px;
    }
  }

  img.allies-logo {
    max-width: 80px;
    max-height: 60px;
    margin: 10px 20px;

    @include responsive($breakpoint-medium) {
      max-width: 100px;
      max-height: 80px;
      margin: 20px 40px;
    }

    @include responsive($breakpoint-large) {
      max-width: 125px;
      max-height: 80px;
    }
  }

  &.logo-7x {
    img.allies-logo {
      @include responsive($breakpoint-medium) {
        margin: 20px 25px;
      }
    }
  }
}

.faqs-box {
  margin: 0 15%;
  padding: 60px 0;

  header {
    text-align: center;
    margin-bottom: 70px;
  }

  ul.faqs {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      margin: 0 0 40px;
      @include transition(all 0.3s cubic-bezier(.7, 0, .175, 1) 0s);

      &:last-child {
        margin: 0;
      }

      &:hover {
        @include transform(scale(1.05));
      }

      .question {
        margin: 0;
      }

      .answer {
        color: $color-secondary-dark;
        margin: 0;
      }
    }
  }
}

.required-documentation-box {
  @include responsive($breakpoint-medium) {
    background-image: url("/assets/swl/interface/documents.svg");
    background-position: 110% 50%;
    background-size: 340px 558px;
    background-repeat: no-repeat;
  }

  @include responsive($breakpoint-xmedium) {
    background-size: 420px 690px;
  }

  @include responsive($breakpoint-large) {
    background-size: 554px 910px;
  }

  .required-documentation-title {
    font-size: rem-calc(28px);
    margin: 0 0 40px;
  }

  ul.required-documentation {
    list-style: none;
    margin: 0 0 80px;
    padding: 0;

    li {
      background: url("/assets/swl/interface/icons/check-green-circle-large.svg") no-repeat 0 0;
      margin-bottom: 40px;
      padding-left: 50px;
      min-height: 32px;

      &:last-child {
        margin-bottom: 0;
      }

      .document-title {
        font-size: rem-calc(18px);
        line-height: 32px;
        margin: 0;
      }

      .document-description {
        font-size: rem-calc(18px);
        color: $color-secondary;
      }
    }
  }

  .secure {
    margin: 0;

    img {
      height: 70px;
      margin: 0 10px -25px 0;
    }
  }
}


section.email-confirmation, section.credit-lines, section.sempli-comfama, section.insurance {
  ul.confirmation-check-list {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    font-weight: 100;

    li {
      background: url("/assets/swl/interface/icons/check-green-circle-large.svg") no-repeat 0 0;
      margin-bottom: 40px;
      padding-left: 50px;
      min-height: 32px;

      &:last-child {
        margin-bottom: 0;
      }

      .checklist-item {
        font-size: rem-calc(18px);
        line-height: 32px;
        margin: 0;
      }
    }

    &.basic-check {
      li {
        background: url("/assets/swl/interface/icons/basic-check.svg") no-repeat 0 0;
        margin-bottom: 10px;

      }

      &.magenta {
        li {
          background: url("/assets/swl/interface/icons/basic-check-magenta.svg") no-repeat 0 0;
        }
      }
    }
  }
}

.contact-us-wrapper {
  border-bottom: 1px solid $color-secondary-light;
  padding-bottom: 120px;

  img.contact-us-image {
    display: block;
    max-width: 560px;
    margin: 0 auto;
  }
}

.comparison-table-title {
  margin-bottom: 80px;
}

.comparison-table {
  // Structural Blocks
  .row {
    display: grid;
    grid-template-columns: 2fr 1fr;

    @include responsive($breakpoint-medium) {
      grid-template-columns: 2fr repeat(3, 1fr);
    }

    // Turn Grid Items into Flex Containers
    // for alignment purposes
    > * {
      display: flex;
      justify-content: center;
      align-items: center;
      border-bottom: 1px solid rgba(black,0.08);
      padding: 12px 10px;
      position: relative;
    }

    // Row Grid Items

    .item-name {
      justify-content: flex-start;
    }

    .sempli {
      background-color: $color-primary-darker;
      color: #ffffff;
    }

    .banks {
      display: none;
      color: $color-secondary;

      @include responsive($breakpoint-medium) {
        display: flex;
      }
    }

    .others {
      display: none;
      color: $color-secondary;

      @include responsive($breakpoint-medium) {
        display: flex;
      }
    }

    // Even Rows

    &:nth-child(even) {
      background-color: rgba(black,0.04);

      .sempli {
        background-color: color.adjust($color-primary-darker, $lightness: -5%);
        border-bottom-color: rgba(black,0.2);
      }
    }

    // Last Child Row

    &:last-child {
      .sempli {
        &::after {
          display: block;
          content: "";
          background-color: $color-primary-darker;
          height: 30px;
          width: 100%;
          position: absolute;
          left: 0;
          bottom: 0;
          @include border-bottom-radius(5px);
          @include transform(translateY(100%));
        }
      }
    }
  }

  header {
    .sempli {
      padding-top: 20px;
      padding-bottom: 20px;
      @include border-top-radius(5px);
    }
  }

  // Content elements

  .title {
    margin: 0;
    text-align: center;
  }

  img.icon {
    display: block;
  }
}

section.blog-ctas {
  .container {
    &:first-child {
      margin-bottom: 100px;
    }
  }

  .blog-ctas-title {
    br {
      display: none;

      @include responsive($breakpoint-xmedium) {
        display: block;
      }
    }
  }

  .blog-ctas-subtitle {
    br {
      display: none;

      @include responsive($breakpoint-xmedium) {
        display: block;
      }
    }
  }
}

// section.how-it-works-props {
//   @include background-image(linear-gradient(#f5f6fa, #ffffff));
// }

section#our-history {
  .container {
    position: relative;
    margin-bottom: 0;
    padding: 50px 0;

    &:first-child {
      margin-bottom: 100px;
    }

    .content-box-col:nth-child(2) {
      &::before {
        content: "";
        display: block;
        background-color: color.adjust($color-secondary-light, $lightness: 7%);
        width: 4px;
        height: 100%;
        position: absolute;
        left: 50%;
        top: 0;
        @include transform(translateX(-50%));
      }

      &::after {
        content: "";
        display: block;
        background-color: color.adjust($color-secondary-light, $lightness: 7%);
        width: 23px;
        height: 23px;
        position: absolute;
        left: 50%;

        @include border-radius(100%);
        @include transform(translate(-50%, -50%));
      }
    }
  }

  .content-image {
    max-height: 460px;
    max-width: 460px;
    @include border-radius(10px);
    @include box-shadow(
      0 0 0 1px rgba(white, 0.9),
      0 0 0 8px rgba(black, 0.05)
    );
  }
}

section#our-team {
  .grid {
    .col {
      padding: 0 10px;
    }
  }

  .container {
    &:first-child {
      margin-bottom: 100px;
    }
  }

  .team-member {
    margin-bottom: 50px;
  }

  // Content Elements

  .team-member-photo {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    @include border-radius(10px);
    @include box-shadow(
      0 0 0 1px rgba(white, 0.9),
      0 0 0 8px rgba(black, 0.05)
    );
  }

  .team-member-name {
    margin: 0 0 3px;
  }

  .team-member-job-title {
    font-size: rem-calc(12px);
    text-transform: uppercase;
    margin: 0 0 8px;
  }

  .team-member-description {
    font-size: rem-calc(14px);
    color: $color-secondary;
    margin: 0;
  }
}

section#our-clients {
  .client {
    margin-bottom: 50px;
  }
}

section#our-investors {
  .container {
    margin-bottom: 80px;
  }

  // Content Elements

  .investor-logo {
    max-width: 75%;
  }

  .investor-description {
    color: $color-secondary;
  }
}

section#help-center {
  header.help-center-header {
    border-bottom: 1px solid $color-secondary-light;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .section-category-group {
    margin-bottom: 50px;
  }

  .section-category-title {
    .centro-de-ayuda.category & {
      font-size: rem-calc(26px);
      margin: 0 0 30px;
    }
  }

  .section-category-articles {
    padding-left: 20px;

    li {
      color: $color-secondary-light;
      padding: 5px 0;

      a {
        color: $color-text;
        white-space: normal;

        &:hover {
          color: $color-primary;
        }
      }

      .centro-de-ayuda.category & {
        font-size: rem-calc(18px);
      }
    }
  }

  aside {
    display: none;

    @include responsive($breakpoint-medium) {
      display: block;
    }

    .section-categories {
      list-style: none;
      padding: 0;
      margin: 0;

      li {
        margin-bottom: 10px;

        a {
          color: $color-secondary-dark;
          font-size: rem-calc(18px);

          &:hover {
            color: $color-text;
          }

          &.active {
            color: $color-primary;
          }
        }
      }
    }
  }

  main {
    article {
      // font-size: rem-calc(16px);
      font-size: 1rem;

      .article-title {
        // font-size: rem-calc(34px);
        margin: 0 0 30px;
      }

      blockquote {
        border-left: 3px solid $color-secondary-light;
        color: $color-secondary;
        margin: 40px 0;
        padding-left: 50px;
      }

      img {
        display: block;
        margin: 30px auto;
        max-width: 100%;
        @include border-radius(10px);
        @include box-shadow(
          0 0 0 1px rgba(white, 0.9),
          0 0 0 8px rgba(black, 0.05)
        );
      }

      .was-this-helpful {
        margin: 100px 0;

        ul {
          display: flex;
          justify-content: center;
          align-items: center;
          list-style: none;
          padding: 0;
          margin: 30px 0 0;

          li {
            margin: 0 10px;
          }
        }

        a.satisfaction-option {
          display: block;
          @include border-radius(100%);

          img.icon {
            margin: 0;
            @include box-shadow(none);
          }

          &:hover, &.rated {
            @include box-shadow(0 0 0 5px rgba($color-primary, 0.2));
          }
        }
      }
    }
  }
}

section#legal,
section.insurance-details {
  aside {
    display: none;

    @include responsive($breakpoint-medium) {
      display: block;
    }

    .categories {
      list-style: none;
      padding: 0;
      margin: 0;

      li {
        margin-bottom: 10px;

        a {
          color: $color-secondary-dark;
          font-size: rem-calc(18px);

          &:hover {
            color: $color-text;
          }

          &.active {
            color: $color-primary;
          }
        }
      }
    }
  }

}

section#in-the-news {
  .news-feed {
    @include responsive($breakpoint-medium) {
      grid-column-gap: 60px;
    }
  }

  .news-article {
    border-bottom: 1px solid $color-secondary-light;
    padding-bottom: 30px;
    margin-bottom: 40px;
  }

  // Content Elements

  img.content-image {
    max-width: 100%;
    @include border-radius(10px);
    @include box-shadow(
      0 0 0 1px rgba(white, 0.9),
      0 0 0 8px rgba(black, 0.05)
    );
  }

  .news-article-title {
    color: $color-text;

    &:hover {
      color: $color-primary;
    }
  }

  .news-article-description {
    color: $color-secondary-dark;
  }

  .news-article-meta {
    font-size: rem-calc(14px);
    margin: 0;

    span {
      display: inline-block;
      margin-right: 10px;
      padding-right: 15px;
      color: $color-secondary;
      position: relative;

      &::after {
        content: "";
        display: block;
        background-color: $color-secondary-light;
        height: 5px;
        width: 5px;
        position: absolute;
        right: 0;
        top: 50%;
        @include transform(translateY(-50%));
        @include border-radius(100%);
      }

      &:last-child {
        margin: 0;
        padding: 0;

        &::after {
          display: none;
        }
      }
    }
  }
}

section#our-values {
  .values-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 40px;

    @include responsive($breakpoint-xmedium) {
      grid-template-columns: 1fr 1fr;
      grid-column-gap: 40px;
    }
  }

  .value-box {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
    @include border-radius(5px);
    @include box-shadow(4px 4px 25px 0 rgba(black, 0.05));
  }

  // Content Elements

  .values-title {
    margin-bottom: 50px;
  }

  img.value-image {
    display: block;
    max-width: 160px;
    margin: 0 auto 10px;
  }

}

section#career-opportunities {
  header {
    margin-bottom: 60px;
  }

  .opportunity-feed {
    grid-row-gap: 40px;

    .opportunity {
      background-color: #ffffff;
      padding: 25px 30px;
      min-height: 280px;
      position: relative;
      @include border-radius(5px);
      @include box-shadow(4px 4px 25px 0 rgba($color-text, 0.15));

      &:hover {
        @include box-shadow(8px 8px 30px 2px rgba($color-text, 0.15));
      }
    }
  }

  // Content Elements

  .opportunity-title {
    color: $color-text;
    margin: 0;
  }

  .opportunity-meta {
    color: $color-text;
    font-size: rem-calc(14px);
    margin: 0;
    position: absolute;
    bottom: 30px;

    span {
      display: inline-block;
      margin-right: 10px;
      padding-right: 15px;
      color: $color-secondary;
      position: relative;

      &::after {
        content: "";
        display: block;
        background-color: $color-secondary-light;
        height: 5px;
        width: 5px;
        position: absolute;
        right: 0;
        top: 50%;
        @include transform(translateY(-50%));
        @include border-radius(100%);
      }

      &:last-child {
        margin: 0;
        padding: 0;

        &::after {
          display: none;
        }
      }
    }
  }
}

.opportunity-type-label {
  display: inline-block;
  background-color: $color-secondary;
  color: #ffffff;
  padding: 5px 10px;
  margin: 0 0 20px;
  @include border-radius(3px);

  &.product {
    background-color: #6ceab0;
  }

  &.tech {
    background-color: #649ef5;
  }

  &.operations {
    background-color: #b397f7;
  }
}

.hero-description.opportunity-meta {
  color: $color-text;
  font-size: rem-calc(14px);
  margin: 0;
  opacity: 1 !important;

  span {
    display: inline-block;
    margin-right: 10px;
    padding-right: 15px;
    color: $color-secondary;
    position: relative;

    &::after {
      content: "";
      display: block;
      background-color: $color-secondary-light;
      height: 5px;
      width: 5px;
      position: absolute;
      right: 0;
      top: 50%;
      @include transform(translateY(-50%));
      @include border-radius(100%);
    }

    &:last-child {
      margin: 0;
      padding: 0;

      &::after {
        display: none;
      }
    }

    &.opportunity-type-label {
      color: #ffffff;
      font-weight: 400;
      padding: 5px 15px;

      &::after {
        display: none;
      }
    }
  }
}

section#referral-program {
  .referral-program-title {
    font-size: rem-calc(28px);
    margin: 0 0 40px;
  }

  ul.referral-program-steps {
    list-style: none;
    margin: 0 0 80px;
    padding: 0;

    li {
      background: url("/assets/swl/interface/icons/check-green-circle-large.svg") no-repeat 0 0;
      margin-bottom: 40px;
      padding-left: 50px;
      min-height: 32px;

      &:last-child {
        margin-bottom: 0;
      }

      .document-title {
        font-size: rem-calc(18px);
        line-height: 32px;
        margin: 0;
      }

      .document-description {
        font-size: rem-calc(18px);
        color: $color-secondary;
      }
    }
  }
}

section#why-become-a-referrer {
  header {
    text-align: center;
    margin-bottom: 80px;
  }

  ul.why-become-a-referrer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;

    list-style: none;
    margin: 0;
    padding: 0;

    li {
      background-color: #ffffff;
      padding: 40px;
      text-align: center;
      width: calc(33.333% - 20px);
      margin: 0 20px 20px 0;
      @include border-radius(5px);
      @include box-shadow(4px 4px 25px 0 rgba(black, 0.05));
      @include responsive-max($breakpoint-xmedium) {
        width: calc(50% - 20px);
      }
      @include responsive-max($breakpoint-medium) {
        width: 100%;
        margin-right: 0;
      }
    }
  }
}


section.simulators.hero-wrapper {
  background: #fff !important;
}

section.simulators.simulators-wrapper {
  background-color: #f5f6fa;
  .roi-section-header {
    .section-description {
      color: $color-secondary-dark;
    }
  }
}

.roi-calculator {
  display: grid;
  grid-template-columns: 1fr;
  background-color: #fff;
  padding: 0;
  @include border-radius(10px);
  @include box-shadow(-2px 2px 6px 0 rgba(0, 0, 0, 0.1));

  @include responsive($breakpoint-xmedium) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .investment {
    border-bottom: 1px solid $color-secondary-light;
    padding: 20px 40px;
    @include border-top-radius(10px);

    @include responsive($breakpoint-xmedium) {
      grid-column: 1 / 3;
      grid-row: 1;
    }
  }

  .loan {
    border-right: 1px solid $color-secondary-light;
    padding: 20px 40px;

    @include responsive($breakpoint-xmedium) {
      grid-column: 1;
      grid-row: 2;
    }
  }

  .roi {
    padding: 20px 40px;
    background-color: rgba($color-secondary-light, 0.1);
    @include border-bottom-right-radius(10px);

    @include responsive($breakpoint-xmedium) {
      grid-column: 2;
      grid-row: 2;
    }
  }
}

.loan-calculator {
  background-color: #fff;
  padding: 0;
  margin-bottom: 30px;
  @include border-radius(10px);
  @include box-shadow(-2px 2px 6px 0 rgba(0, 0, 0, 0.1));

  .main-inputs {
    border-bottom: 1px solid $color-secondary-light;
    padding: 20px 40px;
    @include border-top-radius(10px);
  }
}

.loan-simulation {
  background-color: #fff;
  padding: 20px 40px;
  @include border-radius(10px);
  @include box-shadow(-2px 2px 6px 0 rgba(0, 0, 0, 0.1));
}

.loan-calculator-panel {
  margin: 30px 0;

  h6 {
    font-size: rem-calc(14px);
    font-weight: 400;
    opacity: 0.5;
    margin: 0;
  }

  p {
    font-size: rem-calc(16px);
    font-weight: 900;
    margin: 0;
  }
}

.loan-calculator-table {
  .table-header {
    .table-row {
      border-top: 2px solid $color-secondary;
      border-bottom: 2px solid $color-secondary;

      .table-cell {
        color: $color-text;
        font-size: rem-calc(15px);
        font-weight: 900;
        padding: 20px 15px;
      }
    }
  }

  .table-footer {
    .table-row {
      border-bottom: none;

      .table-cell {
        color: $color-text;
        font-size: rem-calc(15px);
        font-weight: 900;
      }
    }
  }

  .table-row {
    display: grid;
    grid-template-columns: 120px repeat(5, 1fr);
    border-bottom: 1px solid $color-secondary-light;

    .table-cell {
      color: $color-secondary;
      font-size: rem-calc(13px);
      padding: 15px;
      text-align: center;

      &:first-child {
        text-align: left;
      }

      &:last-child {
        text-align: right;
      }
    }

    &:hover {
      background-color: color.adjust($color-secondary-light, $lightness: 15%);
    }
  }

  // Cell Specific

  .installment-num {
    display: inline-block;
    background-color: color.adjust($color-secondary, $lightness: 15%);
    color: $color-text;
    font-weight: 900;
    padding: 1px 6px;
    @include border-radius(4px);
  }

  .payment-total {
    color: $color-text;
    font-weight: 900;
  }

  // Content Elements

  span.payment-amount {
    display: block;
    font-size: rem-calc(15px);
    font-weight: 900;
  }

  a.payment {
    img.icon {
      margin: 0 4px -4px 0;
      width: 18px;
    }
  }
}

ul.results-table {
  list-style: none;
  margin: 0;
  padding: 0;

  li {
    margin: 0 0 7px;
    position: relative;
    @include pie-clearfix;

    &:last-child {
      margin: 0;
    }
  }

  .table-separator {
    border-top: 1px solid $color-secondary-light;
    padding-top: 10px;
  }

  .table-total {
    span {
      font-size: rem-calc(22px);
    }

    span.results-table-item-value {
      &.positive {
        color: $color-success;
      }

      &.negative {
        color: $color-alert;
      }
    }

    img.icon.question-sign {
      margin-bottom: 0px;
    }
  }

  // SMALL RESULTS
  &.small {
    span {
      font-size: rem-calc(14px);
    }
  }
}

ul.results-table, label {
  img.icon.question-sign {
    display: inline-block;
    width: 16px;
    margin-bottom: -2px;
  }
}

span.results-table-item-title {
  font-size: rem-calc(16px);
  font-weight: 900;
  @include float(left);
}

span.results-table-item-value {
  font-size: rem-calc(16px);
  font-weight: 900;
  @include float(right);
}

.calculator-wrapper {
  padding: 20px 40px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  opacity: 0.9;

  @include responsive-max($breakpoint-xlarge) {
    margin-right: 40px;
  }

  @include responsive-max($breakpoint-xmedium) {
    display: none;
  }

  header {
    margin: 0 0 20px;

    h1 {
      color: $color-primary;
      font-size: rem-calc(26px);
      font-weight: 900;
      line-height: 36px;
      margin: 0 0 10px;

      // @include responsive($breakpoint-medium) {
      //   font-size: rem-calc(40px);
      //   line-height: 46px;
      // }
    }

    p {
      font-size: rem-calc(16px);
      opacity: 0.5;
      margin: 0;
    }
  }

  .calc-inputs {
    .grid {
      grid-column-gap: 20px;
    }
  }

  .calc-results {
    a.to-simulator {
      display: block;
      font-size: rem-calc(14px);
      margin-top: 20px;
    }
  }

  .calc-cta {
    padding: 25px 0 5px;
  }

  .footer {
    border-top: 1px solid $color-secondary-light;
    font-size: rem-calc(12px);
    padding-top: 20px;
  }
}

/*=============== SEMPLI 2.0 ===============*/
.main {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.section-hero-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 70px;

  @media screen and (min-width: 769px) {
    flex-direction: row;
  }

  @media screen and (max-width: 1023px) {
    margin-top: 56px;
  }
}

.section-hero-texts {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 20px 40px;

  @media screen and (min-width: 769px) {
    width: 50%;
  }

  @media screen and (max-width: 768px) {
    padding: 20px;
  }
}

.section-hero-text {
  width: max-content;
  display: flex;
  flex-direction: column;
}

.section-hero-img {
  width: 100%;

  @media screen and (min-width: 769px) {
    width: 50%;
  }
}

.border-img {
  border-radius: 0 0 0 0;

  @media screen and (min-width: 769px) {
    border-radius: 0 0 0 40%;
  }
}

.sections-main {
  overflow: hidden;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero-trustpilot {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.section-home-first-trustpilot {
  position: absolute;
  display: flex;
  width: 100%;
  margin: -90px 150px -120px 0;
  border-radius: 10px;
  padding: 20px 0px;
  text-align: center;
  background-color: rgba(250, 250, 250, 0.7);
  max-width: 220px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);

  @media screen and (min-width: 1200px) {
    margin: -90px 180px 0 0;
  }

  @media screen and (min-width: 1350px) {
    margin: -90px 200px 0 0;
  }

  @media screen and (min-width: 1450px) {
    margin: -90px 300px 0 0;
  }

  @media screen and (max-width: 995px) {
    margin: -90px 100px 0 0;
  }

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.space-left {
  margin-left: -40px;
}

.section-home-title {
  font-size: 36px;
  line-height: 1.2em;
  width: 100%;

  @media screen and (min-width: 900px) {
    font-size: 34px;
  }

  @media screen and (min-width: 1120px) {
    font-size: 36px;
  }

  @media screen and (min-width: 1200px) {
    font-size: 38px;
  }

  @media screen and (min-width: 1280px) {
    font-size: 40px;
  }

  @media screen and (min-width: 1700px) {
    font-size: 48px;
  }

  @media screen and (max-width: 995px) {
    font-size: 32px;
  }

  @media screen and (max-width: 868px) {
    font-size: 28px;
  }

  @media screen and (max-width: 820px) {
    font-size: 18px;
  }

  @media screen and (max-width: 768px) {
    font-size: 36px;
  }

  @media screen and (max-width: 600px) {
    margin: 0px;
    display: none;
  }
}

.section-home-title-hide {
  font-size: 36px;
  line-height: 1.2em;
  width: 100%;
  display: none;

  @media screen and (max-width: 600px) {
    display: flex;
    margin: 0px;
  }
}

.section-home-paragrahp {
  font-size: 16px;
  margin-top: 15px;
  width: 100%;

  @media screen and (max-width: 600px) {
    width: 100%;
  }

  @media screen and (min-width: 769px) {
    width: 70%;
  }

  @media screen and (min-width: 900px) {
    width: 100%;
  }

  @media screen and (min-width: 1120px) {
    font-size: 18px;
  }

  @media screen and (min-width: 1280px) {
    font-size: 20px;
  }
}

.home-paragraph {
  font-weight: 300;

  @media screen and (max-width: 600px) {
    font-weight: 400;
  }
}

.section-home-cta {
  margin-top: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.cta {
  display: inline-block;
  background: #4335f9;
  color: #fff !important;
  text-decoration: none;
  min-width: 180px;
  padding: 5px 16px;
  border-radius: 30px;
  text-align: center;
  cursor: pointer;

  &:hover {
    background: #1414ea;
    color: #fff;
  }
}

.single-cta-blue {
  display: inline-block;
  position: relative;
  color: #4335f9 !important;
  text-decoration: none;
  cursor: pointer;

  &:hover {
    opacity: .8;
  }
}

.cta-icon {
  transition: margin-left 0.3s;
}

.single-cta-blue:hover .cta-icon {
  margin-left: 4px;
}

.text-center {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-space {
  margin: 30px 0 0 0;
}

.btn-space-modal {
  margin: 10px;
}

.custom-height-img-flexi {
  max-height: 210px;
  min-height: 210px;
  padding: 0;

  @media screen and (max-width: 600px) {
    padding: 40px 40px 0 40px;
  }
}

.section-custom-texts {
  height: max-content;
}

.max-height-260 {
  max-height: 260px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.padding-img {
  @media screen and (max-width: 600px) {
    padding: 20px !important;
  }
}

.custom-container-column {
  @media screen and (max-width: 995px) {
    padding: 20px;
  }
}

.section-custom-space-top {
  margin-top: 150px;

  @media screen and (max-width: 768px) {
    margin-top: 0px;
  }
}

.ul-disc {
  list-style-type: disc;
}

.mtb-15 {
  margin: 15px 0;
}

.mt-15 {
  margin-top: 15px;
}

.height-max-content {
  height: max-content;
}

.img-custom-border {
  border-radius: 40px;
}

.section {
  width: 100%;
  padding: 0px 125px;
  margin-top: 70px;
  scroll-margin-top: -80px;

  @media screen and (min-width: 900px) {
    padding: 0px 125px;
  }

  @media screen and (max-width: 1023px) {
    padding: 0px 40px;
  }

  @media screen and (max-width: 600px) {
    min-width: 340px;
    padding: 0px 20px;
  }
}

.section-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

.section-video-main {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 0 0 0 0;

  @media screen and (min-width: 769px) {
    border-radius: 0 0 0 40%;
  }
}

.space-elements {
  justify-content: space-between;
  gap: 20px;
}

.section-element {
  display: flex;
  flex-direction: column;
  width: 50%;
  min-width: 340px;
  flex: 350px;

  @media screen and (max-width: 600px) {
    flex-direction: column;
    width: 100%;
    flex: 350px;
  }

  @media screen and (max-width: 820px) {
    width: 100%;
  }
}

.section-only-title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-title {
  font-size: 44px;
  margin: 0px;
}

.section-custom-title {
  font-size: 30px;
  margin: 0px;
}

.text-gray {
  color: #575d70;
}

.text-gray-subtitle {
  color: #434448;
  font-size: 20px;
  width: 80%;
}

.text-black {
  color: $color-text;
}

.back-lilac {
  background-color: #efecff;
  border-radius: 30px;
}

.back-gray {
  background-color: #efefef;
  border-radius: 40px;
  height: 100%;
}

.back-navy-blue {
  background-color: #EEFFFF;
  border-radius: 30px;
}

.section-elements {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-section-elements {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-loading-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 260px;
}

.loading-input-50 {
  pointer-events: none;
  border: 1px solid #CCC;
  width: 230px;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  padding: 5px;
  background: linear-gradient(to right, #00C8E1 50%, #FFF 0);
  background-size: 200% 100%;
  background-position: 100% 0;
  animation: fill-animation-50 15s ease forwards infinite;

  @keyframes fill-animation-50 {
    0%, 25%, 30%, 45% {
      background-position: 100% 0;
      color: gray;
    }
    60%, 100% {
      background-position: 45% 0;
      color: #fff;
    }
  }
}

.loading-input-80 {
  pointer-events: none;
  border: 1px solid #CCC;
  width: 230px;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  padding: 5px;
  background: linear-gradient(to right, #00C8E1 50%, #FFF 0);
  background-size: 200% 100%;
  background-position: 100% 0;
  animation: fill-animation-80 15s ease forwards infinite;

  @keyframes fill-animation-80 {
    0%, 25%, 30%, 45% {
      background-position: 100% 0;
      color: gray;
    }
    60%, 100% {
      background-position: 30% 0;
      color: #fff;
    }
  }
}

.loading-input-100 {
  pointer-events: none;
  border: 1px solid #CCC;
  width: 230px;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  padding: 5px;
  background: linear-gradient(to right, #00C8E1 50%, #FFF 0);
  background-size: 200% 100%;
  background-position: 100% 0;
  animation: fill-animation-100 15s ease forwards infinite;

  @keyframes fill-animation-100 {
    0%, 25%, 30%, 45% {
      background-position: 100% 0;
      color: gray;
    }
    60%, 100% {
      background-position: 0% 0;
      color: #fff;
    }
  }
}

.column-direction {
  flex-direction: column;
}

.section-subtitle {
  width: 100%;
  font-size: 28px;
  display: flex;
  align-items: center;
  line-height: 1.2em;
}

.section-subtitle-place {
  width: 80%;
  font-size: 28px;
  display: flex;
  align-items: center;
  line-height: 1.2em;

  @media screen and (max-width: 1023px) {
    width: 100%;
  }
}

.section-paragraph-clean {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 0px 10px 0px;

  @media screen and (max-width: 600px) {
    padding: 20px 0px 20px 0px;
  }
}

.section-paragraph {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 0px 10px 0px;

  span {
    display: flex;
    align-items: center;

    &::before {
      content: '';
      display: inline-block;
      width: 4px;
      height: 4px;
      background-color: #4335f9;
      border-radius: 50%;
      margin-right: 5px;
    }
  }

  @media screen and (max-width: 600px) {
    padding: 20px 0px 20px 0px;
  }
}

.space-only-title {
  padding: 30px 20px 0px 20px;
}

.section-margin-bottom {
  margin-bottom: 30px;
}

.padding-section-text {
  padding: 40px;

  @media screen and (max-width: 995px) {
    padding: 20px;
  }
}

.custom-padding-section-text {
  padding: 20px 0px;

  @media screen and (max-width: 600px) {
    padding: 20px;
  }
}

.padding-section-first-text {
  padding: 0 0 20px 0;

  @media screen and (max-width: 995px) {
    padding: 20px;
  }
}

.figure-credit-card {
  margin-bottom: 20px;

  @media screen and (max-width: 600px) {
    margin-bottom: 0px;
  }
}

.img-custom-width {
  width: 85%;

  @media screen and (max-width: 600px) {
    width: 100%;
  }
}

.section-img {
  height: 100%;
  display: block;
  margin: 0 auto;

  @media screen and (max-width: 600px) {
    padding: 20px;
  }
}

.section-img-custom-padding {
  height: 100%;
  display: block;
  margin: 0 auto;

  @media screen and (max-width: 600px) {
    padding: 0px;
  }
}

.mt-10 {
  margin-top: 10px;
}

.section-padding-20 {
  padding: 20px;

  @media screen and (max-width: 600px) {
    padding: 0px;
  }
}

.cta-space-top {
  display: flex;
  justify-content: center;
  width: 100%;
}

.margin-cta {
  margin: 30px 0 10px 0;
}

.section-lending-picture {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 80vw;
  max-height: 663px;
  margin: 0 auto;
  border-radius: 50px;
}

.section-flexi-picture {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 80vw;
  max-height: 663px;
  margin: 0 auto;
  border-radius: 50px;
}

.section-payments-picture {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-image: url("/assets/swl/interface/sempli_2.0/5-seguridad-y-control.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 80vw;
  max-height: 663px;
  margin: 0 auto;
  border-radius: 50px;
}

.section-credit-card-picture {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-image: url("/assets/swl/interface/sempli_2.0/10-pago-de-facturas-y-proveedores-v2.png");
  background-repeat: no-repeat;
  background-size: contain;
  max-height: 663px;
  margin: 0 auto;
  border-radius: 50px;

  @media screen and (max-width: 1100px) {
    background-image: url("/assets/swl/interface/sempli_2.0/10-pago-de-facturas-y-proveedores-v1.png");
  }

  @media screen and (max-width: 768px) {
    background-image: url("/assets/swl/interface/sempli_2.0/10-pago-de-facturas-y-proveedores.png");
    height: 60vw;
    min-height: 400px;
    background-position: center;
  }
}

.section-job-to-be-done {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.section-job-to-be-done-payments {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.section-job-to-be-done-hand {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: $color-text;
}

.section-content-job-to-be-done {
  width: 100%;
  height: max-content;
  align-self: flex-end;
  padding: 40px 40px 20px 40px;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.section-content-job-to-be-done-lending {
  width: 100%;
  height: max-content;
  align-self: flex-end;
  padding: 40px;
}

.section-content-job-to-be-done-payments {
  width: 100%;
  height: max-content;
  align-self: flex-end;
  padding: 40px;
}

.section-title-job-to-be-done {
  font-size: 32px;
}

.section-title-job-to-be-done-lending {
  font-size: 32px;

  @media screen and (max-width: 768px) {
    font-size: 28px;
  }
}

.section-title-job-to-be-done-payments {
  font-size: 32px;

  @media screen and (max-width: 768px) {
    font-size: 28px;
  }
}

.section-texts-job-to-be-done {
  width: 100%;
  display: flex;
  gap: 30px;
  color: #e9e9e9;
}

.section-texts-job-to-be-done-credit-card {
  width: 100%;
  display: flex;
  gap: 30px;
  color: $color-text;
}

.section-texts-job-to-be-done-lending {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e9e9e9;

  @media screen and (max-width: 768px) {
    color: $color-text;
  }
}

.section-texts-job-to-be-done-payments {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e9e9e9;

  @media screen and (max-width: 768px) {
    color: $color-text;
  }
}

.section-sub-text-job-to-be-done {
  width: 100%;
  flex: 1;
}

.section-first-word {
  transition: color 0.3s;
  color: #fff;
  font-size: 18px;
  font-weight: 800;

  &:hover {
    color: #838080;
  }
}

.section-first-word-credit-card {
  transition: color 0.3s;
  color: $color-text;
  font-size: 18px;
  font-weight: 800;

  &:hover {
    color: #838080;
  }
}

.section-first-word-lending {
  transition: color 0.3s;
  color: #fff;
  font-weight: 800;

  &:hover {
    color: #838080;
  }

  @media screen and (max-width: 768px) {
    color: $color-text;
  }
}

.section-first-word-payments {
  transition: color 0.3s;
  color: #fff;
  font-weight: 800;

  &:hover {
    color: #838080;
  }

  @media screen and (max-width: 768px) {
    color: $color-text;
  }
}

.img-credit-card {
  min-height: 293px;
  max-height: 293px;

  @media screen and (max-width: 600px) {
    padding: 20px 20px 0 20px;
    margin-bottom: 0px;
  }
}

.section-texts {
  height: 100%;
}

.custom-height-img {
  min-height: 195px;
  padding: 10px;

  @media screen and (max-width: 600px) {
    padding: 40px 40px 0 40px;
  }
}

.custom-img {
  height: 300px;
  max-height: 300px;
  max-width: 300px;
}

.container-column {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.section-picture-custom {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 50px;

  @media screen and (max-width: 600px) {
    padding: 0px;
  }
}

.section-circular {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 20px;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.section-circular-two {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.circular-paragraph {
  width: 130px;
  height: 130px;
  background-color: white;
  border: 2px solid #4335F9;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5px;
}

.circular-paragraph-intern {
  margin: 0px;
  width: 120px;
  height: 120px;
  background-color: white;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #4335f9;
  font-weight: 600;
  position: relative;
  box-shadow: 0 0 0 5px rgba(173, 216, 230, 0.5);
}

.custom-elements-center {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.cta-center {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  @media screen and (max-width: 600px) {
    padding: 20px;
  }
}

.trustpilot-slider {
  display: flex;
  flex-direction: row;
}

.trustilot-texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  padding-left: 20px;
  gap: 10px;
}

.trustilot-title {
  width: 100%;
  font-size: 22px;
  font-weight: 600;
}

.trustilot-description {
  width: 100%;
  color: rgb(87, 87, 87);
}

.trustpilot-widget-slider {
  background-color: #f8f9fa;
  width: 100%;

  @media screen and (max-width: 768px) {
    width: 90% !important;
    margin: 0 auto;
  }

  @media screen and (max-width: 600px) {
    padding-bottom: 15px;
  }
}

.custom-elements-left {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.max-height-300 {
  max-height: 300px;
}

.min-height-260 {
  min-height: 260px;
}

.space-down {
  padding: 0 0 20px 0;
}

.column-center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.position-title-job-to-be-done {
  width: 50%;
  margin-left: 55%;
  margin-bottom: 10%;

  @media screen and (max-width: 795px) {
    margin-left: 65%;
  }
}
/*=============== END MAIN SECTIONS ===============*/

/*=============== BREAKPOINTS ===============*/
@media screen and (min-width: 769px) {
  .custom-content-lending {
    display: none;
  }

  .custom-content-payments {
    display: none;
  }

  .section-mobile-trustpilot {
    display: none;
  }

  .arrow-down {
    display: none;
  }
}

@media screen and (min-width: 900px) {
  .section-title-custom-size {
    font-size: 32px;
  }

  .section-space-top-20 {
    padding: 0px 125px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 1023px) {
  .section-space-top-20 {
    padding: 0px 40px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 820px) {
  .section-container-hand {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .reverse-img-hand {
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 768px) {
  .reverse-hero-main {
    flex-direction: column-reverse;
  }

  .section-home-second-trustpilot {
    display: flex;
    max-width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    margin: 30px 0px;
  }

  .trustpilot-home-mobile {
    border-radius: 10px;
    padding: 20px 0px;
    text-align: center;
    background-color: #FAFAFA;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);
  }

  .trustilot-texts {
    width: 100% !important;
    margin-bottom: 30px;
    gap: 0px !important;
  }

  .trustpilot-slider {
    display: flex;
    flex-direction: column !important;
  }

  .ri-arrow-right-s-line {
    display: none;
  }

  .arrow-down {
    display: unset;
  }
}

@media screen and (max-width: 600px) {
  .section-padding-40 {
    padding: 0px;
  }

  .btn-arrow-up {
    margin-top: 30px;
  }

  .section-space-top-20 {
    width: 100%;
    min-width: 340px;
    padding: 0px 20px;
    margin-top: 20px;
    scroll-margin-top: -80px;
  }

  .section-space-top {
    margin-top: 0px;
  }

  .reverse {
    flex-direction: column-reverse;
    gap: 0px;
  }
}

.webp .website-imgs {
  .section-lending-picture {
    background-image: url("/assets/swl/interface/sempli_2.0/credito-a-termino.webp");
  }

  .section-flexi-picture {
    background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.webp");
  }
}

.no-webp .website-imgs {
  .section-lending-picture {
    background-image: url("/assets/swl/interface/sempli_2.0/credito-a-termino.jpg");
  }

  .section-flexi-picture {
    background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.jpg");
  }
}

/*=============== END HOME SEMPLI 2.0 ===============*/
