/* PROCESS SECTION */

.process-scope .process-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.process-scope .grid-bg {
  position: absolute;
  right: 10px;
  top: 30%;
  transform: translateY(-50%);
  height: 100%;
  width: 50%;
  pointer-events: none;
}

.process-scope .title {
  color: var(--color-primary);
}

/* Top Section */
.process-scope .top-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
  margin-top: 80px;
}

.process-scope .buttons-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.process-scope .button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.process-scope .number-button {
  width: 100%;
  height: 56px;
  border-radius: 0;
  border: 1px solid var(--color-primary);
  border-left: none;
  font-size: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--color-white);
  color: var(--color-primary);
  margin: 0;
  padding: 8px 0;
  box-sizing: border-box;
}

.process-scope .button-wrapper:first-child .number-button {
  border-left: 1px solid var(--color-primary);
}

.process-scope .number-button.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.process-scope .images-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.process-scope .image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-sizing: border-box;
}

.process-scope .image-wrapper img,
.process-scope .image-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Bottom Section */
.process-scope .bottom-section {
  display: flex;
  gap: 64px;
  align-items: stretch;
  box-sizing: border-box;
  flex-wrap: wrap;
  margin-top: 80px;
}

/* Left Section — shared for all options */
.process-scope .left-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 236px;
  box-sizing: border-box;
  gap: 24px;
}

.process-scope .left-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.process-scope .left-title {
  color: var(--color-primary);
}

.process-scope .left-description {
  color: var(--color-primary);
  max-width: 692px;
}

.process-scope .process-button {
  margin: 0;
  text-decoration: none;
}

/* Right Section — option-specific */
.process-scope .right-section {
  flex: 1;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
  height: 260px;
}

.process-scope .right-section.hidden {
  opacity: 0;
  pointer-events: none;
}

.process-scope .right-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  justify-content: space-between;
  height: 100%;
  padding: 24px;
}

.process-scope .right-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
}

.process-scope .right-title {
  color: var(--color-white);
}

.process-scope .right-number {
  font-size: 64px;
  line-height: 48px;
  color: var(--color-lime);
  text-align: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.process-scope .right-description {
  color: var(--color-white);
  max-width: 626px;
  line-height: 100%;
}

.process-scope .right-description strong {
  font-weight: 700;
}

/* Mobile image inside right section — hidden on desktop */
.process-scope .right-image {
  display: none;
}

.process-scope .right-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.process-scope .right-image video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Navigation arrows — hidden on desktop */
.process-scope .right-nav {
  display: none;
}

/* COMPACT */
@media (max-width: 480px) {
  .process-scope .top-section {
    display: none;
  }

  .process-scope .bottom-section {
    margin-top: 30px;
    flex-direction: column;
    gap: 24px;
  }

  .process-scope .left-section {
    min-height: auto;
  }

  /* Right section always visible on mobile */
  .process-scope .right-section,
  .process-scope .right-section.hidden {
    opacity: 1;
    pointer-events: auto;
    padding: 24px;
    min-height: 335px;
    gap: 12px;
  }

  .process-scope .right-header {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .process-scope .right-number {
    font-size: 64px;
    line-height: 1;
    order: -1;
    color: var(--color-white);
  }

  /* Show mobile image */
  .process-scope .right-image {
    display: block;
    margin-top: 8px;
    margin: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  /* Show navigation arrows */
  .process-scope .right-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .process-scope .nav-arrow {
    width: 100%;
    height: 58px;
    background: none;
    border: 1px solid var(--color-white);
    border-left: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .process-scope .nav-arrow:first-child {
    border-left: 1px solid var(--color-white);
  }

  .process-scope .nav-arrow img {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
  }

  .process-scope .nav-prev {
    transform: rotate(180deg);
  }

  .process-scope .right-content {
    padding: 0px;
  }
}
