.service-reasons {
  padding: 5.5rem 1.5rem 6rem;
  background: #7bbb27;
  color: #111111;
}

.service-reasons__inner {
  width: min(100%, 84rem);
  margin: 0 auto;
}

.service-reasons__eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: #111111;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.service-reasons__title {
  max-width: 68rem;
  margin: 0 auto;
  color: #111111;
  font-size: clamp(2.35rem, 4.9vw, 4.45rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
}

.service-reasons__title span {
  color: #1f3208;
}

.service-reasons__lead {
  max-width: 46rem;
  margin: 1.05rem auto 0;
  color: rgba(17, 17, 17, 0.84);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

.service-reasons__nav {
  position: relative;
  width: min(100%, 44rem);
  margin: 3rem auto 0;
  padding-top: 1.4rem;
}

.service-reasons__nav::before {
  content: '';
  position: absolute;
  top: 2rem;
  right: 2.8rem;
  left: 2.8rem;
  height: 2px;
  background: rgba(17, 17, 17, 0.32);
}

.service-reasons__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.service-reasons__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  background: transparent;
  color: rgba(17, 17, 17, 0.76);
}

.service-reasons__step-box {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid #111111;
  background: #7bbb27;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.service-reasons__step.is-active .service-reasons__step-box {
  width: 1.8rem;
  height: 1.8rem;
  background: #111111;
  box-shadow: 0 0 0 10px rgba(17, 17, 17, 0.08);
}

.service-reasons__step-number {
  color: #111111;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.service-reasons__step.is-active .service-reasons__step-number {
  font-size: 1.55rem;
  font-weight: 700;
}

.service-reasons__stage {
  position: relative;
  margin-top: 2.9rem;
  overflow: hidden;
  padding-inline: 4.5rem;
}

.service-reasons__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border: 1px solid rgba(17, 17, 17, 0.24);
  background: #111111;
  color: #7bbb27;
  transform: translateY(-50%);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.service-reasons__arrow:hover,
.service-reasons__arrow:focus-visible {
  background: #1b1b1b;
  border-color: rgba(17, 17, 17, 0.4);
  color: #ffffff;
}

.service-reasons__arrow--prev {
  left: 0;
}

.service-reasons__arrow--next {
  right: 0;
}

.service-reasons__arrow-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.service-reasons__panel-wrap {
  display: flex;
  align-items: stretch;
  gap: 2.25rem;
  will-change: transform;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-reasons__panel {
  flex: 0 0 22.5rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.82);
  padding: 2.65rem 2rem;
  box-shadow: none;
  opacity: 1;
  transform: scale(0.9);
  text-align: center;
  transition: opacity 320ms ease, transform 320ms ease, background-color 320ms ease, box-shadow 320ms ease;
}

.service-reasons__panel.is-neighbor {
  background: rgba(255, 255, 255, 0.92);
  opacity: 1;
  transform: scale(0.94);
}

.service-reasons__panel.is-active {
  background: #ffffff;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 24px 46px -34px rgba(0, 0, 0, 0.28);
}

.service-reasons__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.65rem;
  height: 4.65rem;
  margin-bottom: 1.15rem;
  background: #111111;
  color: #7bbb27;
}

.service-reasons__icon {
  width: 2.05rem;
  height: 2.05rem;
}

.service-reasons__panel-title {
  margin: 0;
  color: #111111;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  font-weight: 500;
  line-height: 1.02;
  text-transform: uppercase;
}

.service-reasons__panel-copy {
  max-width: 22rem;
  margin: 1rem auto 0;
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 1023px) {
  .service-reasons__panel {
    flex-basis: 19.5rem;
  }}

@media (max-width: 767px) {
  .service-reasons {
    padding: 4.5rem 1rem 5rem;
  }

  .service-reasons__nav {
    width: 100%;
  }

  .service-reasons__nav::before {
    right: 1.15rem;
    left: 1.15rem;
  }

  .service-reasons__steps {
    gap: 0.35rem;
  }

  .service-reasons__step-number {
    font-size: 0.74rem;
  }

  .service-reasons__step.is-active .service-reasons__step-number {
    font-size: 1.05rem;
  }

  .service-reasons__stage {
    display: flex;
    justify-content: center;
    padding-inline: 0;
  }

  .service-reasons__arrow {
    display: none;
  }

  .service-reasons__panel-wrap {
    display: grid;
    width: 100%;
  }

  .service-reasons__panel {
    grid-area: 1 / 1;
    display: none;
    width: min(100%, 21rem);
    margin: 0 auto;
    padding: 2.2rem 1.5rem;
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
  }

  .service-reasons__panel.is-active {
    display: block;
    width: min(100%, 21rem);
    opacity: 1;
    pointer-events: auto;
  }

  .service-reasons__panel.is-neighbor {
    opacity: 0;
    transform: scale(1);
  }

  .service-reasons__icon-wrap {
    width: 4rem;
    height: 4rem;
  }
}
