@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-VariableFont_wght.ttf');
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #fff;
  background-color: #000000;
}
p,
h1,
h2,
h3,
button,
input,
ul,
li,
a {
  margin: 0;
  padding: 0;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  font-weight: inherit;
  text-align: inherit;
}
ul {
  list-style: none;
}
input {
  border: none;
}
button {
  border: none;
  outline: none;
}
section {
  margin-bottom: 140px;
}
input:hover,
input:focus {
  outline: #42e539 solid;
}
input.error {
  outline: #e53939 solid;
}
input:disabled {
  background: #e6e6e6;
}
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}
.hero {
  margin-bottom: 0;
}
.btn {
  border-radius: 50px;
  padding: 20px 50px;
  background: #e53939;
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover {
  background: #db2f2f;
}
.btn:active {
  background: #c71b1b;
}
.btn:disabled {
  background: #d6d6d6;
}
.text--red {
  color: #e53939;
  position: relative;
}
.text--strike::before {
  display: inline-block;
  position: absolute;
  right: -1px;
  top: 30px;
  content: '';
  height: 2px;
  width: 98%;
  background: #e53939;
  box-shadow: 0 2px 0 0 #000;
}
.strike--apple::before {
  right: 3px;
}
/* .text--strike {
  height: 2px;
  width: 100px;
  background: #e53939;
  box-shadow: 0 2px 0 0 #000;
} */
.container {
  max-width: 1280px;
  padding: 0 20px;
  margin: 0 auto;
}
.section__title {
  font-weight: 600;
  font-size: 48px;
  text-transform: uppercase;
  text-align: center;
  max-width: 706px;
  margin: 0 auto;
  margin-bottom: 50px;
}
.section__title--task {
  max-width: 1090px;
}
.section__title--companies {
  max-width: 1239px;
  margin-bottom: 20px;
}
.section__title--cases {
  max-width: 1239px;
}
/*1231231*/

.header__menu li {
  margin-left: 40px;
  position: relative;
}

/*12312313*/
.header {
  padding: 3px 0 0;
  position: relative;
  width: 100vw;
  z-index: 9;
  background-color: #000;
}

.logo{
  display: block;
  max-height: 71px;
  max-width: 277px;
}


/* preloader */
.header::before {
  content: '';
  position: fixed;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100vh;
  background: #000;
  z-index: 5;
  animation: c 0.5s ease-in-out 2.5s forwards alternate;
}
@keyframes c {
  85% {
    opacity: 0;
    z-index: -1;
  }
  to {
    opacity: 0;
    z-index: -1;
    height: 95px;
  }
}
.logo{
  opacity: 0;
  animation: d 1s ease-in-out forwards alternate;
  position: relative;
  z-index: 5;
}
@keyframes d {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    
  }
}
.logo img {
  width: 500px;
  max-width: none;
  animation: e 2s ease-in-out 1.5s forwards alternate;
  transform: translate(22vw, calc(50vh - 100%));
}
@keyframes e {
  0% {
    width: 500px;
    transform: translate(22vw, calc(50vh - 100%));
  }
  to {
    width: 277px;
    transform: translate(0);
  }
}
/* preloader */
.menu__item--contacts{
  display: none;
  gap: 20px;
}
.header__contacts{
  display: flex;
  gap: 20px;
  align-items: center;
}
.header__phone{
  display: block;
  font-weight: 600;
font-size: 12px;
text-align: right;
}
.header__telegram{
  padding: 2px;
}
.header__mail{
  display: block;
  font-weight: 400;
font-size: 12px;
text-transform: uppercase;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.header__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
}
.section__line {
  width: 100%;
  height: 1px;
  background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(2, 2, 2) 100%);
  opacity: 0.8;
}
.header__burger {
  display: none;
}

.hero {
  overflow-x: hidden;
  background-image: url(../img/logotypes.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 148px;
  padding-bottom: 230px;
}
.hero__btn {
  display: block;
  max-width: 244px;
  margin: 0 auto;
}
.hero__inner {
  background-image: url(../img/hero-text-bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-width: 1251px;
  text-align: center;
  padding: 102px 85px 33px;
}
.hero__title {
  font-weight: 600;
  font-size: 85px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e0eeee;
  margin-bottom: 20px;
}
.hero__subtitle {
  line-height: 140%;
  max-width: 468px;
  margin: 0 auto 43px;
}
.conditions {
  margin-top: 100px;
}
.conditions__line {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.conditions__line:first-of-type {
  margin-bottom: 20px;
}
.conditions__line--top .conditions__item {
  padding: 40px 41px 39px 40px;
}
.conditions__line--bottom .conditions__item {
  padding: 41px 26px 39px 40px;
}
.conditions__item--special {
  max-width: 445px;
}
.conditions__item {
  background: #242424;
  opacity: 0.8;
  line-height: 140%;
  max-width: 559px;
}
.conditions__help {
  background: #fff;
  padding: 35px 36px 45px 45px;
}
.conditions__help-text,
.steps__help-text {
  font-weight: 500;
  font-size: 30px;
  line-height: 110%;
  color: #000;
  margin-bottom: 36px;
}
.step {
  margin-bottom: 50px;
}
.step__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid #ffffff4d;
  padding: 20px 55px 20px 74px;
}
.step__top-left {
  display: flex;
  gap: 75px;
  align-items: center;
}
.step__text {
  margin-top: 25px;
}
.step__title {
  font-weight: 500;
  font-size: 30px;
  line-height: 110%;
  margin-bottom: 8px;
}
.step__description {
  line-height: 140%;
  opacity: 0.8;
  max-width: 564px;
  margin-bottom: 33px;
}
.step__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.step__content.open {
  max-height: 500px; /* Увеличьте это значение в зависимости от контента */
}
.step__btn {
  white-space: nowrap;
  background: #242424;
  border-radius: 0;
  padding: 35px 80px;
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  transition: background .3s linear;
  cursor: pointer;
  width: 281px;
  height: 90px;
}

.step__btn.active {
  background-color: #e53939; /* Красный фон для активной кнопки */
  border: 1px solid #fff;
}

.step__btn img {
  transition: transform 0.5s ease;
}

.step__btn.active img {
  transform: rotate(-180deg); /* Поворот галочки */
}

.step__top {
  transition: background-color 0.5s ease;
}

.step.active .step__top{
  border: none;
}
.step.active .step__line{
  display: block;
}
.step__menu{
  columns: 2;
  column-gap: 60px;
}
.step__menu li{
  break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 15px;
}
.step__item::before{
  content: url(../img/list-circle-white.svg) !important;
  width: 10px;
  height: 10px;
}
.step__top.active + .step__content{
  background-color: #e53939;
}

.step__line{
  height: 1px;
  max-width: 1110px;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  opacity: 0.2;
  margin-top: 10px;
  display: none;
}

.step {
  transition: background-color 0.5s ease; /* Плавный переход фона всей карточки */
}

.step.active {
  background-color: #e53939; /* Красный фон для всей карточки */
}

.step__img {
  max-width: 505px;
}
.step__left {
  width: 100%;
  /*max-width: 715px;*/
}
.step__card {
  padding: 44px 55px 46px 56px;
  margin-bottom: 15px;
  /*height: calc(100% - 44px);*/
}
.step__subtitle,
.cases__subtitle {
  line-height: 140%;
  font-weight: 700;
  margin-bottom: 12px;
}
.step__item,
.cases__list-item {
  line-height: 140%;
  margin-bottom: 4px;
  opacity: 0.8;
}
.step__item:last-child {
  margin-bottom: 0;
}
.step__item::before,
.cases__list-item::before {
  /* display: inline-block; */
  content: url(../img/icons/list-circle.svg);
  margin-right: 9px;
  height: 28px;
}
.step__arrows {
  text-align: right;
  max-height: 14px;
}
.step__arrow {
  height: 14px;
  background: none;
  cursor: pointer;
}
.step__arrow:first-of-type {
  margin-right: 24.5px;
}
.steps__help {
  background: #fff;
  padding: 40px 45px;
}
.steps__form,
.work__form {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.section__input {
  border-radius: 50px;
  padding: 15.5px 30px;
  background: #e6e6e6;
  width: 100%;
  color: #000;
  max-width: 283px;
}
.section__input::placeholder {
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  text-transform: uppercase;
  opacity: 0.6;
}
.steps__btn {
  max-width: 243px;
  width: 100%;
  text-align: center;
}
.task__circles {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.circle__big {
  max-width: 843px;
  max-height: 843px;
  width: 70vw;
  height: 70vw;
  border-radius: 100%;
  background: radial-gradient(
    65.51% 67.84% at 50% 50%,
    rgb(0, 0, 0) 0%,
    rgba(229, 57, 57, 0.3) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.circle__medium {
  width: 50vw;
  height: 50vw;
  max-width: 577px;
  max-height: 577px;
  border-radius: 100%;
  background: radial-gradient(
    67.84% 67.84% at 50% 50%,
    rgb(0, 0, 0) 0%,
    rgba(229, 57, 57, 0.5) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.circle__small {
  width: 25vw;
  height: 25vw;
  max-width: 303px;
  max-height: 303px;
  border-radius: 100%;
  background: #e53939;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.task__text {
  font-weight: 500;
  font-size: 30px;
  line-height: 110%;
  text-align: center;
  position: absolute;
}

.circle__medium > .task__text {
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.circle__big > .task__text {
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.companies__hint {
  line-height: 140%;
  text-align: center;
  color: #e0eeee;
  margin-bottom: 43px;
}
.companies__cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.companies__card {
  border: 1px solid #ffffff4d;
  padding: 68px 68px 42px;
  text-align: center;
}
.companies__logo {
  margin-bottom: 10px;
}
.companies__name {
  font-weight: 400;
  font-size: 24px;
  line-height: 110%;
  text-align: center;
  color: #e0eeee;
  opacity: 0.7;
  margin-bottom: 20px;
}
.companies__text {
  font-weight: 400;
  font-size: 38px;
  text-align: center;
  color: #e0eeee;
  max-width: 779px;
  margin: 0 auto;
}
.companies__text--harley {
  max-width: 985px;
}
.companies__text--disney {
  max-width: 895px;
}

.work__num {
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  margin-bottom: 4px;
  color: transparent;
  -webkit-text-stroke: 1.25px #e53939;
  text-stroke: 1.25px #e53939;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.work__item {
  background: #1d1d1d;
  padding: 30px 40px;
}
.work__text {
  line-height: 140%;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
}
.work__btn {
  width: 100%;
  max-width: 243px;
  text-align: center;
}
.cases__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* justify-content: space-between; */
  margin-bottom: 40px;
}
.cases__item {
  border: 1px solid #ffffff4d;
  padding: 48px 45px 48px 38px;
  width: 100%;
}
.cases__logo {
  display: block;
  /* height: 7f0px; */
}
.cases__item--first .cases__logo {
  margin-bottom: 15px;
}
.cases__item--third .cases__logo {
  margin-bottom: 30px;
}
.cases__item--fourth .cases__logo {
  margin-bottom: 15px;
}
.cases__item--fifth .cases__logo,
.cases__item--sixth .cases__logo {
  margin-bottom: 40px;
}
.cases__item--third .cases__description {
  max-width: 310px;
}
.cases__description {
  line-height: 140%;
  opacity: 0.8;
  max-width: 255px;
  margin-bottom: 40px;
}
.cases__list {
  max-width: 315px;
}
.cases__list:first-of-type {
  margin-bottom: 34px;
}
.cases__btn {
  display: block;
  margin: 0 auto;
  max-width: 280px;
  text-align: center;
}
.cases__logo--manyhr {
  margin-top: -30px;
  margin-left: -21px;
}
.cases__logo--manyhr {
  margin-bottom: 15px;
}
.cases__description--manyhr {
  margin-top: -37px;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.advantages__item {
  background: #1d1d1d;
  padding: 40px 61px 40px 78px;
  text-align: center;
}
.advantages__item img {
  margin-bottom: 10px;
}
.work__text {
  line-height: 140%;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
}
.help__inner {
  background: #fff;
  padding: 50px 70px 70px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}
.help__left {
  max-width: 447px;
}
.help__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 100%;
  color: #000;
  margin-bottom: 20px;
}
.help__text,
.help__info-text {
  line-height: 140%;
  color: #000;
  opacity: 0.8;
  margin-bottom: 50px;
}
.help__info-box {
  display: flex;
  align-items: flex-end;
  gap: 25px;
}
.help__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.help__info-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: #000;
  margin-bottom: 7px;
}
.help__info-text {
  margin-bottom: 0;
}
.help__right {
  width: 512px;
}
.help__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section__input--help {
  background: #f5f5f5;
  max-width: none;
}
.help {
  margin-bottom: 80px;
}
.help__btn {
  text-align: center;
}

.footer__inner {
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
  max-width: 1003px;
}
.footer__logo {
  margin-bottom: 35px;
}
.footer__text {
  line-height: 140%;
  opacity: 0.8;
}
.footer__text:first-of-type {
  margin-bottom: 11px;
}
.footer__menu {
  display: flex;
  gap: 28px;
  margin-top: 25px;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  text-transform: uppercase;
  color: #fff;
  flex-direction: column;
}
.footer__subtitle {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer__menu--second {
  font-weight: 300;
  font-size: 18px;
  line-height: 140%;
  color: #fff;
  opacity: 0.8;
  text-transform: none;
  gap: 10px;
}
.task__quote {
  display: flex;
  align-items: center;
  font-style: italic;
  font-weight: 300;
  font-size: 40px;
  line-height: 140%;
  text-align: center;
  justify-content: center;
  gap: 8px;
}
.task__quote-text {
  max-width: 660px;
}

.inspiration__inner {
  background: #e53939;
  padding: 82px 105px;
}
.inspiration__text {
  font-weight: 600;
  font-size: 48px;
  text-transform: uppercase;
  color: #fff;
  max-width: 864px;
  margin-bottom: 50px;
}
.inspiration__btn {
  background: #000;
}
.text--black {
  color: #000;
}

.section__title--team {
  max-width: 1000px;
}

.team-section {
  background: #000000;
}
.team-section__wrap {
  display: flex;
  justify-content: space-between;
  /*margin-bottom: 40px;*/
  max-width: 800px;
  margin: 0 auto 80px;
}
.team__item {
  /* width: 285px !important; */
  min-width: 237px;
}
.team__content {
  position: relative;
  height: 285px;
  margin-bottom: 30px;
  border-radius: 4px;
  transition: all 0.4s;
  cursor: pointer;
}

.team__content:hover .team__desc {
  opacity: 100;
}
.team__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
}

.team__desc {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 80px 25px 0;
  background: rgba(28, 28, 28, 0.63);
  font-size: 16px;
  color: #fafafa;
  opacity: 0;
  transition: all 0.4s;
  line-height: 130.9%;
}

.team__name {
  margin-bottom: 15px;
  font-size: 27px;
  font-weight: 600;
  line-height: 130.9%;
}
.team__text {
  max-width: 430px;
  margin: 0 auto;
  text-align: center;
}

.team__text b {
  font-weight: 600;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #ff8a00;
  background-image: linear-gradient(230deg, #ffc700, #ff8a00);
}
/* .step__slider {
  overflow: hidden;
  width: 100%;
}
.step__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.step__slide{
  flex: 0 0 100%;
} */
/* .step__slide-img {
  width: 100%;
} */
.step__slider {
  position: relative;
  width: 100%;
  max-width: 505px;
  height: 298px;
}

.step__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.step__slide.active {
  opacity: 1;
  z-index: 1;
}

.solution {
  margin-top: 8.06rem;
}

.solution-content {
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.solution_inner {
  grid-column-gap: 2.08rem;
  grid-row-gap: 2.08rem;
  /*background-color: #0f0f0f;*/
  /*border-radius: 1.39rem;*/
  flex-flow: column;
  padding: 2.85rem 1.39rem 3.85rem 0.33rem;
  display: flex;
  position: relative;
}

.solution_inner._2 {
  background-color: white;
  padding-left: 2.39rem;
  /*padding-right: 8.33rem;*/
  overflow: hidden;
}

.solution_title {
  text-transform: uppercase;
  font-size: 3.13rem;
  font-weight: 700;
  line-height: 1.2;
}

.solution-list {
  grid-column-gap: 1.04rem;
  grid-row-gap: 1.04rem;
  flex-flow: wrap;
  padding-right: 1.74rem;
  display: flex;
}

.solution-item {
  background-color: #1d1d1d;
  white-space: nowrap;
  border-radius: 138.89rem;
  justify-content: center;
  align-items: center;
  padding: 1.04rem;
  display: flex;
}

.solution-item.is-white {
  background-color: #e53939;
  color: white;
}

.solution-svg-abs {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: -7.5rem auto auto -3.13rem;
}

.solution-arrow {
  width: 1.32rem;
  height: 1.32rem;
  display: none;
}
