/* Testimonials — was Testimonials.module.css. The bundler's hashed class names are
   replaced by a plain c-Testimonials_ prefix so the stylesheet stands alone. */

.c-Testimonials_testimonials {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background-color: var(--base-200);
  color: var(--base-1000);
}

.c-Testimonials_sectionNav,
.c-Testimonials_sectionFooter {
  position: absolute;
  left: 0;
  z-index: 10;
  width: 100%;
  pointer-events: none;
}

.c-Testimonials_sectionNav {
  top: 0;
}

.c-Testimonials_sectionFooter {
  bottom: 0;
}

.c-Testimonials_heading {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.9;
  z-index: 1;
  pointer-events: none;
}

.c-Testimonials_callout {
  z-index: 10;
}

.c-Testimonials_cards {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}

.c-Testimonials_card {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 1.6rem;
  border-radius: 0.6rem;
  border: none;
  box-shadow: 0 12px 40px color-mix(in srgb, var(--base-1000) 10%, transparent);
  cursor: pointer;
  will-change: transform;
}

.c-Testimonials_light {
  background-color: var(--base-100);
  color: var(--base-1000);
}

.c-Testimonials_dark {
  background-color: var(--base-1000);
  color: var(--base-100);
}

.c-Testimonials_stars {
  display: flex;
  font-family: var(--font-dm-mono);
  gap: 0.2rem;
  color: var(--base-800);
  font-size: 0.8rem;
  line-height: 1;
}

.c-Testimonials_quote {
  flex: 1;
}

.c-Testimonials_author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.c-Testimonials_avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--base-200);
}

.c-Testimonials_meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.c-Testimonials_name {
  font-size: 1.5rem;
  letter-spacing: 0%;
}

@media (max-width: 999px) {
  .c-Testimonials_testimonials {
    height: auto;
    min-height: 100svh;
    padding: 10rem 1rem 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    overflow: visible;
  }

  .c-Testimonials_heading {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .c-Testimonials_callout {
    display: none;
  }

  .c-Testimonials_cards {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .c-Testimonials_card {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 360px);
    height: auto;
    min-height: 340px;
    cursor: default;
    will-change: auto;
  }
}
