.b-accelerator {
  margin: clamp(40px, 6vw, 104px) 0; /* 130 → 104 */
  z-index: 1;
}

.b-accelerator__title-top {
  margin-bottom: 20px;
}

.b-accelerator__text-top {
  max-width: 980px;
  margin: 0 auto clamp(60px, 4vw, 72px); /* 90 → 72 */
  font-size: clamp(17px, 4vw, 25px); /* 31 → 25 */
  color: #ffeb6c;
  font-weight: 700;
  line-height: 1.25;
}

.b-accelerator__gallery {
  margin: clamp(30px, 4vw, 64px) 0; /* 80 → 64 */
}

.b-accelerator__gallery .swiper-slide {
  width: clamp(453px, 35vw, 498px); /* 623 → 498 */
  z-index: -1;
}

.b-accelerator__gallery .swiper-slide .ratio::before {
  padding-top: 52%;
}

.b-accelerator__parallax {
  z-index: 2;
  pointer-events: none;
}

.b-accelerator__title-bottom {
  max-width: 1160px;
  margin: 0 auto clamp(20px, 3vw, 32px); /* 40 → 32 */
  line-height: 1.25;
}

.b-accelerator__text-bottom {
  max-width: 1160px;
  margin: 0 auto clamp(60px, 4vw, 72px); /* 90 → 72 */
  font-size: clamp(17px, 4vw, 25px); /* 31 → 25 */
  color: #ffeb6c;
  font-weight: 700;
  line-height: 1.25;
}

.b-accelerator__timeline {
  border-radius: 196px;
  position: relative;
}

.b-accelerator__stages {
  margin-bottom: clamp(40px, 5vw, 64px); /* 80 → 64 */
}

.b-accelerator__stage {
  flex: 1 1;
  position: relative;
  font-weight: bold;
  line-height: 1;
}

.b-accelerator__stage:before {
  background: #7655ff;
  position: absolute;
  content: '';
  display: block;
}

.b-accelerator__programs-text {
  line-height: 1.25;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 22px); /* 27 → 22 */
  letter-spacing: -0.41px;
  color: #000;
  max-width: 670px;
}

@media screen and (min-width: 768px) {
  .b-accelerator__timeline {
    background: linear-gradient(to bottom, #fff, #808080);
    padding: clamp(40px, 5vw, 64px) clamp(40px, 7vw, 136px); /* 80 → 64, 170 → 136 */
    margin-top: clamp(60px, 10vw, 144px); /* 180 → 144 */
  }

  .b-accelerator__stage {
    padding-bottom: clamp(20px, 4vw, 56px); /* 70 → 56 */
  }

  .b-accelerator__stage:first-child:before {
    left: 50%;
  }

  .b-accelerator__stage:last-child:before {
    right: 50%;
  }

  .b-accelerator__stage:last-child:after {
    transform: translate(-50%, 50%) scale(6.6);
  }

  .b-accelerator__stage:nth-child(2):after {
    transform: translate(-50%, 50%) scale(2);
  }

  .b-accelerator__stage:nth-child(3):after {
    transform: translate(-50%, 50%) scale(2.6);
  }

  .b-accelerator__stage:nth-child(4):after {
    transform: translate(-50%, 50%) scale(3);
  }

  .b-accelerator__stage:nth-child(5):after {
    transform: translate(-50%, 50%) scale(3.8);
  }

  .b-accelerator__stage:nth-child(6):after {
    transform: translate(-50%, 50%) scale(5.2);
  }

  .b-accelerator__stage:after {
    bottom: 0;
    transform: translate(-50%, 50%);
    width: clamp(2px, 0.6vw, 8px); /* 10 → 8 */
    height: clamp(2px, 0.6vw, 8px); /* 10 → 8 */
    position: absolute;
    content: '';
    display: block;
    border-radius: 50%;
    background: #ffeb6c;
    left: 50%;
  }

  .b-accelerator__stage:before {
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
  }
}

@media screen and (min-width: 1200px) {
  .b-accelerator__parallax {
    right: 0;
    top: 10%;
    width: 260px;
  }

  .b-accelerator__parallax img {
    transform: translate(42%, 0);
  }
}

@media screen and (max-width: 1199px) {
  .b-accelerator__parallax {
    right: 0;
    top: 30%;
    width: 190px;
  }

  .b-accelerator__parallax img {
    transform: translate(52%, 0);
  }
}

@media screen and (max-width: 767px) {
  .b-accelerator__timeline {
    margin: 60px auto 0;
    max-width: 340px;
    padding: 80px 10px 120px;
    background: linear-gradient(to right, #808080, #fff);
  }

  .b-accelerator__stage {
    font-size: 23px;
    padding-bottom: 34px;
    display: flex;
    align-items: center;
  }

  .b-accelerator__stage:before {
    width: 1px;
    left: 50%;
    top: 0;
    bottom: 0;
  }

  .b-accelerator__stage div {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .b-accelerator__stage div:before {
    content: '';
    display: block;
    border-radius: 50%;
    background: #ffeb6c;
  }

  .b-accelerator__stage:nth-child(odd) {
    padding-right: 50%;
  }

  .b-accelerator__stage:nth-child(odd) div {
    justify-content: end;
  }

  .b-accelerator__stage:nth-child(odd) div:before {
    transform: translate(50%, 0);
    order: 1;
  }

  .b-accelerator__stage:nth-child(even) {
    padding-left: 50%;
  }

  .b-accelerator__stage:nth-child(even) div:before {
    transform: translate(-50%, 0);
  }

  .b-accelerator__stage:nth-child(2) div:before {
    width: 20px;
    height: 20px;
  }

  .b-accelerator__stage:nth-child(3) div:before {
    width: 26px;
    height: 26px;
    margin-left: -5px;
  }

  .b-accelerator__stage:nth-child(4) div:before {
    width: 30px;
    height: 30px;
    margin-right: -10px;
  }

  .b-accelerator__stage:nth-child(5) div:before {
    width: 38px;
    height: 38px;
    margin-left: -15px;
  }

  .b-accelerator__stage:nth-child(6) div:before {
    width: 52px;
    height: 52px;
    margin-right: -20px;
  }

  .b-accelerator__stage:first-child {
    padding: 0 0 50px;
  }

  .b-accelerator__stage:first-child:before {
    top: 40px;
  }

  .b-accelerator__stage:first-child div {
    justify-content: center;
    flex-direction: column;
    gap: 17px;
  }

  .b-accelerator__stage:first-child div:before {
    width: 10px;
    height: 10px;
    transform: none;
    z-index: 1;
  }

  .b-accelerator__stage:last-child {
    padding: 26px 0 0;
  }

  .b-accelerator__stage:last-child:before {
    bottom: 40px;
  }

  .b-accelerator__stage:last-child div {
    justify-content: center;
    flex-direction: column;
    gap: 14px;
  }

  .b-accelerator__stage:last-child div:before {
    width: 66px;
    height: 66px;
    transform: none;
    z-index: 1;
    order: -1;
  }

  .b-accelerator__programs-text {
    padding: 0 30px;
  }
}

.b-accelerator__timeline-container {
  max-width: 1795px;
}

.b-accelerator {
  padding-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .b-accelerator__timeline {
    width: 410px;
    transition: 1.5s ease all;
    margin-left: auto;
    margin-right: auto;
    transition-delay: 0.5s;
  }

  .b-accelerator__timeline.animated {
    width: 100%;
  }


  .b-accelerator__stages {
    width: 100%;
  }


  .b-accelerator__stage {
    font-size: clamp(14px, 1.7vw, 25px);
    /* 31 → 25 */
    transition: 1s ease opacity, 1s ease transform;
    transition-delay: 1.5s;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-30px);
    will-change: opacity, transform;
  }

  .b-accelerator__stage:before {
    opacity: 0;
    transition: 0.4s ease opacity;
    will-change: opacity;
  }

  .b-accelerator__timeline.animated .b-accelerator__programs-text {
    width: 100%;
    opacity: 1;
    transform: translateY(0);
  }

  .b-accelerator__timeline.animated .b-accelerator__stage {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:before {
    opacity: 1;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(1) {
    transition-delay: 2s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(1):before {
    transition-delay: 2.1s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(2) {
    transition-delay: 2.5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(2):before {
    transition-delay: 2.6s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(3) {
    transition-delay: 3s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(3):before {
    transition-delay: 3.1s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(4) {
    transition-delay: 3.5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(4):before {
    transition-delay: 3.6s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(5) {
    transition-delay: 4s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(5):before {
    transition-delay: 4.1s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(6) {
    transition-delay: 4.5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(6):before {
    transition-delay: 4.6s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(7) {
    transition-delay: 5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(7):before {
    transition-delay: 5.1s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(8) {
    transition-delay: 5.5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(8):before {
    transition-delay: 5.6s;
  }


  .b-accelerator__programs-text {
    width: 670px;
    opacity: 0;
    transform: translateY(10%);
    transition: 1s ease all;
    transition-delay: 2s;
  }
}

@media screen and (max-width: 767px) {
  .b-accelerator__timeline {
    height: 340px;
    transition: 1.5s ease all;
    margin-left: auto;
    margin-right: auto;
    transition-delay: 0.5s;
  }

  .b-accelerator__timeline.animated {
    height: 840px;
  }

  .b-accelerator__timeline.animated .b-accelerator__programs-text {
    width: 100%;
    opacity: 1;
    transform: translateY(0);
  }

  .b-accelerator__timeline.animated .b-accelerator__stages {
    width: 100%;
    opacity: 1;
  }


  .b-accelerator__stages {
    width: 0;
    opacity: 0;
    transition: 1s ease all;
    transition-delay: 1s;
  }

  .b-accelerator__stage {
    font-size: clamp(17px, 1.7vw, 25px); /* 31 → 25 */
  }

  .b-accelerator__programs-text {
    width: 320px;
    opacity: 0;
    transform: translateY(10%);
    transition: 1s ease all;
    transition-delay: 2s;
  }




  .b-accelerator__stage div {
    transform: translateY(-30px);
    transition: 1s ease opacity, 1s ease transform;
    will-change: opacity, transform;
    opacity: 0;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage div {
    transform: translateY(0);
    opacity: 1;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(1) div {
    transition-delay: 2s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(2) div {
    transition-delay: 2.5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(3) div {
    transition-delay: 3s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(4) div {
    transition-delay: 3.5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(5) div {
    transition-delay: 4s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(6) div {
    transition-delay: 4.5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(7) div {
    transition-delay: 5s;
  }

  .b-accelerator__timeline.animated .b-accelerator__stage:nth-child(8) div {
    transition-delay: 5.5s;
  }
}
