/* Testimonials page — based on the NikradiX client testimonials Figma frame. */
.testimonials-page { background: #f3f3f3; color: #010101; }
.testimonials-current { color: #004ff0 !important; }
.testimonials-hero { padding: 0 20px; background: #f3f3f3; }
.testimonials-hero-inner { max-width: 1280px; margin: auto; }
.testimonials-hero-copy { display: flex; flex-direction: column; align-items: center; padding: 120px 0 60px; text-align: center; }
.testimonials-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #010101; font-size: 16px; line-height: 22px; }
.testimonials-eyebrow i,.cta-eyebrow i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #004ff0; }
.testimonials-hero h1 { margin: 16px 0 24px; color: #010101; font-size: clamp(42px,5.85vw,84px); line-height: 1; font-weight: 500; letter-spacing: -2px; text-transform: uppercase; }
.testimonials-hero h1 > span { display: block; margin-top: 8px; }
.testimonials-hero h1 b { display: inline-block; padding: 8px 24px 16px; border-radius: 12px; background: #004ff0; color: #fff; font-weight: 500; }
.testimonials-hero-copy > p { max-width: 580px; margin: 0; color: #777; font-size: 20px; line-height: 26px; letter-spacing: -.25px; }
.testimonials-feature-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; color: #010101; font-size: 18px; text-underline-offset: 3px; }
.testimonials-feature-link span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 8px; background: #000; color: #fff; }
.testimonials-hero-notes { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid #e1e1e1; color: #5b5b5b; font-size: 12px; line-height: 18px; font-weight: 500; }

.client-story { padding: 120px 20px; background: #fff; }
.client-story-inner { max-width: 1280px; margin: auto; }
.client-story-heading,.next-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end; gap: 80px; }
.client-story-heading .testimonials-eyebrow,.next-heading .testimonials-eyebrow { color: #5b5b5b; letter-spacing: 1px; }
.client-story-heading h2,.next-heading h2 { margin: 14px 0 0; font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -3px; text-transform: uppercase; }
.client-story-heading h2 b,.next-heading h2 b { display: inline-block; margin-top: 8px; padding: 12px 24px 16px; border-radius: 12px; background: #004ff0; color: #fff; font-weight: 500; }
.client-story-heading > p,.next-heading > p { max-width: 560px; margin: 0 0 4px auto; color: #777; font-size: 20px; line-height: 26px; letter-spacing: -.25px; }
.testimonial-feature { display: grid; grid-template-columns: 410px minmax(0,1fr); min-height: 542px; margin: 60px 0 0; overflow: hidden; border-radius: 16px; background: #f3f3f3; }
.testimonial-person { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; background: #004ff0; color: #fff; }
.person-kicker { margin-bottom: 32px; font-size: 12px; line-height: 18px; letter-spacing: .3px; }
.testimonial-person > img { display: block; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.person-name { margin-top: 20px; font-size: 36px; line-height: 38px; font-weight: 400; letter-spacing: -1px; }
.person-role { margin-top: 8px; color: #d6eaff; font-size: 16px; line-height: 22px; }
.person-focus { display: flex; width: 100%; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 24px; border-top: 1px solid #48a6ff; }
.person-focus span { color: #d6eaff; font-size: 12px; line-height: 18px; }
.person-focus b { font-size: 16px; line-height: 22px; font-weight: 400; }
.testimonial-quote { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 56px 64px; }
.quote-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.quote-mark { color: #004ff0; font-size: 84px; line-height: .9; }
.quote-rating,.stars { display: inline-flex; align-items: center; }
.quote-rating { gap: 16px; color: #010101; font-size: 16px; }
.stars { gap: 4px; }
.stars img { display: block; width: 18px; height: 18px; }
.testimonial-quote > p { max-width: 743px; margin: 0; color: #010101; font-size: 28px; line-height: 40px; letter-spacing: -.5px; }
.testimonial-quote > footer { display: flex; gap: 8px; margin-top: 28px; font-size: 16px; line-height: 22px; }
.testimonial-quote > footer strong { font-weight: 500; }
.testimonial-quote > footer span { color: #5b5b5b; }

.story-impact { padding: 120px 20px; background: #000; color: #fff; }
.story-impact-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 60px; max-width: 1280px; margin: auto; }
.impact-copy { display: flex; flex-direction: column; gap: 24px; }
.impact-eyebrow { color: #d9d9d9; font-size: 16px; line-height: 22px; }
.impact-copy h2 { margin: 0; font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -3px; text-transform: uppercase; }
.impact-copy h2 span { color: #83c6ff; }
.impact-copy p { max-width: 440px; margin: 0; color: #d9d9d9; font-size: 20px; line-height: 26px; letter-spacing: -.25px; }
.impact-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin: 0; }
.impact-stats > div { min-height: 185px; padding-top: 32px; border-top: 1px solid #5b5b5b; }
.impact-stats dt { color: #fff; font-size: 64px; line-height: 64px; font-weight: 500; letter-spacing: -3px; }
.impact-stats dt span { color: #83c6ff; }
.impact-stats dd { max-width: 210px; margin: 24px 0 0; color: #d9d9d9; font-size: 16px; line-height: 22px; }

.testimonial-next { padding: 120px 20px; background: #f3f3f3; }
.testimonial-next-inner { max-width: 1280px; margin: auto; }
.next-heading h2 { font-size: 56px; letter-spacing: -3px; }
.next-heading h2 b { padding: 10px 18px 14px; border-radius: 9px; }
.next-heading > p { font-size: 16px; line-height: 22px; }
.next-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 56px; }
.next-card { display: flex; min-height: 225px; flex-direction: column; padding: 24px; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; color: #010101; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.next-card:hover { transform: translateY(-3px); border-color: #004ff0; }
.next-card-top { display: flex; align-items: center; justify-content: space-between; color: #5b5b5b; font-size: 12px; line-height: 18px; }
.next-card-top i { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #004ff0; color: #fff; font-size: 19px; font-style: normal; }
.next-card h3 { margin: 24px 0 8px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.5px; }
.next-card p { margin: 0; color: #5b5b5b; font-size: 16px; line-height: 22px; }

.testimonials-cta { padding: 60px 40px; background: #fff; }
.testimonials-cta-card { position: relative; display: flex; min-height: 540px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 70px 80px; border: 1px solid #a8c9ff; border-radius: 12px; background: #f1f7ff; color: #010101; text-align: center; }
.testimonials-cta-card::before { position: absolute; inset: -40%; background: url('../images/cta-glow.svg') center / cover no-repeat; content: ''; pointer-events: none; }
.cta-eyebrow { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #010101; font-size: 12px; line-height: 18px; }
.testimonials-cta-card h2 { position: relative; margin: 20px 0 12px; font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -2px; text-transform: uppercase; }
.testimonials-cta-card h2 em { font-style: normal; }
.testimonials-cta-card h2 b { display: inline-block; padding: 7px 16px 10px; border-radius: 8px; background: #004ff0; color: #fff; font-weight: 500; }
.testimonials-cta-card > p { position: relative; max-width: 560px; margin: 0; color: #5b5b5b; font-size: 14px; line-height: 20px; }
.testimonials-cta-card > div { position: relative; display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.testimonials-cta-card > div a { display: inline-flex; align-items: center; gap: 18px; padding: 6px 6px 6px 16px; border-radius: 7px; background: #000; color: #fff; font-size: 13px; line-height: 18px; text-decoration: none; }
.testimonials-cta-card > div a span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 5px; background: white; color: #000; }

@media (max-width: 900px) {
  .client-story-heading,.next-heading { grid-template-columns: 1fr; gap: 28px; }
  .client-story-heading > p,.next-heading > p { margin: 0; }
  .testimonial-feature { grid-template-columns: 300px minmax(0,1fr); }
  .testimonial-person { padding: 30px; }
  .testimonial-quote { padding: 40px; }
  .testimonial-quote > p { font-size: 22px; line-height: 32px; }
  .story-impact-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .testimonials-hero-copy { padding: 72px 4px 42px; }
  .testimonials-hero h1 { font-size: clamp(38px,10vw,58px); letter-spacing: -1.5px; }
  .testimonials-hero-copy > p { font-size: 16px; line-height: 24px; }
  .testimonials-hero-notes { font-size: 9px; }
  .client-story,.story-impact,.testimonial-next { padding: 72px 18px; }
  .client-story-heading h2,.next-heading h2,.impact-copy h2 { font-size: 40px; letter-spacing: -1.5px; }
  .client-story-heading > p { font-size: 16px; line-height: 24px; }
  .testimonial-feature { grid-template-columns: 1fr; margin-top: 36px; }
  .testimonial-person { min-height: 360px; padding: 26px; }
  .person-kicker { margin-bottom: 22px; }
  .testimonial-quote { padding: 28px 24px 34px; }
  .quote-mark { font-size: 64px; }
  .quote-rating { gap: 8px; font-size: 13px; }
  .stars { gap: 2px; }
  .stars img { width: 14px; height: 14px; }
  .testimonial-quote > p { font-size: 19px; line-height: 29px; }
  .testimonial-quote > footer { margin-top: 22px; font-size: 14px; }
  .impact-copy h2 { font-size: 42px; }
  .impact-copy p { font-size: 16px; line-height: 24px; }
  .impact-stats { gap: 18px; }
  .impact-stats > div { min-height: 148px; padding-top: 24px; }
  .impact-stats dt { font-size: 48px; line-height: 52px; }
  .impact-stats dd { margin-top: 14px; font-size: 14px; line-height: 20px; }
  .next-heading h2 { font-size: 38px; }
  .next-cards { grid-template-columns: 1fr; margin-top: 36px; }
  .next-card { min-height: 190px; }
  .testimonials-cta { padding: 24px 12px; }
  .testimonials-cta-card { min-height: 380px; padding: 44px 20px; }
  .testimonials-cta-card h2 { font-size: 36px; }
  .testimonials-cta-card > div { align-items: center; flex-direction: column; }
}
