@media (max-width: 850px) {
  .new-service-page .nashi-uslugi {
    padding-top: 0;
  }

  .new-service-page .nashi-uslugi .direction {
    padding-top: 145px;
  }
}
@media (max-width: 767px) {
  .new-service-page .nashi-uslugi .direction {
    padding-top: 128px;
  }
  
}

.new-service-page main {
  padding-top: 0;
  margin-top: 0;
}

.new-service-page .direction {
  position: relative;
  padding: 27px 0 58px;
  overflow: hidden;
  padding-top: 160px;
  background: linear-gradient(180deg, #e3eef4 0%, rgba(227, 238, 244, 0) 100%), linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.new-service-page .direction .shadow,
.new-service-page .direction>.bubbles {
  display: none;
}

.new-service-page .direction .container {
  position: relative;
  z-index: 1;
}

.new-service-page .direction .breadcrumbs {
  margin: 0 0 19px;
}

.new-service-page .direction__wrap {
  display: grid;
  grid-template-columns: minmax(420px, 560px) minmax(520px, 1fr);
  align-items: center;
  gap: 54px;
  overflow: visible;
  border-radius: 0;
}

.new-service-page .direction__left {
  width: auto;
  min-width: 0;
  padding: 0;
  padding-right: 0;
  background: transparent;
}

.new-service-page .direction__right {
  position: relative;
  z-index: 0;
  width: auto;
  min-height: 520px;
  flex-shrink: 1;
}

.new-service-page .direction__right::before,
.new-service-page .direction__right::after {
  content: "";
  position: absolute;
  z-index: -1;
  display: block;
  background: #e2f0f7;
  border-radius: 999px;
}

.new-service-page .direction__right::before {
  width: 320px;
  height: 276px;
  top: 0;
  right: 76px;
  border-radius: 48% 52% 45% 55%;
}

.new-service-page .direction__right::after {
  width: 262px;
  height: 184px;
  right: 126px;
  bottom: 75px;
  border-radius: 48% 52% 47% 53%;
}

.new-service-page .picture-direction {
  position: relative;
  z-index: 2;
  display: block;
  width: 522px;
  height: 522px;
  margin: 0 0 0 70px;
  overflow: visible;
}

.new-service-page .picture-direction::before,
.new-service-page .picture-direction::after {
  content: "";
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 999px;

}

.new-service-page .picture-direction::before {
  width: 25px;
  height: 25px;
  top: 31px;
  left: -31px;
  background: #ffd601;
}

.new-service-page .picture-direction::after {
  width: 58px;
  height: 58px;
  left: 158px;
  bottom: -4px;
  background: #f33495;
}

.new-service-page .picture-direction img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.new-service-page .direction__right .direction__decorate {
  position: absolute;
  z-index: 2;
  right: 21px;
  bottom: 217px;
  left: auto;
  width: 58px;
  height: 58px;
  background: #34358c;
  border-radius: 50%;
}

.new-service-page .direction__decorate .offers__slider-info {
  display: none;
}

.new-service-page .direction__right .direction__decorate::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 262px;
  height: 184px;
  right: 67px;
  bottom: -59px;
  background: #eaf5fb;
  border-radius: 48% 52% 47% 53%;
}

.new-service-page .direction__right .direction__decorate::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 232px;
  height: 270px;
  right: 24px;
  bottom: 28px;
  background: #e2f0f7;
  border-radius: 48% 52% 45% 55%;
}

.new-service-page .direction__title {
  max-width: 560px;
  margin: 0 0 23px;
  color: #343d42;
  font-size: 4.4rem;
  line-height: 1.1;
}

.new-service-page .direction ul.new-cust-list {
  margin: 0 0 13px;
  padding: 0;
}

.new-service-page .new-cust-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 20px;
  margin: 0;
  padding: 0 0 0 23px;
  color: #343d42;
  font-size: 1.6rem;
  line-height: 1.35;
}

.new-service-page .new-cust-list li:not(:last-child) {
  margin-bottom: 11px;
}

.new-service-page .new-cust-list li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: none;
  border-radius: 50%;
}

.new-service-page .new-cust-list li:nth-child(1)::before {
  background: #e4097f;
}

.new-service-page .new-cust-list li:nth-child(2)::before {
  background: #42a53b;
}

.new-service-page .new-cust-list li:nth-child(3)::before {
  background: #ffd601;
}

.new-service-page .direction__duration {
  margin: 0 0 14px;
  color: #343d42;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.new-service-page .direction__price {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  color: #0677ec;
}

.new-service-page .direction__price-label {
  margin-right: 18px;
  color: rgba(52, 61, 66, 0.55);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.new-service-page .direction__price-value {
  font-size: 5.6rem;
  font-weight: 800;
  line-height: 0.9;
}

.new-service-page .direction__price-currency {
  align-self: flex-end;
  margin-left: 8px;
  padding-bottom: 5px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.new-service-page .direction__buttons-wrap {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 0;
}

.new-service-page .direction__buttons-wrap .direction__btn {
  min-width: 144px;
  min-height: 62px;
  margin: 0;
  padding: 18px 24px;
  border-radius: 7px;
}

.new-service-page .direction__buttons-wrap .direction__btn:not(:last-child) {
  margin-right: 0;
}

.new-service-page .direction__buttons-wrap .direction__btn span {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.new-service-page .direction__buttons-wrap .btn--mod {
  min-width: 168px;
  margin-bottom: 0;
  color: #0677ec;
  background: #eaf5ff;
}

@media (max-width: 1200px) {
  .new-service-page .direction__wrap {
    grid-template-columns: minmax(360px, 1fr) minmax(430px, 1fr);
    gap: 32px;
  }

  .new-service-page .picture-direction {
    width: 430px;
    height: 430px;
    margin-left: auto;
  }

  .new-service-page .direction__right {
    min-height: 455px;
  }

}

@media (max-width: 850px) {
  .new-service-page main {
    padding-top: 100px;
  }

  .new-service-page .direction {
    padding-top: 17px;
    padding-bottom: 30px;
  }

  .new-service-page .direction .breadcrumbs {
    margin-bottom: 10px;
  }

  /* .new-service-page .direction .breadcrumbs__item {
    display: none;
  } */

  /* .new-service-page .direction .breadcrumbs__item:nth-child(2) {
    display: block;
  } */

  .new-service-page .direction .breadcrumbs__item:nth-child(2) .breadcrumbs__link {
    display: inline-flex;
    /* padding: 0; */
    color: #0677ec;
    font-size: 1.4rem;
    line-height: 1.4;
  }

  /* .new-service-page .direction .breadcrumbs__item:nth-child(2) .breadcrumbs__link::after {
    display: none;
  } */

  /* .new-service-page .direction .breadcrumbs__item:nth-child(2) .breadcrumbs__name {
    font-size: 0;
  } */

  /* .new-service-page .direction .breadcrumbs__item:nth-child(2) .breadcrumbs__name::after {
    content: "Специалисты";
    font-size: 1.4rem;
  } */

  .new-service-page .direction__wrap {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }

  .new-service-page .direction__left,
  .new-service-page .direction__right {
    width: 100%;
  }

  .new-service-page .direction__right {
    min-height: 316px;
  }

  .new-service-page .picture-direction {
    width: min(312px, calc(100vw - 62px));
    height: min(312px, calc(100vw - 62px));
    margin: 9px auto 0;
  }

  .new-service-page .picture-direction::before {
    top: 17px;
    left: -24px;
    width: 15px;
    height: 15px;
  }

  .new-service-page .picture-direction::after {
    left: 98px;
    bottom: -1px;
    width: 49px;
    height: 49px;
  }

  .new-service-page .direction__right::before {
    width: 190px;
    height: 184px;
    top: -1px;
    right: -45px;
  }

  .new-service-page .direction__right::after {
    width: 138px;
    height: 147px;
    right: auto;
    bottom: -9px;
    left: -42px;
  }

  .new-service-page .direction__right .direction__decorate {
    display: none;
  }

  .new-service-page .direction__title {
    margin-bottom: 17px;
    font-size: 3.2rem;
    line-height: 1.15;
  }

  .new-service-page .direction ul.new-cust-list {
    margin-bottom: 17px;
  }

  .new-service-page .new-cust-list li {
    padding-left: 31px;
    font-size: 1.6rem;
    line-height: 1.45;
  }

  .new-service-page .new-cust-list li:not(:last-child) {
    margin-bottom: 10px;
  }

  .new-service-page .new-cust-list li::before {
    top: 4px;
  }

  .new-service-page .direction__duration {
    margin-bottom: 19px;
    font-size: 1.8rem;
  }

  .new-service-page .direction__price {
    margin-bottom: 27px;
  }

  .new-service-page .direction__price-label {
    margin-right: 18px;
  }

  .new-service-page .direction__price-value {
    font-size: 5.2rem;
  }

  .new-service-page .direction__price-currency {
    padding-bottom: 4px;
    font-size: 2.2rem;
  }

  .new-service-page .direction__buttons-wrap {
    gap: 15px;
  }

  .new-service-page .direction__buttons-wrap .direction__btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 59px;
    padding: 15px 12px;
  }
}

@media (max-width: 374px) {
  .new-service-page .direction__buttons-wrap {
    gap: 10px;
  }

  .new-service-page .direction__buttons-wrap .direction__btn span {
    font-size: 1.25rem;
  }
}

.new-service-page .direction,
.new-service-page .direction *,
.new-service-page .direction *::before,
.new-service-page .direction *::after {
  font-family: var(--font-family);
}

@keyframes direction-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes direction-photo-in {
  from {
    opacity: 0;
    transform: translate3d(28px, 18px, 0) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes direction-bg-float-a {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(12px, -16px, 0) rotate(3deg);
  }
}

@keyframes direction-bg-float-b {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-14px, 13px, 0) rotate(-4deg);
  }
}

@keyframes direction-bg-float-c {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(8px, 10px, 0) rotate(5deg) scale(1.03);
  }
}

@keyframes direction-dot-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(1.04);
  }
}

@keyframes direction-yellow-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(10px, -8px, 0) rotate(12deg);
  }
}

.new-service-page .direction .breadcrumbs,
.new-service-page .direction__title,
.new-service-page .new-cust-list,
.new-service-page .direction__duration,
.new-service-page .direction__price,
.new-service-page .direction__buttons-wrap {
  opacity: 0;
  animation: direction-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.new-service-page .direction .breadcrumbs {
  animation-delay: 0.05s;
}

.new-service-page .direction__title {
  animation-delay: 0.14s;
}

.new-service-page .new-cust-list {
  animation-delay: 0.24s;
}

.new-service-page .direction__duration {
  animation-delay: 0.33s;
}

.new-service-page .direction__price {
  animation-delay: 0.42s;
}

.new-service-page .direction__buttons-wrap {
  animation-delay: 0.52s;
}

.new-service-page .picture-direction {
  transform-origin: 50% 58%;
  opacity: 0;
  animation: direction-photo-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.new-service-page .direction__right::before,
.new-service-page .direction__right::after,
.new-service-page .picture-direction::before,
.new-service-page .direction__decorate::before,
.new-service-page .direction__decorate::after {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.new-service-page .direction__wrap {
  position: relative;
}

.new-service-page .direction__wrap::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 23px;
  height: 25px;
  top: 64px;
  left: 51.5%;
  background: url("../img/shape-yellow.svg") center / contain no-repeat;
  pointer-events: none;
  animation: direction-yellow-float 4.8s ease-in-out 1.2s infinite;
}

.new-service-page .direction__right::before,
.new-service-page .direction__right::after {
  z-index: 1;
  background-color: transparent;
}

.new-service-page .direction__right::before {
  width: 295px;
  height: 277px;
  top: 1px;
  right: 42px;
  background-image: url("../img/shape-right-top.svg");
  border-radius: 0;
  animation: direction-bg-float-a 8.5s ease-in-out 0.4s infinite;
}

.new-service-page .direction__right::after {
  width: 208px;
  height: 215px;
  right: 77px;
  bottom: 87px;
  background-image: url("../img/shape-right-low.svg");
  background-color: transparent;
  border-radius: 0;
  animation: direction-bg-float-b 7.4s ease-in-out 0.9s infinite;
}

.new-service-page .picture-direction {
  z-index: 2;
}

.new-service-page .picture-direction::before {
  z-index: -1;
  width: 241px;
  height: 265px;
  top: 257px;
  left: -148px;
  background-image: url("../img/shape-left.svg");
  background-color: transparent;
  border-radius: 0;
  animation: direction-bg-float-c 9s ease-in-out 0.6s infinite;
}

.new-service-page .picture-direction::after {
  width: 57px;
  height: 55px;
  left: 172px;
  bottom: -9px;
  background-image: url("../img/shape-pink.svg");
  background-color: transparent;
  border-radius: 0;
  animation: direction-dot-float 4.2s ease-in-out 0.7s infinite;
}

.new-service-page .direction__right .direction__decorate {
  z-index: 3;
  right: 0;
  bottom: 211px;
  width: 62px;
  height: 59px;
  background: url("../img/shape-purple.svg") center / contain no-repeat;
  border-radius: 0;
  animation: direction-dot-float 4.9s ease-in-out 0.2s infinite;
}

.new-service-page .direction__right .direction__decorate::before {
  display: none;
}

.new-service-page .direction__right .direction__decorate::after {
  display: none;
}

.new-service-page .direction__price {
  color: var(--blue);
  font-family: var(--font-family);
}

.new-service-page .direction__price-label {
  font-family: var(--font-family);
  font-weight: 700;
}

.new-service-page .direction__price-value {
  color: var(--blue);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 50px;
  line-height: 112%;
}

.new-service-page .direction__price-currency {
  padding-bottom: 10px;
  color: var(--blue);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 112%;
}

.new-service-page .direction__buttons-wrap .direction__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  color: #fff;
  background: var(--blue);
}

.new-service-page .direction__buttons-wrap .direction__btn span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-family);
}

.new-service-page .direction__buttons-wrap .btn--mod {
  color: var(--blue);
  background: #EAF5FF;
}

.new-service-page .direction__buttons-wrap .btn--mod::before {
  background: var(--blue);
}

.new-service-page .direction__buttons-wrap .btn--mod span {
  color: var(--blue);
}

.new-service-page .direction__buttons-wrap .btn--mod:hover span {
  color: #fff;
}

.new-service-page .new-cust-list li::before {
  width: 16px;
  height: 23px;
  top: -1px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 0;
}

.new-service-page .new-cust-list li:nth-child(1)::before {
  background: transparent url("../img/list-marker-pink.svg") center / contain no-repeat;
}

.new-service-page .new-cust-list li:nth-child(2)::before {
  height: 22px;
  background: transparent url("../img/list-marker-green.svg") center / contain no-repeat;
}

.new-service-page .new-cust-list li:nth-child(3)::before {
  height: 22px;
  background: transparent url("../img/list-marker-yellow.svg") center / contain no-repeat;
}

@media (max-width: 850px) {
  .new-service-page .direction__right::before {
    width: 205px;
    height: 193px;
    top: 0;
    right: -47px;
  }

  .new-service-page .direction__right::after {
    width: 150px;
    height: 155px;
    right: auto;
    bottom: -11px;
    left: -54px;
  }

  .new-service-page .picture-direction::before {
    width: 142px;
    height: 156px;
    top: 158px;
    left: -70px;
  }

  .new-service-page .picture-direction::after {
    left: 100px;
    bottom: -20px;
    width: 49px;
    height: 47px;
  }

  .new-service-page .direction__price-value {
    font-size: 50px;
  }

  .new-service-page .direction__price-currency {
    padding-bottom: 10px;
    font-size: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .new-service-page .direction .breadcrumbs,
  .new-service-page .direction__title,
  .new-service-page .new-cust-list,
  .new-service-page .direction__duration,
  .new-service-page .direction__price,
  .new-service-page .direction__buttons-wrap,
  .new-service-page .picture-direction,
  .new-service-page .direction__right::before,
  .new-service-page .direction__right::after,
  .new-service-page .picture-direction::before,
  .new-service-page .picture-direction::after,
  .new-service-page .direction__right .direction__decorate,
  .new-service-page .direction__wrap::before {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 1200px) {

  .new-service-page .picture-direction::before {
    top: 205px;
    left: -66px;
  }

  .new-service-page .direction__right::before {
    top: -23px;
    right: -32px;
  }

  .new-service-page .direction__right .direction__decorate {
    right: -30px;
    bottom: 177px;
  }

  .new-service-page .direction__right::after {
    right: -60px;
    bottom: 110px;
  }
}

@media (max-width: 850px) {
  .direction__right {
    max-width: max-content;
    margin: 0 auto;
  }

  .new-service-page .direction__right::before {
    top: -20px;
    right: -70px;
  }

  .new-service-page .picture-direction::before {
    top: 158px;
    left: -70px;
  }

  .new-service-page .picture-direction::after {
    background-size: cover;
  }

  .new-service-page .direction__right::after {
    right: -40px;
    bottom: 65px;
    left: auto;
  }

  .new-service-page .picture-direction::after {
    scale: 0.7;
  }

  .new-service-page .direction__wrap::before {
    top: 8px;
    left: 16.5%;
  }

  .new-service-page .direction__buttons-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: max-content;
  }


}