.testimonialsSection {
  width: 100%;
  overflow: hidden;
  background-color: #f6efdf;
  padding: 48px 24px;
}

/* ── Container: grid on desktop so title + nav share a row ── */
.testimonialsSection__container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 41px 0;
}

/* ── Title ── */
.testimonialsSection__title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  max-width: 520px;
  color: #17407d;
  font-family: 'Outfit', 'Arial Black', sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

/* ── Navigation arrows ── */
.testimonialsSection__nav {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonialsSection__navBtn {
  width: 72px;
  height: 72px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background-color: #17407d;
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.testimonialsSection__navBtn:focus-visible {
  outline: 2px solid #17407d;
  outline-offset: 2px;
}

.testimonialsSection__navBtn--disabled {
  background-color: transparent;
  border: 0.7px solid #cbc4b5;
  color: #cbc4b5;
  cursor: default;
}

.testimonialsSection__navArrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* ── Carousel track (native scroll) ── */
.testimonialsSection__track {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonialsSection__track::-webkit-scrollbar {
  display: none;
}

/* ── Card ── */
.testimonialsSection__card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 445px;
  padding: 18px 29px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
}

.testimonialsSection__cardContent {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 395px;
}

.testimonialsSection__quoteMark {
  display: block;
  font-family: 'Outfit', 'Arial Black', sans-serif;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  height: 151px;
  letter-spacing: -1.2px;
}

.testimonialsSection__quoteText {
  display: block;
  max-width: 395px;
  margin-top: auto;
  padding-bottom: 1.5rem;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  border-bottom: 1px solid #80A0CC;
}

/* ── Author ── */
.testimonialsSection__authorContainer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 1.5rem;
}

.testimonialsSection__authorImage {
  width: 84px;
  height: 84px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.testimonialsSection__authorName {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24.94px;
}

/* ══════════════════════════════════════════
   Mobile (≤ 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .testimonialsSection {
    padding: 32px 12px;
  }

  .testimonialsSection__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .testimonialsSection__title {
    max-width: 369px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
  }

  .testimonialsSection__track {
    width: 100%;
    min-width: 0;
    gap: 15.587px;
  }

  .testimonialsSection__nav {
    align-self: flex-end;
  }

  .testimonialsSection__card {
    flex: 0 0 290.948px;
    min-height: 289px;
    padding: 11.69px 18.834px 15.587px 15.587px;
  }

  .testimonialsSection__cardContent {
    max-width: 256.528px;
  }

  .testimonialsSection__quoteMark {
    font-size: 77.933px;
    height: 98.065px;
    letter-spacing: -0.7793px;
  }

  .testimonialsSection__quoteText {
    max-width: 256.528px;
    font-size: 16px;
    line-height: 1.2;
  }

  .testimonialsSection__authorContainer {
    gap: 10.391px;
  }

  .testimonialsSection__authorImage {
    width: 54.553px;
    height: 54.553px;
  }

  .testimonialsSection__authorName {
    font-size: 14px;
    line-height: 16.197px;
  }
}
