.testimonialsGridSection {
  position: relative;
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 88px);
  isolation: isolate;
  overflow: clip;
}

.testimonialsGridSection::before,
.testimonialsGridSection::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
  opacity: 0.55;
}

.testimonialsGridSection::before {
  width: 38vw;
  height: 38vw;
  max-width: 420px;
  max-height: 420px;
  top: -90px;
  left: -120px;
  background: radial-gradient(circle, rgba(0, 86, 118, 0.28) 0%, rgba(0, 86, 118, 0) 72%);
}

.testimonialsGridSection::after {
  width: 32vw;
  height: 32vw;
  max-width: 360px;
  max-height: 360px;
  right: -90px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(160, 109, 0, 0.2) 0%, rgba(160, 109, 0, 0) 74%);
}

.testimonialsGridSection__wrap {
  display: grid;
  gap: 28px;
}

.testimonialsGridSection__head {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.testimonialsGridSection__kicker {
  color: rgba(233, 242, 246, 0.68);
}

.testimonialsGridSection__title {
  margin: 0;
  color: #f3f7f9;
}

.testimonialsGridSection__intro {
  margin: 0;
  max-width: 760px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: rgba(233, 242, 246, 0.8);
}

.testimonialsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonialCard {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(10, 16, 19, 0.96), rgba(7, 10, 12, 0.98));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.testimonialCard::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(160, 109, 0, 0.86), rgba(0, 86, 118, 0.95));
}

.testimonialCard__logoBox {
  min-height: 96px;
  padding: 26px 24px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(0, 86, 118, 0.1), rgba(255, 255, 255, 0));
}

.testimonialCard__logoImg {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.testimonialCard__logoText {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2f6f8;
}

.testimonialCard__body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.testimonialCard__client {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 242, 246, 0.64);
}

.testimonialCard__project {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4f8fa;
}

.testimonialCard__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(233, 242, 246, 0.76);
}

@media (max-width: 1100px) {
  .testimonialsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .testimonialsGridSection {
    padding-top: 28px;
  }

  .testimonialsGrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testimonialCard {
    min-height: 0;
  }

  .testimonialCard__logoBox,
  .testimonialCard__body {
    padding-left: 18px;
    padding-right: 18px;
  }
}
