/* ResultsTestimonialBlock: Figma PlanoHero-New, "Visual Merchandising Software", "Testimonials & Results" (869d5bbhy) */

.vs-results {
  margin-bottom: 6.5rem;
}

.vs-results-card {
  display: flex;
  gap: 3.75rem;
  padding: 5.5rem 3.75rem;
  background: var(--grayscale-color-1, #fff);
  border: 1px solid #ffede5;
  border-radius: 50px;
}

.vs-results-info {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.vs-results-text p {
  margin: 0;
  font-size: clamp(1.125rem, 1.0947rem + 0.1294vw, 1.375rem);
  line-height: 1.4;
  color: #333;
}

.vs-results-text a {
  color: #ff6f00;
  text-decoration: underline;
}

.vs-results-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Up to 190px as in Figma, narrower so three results fit in one row of the half-width column */
.vs-results-stat {
  flex: 1 1 140px;
  max-width: 190px;
  padding-top: 1.5rem;
  border-top: 2px solid #ffede5;
}

.vs-results-value {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: #222;
  text-decoration: none;
}

a.vs-results-value:hover .value {
  color: #ff6f00;
}

.vs-results-value .prefix {
  font-size: 1.125rem;
  line-height: 1.4;
}

.vs-results-value .value {
  font-size: clamp(2.25rem, 2.1286rem + 0.5178vw, 2.75rem);
  line-height: 60px;
  letter-spacing: -0.03em;
}

.vs-results-stat p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #555;
}

.vs-testimonial {
  flex: 1 1 50%;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
  padding: 2rem;
  background: #f9f9fb;
  border-radius: 25px;
}

.vs-testimonial blockquote {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 24px;
  color: #222;
}

.vs-testimonial-stars {
  display: block;
}

.vs-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem;
  background: #fff;
  border-radius: 10px;
}

.vs-testimonial-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vs-testimonial-person .name {
  font-size: 1rem;
  font-weight: 500;
  line-height: 24px;
  color: #222;
}

.vs-testimonial-person .position {
  font-size: 0.75rem;
  line-height: 18px;
  color: #717171;
}

.vs-testimonial-logo {
  max-width: 131px;
  max-height: 36px;
  object-fit: contain;
}

@media screen and (max-width: 991px) {
  .vs-results-card {
    flex-direction: column;
    padding: 3rem 1.5rem;
    border-radius: 30px;
  }
}

@media screen and (max-width: 768px) {
  .vs-results {
    margin-bottom: 3rem;
  }

  /* Mobile design review (869d5bbhy): the three results in one row, 24px numbers, 16px texts */
  .vs-results-stats {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .vs-results-stat {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding-top: 1rem;
  }

  /* "Up to" stays on one line, the number goes under it when the column is narrow */
  .vs-results-value {
    flex-wrap: wrap;
    gap: 0 0.375rem;
  }

  .vs-results-value .prefix {
    white-space: nowrap;
  }

  .vs-results-value .value {
    font-size: 24px;
    line-height: 1.4;
  }

  /* Long words ("administration") break inside the narrow column */
  .vs-results-stat p {
    font-size: 16px;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .vs-testimonial {
    padding: 1.25rem;
  }
}
