@charset "utf-8";

/*
  DUPLICATE: This file is byte-for-byte identical to info-cards.css.
  Both files are kept to avoid breaking any existing stylesheet references,
  but they should be consolidated — remove one and update all <link> or @import
  references to point to the remaining file.
*/

.info-card {
  background: white;
  border: 1px solid var(--color-6);
  border-radius: .5rem;
  box-shadow: -3px 3px 3px 0px rgba(35, 35, 35, .28);
  flex-direction: column;
  justify-content: space-between;
  margin: 12px;
  padding: 20px 12px;
  width: calc((100% / 5) - 24px);

  &.style-2 {
    align-items: center;
    flex-direction: column;
    margin: 1.5rem;
    width: calc(100% / 3);

    &:hover {
      box-shadow: var(--float);
      -webkit-transform: translateY(-3rem);
      transform: translateY(-3rem);
    }

    & .contact {
      border: 1px solid var(--contrast-less);
      border-radius: .5rem;
      padding: 2rem 1rem;
    }

    & > div {
      background-color: white;
      border: 1px solid var(--color-6);
      border-radius: .75rem;
      flex-direction: column;
      height: 100%;
      justify-content: space-between;
      padding: 2rem 1rem;
      -webkit-transition: all .2s;
      transition: all .2s;
      z-index: 1;
    }

    & p {
      height: -webkit-fill-available;
      height: -moz-available;
      height: stretch;
      margin-bottom: 1.5rem;
    }

    & h4 {
      color: var(--color-7);
      font-size: 1.25rem;
      font-weight: 500;
      justify-content: center;
      margin: 2rem 0;
    }
  }
}

.info-cards {
  position: relative;

  &::after {
    background-color: var(--compare-less);
    border-radius: .5rem;
    content: "";
    height: 60%;
    left: -2rem;
    position: absolute;
    top: 20%;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    width: calc(100% + 4rem);
    z-index: -1;
  }

  & .icon-identifier {
    align-self: center;
    padding: 40px 20px 20px;

    & img {
      width: 80px;
    }
  }

  & .wrapper--inner {
    flex-direction: column;
  }

  & .wrapper--step {
    align-items: center;
    background: #f2f2f2;
    border-radius: 500px;
    box-shadow: inset 0px 3px 3px rgba(35, 35, 35, .28);
    color: white;
    padding: 4px;
    width: 100%;

    & .step + span {
      color: #333;
    }
  }

  & .step {
    align-items: center;
    background-color: #E44A05;
    border-radius: 500px;
    color: #f2f2f2;
    font-size: 1.8em;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    margin-right: 12px;
    padding: 20px;
    text-align: center;
    width: 48px;
  }

  & a {
    position: relative;
  }

  & p {
    display: block;
    font-size: .85em;
    line-height: 1.4;
    margin: 40px 12px;

    & a {
      color: var(--color-7);
      font-weight: 600;
      line-height: 1.4;
      padding: .5em 0;

      &::after {
        background: transparent;
        bottom: -4px;
        content: "";
        height: 4px;
        left: 0;
        position: absolute;
        -webkit-transition: all .2s;
        transition: all .2s;
        width: 0;
      }

      &:hover::after {
        background: #333;
        width: 100%;
      }
    }
  }

  & h4 {
    align-items: center;
    flex-direction: column;
    margin: 0;
    text-align: center;

    & span:not(:last-of-type) {
      font-size: 1em;
      font-weight: 400;
      text-transform: uppercase;
    }

    & span:last-of-type {
      font-size: 1.25em;
      font-weight: 700;
    }
  }

  & h2 {
    flex-direction: column;
    line-height: 1;
    padding: 20px;

    & span:first-of-type {
      color: #E44A05;
      font-size: 1.5em;
      font-weight: 800;
    }

    & span:last-of-type {
      color: #767676;
      font-size: 1em;
      font-weight: 300;
    }
  }

  &.style-2 {
    align-items: stretch;
    align-self: center;
    flex-direction: row;
    justify-content: center;
    max-width: var(--max-web);
    width: 100%;
    z-index: 1;
  }
}

@media screen and (max-width: 480px) {
  .info-cards.style-2 {
    justify-content: flex-start;
    overflow-x: auto;

    &::after {
      display: none;
    }
  }

  .info-card.style-2 {
    flex-shrink: 0;
    width: 80%;

    &:hover {
      box-shadow: none;
      -webkit-transform: none;
      transform: none;
    }
  }
}
