/* ==========================================================
   EVO-X PERSONALIZED JOURNEY UX
   V1
   ========================================================== */

.evox-journey-pulse {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 8px;
  padding: 18px 20px;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.018)
    );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    auto;

  gap: 18px;

  align-items: center;
}

.evox-journey-pulse[hidden] {
  display: none !important;
}

.evox-journey-pulse__eyebrow {
  margin: 0 0 7px;

  font-size: 11px;
  line-height: 1.2;

  letter-spacing: .12em;
  text-transform: uppercase;

  opacity: .62;
}

.evox-journey-pulse__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
}

.evox-journey-pulse__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  min-width: 0;

  font-size: 13px;
  line-height: 1.4;
}

.evox-journey-pulse__item strong {
  font-weight: 700;
}

.evox-journey-pulse__separator {
  opacity: .32;
}

.evox-journey-pulse__progress {
  min-width: 150px;
}

.evox-journey-pulse__progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 7px;

  font-size: 10px;
  line-height: 1.2;

  text-transform: uppercase;
  letter-spacing: .08em;

  opacity: .68;
}

.evox-journey-pulse__track {
  position: relative;

  width: 100%;
  height: 5px;

  overflow: hidden;

  border-radius: 99px;

  background:
    rgba(255,255,255,.09);
}

.evox-journey-pulse__bar {
  position: absolute;
  inset: 0 auto 0 0;

  width: 0;

  border-radius: inherit;

  background:
    currentColor;

  transition:
    width .35s ease;
}

body[data-evox-journey-stage="discovery"]
.evox-journey-pulse {
  opacity: .9;
}

body[data-evox-journey-stage="qualified"]
.evox-journey-pulse {
  border-color:
    rgba(255,255,255,.22);
}

body.evox-context-has-cases
#evox-cases,

body.evox-context-has-diagnostic
#evox-diagnostic {

  position: relative;
}

body.evox-context-has-cases
#evox-cases::before,

body.evox-context-has-diagnostic
#evox-diagnostic::before {

  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  width: min(1180px, calc(100% - 32px));
  height: 1px;

  transform: translateX(-50%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.16),
      transparent
    );

  pointer-events: none;
}

#solutions
[data-evox-solution].evox-solution--primary {

  position: relative;
}

#solutions
[data-evox-solution].evox-solution--primary::after {

  content: "";

  position: absolute;
  inset: 7px;

  border: 1px solid rgba(255,255,255,.16);
  border-radius: inherit;

  pointer-events: none;
}

html[data-evox-reduced-motion="true"]
.evox-journey-pulse__bar {
  transition: none;
}


@media (max-width: 760px) {

  .evox-journey-pulse {

    width:
      calc(100% - 24px);

    margin-top: 14px;

    padding: 15px;

    grid-template-columns: 1fr;

    gap: 14px;
  }

  .evox-journey-pulse__summary {

    gap: 6px 9px;
  }

  .evox-journey-pulse__item {

    font-size: 12px;
  }

  .evox-journey-pulse__progress {

    min-width: 0;
    width: 100%;
  }
}


@media (prefers-reduced-motion: reduce) {

  .evox-journey-pulse__bar {
    transition: none;
  }
}
