*,
:before,
:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.container {
  margin: 0 auto;
  position: relative;
  max-width: 100%;
}

.container {
  padding: 0 20px;
}

.wrapper {
  overflow: hidden;
}

body {
  font-family: "HelveticaNeueCyr";
  color: #000;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

section {
  position: relative;
}
section:not(section.promo) {
  padding-top: 114px;
}

img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.title {
  font-family: "Bebas Neue";
  font-weight: 400;
  font-size: 40px;
  line-height: 1.24;
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 5px;
  outline: none;
  margin: 0 auto;
  width: 213px;
  max-width: 100%;
  height: 54px;
  border: none;
  line-height: 1;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.02, 0.01, 0.47, 1);
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  background: #000;
  z-index: 10;
}
.button span {
  text-align: center;
}
.button:hover {
  background: #3d3d3d;
}

.header {
  padding-top: 34px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
}
.header__logo {
  width: 52px;
  height: 50px;
  background: #CFFE94;
  position: relative;
  margin-right: 19px;
}
.header__logo svg {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 21px;
  height: 21px;
}
.header__name svg {
  width: 48px;
  height: 41px;
}

.promo {
  position: relative;
}
.promo__pics {
  position: relative;
  width: 100%;
  height: 280px;
}
.promo__pics img {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 16px;
}
.promo__pics--1 {
  width: 94px;
  transform: translate(-50%, -50%) rotate(-35deg);
  margin-left: 100px;
  margin-top: 18px;
  z-index: 5;
}
.promo__pics--2 {
  width: 124px;
  transform: translate(-50%, -50%) rotate(-8deg);
  margin-left: 35px;
  margin-top: 80px;
  z-index: 4;
}
.promo__pics--3 {
  width: 150px;
  transform: translate(-50%, -50%) rotate(20deg);
  margin-left: -68px;
  margin-top: 50px;
  z-index: 3;
}
.promo__pics--4 {
  width: 110px;
  transform: translate(-50%, -50%) rotate(8deg);
  margin-left: 53px;
  margin-top: -60px;
  z-index: 2;
}
.promo__pics--5 {
  width: 110px;
  transform: translate(-50%, -50%) rotate(-18deg);
  margin-left: -59px;
  margin-top: -70px;
  z-index: 1;
}
.promo__but {
  position: absolute;
  width: 120px;
  height: 30px;
  border-radius: 5px;
  border: 1px solid #FE2C55;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  top: 50%;
  left: 50%;
  background: #FE2C55;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
}
.promo__but--1 {
  transform: translate(-50%, -50%) rotateZ(-38deg);
  margin-left: 132px;
  margin-top: -83px;
  z-index: 1;
}
.promo__but--2 {
  transform: translate(-50%, -50%) rotateZ(8deg);
  margin-left: -95px;
  margin-top: -132px;
  z-index: 2;
}
.promo__but--3 {
  transform: translate(-50%, -50%) rotateZ(-7deg);
  margin-left: -130px;
  margin-top: 25px;
  z-index: 4;
}
.promo__but--4 {
  transform: translate(-50%, -50%) rotateZ(9deg);
  margin-left: 111px;
  margin-top: 123px;
  z-index: 5;
}
.promo__but--ico {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.promo__but--ico svg {
  display: block;
  width: 15px;
  height: 15px;
}
.promo__but--text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex: 0 0 92px;
  display: flex;
}
.promo h1 {
  font-size: 52px;
  font-family: "Bebas Neue";
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
  margin-top: 20px;
}
.promo__subtitle {
  font-weight: 400;
  padding-right: 40px;
  font-style: normal;
  font-size: 18px;
  line-height: 1.16;
  margin-top: 8px;
}
.promo .button {
  margin-top: 35px;
  margin-left: 0;
}

.agency__img,
.performance__img {
  position: relative;
}
.agency__img img,
.performance__img img {
  border-radius: 50px;
}
.agency__ico,
.performance__ico {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFF47F;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agency__ico svg,
.performance__ico svg {
  inline-size: 35px;
  aspect-ratio: 1;
}

.agency .title {
  margin-top: 35px;
  margin-bottom: 8px;
}
.agency__img {
  width: 262px;
  margin: 0 auto;
}
.agency__ico--1 {
  inline-size: 68px;
  top: 86px;
  left: -64px;
  z-index: -1;
}
.agency__ico--2 {
  inline-size: 87px;
  top: 127px;
  right: -63px;
}
.agency__ico--3 {
  inline-size: 80px;
  bottom: 14px;
  left: -55px;
}

.do .container {
  padding: 0 6px;
}
.do .title {
  text-align: center;
}
.do p {
  text-align: center;
}
.do__item {
  margin-top: 20px;
  background: #303030;
  border-radius: 43px;
}
.do__item .left {
  display: none;
}
.do__item .slide {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  padding: 40px 10px;
  border-radius: 39px;
  background: #cffe94;
  text-align: center;
  position: relative;
  z-index: 5;
}
.do__item .right,
.do__item .left {
  margin-top: -110px;
  padding: 135px 24px 41px;
  color: #fff;
  position: relative;
  text-align: left;
}

.performance .title {
  margin-top: 35px;
}
.performance p {
  margin-top: 8px;
}
.performance .button {
  margin: 35px 0 0 0;
}
.performance__ico--1 {
  inline-size: 71px;
  top: -36px;
  right: -19px;
  z-index: -1;
  transform: rotate(31deg);
}
.performance__ico--2 {
  inline-size: 65px;
  top: 75px;
  left: -29px;
}
.performance__ico--3 {
  inline-size: 79px;
  bottom: -60px;
  right: -28px;
  transform: rotate(33deg);
}

.advantages {
  text-align: center;
}
.advantages .container {
  padding: 0 6px;
}
.advantages .title {
  margin-bottom: 8px;
}
.advantages__inner {
  margin-top: 32px;
}
.advantages__item {
  margin-top: 20px;
  border-radius: 40px;
  padding: 53px 14px;
  background: #a6a1ff;
}
.advantages__item svg {
  inline-size: 32px;
  aspect-ratio: 1;
}
.advantages__item h3 {
  margin-top: 20px;
  font-weight: 500;
  font-size: 20px;
}
.advantages__item p {
  margin-top: 20px;
}

.final .container {
  padding: 0 20px;
}
.final p {
  margin-top: 8px;
  font-size: 18px;
}

.form {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}
.form__button {
  max-width: 363px;
  max-height: 363px;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 1;
  background: #fff47f;
  position: relative;
  border-radius: 50%;
  border: none;
  outline: none;
  padding: 15px;
}
.form__button span {
  position: absolute;
  font-size: 48px;
  font-family: "Bebas Neue";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.form__button svg {
  display: block;
  width: 100%;
  height: 100%;
}
.form .input {
  position: relative;
  margin: 0 auto 10px;
  max-width: 583px;
  width: 100%;
}
.form .input:not(.area) {
  height: 95px;
}
.form .input.area {
  height: 166px;
}
.form .input label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 44px;
  color: #000;
  font-family: "HelveticaNeueCyr";
  font-size: 20px;
  font-weight: 400;
  transition: 0.5s;
  pointer-events: none;
}
.form input {
  height: 100%;
  padding: 0 10px 0 44px;
}
.form .area > label {
  top: 46px;
}
.form input,
.form textarea {
  outline: none;
  border-radius: 27px;
  border: none;
  background: #f0f0f0;
  width: 100%;
  max-width: 583px;
  font-family: "HelveticaNeueCyr";
  font-size: 20px;
  font-weight: 400;
}
.form input:focus ~ label, .form input:valid:not(:placeholder-shown) ~ label, .form input:invalid:not(:placeholder-shown) ~ label,
.form textarea:focus ~ label,
.form textarea:valid:not(:placeholder-shown) ~ label,
.form textarea:invalid:not(:placeholder-shown) ~ label {
  top: 13px;
  font-size: 16px;
  font-weight: 400;
  color: #303030;
  outline: none;
}
.form input::placeholder,
.form textarea::placeholder {
  color: transparent;
}
.form input:placeholder,
.form textarea:placeholder {
  color: transparent;
}
.form input:-webkit-autofill, .form input:-webkit-autofill:focus,
.form textarea:-webkit-autofill,
.form textarea:-webkit-autofill:focus {
  transition: background-color 0s 600000s, color 0s 600000s;
}
.form textarea {
  padding: 32px 10px 0 44px;
  width: 360px;
  outline: none;
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  font-family: "HelveticaNeueCyr";
  font-size: 20px;
  font-weight: 400;
}

.footer {
  padding: 58px 0;
  font-size: 14px;
}
.footer p {
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .promo__inner {
    display: flex;
    align-items: center;
  }
  .promo__pics {
    order: 2;
  }

  .agency__inner {
    display: flex;
    align-items: center;
  }
  .agency__img {
    width: 50vw;
    max-width: 409px;
    margin-right: 60px;
  }
  .agency__descr {
    width: calc(100% - 50vw);
  }

  .performance__inner {
    display: flex;
    align-items: center;
  }
  .performance__img {
    width: 50vw;
    max-width: 727px;
    margin-left: 60px;
    order: 2;
  }
  .performance__descr {
    width: calc(100% - 50vw);
  }

  .advantages__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .advantages__item {
    flex: 0 1 calc(50% - 10px);
  }

  .form {
    display: flex;
    flex-direction: row;
  }
  .form__left {
    width: calc(100% - 363px);
    margin-right: 20px;
  }
}
@media screen and (min-width: 991px) {
  .title {
    font-size: 64px;
  }

  body {
    font-size: 24px;
  }

  section:not(section.promo),
section:not(section.header) {
    padding-top: 174px;
  }

  .header {
    position: fixed;
  }
  .header__name svg {
    width: 66px;
    height: 57px;
  }
  .header__logo {
    width: 69px;
    height: 67px;
    margin-right: 23px;
    box-shadow: 1px 1px 2px #fff;
  }
  .header__logo svg {
    top: -8px;
    right: -8px;
    width: 25px;
    height: 25px;
  }

  .promo__pics {
    height: 380px;
    flex: 2;
  }
  .promo__pics img {
    border-radius: 24px;
  }
  .promo__pics--1 {
    width: 136px;
    margin-left: 168px;
  }
  .promo__pics--2 {
    width: 180px;
    margin-top: 90px;
  }
  .promo__pics--3 {
    width: 202px;
    margin-left: -135px;
    margin-top: 26px;
  }
  .promo__pics--4 {
    width: 168px;
    margin-top: -92px;
    margin-left: 68px;
  }
  .promo__pics--5 {
    width: 144px;
    margin-top: -100px;
    margin-left: -61px;
  }
  .promo__but {
    width: 170px;
    height: 40px;
    border-radius: 7px;
  }
  .promo__but--1 {
    margin-left: 160px;
    margin-top: -100px;
  }
  .promo__but--2 {
    margin-left: -106px;
    margin-top: -185px;
  }
  .promo__but--3 {
    margin-left: -255px;
    margin-top: 6px;
  }
  .promo__but--4 {
    margin-left: 120px;
    margin-top: 161px;
  }
  .promo__but--ico svg {
    width: 21px;
    height: 21px;
  }
  .promo__but--text {
    flex-basis: 130px;
    font-size: 20px;
  }
  .promo__descr {
    width: 754px;
    flex: 2;
  }
  .promo h1 {
    font-size: 96px;
    margin: 0;
  }
  .promo__subtitle {
    font-size: 32px;
  }

  .agency__img {
    margin-right: 100px;
  }
  .agency__ico svg {
    inline-size: 46px;
  }
  .agency__ico--1 {
    inline-size: 107px;
    top: 133px;
    left: -100px;
    transform: rotate(-16deg);
  }
  .agency__ico--2 {
    inline-size: 136px;
    top: 197px;
    right: -98px;
    transform: rotate(16deg);
  }
  .agency__ico--3 {
    inline-size: 125px;
    bottom: 23px;
    left: -86px;
  }

  .do__item {
    position: relative;
    display: flex;
  }
  .do__item:hover .slide {
    transform: translateX(-100.1%);
  }
  .do__item .left {
    display: block;
  }
  .do__item .left,
.do__item .right {
    width: 50%;
    margin: 0;
    padding: 41px 50px;
    font-size: 20px;
    line-height: 1.5;
  }
  .do__item .slide {
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.7s ease;
    z-index: 1;
    font-size: 32px;
    font-weight: 500;
    color: #000;
  }

  .performance__ico svg {
    inline-size: 51px;
  }
  .performance__ico--1 {
    inline-size: 107px;
    top: -59px;
    right: -22px;
    transform: rotate(0deg);
  }
  .performance__ico--2 {
    inline-size: 95px;
    top: 194px;
    left: -51px;
  }
  .performance__ico--3 {
    inline-size: 107px;
    right: -35px;
    transform: rotate(0deg);
  }

  .advantages__item {
    padding: 32px 36px;
  }
  .advantages__item p {
    font-size: 18px;
  }

  .form {
    align-items: center;
  }
  .form__left {
    margin-right: 20px;
    display: flex;
    flex-wrap: wrap;
    max-width: 980px;
    column-gap: 20px;
    row-gap: 39px;
    align-content: flex-start;
  }
  .form__left .input {
    width: calc(50% - 10px);
    margin: 0;
  }
  .form__left .input.area {
    width: 100%;
    max-width: none;
  }
  .form__left .input.area textarea {
    width: 100%;
  }

  .footer {
    padding-top: 157px;
    padding-bottom: 44px;
  }
  .footer .container {
    display: flex;
    flex-direction: column;
  }
  .footer p {
    display: inline-block;
    margin-left: auto;
  }
}
@media screen and (min-width: 1600px) {
  .container:not(.promo .container) {
    padding: 0;
  }

  .container {
    padding: 0;
    width: 1480px;
  }

  .button {
    width: 230px;
    height: 62px;
  }

  .promo {
    padding-bottom: 47px;
  }
  .promo h1 {
    line-height: 1.1;
  }
  .promo .title {
    margin-top: 0;
  }
  .promo__inner {
    justify-content: space-between;
  }
  .promo__pics {
    flex: 1;
  }
  .promo__subtitle {
    padding-right: 0;
    margin-top: 17px;
  }
  .promo .button {
    margin-top: 58px;
  }

  .agency__inner {
    justify-content: space-between;
    padding-left: 127px;
  }
  .agency__descr {
    width: 730px;
  }
  .agency__descr p {
    margin-top: 36px;
  }
  .agency__img {
    margin: 0;
  }

  .do {
    padding-bottom: 78px;
  }
  .do__subtitle {
    width: 730px;
    margin: 8px auto 72px;
  }
  .do__item {
    margin-top: 10px;
  }

  .performance {
    padding-bottom: 54px;
  }
  .performance .title {
    margin: 0;
  }
  .performance p {
    margin-top: 36px;
  }
  .performance__inner {
    justify-content: space-between;
  }
  .performance__descr {
    width: 625px;
  }
  .performance__img {
    margin: 0;
  }
  .performance .button {
    margin-top: 40px;
  }
  .performance__ico--1 {
    top: -71px;
  }

  .advantages {
    padding-bottom: 77px;
  }
  .advantages__subtitle {
    width: 698px;
    margin: 8px auto 0;
  }
  .advantages__inner {
    margin-top: 72px;
  }
  .advantages__item {
    margin: 0;
    flex: none;
    width: 355px;
  }

  .final .title {
    width: 855px;
  }
  .final p {
    margin-top: 26px;
    font-size: 24px;
  }
  .final .form {
    margin-top: 47px;
  }
  .final .form__button {
    margin: 0;
    max-width: 480px;
    max-height: 480px;
    padding: 25px;
    cursor: pointer;
  }
  .final .form__button:hover svg {
    animation-play-state: running;
  }
  .final .form__button svg {
    transition: transform 0.2s;
    animation: rotateSvg 10s linear infinite paused;
  }
  .final .form__button span {
    font-size: 64px;
  }
  .final .form .input label {
    font-size: 24px;
  }
  .final .form .input:not(.area) {
    height: 142px;
  }
  .final .form .area {
    height: 205px;
  }
  .final .form textarea {
    padding-top: 63px;
  }
  .final .form .area > label {
    top: 63px;
  }
  .final .form input,
.final .form textarea {
    border-radius: 40px;
    font-size: 24px;
  }
  .final .form input:hover, .final .form input:focus,
.final .form textarea:hover,
.final .form textarea:focus {
    background: #e2e2e2;
  }
  .final .form input:focus ~ label, .final .form input:valid:not(:placeholder-shown) ~ label, .final .form input:invalid:not(:placeholder-shown) ~ label,
.final .form textarea:focus ~ label,
.final .form textarea:valid:not(:placeholder-shown) ~ label,
.final .form textarea:invalid:not(:placeholder-shown) ~ label {
    font-size: 20px;
    top: 25px;
  }
}
@keyframes rotateSvg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.modal {
  top: -100%;
  left: -100%;
  opacity: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: opacity 0.25s;
}
.modalOpen .modal {
  top: 0;
  left: 0;
  opacity: 1;
}
.modalClose .modal {
  top: 0;
  left: 0;
  opacity: 0;
}
.modal__shadow {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.9);
  z-index: 1;
  cursor: pointer;
}
.modalOpen .modal__shadow, .modalClose .modal__shadow {
  position: fixed;
}
.modal__wrap {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 450px;
  max-height: calc(100% - 30px);
  height: initial;
  background: #1D1D1D;
  border-radius: 8px;
  overflow-y: auto;
}
.modal__box {
  padding: 20px;
}
.modal__text {
  font-size: 16px;
  color: #fff;
  text-align: center;
}
.modal__close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.modal__close:before, .modal__close:after {
  position: absolute;
  content: "";
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateZ(-45deg);
  background: #E6E6E6;
  opacity: 1;
  transition: background 0.25s;
}
.modal__close:after {
  transform: translate(-50%, -50%) rotateZ(45deg);
}
.modal__close:hover:before, .modal__close:hover:after {
  background: #5e5e5e;
}
