.clients-reviews {
  display: flex;
  flex-direction: column;
  gap: 66px;
  margin-top: 30px;

  @media (max-width: 1024px) {
    gap: 48px;
  }

  h2 {
    margin: 0 auto;
    color: #000;
    text-align: center;
    font-size: 75px;
    font-style: normal;
    font-weight: 700;
    line-height: 80%;
    letter-spacing: -3px;

    @media (max-width: 1024px) {
      font-size: 40px;
      line-height: 100%;
      letter-spacing: -1.2px;
      text-align: start;
    }
  }

  .clients-reviews-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 104px;

    @media (max-width: 1024px) {
      grid-template-columns: 1fr;
      gap: 64px;
    }

    .clients-review {
      display: flex;
      flex-direction: column;
      width: 100%;
      border-radius: 5px;
      background: #fffaee;

      figure {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 112px;
        margin: 0 auto;

        border-bottom: 1px solid #181818;

        img {
          width: fit-content;
        }
      }

      .clients-review-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 32px;
        padding: 32px;
        height: 100%;

        @media (max-width: 1024px) {
          padding: 24px;
        }

        p {
          margin: 0;
          color: #181818;
          font-size: 18px;
          font-style: italic;
          font-weight: 400;
          line-height: 150%;
          letter-spacing: -0.36px;
        }

        span {
          margin: 0 auto;
          color: #000;
          text-align: center;
          font-size: 16px;
          font-style: normal;
          font-weight: 400;
          line-height: 150%;
          letter-spacing: -0.36px;
        }
      }
    }
  }

  .clients-reviews-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    @media (max-width: 1024px) {
      gap: 0;

      &:nth-child(2) {
        display: none;
      }
    }

    .clients-reviews-item-content {
      border-radius: 5px;
      border: 1px solid #181818;

      @media (max-width: 1024px) {
        border-top: unset;
        border-top-left-radius: unset;
        border-top-right-radius: unset;
      }

      .clients-reviews-item-content-top {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 24px 32px 48px 32px;
        border-bottom: 1px solid #181818;

        @media (max-width: 1024px) {
          padding-bottom: 0;
          border-bottom: unset;
          gap: 0;
        }

        h3 {
          margin: 0;
          color: #000;
          font-size: 45px;
          font-style: normal;
          font-weight: 700;
          line-height: 100%;
          letter-spacing: -1.35px;

          @media (max-width: 1024px) {
            display: none;
          }
        }

        p {
          margin: 0;
          color: #000;
          font-size: 18px;
          font-style: italic;
          font-weight: 400;
          line-height: 150%;
          letter-spacing: -0.36px;
        }

        p.clients-reviews-item-content-top-mobile {
          display: none;

          @media (max-width: 1024px) {
            display: block;
            margin: 0;
            padding: 40px 0 0 0;
            color: #000;
            text-align: center;
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: 150%;
            letter-spacing: -0.36px;
          }
        }
      }

      .clients-reviews-item-content-bottom {
        padding: 20px 24px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;

        @media (max-width: 1024px) {
          padding: 32px 24px;
        }

        .clients-reviews-user {
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: 16px;

          @media (max-width: 1024px) {
            display: none;
          }

          > figure {
            min-width: 62px;
            width: 62px;
            height: 62px;
            overflow: hidden;
            border-radius: 50%;
            border: 1px solid #181818;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
            }
          }

          .clients-reviews-user-info {
            display: flex;
            flex-direction: column;
            gap: 2px;

            strong {
              color: #000;
              font-size: 18px;
              font-style: normal;
              font-weight: 600;
              line-height: 150%;
              letter-spacing: -0.36px;
            }

            span {
              color: #000;
              font-size: 18px;
              font-style: normal;
              font-weight: 400;
              line-height: 150%;
              letter-spacing: -0.36px;
            }
          }
        }

        .cta {
          @media (max-width: 1024px) {
            display: flex;
            justify-content: center;
            width: 100%;
          }

          a {
            padding: 10px 18px;
            font-size: 18px;
            border-radius: 15px;
            white-space: nowrap;

            @media (max-width: 1024px) {
              padding: 8px 18px;
            }
          }
        }
      }
    }

    figure {
      width: 100%;
      height: 40px;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;

      @media (max-width: 1024px) {
        display: inline-table;
        padding: 32px 0;
        border: 1px solid #181818;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
      }

      > svg {
        margin: 0 auto;
      }

      .clients-reviews-user-mobile {
        display: none;
        padding: 24px 0 0;

        @media (max-width: 1024px) {
          display: block;
        }

        .clients-reviews-user-logo {
          margin-bottom: 4px;

          img {
            border-radius: 50%;
            border: 1px solid var(--c-gray-900);
          }
        }

        .clients-reviews-user-info {
          strong,
          span {
            display: block;
            text-align: center;
          }
        }
      }
    }
  }
}
