/* ============================================================
   landing-8.css — empathy accent, premium stepper,
   distinctive (dark) testimonials
   ============================================================ */

/* ---- Empathy: animated highlight sweep on key phrase ---- */
.hl-sweep {
  position: relative;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
  z-index: 0;
}
.hl-sweep::before {
  content: '';
  position: absolute;
  left: -6px; right: -6px;
  top: 8%; bottom: 4%;
  background: linear-gradient(90deg, rgba(0,232,193,0.55) 0%, rgba(67,83,255,0.30) 100%);
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .75s cubic-bezier(.2,.8,.25,1) .15s;
}
.hl-sweep.swept::before { transform: scaleX(1); }
.empathy .lead strong { color: var(--ink); font-weight: 700; }
@media (max-width: 520px) { .hl-sweep { white-space: normal; } }

/* ---- Premium stepper (Cómo empezar) ---- */
.stepper { position: relative; margin-top: 60px; }

/* horizontal connecting track behind the nodes (desktop) */
.stepper__track {
  position: absolute;
  top: 33px;
  left: 18%;
  right: 18%;
  height: 3px;
  background: rgba(255,255,255,0.14);
  border-radius: 3px;
  z-index: 0;
  overflow: hidden;
}
.stepper__progress {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--turquoise-2), var(--turquoise));
  border-radius: 3px;
  transition: width 1.3s cubic-bezier(.4,.5,.2,1) .25s;
}
.stepper.is-active .stepper__progress { width: 100%; }

.stepper__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.step-card {
  position: relative;
  padding: 70px 26px 30px;
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  text-align: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,232,193,0.4);
}
.step-card__node {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 7px #0a1f43;
  transition: all .35s ease;
}
.stepper.is-active .step-card:nth-child(1) .step-card__node { transition-delay: .25s; }
.stepper.is-active .step-card:nth-child(2) .step-card__node { transition-delay: .65s; }
.stepper.is-active .step-card:nth-child(3) .step-card__node { transition-delay: 1.05s; }
.stepper.is-active .step-card__node {
  background: linear-gradient(150deg, #00FAD0, var(--turquoise));
  border-color: var(--turquoise);
  color: #00261F;
  box-shadow: 0 0 0 7px #0a1f43, 0 8px 22px rgba(0,232,193,0.5);
}
.step-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: rgba(0,232,193,0.12);
  color: var(--turquoise);
  display: flex; align-items: center; justify-content: center;
}
.step-card__icon svg { width: 28px; height: 28px; }
.step-card__kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turquoise-2);
  margin-bottom: 8px;
}
.step-card h3 { font-size: 20px; font-weight: 600; color: #fff; }
.step-card p { font-size: 14.5px; color: rgba(255,255,255,0.72); margin-top: 8px; line-height: 1.55; }

@media (max-width: 880px) {
  .stepper__track { display: none; }
  .stepper__items { grid-template-columns: 1fr; gap: 16px; }
  .step-card { padding: 26px 24px 26px 80px; text-align: left; }
  .step-card__node { top: 50%; left: 26px; transform: translateY(-50%); box-shadow: 0 0 0 6px #0a1f43; }
  .stepper.is-active .step-card__node { box-shadow: 0 0 0 6px #0a1f43, 0 6px 16px rgba(0,232,193,0.45); }
  .step-card__icon { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; margin: 0; }
  .step-card__icon svg { width: 20px; height: 20px; }
}

/* ---- Distinctive testimonials (dark) ---- */
.testimonials--dark {
  background:
    radial-gradient(circle at 12% -10%, rgba(67,83,255,0.28), transparent 45%),
    radial-gradient(circle at 100% 110%, rgba(0,232,193,0.16), transparent 48%),
    linear-gradient(160deg, #061634 0%, #0B2154 60%, #11296A 120%);
  color: #fff;
}
.testimonials--dark h2 { color: #fff; }
.testimonials--dark .testimonials__head { display: flex; flex-direction: column; align-items: center; }

/* card refresh on dark */
.testimonials--dark .testimonial {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border-radius: 22px;
  padding: 26px 24px;
  gap: 14px;
}
.testimonials--dark .testimonial__quote {
  font-size: 15.5px;
  line-height: 1.45;
}
.testimonials__grid { align-items: stretch; }
.testimonial__stars {
  display: inline-flex;
  gap: 3px;
  color: #FFB22C;
  margin-bottom: 2px;
}
.testimonial__stars svg { width: 17px; height: 17px; }

/* google chip in testimonial head rating already styled in landing-7 */
.testimonials--dark .rating { box-shadow: 0 12px 30px rgba(0,0,0,0.28); }
a.rating { cursor: pointer; text-decoration: none; transition: transform .16s ease, box-shadow .2s ease; }
a.rating:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.34), 0 0 0 1px rgba(0,232,193,0.4); }
a.rating:hover .rating__sub { color: var(--turquoise-2); }

@media (prefers-reduced-motion: reduce) {
  .hl-sweep::before { transform: scaleX(1) !important; }
  .stepper__progress { width: 100% !important; }
  .step-card__node { transition: none !important; }
}
