/* Elementor wrapper must occupy the full available row. */
.elementor-widget-spp-process {
  width: 100% !important;
  max-width: 100% !important;
  align-self: stretch !important;
  flex: 0 0 100% !important;
}

.elementor-widget-spp-process > .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
}

.spp-process,
.spp-process * {
  box-sizing: border-box;
}

.spp-process {
  --spp-text: #262626;
  --spp-light-card: #f4f4f4;
  --spp-blue-card: #dbeaff;
  --spp-accent: #c9e0ff;
  --spp-arrow: #0068e8;
  --spp-icon-bg: #262626;

  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--spp-text);
  isolation: isolate;
}

.spp-stage {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1312px;
  margin: 0 auto;
  padding-right: clamp(0px, 8.54%, 112px);
  padding-left: clamp(0px, 8.54%, 112px);
}

.spp-card {
  --spp-reveal-x: -60px;
  --spp-lift: 0px;
  --spp-rotate-x: 0deg;
  --spp-rotate-y: 0deg;
  --spp-mouse-x: 50%;
  --spp-mouse-y: 50%;

  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: calc(50% - 6px);
  min-height: 249px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(38, 38, 38, 0.025);
  border-radius: 24px;
  background: var(--spp-light-card);
  box-shadow:
    0 4px 10px rgba(17, 36, 64, 0.015),
    0 18px 50px rgba(17, 36, 64, 0);
  transform:
    perspective(1100px)
    translate3d(0, var(--spp-lift), 0)
    rotateX(var(--spp-rotate-x))
    rotateY(var(--spp-rotate-y));
  transform-style: preserve-3d;
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
  will-change: transform, opacity;
}

.spp-card--right {
  --spp-reveal-x: 60px;
  margin-left: auto;
}

.spp-card--2,
.spp-card--3,
.spp-card--4,
.spp-card--5,
.spp-card--6,
.spp-card--7,
.spp-card--8,
.spp-card--9,
.spp-card--10 {
  margin-top: -68px;
}

.spp-card--2 {
  min-height: 276px;
}

.spp-card--blue {
  background: linear-gradient(180deg, var(--spp-blue-card) 0%, #f6f9ff 100%);
}

.spp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle 240px at var(--spp-mouse-x) var(--spp-mouse-y),
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.3) 30%,
      rgba(255, 255, 255, 0) 72%
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.spp-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    linear-gradient(
      125deg,
      rgba(0, 88, 211, 0),
      rgba(0, 88, 211, 0.2),
      rgba(255, 255, 255, 0.85),
      rgba(0, 88, 211, 0)
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.spp-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px 106px 38px 100px;
  transform: translateZ(18px);
}

.spp-title {
  max-width: 100%;
  margin: 10px 0 22px;
  color: var(--spp-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.spp-text {
  max-width: 390px;
  margin: 0;
  color: var(--spp-text);
  font-family: "Manrope", sans-serif;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: -0.015em;
}

.spp-step-rail {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--spp-accent);
  transform: translateZ(30px);
}

.spp-card--blue .spp-step-rail {
  background: var(--spp-text);
}

.spp-step-rail::before {
  content: "";
  position: absolute;
  inset: -60% 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 75%
    );
  transform: translateY(-70%);
  animation: sppRailShine 4.2s ease-in-out infinite;
}

.spp-step-label {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--spp-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.spp-card--blue .spp-step-label {
  color: var(--spp-accent);
}

.spp-icon {
  position: absolute;
  top: 48px;
  right: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--spp-icon-bg);
  color: var(--spp-accent);
  box-shadow: 0 10px 25px rgba(38, 38, 38, 0.08);
  transform: translateZ(38px);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.spp-icon::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -100%;
  width: 70%;
  height: 260%;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0)
    );
  transform: rotate(18deg);
  animation: sppIconShine 4.5s ease-in-out infinite;
}

.spp-icon svg,
.spp-icon i {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  color: currentColor;
  font-size: 28px;
  line-height: 1;
}

.spp-icon:not(.spp-icon--custom) svg {
  fill: currentColor;
}

.spp-icon--custom svg {
  overflow: visible;
}

.spp-icon--custom svg > * {
  transform-box: fill-box;
  transform-origin: center;
}

.spp-connector {
  position: absolute;
  z-index: 1;
  display: block;
  height: 62px;
  color: var(--spp-arrow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.7s ease 0.35s,
    transform 0.7s ease 0.35s;
}

.spp-connector--right {
  top: 112px;
  left: calc(100% + 20px);
  width: 53%;
  transform: translateX(-20px);
}

.spp-connector--left {
  top: 132px;
  right: calc(100% + 12px);
  width: 52%;
  transform: translateX(20px);
}

.spp-connector--lower {
  top: 117px;
}

.spp-desktop-arrow {
  display: block;
  width: 100%;
  height: 62px;
  overflow: visible;
}

.spp-connector--left .spp-desktop-arrow {
  transform: scaleX(-1);
}

.spp-route {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-dasharray: 11 10;
  animation: sppDashMove 1.15s linear infinite;
}

.spp-down-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: sppArrowBlink 1.25s ease-in-out infinite;
}

.spp-process[data-arrow-animation="no"] .spp-route,
.spp-process[data-arrow-animation="no"] .spp-down-arrow,
.spp-process[data-arrow-animation="no"] .spp-mobile-arrow::before,
.spp-process[data-arrow-animation="no"] .spp-mobile-arrow span {
  animation: none;
}

.spp-mobile-arrow {
  position: relative;
  display: none;
  width: 44px;
  height: 80px;
  margin: 0 auto;
  opacity: 0;
}

.spp-mobile-arrow::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 21px;
  left: 50%;
  width: 3px;
  background:
    repeating-linear-gradient(
      180deg,
      var(--spp-arrow) 0 9px,
      transparent 9px 17px
    );
  transform: translateX(-50%);
  animation: sppVerticalDash 1s linear infinite;
}

.spp-mobile-arrow span {
  position: absolute;
  left: 50%;
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--spp-arrow);
  border-bottom: 3px solid var(--spp-arrow);
  opacity: 0;
  transform: translateX(-50%) rotate(45deg);
  animation: sppMobileChevron 1.5s ease-in-out infinite;
}

.spp-mobile-arrow span:nth-child(1) {
  bottom: 22px;
  animation-delay: 0s;
}

.spp-mobile-arrow span:nth-child(2) {
  bottom: 13px;
  animation-delay: 0.18s;
}

.spp-mobile-arrow span:nth-child(3) {
  bottom: 4px;
  animation-delay: 0.36s;
}

.spp-note {
  margin: 26px auto 0;
  padding: 0 14px;
  color: rgba(38, 38, 38, 0.72);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.spp-process.spp-is-ready[data-entrance="yes"] .spp-card {
  opacity: 0;
  transform:
    perspective(1100px)
    translate3d(var(--spp-reveal-x), 28px, 0)
    rotateX(3deg)
    scale(0.97);
}

.spp-process.spp-is-ready[data-entrance="yes"] .spp-card.spp-is-visible {
  opacity: 1;
  transform:
    perspective(1100px)
    translate3d(0, var(--spp-lift), 0)
    rotateX(var(--spp-rotate-x))
    rotateY(var(--spp-rotate-y))
    scale(1);
}

.spp-card.spp-is-visible .spp-connector,
.spp-process[data-entrance="no"] .spp-connector {
  opacity: 1;
  transform: translateX(0);
}

.spp-process.spp-is-ready[data-entrance="yes"] .spp-note {
  opacity: 0;
  transform: translateY(18px);
}

.spp-process.spp-is-ready[data-entrance="yes"] .spp-note.spp-is-visible {
  opacity: 1;
  transform: translateY(0);
}

.spp-card.spp-is-visible + .spp-mobile-arrow,
.spp-process[data-entrance="no"] .spp-mobile-arrow {
  opacity: 1;
  transition: opacity 0.7s ease 0.35s;
}

.spp-card.spp-is-visible .spp-icon--custom svg > * {
  animation: sppIconPiece 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.spp-card.spp-is-visible .spp-icon--custom svg > *:nth-child(2) {
  animation-delay: 0.08s;
}

.spp-card.spp-is-visible .spp-icon--custom svg > *:nth-child(3) {
  animation-delay: 0.16s;
}

.spp-card.spp-is-visible .spp-icon--custom svg > *:nth-child(4) {
  animation-delay: 0.24s;
}

.spp-card.spp-is-visible .spp-icon--custom svg > *:nth-child(5) {
  animation-delay: 0.32s;
}

@media (hover: hover) and (pointer: fine) {
  .spp-card.spp-is-visible:hover,
  .spp-process[data-entrance="no"] .spp-card:hover {
    --spp-lift: -8px;
    z-index: 5;
    border-color: rgba(0, 88, 211, 0.11);
    box-shadow:
      0 10px 20px rgba(17, 36, 64, 0.04),
      0 28px 65px rgba(0, 88, 211, 0.12);
  }

  .spp-card:hover::before,
  .spp-card:hover::after {
    opacity: 1;
  }

  .spp-card:hover .spp-icon {
    transform:
      translateZ(42px)
      translateY(-4px)
      rotate(-3deg)
      scale(1.04);
    box-shadow: 0 16px 30px rgba(38, 38, 38, 0.16);
  }

  .spp-card:hover .spp-step-rail {
    box-shadow: 0 12px 24px rgba(0, 88, 211, 0.08);
  }
}

@keyframes sppDashMove {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -42; }
}

@keyframes sppArrowBlink {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(-5px);
  }
  45%, 70% {
    opacity: 1;
    transform: translateY(3px);
  }
}

@keyframes sppRailShine {
  0%, 25% { transform: translateY(-70%); }
  55%, 100% { transform: translateY(70%); }
}

@keyframes sppIconShine {
  0%, 55% { left: -100%; }
  78%, 100% { left: 150%; }
}

@keyframes sppIconPiece {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.65);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sppVerticalDash {
  from { background-position-y: 0; }
  to { background-position-y: 34px; }
}

@keyframes sppMobileChevron {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px) rotate(45deg);
  }
  45% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) rotate(45deg);
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .spp-card-content {
    padding: 42px 82px 34px 84px;
  }

  .spp-step-rail {
    left: 20px;
    width: 40px;
  }

  .spp-step-label {
    font-size: 16px;
  }

  .spp-icon {
    top: 38px;
    right: 28px;
    width: 50px;
    height: 50px;
  }

  .spp-icon svg,
  .spp-icon i {
    width: 27px;
    height: 27px;
    font-size: 25px;
  }

  .spp-title {
    margin-top: 7px;
    margin-bottom: 17px;
    font-size: 27px;
  }

  .spp-text {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .spp-process {
    overflow: visible;
  }

  .spp-stage {
    max-width: 680px;
    padding: 0;
  }

  .spp-card {
    --spp-reveal-x: 0px;
    width: 100%;
    min-height: 230px;
    margin-top: 0;
    margin-left: 0;
    border-radius: 22px;
  }

  .spp-card--2 {
    min-height: 250px;
  }

  .spp-card-content {
    padding: 38px 88px 34px 94px;
  }

  .spp-title {
    margin: 8px 0 18px;
    font-size: clamp(26px, 6vw, 32px);
  }

  .spp-text {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.52;
  }

  .spp-step-rail {
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 42px;
    border-radius: 11px;
  }

  .spp-step-label {
    font-size: 17px;
  }

  .spp-icon {
    top: 34px;
    right: 28px;
    width: 52px;
    height: 52px;
  }

  .spp-icon svg,
  .spp-icon i {
    width: 28px;
    height: 28px;
    font-size: 26px;
  }

  .spp-connector {
    display: none;
  }

  .spp-mobile-arrow {
    display: block;
  }

  .spp-note {
    max-width: 620px;
    margin-top: 22px;
    font-size: 14px;
  }

  .spp-process.spp-is-ready[data-entrance="yes"] .spp-card {
    transform: translate3d(0, 34px, 0) scale(0.97);
  }

  .spp-process.spp-is-ready[data-entrance="yes"] .spp-card.spp-is-visible {
    transform: translate3d(0, var(--spp-lift), 0) scale(1);
  }
}

@media (max-width: 520px) {
  .spp-card {
    min-height: 250px;
    border-radius: 18px;
  }

  .spp-card--2 {
    min-height: 280px;
  }

  .spp-card-content {
    padding: 26px 20px 27px 78px;
  }

  .spp-title {
    min-height: 48px;
    margin: 5px 58px 17px 0;
    font-size: 24px;
    line-height: 1.22;
  }

  .spp-text {
    font-size: 15.5px;
    line-height: 1.53;
  }

  .spp-step-rail {
    top: 18px;
    bottom: 18px;
    left: 18px;
    width: 38px;
    border-radius: 10px;
  }

  .spp-step-label {
    font-size: 15px;
  }

  .spp-icon {
    top: 20px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 9px;
  }

  .spp-icon svg,
  .spp-icon i {
    width: 25px;
    height: 25px;
    font-size: 23px;
  }

  .spp-mobile-arrow {
    height: 72px;
  }

  .spp-note {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spp-process *,
  .spp-process *::before,
  .spp-process *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .spp-process.spp-is-ready .spp-card,
  .spp-process.spp-is-ready .spp-card.spp-is-visible,
  .spp-process.spp-is-ready .spp-note {
    opacity: 1 !important;
    transform: none !important;
  }
}
