/* RentGuarantor CSS: content-3-step-process.css (source: src/assets/scss/_content-3-step-process.scss) */
/**
 * Content 3-Step Process Organism
 * "How It Works" section with sticky sidebar and scrolling steps
 * Three color variants: white, light-blue, and blue
 */
.content-3-step-process {
  --step-bg: var(--surface-general-tertiary);
  --step-bg-highlight: var(--color-light-blue-100);
  background-color: var(--surface-general-primary);
  padding: var(--spacing-1300) 0;
  margin: 0 auto;
}
@media (max-width: 991.98px) {
  .content-3-step-process {
    padding: var(--spacing-1100) 0;
    padding-right: 0 !important;
    overflow: hidden;
  }
}
.content-3-step-process[data-variant=white] {
  background-color: var(--surface-general-primary);
  --step-bg: var(--Tints-Light-Blue-Light-Blue-50, #F3F7FD);
  --step-bg-highlight: var(--color-light-blue-100, #DEE9FC);
}
.content-3-step-process[data-variant=blue] {
  background-color: var(--surface-general-tertiary, #E2ECFB);
  --step-bg: var(--color-light-blue-100, #F3F7FD);
  --step-bg-highlight: var(--surface-general-primary, #FFFFFF);
}
.content-3-step-process[data-variant=grey] {
  background-color: var(--Tints-Grey-Grey-50, #F4F6F8);
  --step-bg: var(--color-light-blue-100, #F3F7FD);
  --step-bg-highlight: var(--surface-general-primary, #FFFFFF);
}
.content-3-step-process__container {
  display: flex;
  gap: var(--spacing-700);
  align-items: flex-start;
  max-width: 1114px;
}
.content-3-step-process__sidebar {
  width: 434px;
  flex-shrink: 0;
  position: sticky;
  top: 136px;
  align-self: flex-start;
}
.content-3-step-process__sidebar-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 291px;
  gap: 120px;
}
.content-3-step-process__header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-800);
  width: 371px;
}
.content-3-step-process__heading {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-xxl);
  letter-spacing: -1.04px;
  color: var(--bs-primary);
  margin-bottom: 0;
}
.content-3-step-process__subheading {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-m);
  letter-spacing: -0.48px;
  color: var(--bs-primary);
  margin-bottom: 0;
}
.content-3-step-process__steps-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-700);
}
.content-3-step-process__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-700);
  width: 660px;
}
.content-3-step-process__step {
  border-radius: 20px;
  padding: var(--spacing-1100);
  display: flex;
  gap: var(--spacing-800);
  transition: background-color 0.3s ease;
  background-color: var(--step-bg);
}
.content-3-step-process__step--highlight {
  background-color: var(--step-bg-highlight);
}
.content-3-step-process__step-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  position: relative;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light-blue-200);
}
.content-3-step-process__step-icon svg, .content-3-step-process__step-icon img {
  width: 100%;
  height: 60px;
  display: block;
}
.content-3-step-process__step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-800);
}
.content-3-step-process__step-title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-l);
  letter-spacing: -0.64px;
  color: var(--bs-primary);
  margin-bottom: 0;
}
.content-3-step-process__step-text {
  font-family: var(--font-family-bodycopy);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-xs);
  color: var(--color-core-black);
  margin-bottom: 0;
}
.content-3-step-process__step-text strong, .content-3-step-process__step-text b {
  font-family: var(--font-family-bodycopy);
  font-weight: var(--font-weight-semibold);
}
@media (max-width: 1199.98px) {
  .content-3-step-process__container {
    padding: 0 var(--spacing-1200);
  }
  .content-3-step-process__sidebar {
    width: 350px;
  }
  .content-3-step-process__header {
    width: 100%;
  }
  .content-3-step-process__steps {
    width: auto;
  }
}
.content-3-step-process__button-desktop {
  display: inline-flex;
  align-self: flex-start;
}
@media (max-width: 991.98px) {
  .content-3-step-process__container {
    flex-direction: column;
    padding: 0 var(--spacing-1000);
    padding-right: 0 !important;
  }
  .content-3-step-process__sidebar {
    width: 100%;
    position: static;
    margin-bottom: 0;
  }
  .content-3-step-process__sidebar-content {
    min-height: auto;
    gap: var(--spacing-1000);
  }
  .content-3-step-process__steps-wrapper {
    width: 100%;
  }
  .content-3-step-process__steps.swiper {
    margin-right: calc(var(--spacing-1000) * -1);
    padding-right: var(--spacing-1000);
    margin-left: 0;
  }
  .content-3-step-process__steps.swiper .swiper-wrapper {
    padding-bottom: var(--spacing-1000);
    align-items: stretch;
    display: flex;
  }
  .content-3-step-process__steps.swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
  .content-3-step-process__steps.swiper .content-3-step-process__step {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    will-change: transform;
    transform-origin: center;
  }
  .content-3-step-process__steps.swiper .swiper-slide-active .content-3-step-process__step,
  .content-3-step-process__steps.swiper .content-3-step-process__step.content-3-step-process__step--highlight {
    transform: scale(1);
  }
  .content-3-step-process__steps {
    width: 100%;
  }
  .content-3-step-process__mobile-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-600);
    margin-top: calc(var(--spacing-1000) * -1);
    margin-right: calc(var(--spacing-1000) * -1);
    padding: 0 var(--spacing-1000) 0 var(--spacing-900);
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .content-3-step-process__mobile-button {
    flex: 0 0 auto;
    margin-right: var(--spacing-600);
  }
  .content-3-step-process__mobile-pagination {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-100);
    min-width: 80px;
    left: auto !important;
    right: 20px !important;
  }
  .content-3-step-process__mobile-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: var(--color-light-blue-200);
    opacity: 1;
  }
  .content-3-step-process__mobile-pagination .swiper-pagination-bullet-active {
    background-color: var(--button-primary-default);
  }
  .content-3-step-process__button-desktop {
    display: none;
  }
  .content-3-step-process__heading {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-xl);
  }
  .content-3-step-process__subheading {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-xs);
  }
}
@media (max-width: 767.98px) {
  .content-3-step-process__step {
    flex-direction: column;
    padding: var(--spacing-1000);
  }
  .content-3-step-process__step-title {
    font-size: var(--font-size-m);
    line-height: var(--line-height-m);
  }
  .content-3-step-process__step-text {
    font-size: var(--font-size-xxs);
    line-height: var(--line-height-xxs);
  }
}