/* ============================================================
   TESTIMONIALS PAGE
   ============================================================ */

/* ----------------------------------------------------------
   BANNER
---------------------------------------------------------- */
.testi-banner {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-top: 100px;
  padding-bottom: clamp(48px, 7vw, 80px);
  padding-inline: var(--pad-x);
  overflow: hidden;
}

.testi-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.testi-banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 27, 68, 0.82) 0%,
    rgba(8, 27, 68, 0.45) 55%,
    rgba(8, 27, 68, 0.28) 100%
  );
  z-index: 1;
}

.testi-banner__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.testi-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: oklch(0.88 0.12 82);
  margin-bottom: 1.25rem;
}

.testi-banner__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background-color: oklch(0.85 0.14 78);
  box-shadow: 0 0 10px oklch(0.85 0.14 78);
  flex-shrink: 0;
}

.testi-banner__headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: rgb(255, 255, 255);
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.testi-banner__gold {
  font-style: italic;
  font-weight: 400;
  color: oklch(0.88 0.12 82);
}

.testi-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.testi-banner__cta-btn {
  gap: 8px;
  padding: 15px 33px 15px 22px;
}

/* ----------------------------------------------------------
   RATING STRIP
---------------------------------------------------------- */
.testi-rating {
  padding-block: clamp(3rem, 5vw, 5rem);
  text-align: center;
  background-color: oklch(99.5% .004 85);
}

.testi-rating__inner {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.testi-rating__score {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--royal-blue);
}

.testi-rating__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: oklch(0.78 0.14 78);
}

.testi-rating__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.testi-rating__count {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(44, 44, 44, 0.5);
}

/* ----------------------------------------------------------
   TESTIMONIAL GRID
---------------------------------------------------------- */
.testi-grid-section {
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background-color: #fff;
}

.testi-grid {
  max-width: 1380px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testi-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  padding: 1.75rem;
  transition: box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.testi-card__category {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--royal-blue);
  display: block;
}

.testi-card__icon {
  display: block;
  width: 20px;
  height: 20px;
  color: rgba(13, 44, 108, 0.4);
  margin-top: 0.75rem;
  flex-shrink: 0;
}

.testi-card__quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: #071733;
  margin-top: 0.5rem;
  display: block;
  flex: 1;
}

.testi-card__author {
  display: block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(7, 23, 51, 0.72);
  margin-top: 1.25rem;
}

/* ----------------------------------------------------------
   CTA BAND
---------------------------------------------------------- */
.testi-cta {
  position: relative;
  padding-block: clamp(64px, 10vw, 100px);
  background-color: oklch(0.22 0.1 264);
  overflow: hidden;
  text-align: center;
}

.testi-cta__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color(xyz 0.624 0.605 0.176 / 0.25), transparent 70%);
  pointer-events: none;
}

.testi-cta__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.testi-cta__headline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 2.25rem;
}

.testi-cta__headline em {
  font-style: italic;
  font-weight: 300;
  color: oklch(0.88 0.12 82);
}

.testi-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.testi-cta__cta-btn {
  gap: 8px;
  padding: 15px 22px;
  background: linear-gradient(to bottom, #f9bf60 0%, #d79628 100%);
}

.testi-cta__outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.testi-cta__outline-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}
