.service__page-content-chrono-wrap {
  display: grid;
  grid-template-columns: 1fr clamp(
      320px,
      calc(320px + (380 - 320) * (100cqw - 1280px) / (1600 - 1280)),
      380px
    );
  gap: 30px;
}

.service__page-content-chrono-inner {
  padding-top: clamp(
    0px,
    calc(0px + (30 - 0) * (100cqw - 1280px) / (1600 - 1280)),
    30px
  );
}

.service__page-content-chrono-list {
  overflow-x: hidden;
}

.service__page-content-chrono-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 28px;
}

.service__page-content-chrono-item::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  display: block;
  width: 2px;
  height: 100%;
  background-color: var(--blue-white-color);
}

.service__page-content-chrono-item:first-child::before {
  top: 19px;
  bottom: 0;
  transform: none;
}

.service__page-content-chrono-item:last-child::before {
  height: 22px;
  top: 10px;
}

.service__page-content-chrono-item:not(:last-child) {
  padding-bottom: 24px;
}

.service__page-content-chrono-date {
  position: relative;
  padding: 8px 12px 8px 18px;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  border-radius: 16px;
  color: var(--blue-color);
  background-color: var(--blue-white-color);
  text-align: center;
  /* white-space: nowrap; */
  width: fit-content;
}

.service__page-content-chrono-date::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -8px;
  /* transform: translateY(-50%); */
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--white-color);
  background-color: var(--blue-white-color);
  border-radius: 100%;
}

.service__page-content-chrono-date::after {
  content: "";
  position: absolute;
  top: 19px;
  /* transform: translateY(-50%); */
  left: -27px;
  display: block;
  height: 2px;
  width: 26px;
  background-color: var(--blue-white-color);
}

.service__page-content-chrono-text *:first-child {
  margin-top: 0;
}

.service__page-content-chrono-text *:last-child {
  margin-bottom: 0;
}

.service__page-content-chrono-text {
  font-size: clamp(
    18px,
    calc(18px + (20 - 18) * (100cqw - 1280px) / (1600 - 1280)),
    20px
  );
  line-height: 152%;
}

.service__page-content-chrono-btn {
  padding: 18px 40px;
  margin-top: 26px;
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 142%;
  width: fit-content;
  border-radius: 16px;
  background-color: var(--pink-color);
  color: var(--white-color);
  cursor: pointer;
  transition: var(--transition);
}

.service__page-content-chrono-btn:hover {
  box-shadow: 0 0 20px var(--pink-color);
}

.service__page-content-phone {
  position: relative;
  height: fit-content;
  border: 5px solid var(--black-color);
  border-radius: 20px;
  background-color: var(--blue-white-color);
  overflow: hidden;
  padding-bottom: 53px;
}

.service__page-content-phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service__page-content-phone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 75px;
  background-color: var(--black-color);
  height: clamp(
    5px,
    calc(5px + (6 - 5) * (100cqw - 1280px) / (1600 - 1280)),
    6px
  );
  border-radius: 0 0 3px 3px;
}

.service__page-content-phone > svg {
  position: absolute;
  bottom: 8px;
  border-radius: 13px;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: var(--white-color);
  width: calc(100% - 16px);
}

.service__page-content-phone-opener {
  display: none;
}

@media (max-width: 1366px) {
  .service__page-content-chrono-date {
    line-height: 152%;
  }
  .service__page-content-chrono-text {
    line-height: 137%;
  }
  .service__page-content-phone {
    border: 5px solid var(--black-color);
    padding-bottom: 48px;
  }
  .service__page-content-phone > svg {
    bottom: 7px;
    height: 42px;
    width: calc(100% - 11px);
  }
  .service__page-content-chrono-btn {
    margin-top: 28px;
  }
}

@media (max-width: 992px) {
  .service__page-content-chrono-wrap {
    gap: 20px;
  }
  .service__page-content-chrono-item {
    padding-left: 18px;
  }
  .service__page-content-chrono-item:not(:last-child) {
    padding-bottom: 16px;
  }
  .service__page-content-chrono-date {
    font-size: 14px;
  }
  .service__page-content-chrono-date {
    padding: 6px 10px 6px 16px;
  }
  .service__page-content-chrono-date::before {
    width: 12px;
    height: 12px;
    top: 11px;
    left: -4px;
  }
  .service__page-content-chrono-date::after {
    top: 16px;
  }
  .service__page-content-chrono-item:first-child::before {
    top: 17px;
  }
  .service__page-content-chrono-item:last-child::before {
    top: 6px;
  }
  .service__page-content-chrono-text {
    font-size: 16px;
    line-height: 134%;
  }
  .service__page-content-chrono-btn {
    padding: 18px 14px;
    width: 100%;
    margin-top: 24px;
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  .service__page-content-chrono-wrap {
    display: flex;
    flex-direction: column-reverse;
    gap: 19px;
  }
  .service__page-content-phone-wrapper {
    position: relative;
    max-width: 332px;
    margin: 0 auto;
    height: 374px;
    overflow: hidden;
  }
  .service__page-content-phone-opener {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0;
    color: var(--blue-color);
    text-align: center;
    font-family: "Unbounded";
    font-size: 12px;
    font-weight: 500;
    line-height: 133%;
    z-index: 3;
  }

  .service__page-content-phone-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 310px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.55) 45%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .service__page-content-phone-wrapper.opened {
    height: 100%;
  }
  .service__page-content-phone-wrapper.opened::after {
      display: none;
  }
  .service__page-content-phone-wrapper.opened .service__page-content-phone-opener {
    display: none;
  }
    
}
