@media screen and (min-width: 0px) {
  .reviews-section {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20rem;
  }

  .reviews-title {
    width: 90vw;
    max-width: 45.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 0 4rem;
  }
  .reviews-title p.tag {
    color: var(--decorative-color);
    border-top: var(--decorative-color) solid 1px;
    padding-top: 0.2rem;
    font-weight: 600;
    align-self: flex-start;
    font-size: var(--small-text);
  }
  
  .reviews-title h2 {
    font-size: var(--title-text);
    line-height: 4rem;
    letter-spacing: -0.07rem;
    padding-bottom: 1rem;
  }
  .reviews-title p.text {
    font-size: var(--text-desktop);
    margin-top: 3.4rem;
    color: var(--text-color);
  }
  
  .reviews-cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    width: 100vw;
    padding: 4rem 0;
  }
  .review-card {
    width: 90%;
    box-shadow: var(--line-gray-color) 4px 10px 34px 1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 0.7rem;
    padding: 2rem;
    background-color: var(--white-color);
  }
  .review-card p.text {
    font-size: var(--text-desktop);
    margin: 1rem 0 2rem;
  }
  .review-card img {
    width: 7rem;
    border-radius: 10rem;
  }
  .review-card-profile {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    
    border-top: var(--review-line) solid 1px;
    padding-top: 1rem;
  }
  .review-card-profile p {
    font-size: var(--small-text);
    color: var(--text-color);
    font-weight: bold;
    
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }
  .review-card-profile p span {
    font-weight: normal;
  }
  .reviews-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-top: 2rem;
  }
  .reviews-button a {
    padding: 1rem 2rem;
    font-size: var(--text-desktop);
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    background-color: var(--decorative-color);
    transition: ease 0.2s;
  }
  .reviews-button a:hover {
    background-color: var(--decorative-hover-color);
  }
  
  .reviews-clients-section {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background-gray-color);
  }
  
  .review-clients-cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    max-width: 127rem;
    padding-top: 2rem;
    padding-bottom: 10rem;
    gap: 4rem;
  }
  
  .review-clients-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90vw;
    max-width: 27rem;
    background-color: var(--white-color);
    box-shadow: var(--line-gray-color) 4px 10px 24px 1px;
    
    border-radius: 0.7rem;
    padding: 2rem;
    text-align: center;
  }
  
  .review-client-card-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .review-client-card-title img {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .review-client-card-title h4 {
    font-size: var(--text-desktop);
    font-weight: bold;
  }
  .review-client-card-line {
    background-color: var(--line-gray-color);
    width: 100%;
    height: 0.1rem;
  }
  .review-client-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
  }
  .review-client-card-text p.text1 {
    font-size: var(--text-desktop);
    font-weight: bold;
    
  }
  .review-client-card-text p.text2 {
    font-size: var(--text-desktop);
    font-weight: 400;
    margin-top: 0.4rem;
  }
  .review-clients-comment-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90vw;
    max-width: 79rem;
    text-align: center;
    background-color: var(--white-color);
    border-radius: 0.4rem;
    box-shadow: var(--line-gray-color) 4px 10px 24px 1px;
    margin-bottom: 20rem;
    
    padding: 4rem;
  }
  .comment-card-margin-bottom {
    margin-bottom: 10rem;
  }
  .review-clients-comment-card p {
    font-size: var(--text-desktop);
    font-weight: 400;
  }
  .review-clients-comment-card h4 {
    font-weight: bold;
    color: var(--decorative-color);
    font-size: var(--text-desktop);
    margin: 1rem 0;
  }
  .review-clients-comment-card a {
    padding: 1rem 2rem;
    background-color: var(--decorative-color);
    font-size: var(--text-desktop);
    color: var(--white-color);
    font-weight: 600;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: ease 0.2s;
  }
  .review-clients-comment-card a:hover {
    background-color: var(--decorative-hover-color);
  }
  .reviews-clients-section .reviews-title {
    max-width: 36.4rem;
  }
}

@media screen and (min-width: 500px) {
  .review-card {
    max-width: 43.2rem;
  }
  .review-clients-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 900px) {
  .reviews-cards {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7rem;
    max-width: 130rem;
  }
  .review-card {
    max-width: 34.2rem;
  }
}
