/* Full-width pilot voices section, aligned with the landing-page hero system. */
.gb-testimonials {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: clamp(6rem, 8vw, 8.5rem) max(2rem, calc((100vw - 1360px) / 2)) clamp(6.25rem, 8vw, 8rem);
  overflow: hidden;
  border-bottom: 1px solid #d7e0e8;
  background: #ffffff;
  color: #1a2c40;
  font-family: "Aptos", "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
}

.gb-testimonials-heading {
  position: relative;
  z-index: 1;
  width: min(100%, 1060px);
  margin: 0 auto clamp(0.75rem, 1.5vw, 1.25rem);
  color: #21364a;
  font-size: clamp(1.55rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-align: center;
  white-space: nowrap;
}

.gb-testimonials-heading em {
  color: var(--page-blue);
  font-style: normal;
}

.gb-testimonials-carousel {
  position: relative;
  z-index: 1;
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(3.5rem, 7vw, 7rem) clamp(2.5rem, 4vw, 3.5rem);
}

.gb-testimonials-carousel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2rem -4rem -1.5rem;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 44%, rgb(var(--page-blue-rgb) / 0.1), rgb(var(--page-blue-rgb) / 0.035) 38%, transparent 67%);
  filter: blur(14px);
  pointer-events: none;
}

.gb-testimonials-panels {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.gb-testimonial {
  min-height: 25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gb-testimonial-stars {
  margin-bottom: clamp(1.7rem, 3vw, 2.3rem);
  color: #d99520;
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  letter-spacing: 0.18em;
  line-height: 1;
}

.gb-testimonial blockquote {
  margin: 0;
}

.gb-testimonial blockquote p {
  max-width: 49rem;
  margin: 0 auto;
  color: #2a4056;
  font: inherit;
  font-size: clamp(1.18rem, 1.85vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.52;
}

.gb-testimonial blockquote strong {
  color: #1f354b;
  font-weight: 650;
}

.gb-testimonial-person {
  min-height: 6.15rem;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  text-align: center;
}

.gb-testimonial-person img {
  width: 3.6rem;
  height: 3.6rem;
  display: block;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #9eb1c2, 0 6px 16px rgb(31 52 75 / 0.12);
  object-fit: cover;
  object-position: 50% 30%;
}

.gb-testimonial-person > span {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.gb-testimonial-person strong {
  color: #21364a;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
}

.gb-testimonial-person small {
  color: #687c8d;
  font-size: 0.72rem;
  line-height: 1.35;
}

.gb-testimonial-person-text-only {
  padding-top: 4.3rem;
}

.gb-testimonials-controls {
  position: absolute;
  z-index: 2;
  bottom: clamp(4.6rem, 6.7vw, 6.1rem);
  left: 50%;
  width: min(23rem, calc(100% - 3rem));
  display: flex;
  justify-content: space-between;
  transform: translateX(-50%);
  pointer-events: none;
}

.gb-testimonials-arrow {
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgb(var(--page-blue-rgb) / 0.42);
  border-radius: 50%;
  background: rgb(var(--page-blue-rgb) / 0.07);
  color: var(--page-blue);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.gb-testimonials-arrow:hover:not(:disabled) {
  border-color: rgb(var(--page-blue-rgb) / 0.68);
  background: rgb(var(--page-blue-rgb) / 0.12);
  transform: translateY(-2px);
}

.gb-testimonials-arrow:disabled {
  border-color: #c8d3dc;
  background: rgb(255 255 255 / 0.45);
  color: #a4b1bc;
  cursor: default;
}

.gb-testimonials-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 700px) {
  .gb-testimonials {
    padding: 5rem 1.1rem 4.75rem;
  }

  .gb-testimonials-heading {
    max-width: none;
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 6.4vw, 1.8rem);
  }

  .gb-testimonials-carousel {
    padding: 1.5rem 1.15rem 2.25rem;
  }

  .gb-testimonials-carousel::before {
    inset: -1.5rem -2.5rem -1rem;
    background: radial-gradient(ellipse at 50% 39%, rgb(var(--page-blue-rgb) / 0.1), rgb(var(--page-blue-rgb) / 0.03) 42%, transparent 70%);
    filter: blur(10px);
  }

  .gb-testimonial {
    min-height: 32rem;
    justify-content: flex-start;
  }

  .gb-testimonial-stars {
    margin-bottom: 1.75rem;
  }

  .gb-testimonial blockquote p {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .gb-testimonial-person {
    margin-top: 1.9rem;
  }

  .gb-testimonials-controls {
    bottom: 4rem;
    width: min(17rem, calc(100% - 1.5rem));
  }

  .gb-testimonials-arrow {
    width: 2.65rem;
    height: 2.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gb-testimonials-arrow {
    transition: none;
  }
}
