/* ==========================================================================
   Process Stages
   Units: px | Layout: flex (no grid)
   Figma: 2111:4128
   ========================================================================== */

.lg-process-stages {
  box-sizing: border-box;
  background-color: #f8f8fa;
}

.lg-process-stages *,
.lg-process-stages *::before,
.lg-process-stages *::after {
  box-sizing: border-box;
}

.lg-process-stages__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.lg-process-stages__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.lg-process-stages__heading {
  margin: 0;
  width: 100%;
  color: #000000;
  font-family: var(--wp--preset--font-family--archivo, "Archivo", sans-serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 54px;
  max-width: 910px;
}
.single-application .lg-process-stages__heading {
  max-width: 100%;
}

.lg-process-stages__description {
  margin: 0;
  width: 100%;
  color: var(--wp--preset--color--supersonic, #070819);
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

.lg-process-stages__description p {
  max-width: 890px;
  margin: auto;
}
.single-application .lg-process-stages__description p {
  max-width: 950px;
}
.lg-process-stages__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: 100%;
}

.lg-process-stages__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.lg-process-stages__steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 474px;
  flex-shrink: 0;
}

@media (min-width: 2000px) {
  .lg-process-stages__steps {
    width: 40%;
  }
}

.lg-process-stages__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  appearance: none;
  border: 1px solid #dfe1ef;
  border-radius: 8px;
  background-color: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lg-process-stages__step:focus-visible {
  outline: 2px solid #0027d6;
  outline-offset: 2px;
}

.lg-process-stages__step.is-active {
  position: relative;
  gap: 8px;
  background-color: #ffffff;
  border-color: #dee3ff;
}

.lg-process-stages__step.is-active::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background-color: #0027d6;
  content: "";
}

.lg-process-stages__step-title {
  color: #5a5c76;
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.lg-process-stages__step.is-active .lg-process-stages__step-title {
  color: #0027d6;
}

.lg-process-stages__step-desc {
  color: #5a5c76;
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.lg-process-stages__media {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  width: 100%;
  /* min-height: 524px; */
  padding: 20px;
  overflow: hidden;
  border: 1px solid #dee3ff;
  border-radius: 8px;
  background-color: rgba(230, 233, 251, 0.4);
}

.lg-process-stages__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.lg-process-stages__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 400px;
  color: #5a5c76;
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 16px;
  line-height: 24px;
}

.lg-process-stages__cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}



div .lg-process-stages__cta.btn {
  --mtr-btn-padding-x: 16px;
  --mtr-btn-padding-y: 8px;
  --mtr-btn-font-weight: 400;
  --mtr-btn-line-height: 1.5;
  --mtr-btn-border-width: 1.5px;
  --mtr-btn-border-radius: 4px;
}

.lg-process-stages__hint {
  margin: 0;
  color: #5a5c76;
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 1200px) {
  div .lg-process-stages__cta.btn.btn-laserbeam:hover {
    background-color: #08075f;
    color: #ffffff;
    border-color: #08075f;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .lg-process-stages__heading {
    font-size: 40px;
    line-height: 48px;
  }

  .lg-process-stages__steps {
    width: 380px;
  }

  .lg-process-stages__media {
    min-height: auto;
  }
}

/* Mobile + iPad: accordion layout — media sits after the active step via JS */
@media (max-width: 991.98px) {
  .lg-process-stages__row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    overflow-x: hidden;
  }

  .lg-process-stages__steps {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lg-process-stages__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lg-process-stages__img {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .lg-process-stages__heading {
    font-size: 36px;
    line-height: 44px;
  }

  .lg-process-stages__description {
    font-size: 16px;
    line-height: 24px;
  }

  .lg-process-stages__media {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .lg-process-stages__inner,
  .lg-process-stages__wrapper {
    gap: 28px;
  }

  .lg-process-stages__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .lg-process-stages__description {
    font-size: 16px;
    line-height: 24px;
  }

  .lg-process-stages__step-title {
    font-size: 18px;
    line-height: 26px;
  }

  .lg-process-stages__media {
    min-height: auto;
    padding: 12px;
  }
}

/* Each stage and its mobile media panel */
.lg-process-stages__item {
  width: 100%;
  min-width: 0;
}

/* Mobile and tablet accordion layout */
@media (max-width: 991.98px) {

  /* Remove the blue active side line */
  .lg-process-stages__step.is-active::before {
      display: none;
      content: none;
  }

  /* Image panel inside the active step wrapper */
  .lg-process-stages__item > .lg-process-stages__media {
      box-sizing: border-box;
      display: flex;
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      margin-top: 0;
      border-top: 0;
      border-radius: 0 0 8px 8px;
  }

  /* Connect the active button to the image panel */
  .lg-process-stages__item:has(
      > .lg-process-stages__step.is-active
  ) > .lg-process-stages__step {
      border-radius: 8px 8px 0 0;
      border-bottom: none;
  }

  .lg-process-stages__item:has(
      > .lg-process-stages__step.is-active
  ) > .lg-process-stages__media {
      border-color: #dee3ff;
  }
}

/* Equal height layout - Large desktop only */
@media (min-width: 1199.98px) {

	.lg-process-stages__row {
		align-items: stretch;
	}

	.lg-process-stages__steps,
	.lg-process-stages__media {
		align-self: stretch;
	}

	.lg-process-stages__media {
		height: auto;
	}

	.lg-process-stages__img {
		width: 100%;
		height: auto;
		min-height: 0;
		background-color: #ffffff;
    object-fit: contain;
	}
}