/* ==========================================================================
   Working Process Block
   ========================================================================== */

/* --- Section --- */
.proc-section {
  padding: 2.5rem 0;
}

/* --- Section Header --- */
.proc-header {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.proc-header__badge {
  display: inline-block;
  border-radius: 7px;
  padding: 0 7px;
  flex-shrink: 0;
}

.proc-header__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  margin: 0;
}

.proc-header__desc {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  max-width: 400px;
  margin: 0;
}

/* --- Steps List --- */
.proc-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* --- Accordion Item --- */
.proc-item {
  background-color: #f3f3f3;
  border-radius: 45px;
  border: 1px solid #191a23;
  box-shadow: 0px 5px 0px 0px rgba(25, 26, 35, 1);
  padding: 41px 60px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

.proc-item--open {
  background-color: #b9ff66;
}

/* --- Header Row --- */
.proc-item__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.proc-item__left {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
  min-width: 0;
}

/* --- Step Number --- */
.proc-item__number {
  font-size: 3.75rem;
  font-weight: 500;
  font-family: "SpaceGrotesk-Medium", sans-serif;
  color: #000000;
  line-height: 1;
  flex-shrink: 0;
}

/* --- Step Title --- */
.proc-item__title {
  font-size: 1.875rem;
  font-weight: 500;
  font-family: "SpaceGrotesk-Medium", sans-serif;
  color: #000000;
  margin: 0;
  line-height: 1.3;
}

/* --- Toggle Button --- */
.proc-item__toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Plus/Minus Icon --- */
.proc-item__icon {
  width: 58px;
  height: 58px;
  transition: transform 0.35s ease;
  display: block;
}

.proc-item--open .proc-item__icon {
  transform: rotate(45deg);
}

/* --- Collapsible Body (grid trick for smooth animation) --- */
.proc-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.proc-item--open .proc-item__body {
  grid-template-rows: 1fr;
  margin-top: 30px;
}

.proc-item__body-inner {
  overflow: hidden;
}

/* --- Divider --- */
.proc-item__divider {
  width: 100%;
  height: 1px;
  background-color: #000000;
  margin-bottom: 30px;
}

/* --- Description Text --- */
.proc-item__text {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  margin: 0;
  font-family: "SpaceGrotesk-Regular", sans-serif;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .proc-header__title {
    font-size: 2.25rem;
  }

  .proc-item__number {
    font-size: 3rem;
  }

  .proc-item__title {
    font-size: 1.625rem;
  }
}

@media (max-width: 1023px) {
  .proc-item {
    padding: 35px 40px;
  }

  .proc-header__title {
    font-size: 2rem;
  }

  .proc-item__number {
    font-size: 2.5rem;
  }

  .proc-item__title {
    font-size: 1.375rem;
  }
}

@media (max-width: 767px) {
  .proc-header {
    flex-direction: column;
    gap: 1rem;
  }

  .proc-header__desc {
    max-width: 100%;
  }

  .proc-header__title {
    font-size: 1.75rem;
  }

  .proc-item {
    padding: 28px 28px;
    border-radius: 30px;
  }

  .proc-item__left {
    gap: 16px;
  }

  .proc-item__number {
    font-size: 2rem;
  }

  .proc-item__title {
    font-size: 1.125rem;
  }

  .proc-item__icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 575px) {
  .proc-item {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .proc-item__number {
    font-size: 1.75rem;
  }

  .proc-item__title {
    font-size: 1rem;
  }

  .proc-item__text {
    font-size: 1rem;
  }
}
