.testimonial-header {
  text-align: center;
  padding: clamp(20px, 2.5vw, 30px) 0 clamp(16px, 2vw, 24px);
  background: var(--white);
}

.testimonial-eyebrow {
  display: inline-block;
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: var(--t-eyebrow-ls);
  text-transform: uppercase;
  color: #4db8ff;
  background: rgba(77,184,255,0.10);
  border-radius: 50px;
  padding: 6px 18px;
  margin-bottom: 16px;
}

.testimonial-header h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: var(--t-heading-ls);
  line-height: 1.1;
  margin: 0;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  display: flex;
  min-width: 100%;
  min-height: clamp(420px, 55vw, 620px);
}

.slide-left {
  width: 50%;
  display: flex;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 6px), var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.slide-left::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 16px;
  font-size: 280px;
  font-weight: 900;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.slide-quote {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 3.5vw, 48px);
  color: var(--white);
}

.slide-quote blockquote {
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  font-style: normal;
  color: var(--white);
}

.slide-quote p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.slide-attribution {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.slide-logo { display: flex; }

.slide-logo img { max-height: 44px; width: auto; }

.slide-logo-sasooness { max-height: 60px !important; filter: brightness(2.4); }

.slide-logo-placeholder {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
}

.slide-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px) clamp(32px, 5vw, 64px);
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.slide-stat-block {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.slide-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: #4db8ff;
}

.slide-stat {
  font-size: clamp(88px, 11vw, 136px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  color: #4db8ff;
  letter-spacing: -0.03em;
}

.slide-stat-heading {
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-shadow: 0 1px 8px rgba(10, 20, 64, 0.85);
}

.slide-stat-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(10, 20, 64, 0.85);
}

.slide-graph {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background: linear-gradient(135deg, rgba(77,184,255,0.12) 0%, rgba(77,184,255,0.04) 100%);
}

.growth-chart {
  width: 115%;
  height: 100%;
  transform: translateX(-2.5%);
  display: block;
  position: relative;
}

.chart-bar {
  transform-box: fill-box;
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.testimonial-slide.is-active .chart-bar {
  transform: scaleY(1);
}

.chart-area {
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}

.chart-line {
  fill: none;
  stroke: #4db8ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.testimonial-slide.is-active .chart-area { opacity: 1; }
.testimonial-slide.is-active .chart-line { stroke-dashoffset: 0; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 6px), var(--blue-dark);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--white);
  transform: scale(1.4);
}

.carousel-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.carousel-arrow:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 980px) {
  .testimonial-slide { flex-direction: column; min-height: auto; }
  .slide-left, .slide-right { width: 100%; min-height: 320px; flex: 1 1 auto; }
  .slide-right { padding: 40px 32px; }
  .slide-quote { padding: 40px 32px; }
  .slide-graph { inset: 0; }
}
