.testimonials {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-dark, #000000);
  padding: 60px 24px 120px;
}

@media (min-width: 992px) {
  .testimonials {
    padding: 60px 60px 120px;
  }
}

/* Mobile: Top padding should be 0 */
@media (max-width: 768px) {
  .testimonials {
    padding-top: 0;
    padding-bottom: 80px;
  }
}

.testimonials_container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.testimonials_grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md, 20px);
  width: 100%;
}

@media (min-width: 1100px) {
  .testimonials_grid {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
  }
}

.testimonials_card {
  position: relative;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  transition: transform var(--duration-normal, 400ms) var(--ease-editorial, cubic-bezier(0.16, 1, 0.3, 1));
  will-change: transform, opacity;
}

.testimonials_card:hover {
  transform: translateY(-4px);
}

/* Card 1: Edenred (878px basis on desktop) */
.testimonials_card--edenred {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.40) 100%), linear-gradient(180deg, #FD158C 0%, #FFF 100.07%);
  color: var(--color-text-dark, #111111);
}

@media (min-width: 1100px) {
  .testimonials_card--edenred {
    flex: 878 1 0%;
    max-width: 878px;
    height: 480px;
    min-height: 480px;
    min-width: 0;
  }
}

/* Card 2: Fitreat couple (432px basis on desktop) */
.testimonials_card--fitreat {
  background: #58EFFF;
  color: var(--color-text-dark, #111111);
}

@media (min-width: 1100px) {
  .testimonials_card--fitreat {
    flex: 432 1 0%;
    max-width: 432px;
    height: 480px;
    min-height: 480px;
    min-width: 0;
  }
}

.testimonials_card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 768px) {
  .testimonials_card-bg {
    display: none;
  }
}

.testimonials_watermark {
  position: absolute;
  top: 0%;
  right: -30px;
  width: auto;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

@media (min-width: 1100px) {
  .testimonials_watermark {
    top: 0;
    left: 433px;
    right: auto;
    width: 100%;
    height: 100%;
  }
}

.testimonials_card-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonials_card-inner {
    padding: 36px 32px 32px;
  }
}

@media (min-width: 1100px) {
  .testimonials_card-inner {
    padding: 36px 36px 32px;
  }
}

.testimonials_quote {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.testimonials_text {
  margin: 0;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: #111111;
}

.testimonials_card--edenred .testimonials_text {
  font-size: clamp(1.35rem, 2.1vw, 1.8125rem);
  max-width: 500px;
  line-height: 1.35;
}

.testimonials_highlight {
  font-weight: 800;
  color: #111111;
}

.testimonials_author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: var(--space-lg, 2rem);
}

.testimonials_brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.testimonials_logo {
  display: block;
  height: auto;
}

.testimonials_logo--edenred {
  width: 53px;
}

.testimonials_logo--fitreat {
  width: 53px;
}

.testimonials_author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonials_author-name {
  font-style: normal;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
}

.testimonials_author-role {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.72);
  line-height: 1.3;
}