@use '../mixins';

@use '@jambonz/ui-kit/src/styles/vars' as ui-vars;

/******************************************************************************
 * Pricing structure
*******************************************************************************/
.structure {
  padding-bottom: 96px;
  text-align: center;

  @media (max-width: ui-vars.$width-tablet-1) {
    padding-bottom: 64px;
  }

  &__text {
    max-width: 960px;
    @include mixins.flex-cols();

    p + p {
      margin-top: 32px;

      @media (max-width: ui-vars.$width-mobile) {
        margin-top: 16px;
      }
    }
  }

  &__cta {
    @include mixins.cta();

    > :first-child {
      margin-bottom: 32px;
    }
  }
}

/******************************************************************************
 * Additional Services
*******************************************************************************/
.services {
  text-align: center;

  &__options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    @media (max-width: ui-vars.$width-tablet-1) {
      margin: 0 -32px;
    }

    @media (max-width: ui-vars.$width-tablet-2) {
      margin: 0;
    }

    svg {
      stroke: ui-vars.$jambonz;
    }

    strong {
      color: ui-vars.$jambonz;
    }
  }

  &__option {
    width: 33.3333333333vw;
    max-width: 480px;
    text-align: left;
    padding-top: 64px;
    margin: 0 50px;

    @media (max-width: ui-vars.$width-tablet-1) {
      width: calc(50% - 64px);
      margin: 0 32px;
    }

    @media (max-width: ui-vars.$width-tablet-2) {
      width: 100%;
      margin: 0;
      padding-top: 32px;
    }
  }

  &__cta {
    @include mixins.cta();
  }
}