@font-face {
  font-family: "Inter";
  src: url("../fonts/woff2/Inter-Regular.woff2") format("woff2"),
    url("../fonts/woff/Inter-Regular.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/woff2/Inter-SemiBold.woff2") format("woff2"),
    url("../fonts/woff/Inter-SemiBold.woff") format("woff");
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/woff2/Inter-Bold.woff2") format("woff2"),
    url("../fonts/woff/Inter-Bold.woff") format("woff");
  font-weight: 700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter";
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
}

body,
a {
  color: #000;
}

a {
  display: inline-block;
  text-decoration: none;
  outline: none;
}

input,
textarea {
  outline: none;
}

label {
  cursor: pointer;
}

ul,
ol,
li {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

li {
  display: inline-block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  outline: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.header {
  flex: 0 0 auto;
}

.content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.footer {
  flex: 0 0 auto;
}

.container {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 25px;
}

.logo {
  display: flex;
}

.logo img {
  max-width: 100px;
  max-height: 40px;
}

.header {
  padding: 21px 0 23px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__content {
  display: flex;
  align-items: center;
}

.header__content-item {
  margin-left: 37px;
}

.address-link,
.phone-link {
  color: #2f2f2f;
  font-size: 18px;
  line-height: 22px;
  position: relative;
  padding-left: 18px;
}

.address-link::before,
.phone-link::before {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.address-link::before {
  left: 0;
  top: 2px;
  width: 11px;
  height: 16px;
  background-image: url("../img/icons/address.svg");
}

.phone-link::before {
  top: 0px;
  left: -4px;
  width: 18px;
  height: 18px;
  background-image: url("../img/icons/phone.svg");
  transition: transform;
}

.phone-link:hover::before {
  animation: rotate 0.3s linear;
}

.btn {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  background-color: #5d42ff;
  border-radius: 97px;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #5239dd;
}

.header__address,
.header__phone,
.header__btn {
  font-size: 14px;
  line-height: 17px;
}

.header__address {
  max-width: 312px;
}

.header__btn {
  padding: 12px 18px;
}

.main {
  padding: 70px 0 77px;
  position: relative;
  overflow: hidden;
}

.main::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 61.6%;
  min-width: 770px;
  height: calc(100% + 20px);
  background: #1f2028;
  border-radius: 0px 300px 300px 0px;
  z-index: 1;
}

.main::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -115px;
  top: -109px;
  width: 627px;
  height: 414px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/static/main-dots.png");
}

.main__img {
  position: absolute;
  display: flex;
  height: 100%;
  width: 59.5%;
  top: 0;
  right: 0;
}

.main__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main__content {
  max-width: 767px;
  color: #fff;
  position: relative;
  z-index: 4;
}

.title {
  font-size: 56px;
  line-height: 68px;
}

.main__title {
  margin-bottom: 19px;
}

.main__text {
  margin-bottom: 36px;
  max-width: 500px;
}

.main__btn {
  padding: 12px 36px;
}

.gear {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation-name: rotateGear;
  animation-iteration-count: infinite;
  animation-duration: 4s;
  animation-timing-function: linear;
}

.gear_reverse {
  animation-name: rotateGearReverse;
}

.main__gear {
  z-index: 3;
}

.main__gear._1 {
  left: -76px;
  top: -57px;
  width: 196px;
  height: 196px;
  background-image: url("../img/static/gear-1.svg");
  animation-duration: 9s;
}

.main__gear._2 {
  left: 98px;
  top: -15px;
  width: 47px;
  height: 51px;
  background-image: url("../img/static/gear-2.svg");
}

.main__gear._3 {
  top: -50px;
  left: 49%;
  width: 127px;
  height: 127px;
  background-image: url("../img/static/gear-4.svg");
  animation-duration: 8s;
}

.main__gear._4 {
  left: 45.7%;
  bottom: 48px;
  width: 60px;
  height: 60px;
  background-image: url("../img/static/gear-3.svg");
  animation-duration: 5s;
}

.main__gear._5 {
  left: 50.8%;
  bottom: 41px;
  width: 32px;
  height: 34px;
  background-image: url("../img/static/gear-2.svg");
}

.advantages {
  padding-top: 120px;
  padding-bottom: 27px;
  position: relative;
  overflow: hidden;
}

.advantages__inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.advantages__item {
  padding: 28px 22px 25px;
  min-height: 223px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  grid-column-end: span 2;
}

.advantages__item:nth-child(5n - 4) {
  background-color: #be6666;
}

.advantages__item:nth-child(5n - 3) {
  background-color: #9b5cc1;
}

.advantages__item:nth-child(5n - 2) {
  background-color: #c65c3b;
}

.advantages__item:nth-child(5n - 1) {
  background-color: #62af5c;
}

.advantages__item:nth-child(5n) {
  background-color: #7579d0;
}

.advantages__item:nth-child(5n - 1),
.advantages__item:nth-child(5n) {
  grid-column-end: span 3;
  padding-left: 33px;
  padding-right: 33px;
}

.advantages__item-icon {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 50px;
  margin-bottom: 15px;
}

.advantages__item-icon img {
  max-height: 100%;
}

.advantages__item-title {
  font-weight: 600;
  margin-bottom: 5px;
  opacity: 0.7;
}

.advantages__gear._1 {
  top: -36px;
  right: -63px;
  width: 249px;
  height: 249px;
  background-image: url("../img/static/gear-5.svg");
  animation-duration: 13s;
}

.advantages__gear._2,
.advantages__gear._3 {
  width: 32px;
  height: 34px;
  background-image: url("../img/static/gear-6.svg");
}

.advantages__gear._2 {
  left: 19px;
  bottom: 222px;
  animation-duration: 5s;
}

.advantages__gear._3 {
  left: 52px;
  bottom: 183px;
  animation-duration: 5s;
}

.advantages__gear._4 {
  bottom: 0;
  left: -57px;
  width: 196px;
  height: 196px;
  background-image: url("../img/static/gear-7.svg");
  animation-duration: 9s;
}

.contacts {
  padding-top: 96px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.contacts::before {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -219px;
  width: 627px;
  height: 414px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/static/contacts-dots.png");
}

.contacts__inner {
  position: relative;
  z-index: 2;
}

.contacts__title {
  margin-bottom: 15px;
}

.contacts__info {
  max-width: 415px;
  margin-bottom: 30px;
}

.contacts__info-item + .contacts__info-item {
  margin-top: 16px;
}

.contacts__form {
  display: flex;
  align-items: flex-end;
  margin: -15px;
}

.contacts__form-inputs {
  display: flex;
}

.contacts__form .input-wrapper {
  max-width: 277px;
  width: 100%;
}

.input-label {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  margin-bottom: 11px;
  display: inline-block;
}

.input-wrapper .input {
  width: 100%;
  border: 1px solid #d3cae1;
  border-radius: 4px;
  height: 46px;
  font-size: 16px;
  line-height: 19px;
  color: #2f2f2f;
  padding: 13px 17px;
  transition: border 0.2s ease;
}

.input-wrapper._error .input {
  border: 1px solid #e73434;
}

.input-wrapper .input:hover,
.input-wrapper .input:focus {
  border: 1px solid #2f2f2f;
}

.contacts__form-btn {
  padding: 12px 36px;
  max-width: 279px;
  width: 100%;
  text-align: center;
}

.contacts__form-item {
  margin: 15px;
}

.contacts__gear {
  z-index: 1;
}

.contacts__gear._1 {
  top: 34px;
  right: -129px;
  width: 302px;
  height: 302px;
  background-image: url("../img/static/gear-7.svg");
  animation-duration: 12s;
}

.contacts__gear._2 {
  top: 61px;
  left: 445px;
  width: 82px;
  height: 82px;
  background-image: url("../img/static/gear-8.svg");
  animation-duration: 5s;
}

.contacts__gear._3 {
  top: 65px;
  left: 502px;
  width: 32px;
  height: 34px;
  background-image: url("../img/static/gear-6.svg");
  animation-duration: 5s;
}

.footer {
  padding: 17px 0 27px;
  background-color: #212121;
}

.footer,
.footer a {
  color: #b2b2c2;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  line-height: 17px;
}

.footer__logo {
  margin-bottom: 18px;
}

.footer__links {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.footer__links-item + .footer__links-item {
  margin-top: 8px;
}

.footer__links-link {
  transition: color 0.2s ease;
}

.footer__links-link:hover {
  color: #fff;
}

.footer__copyright span {
  display: inline-block;
  margin-left: 8px;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.showed {
  opacity: 1;
}

.modal__inner,
.modal__box {
  max-width: 460px;
  width: 100%;
}

.modal__inner {
  max-height: 100%;
  overflow: auto;
}

.modal__inner::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.modal__box {
  background-color: #fff;
  min-height: 500px;
  border-radius: 10px;
  padding: 35px;
  position: relative;
}

.close {
  position: absolute;
  top: 42px;
  right: 25px;
  width: 18px;
  height: 18px;
}

.close::before,
.close::after {
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  height: 24px;
  width: 2px;
  background-color: #2f2f2f;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.close::before {
  transform: rotate(-45deg);
}

.close::after {
  transform: rotate(45deg);
}

.close:hover::before,
.close:hover::after {
  background-color: #000;
}

.modal__body {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.modal__body.hide {
  opacity: 0;
}

.modal__title {
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal__text {
  margin-bottom: 24px;
}

.modal__form-item + .modal__form-item {
  margin-top: 24px;
}

.modal__form-btn {
  padding: 12px 36px;
  width: 100%;
  margin: 0 auto;
  margin-top: 35px;
}

.modal__thanks {
  display: flex;
  justify-content: center;
  margin-top: 65px;
}

.modal__thanks img {
  width: 130px;
  height: 130px;
}

.module {
  display: none;
}

@media (max-width: 1366px) {
  .main__gear._1 {
    top: -90px;
    left: -104px;
  }

  .main__gear._2 {
    top: 8px;
    left: 89px;
  }
}

@media (max-width: 1150px) {
  .header__address {
    max-width: 260px;
  }

  .contacts__form {
    flex-wrap: wrap;
  }

  .advantages__gear._2,
  .advantages__gear._3 {
    display: none;
  }

  .advantages__gear._4 {
    right: -57px;
    left: auto;
  }

  .advantages {
    padding-bottom: 120px;
  }

  .contacts {
    padding-top: 0;
  }

  .contacts__gear._1 {
    width: 196px;
    height: 196px;
    right: -57px;
    top: 0;
  }
}

@media (max-width: 1024px) {
  .title {
    font-size: 46px;
    line-height: 55px;
  }

  .main__content {
    max-width: 580px;
  }

  .main::before {
    min-width: 650px;
  }

  .main::after {
    left: -282px;
  }

  .main__gear._3 {
    left: auto;
    right: -35px;
  }

  .advantages__item {
    grid-column-end: span 3;
  }

  .advantages__item:nth-child(5n - 1),
  .advantages__item:nth-child(5n) {
    padding-left: 22px;
    padding-right: 22px;
  }

  .contacts::before {
    right: -310px;
  }
}

@media (max-width: 900px) {
  .contacts__gear._1 {
    display: none;
  }

  .advantages__gear._4 {
    bottom: 35px;
  }

  .contacts::before {
    right: -400px;
  }

  .contacts__gear._2 {
    left: 470px;
  }

  .contacts__gear._3 {
    left: 540px;
  }
}

@media (max-width: 850px) {
  .header__address {
    display: none;
  }
}

@media (max-width: 768px) {
  .header__content-item {
    margin-left: 25px;
  }

  .logo img {
    max-width: 90px;
    max-height: 30px;
  }

  .main__img {
    display: none;
  }

  .main::before {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 0;
  }

  .main::after {
    top: -130px;
  }

  .title {
    font-size: 40px;
    line-height: 52px;
  }

  .main__content {
    max-width: 550px;
  }

  .main__gear._1 {
    display: none;
  }

  .main__gear._2 {
    left: 25px;
    animation-duration: 5s;
    animation-name: rotateGear;
  }

  .main__gear._3 {
    animation-name: rotateGearReverse;
  }

  .main__gear._4 {
    left: 57%;
    bottom: 68px;
  }

  .main__gear._5 {
    left: 64%;
    bottom: 62px;
  }

  .advantages {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .advantages__inner {
    gap: 20px;
  }

  .advantages__gear._1 {
    top: -36px;
    right: -40px;
    width: 180px;
    height: 180px;
  }

  .advantages__gear._4 {
    bottom: 0;
    width: 175px;
    height: 175px;
  }

  .contacts {
    padding-bottom: 80px;
  }

  .contacts__form-inputs {
    flex-wrap: wrap;
  }

  .contacts__form {
    margin: -10px;
  }

  .contacts__form-item {
    margin: 10px;
  }

  .contacts__info {
    margin-bottom: 25px;
  }

  .contacts__form-btn {
    margin-top: 20px;
  }

  .contacts__gear._2 {
    left: auto;
    top: auto;
    right: 205px;
    bottom: 15px;
  }

  .contacts__gear._3 {
    left: auto;
    top: auto;
    right: 179px;
    bottom: 55px;
  }
}

@media (max-width: 700px) {
  .advantages__item {
    min-height: 0;
  }

  .advantages__item-icon {
    height: auto;
  }

  .advantages__item,
  .advantages__item:nth-child(5n - 1),
  .advantages__item:nth-child(5n) {
    grid-column-end: span 6;
  }
}

@media (max-width: 640px) {
  .modal__box {
    border-radius: 0;
  }
}

@media (max-width: 625px) {
  .contacts__gear._2 {
    right: auto;
    left: 335px;
  }

  .contacts__gear._3 {
    right: auto;
    left: 412px;
  }

  .contacts__form .input-wrapper {
    max-width: 365px;
  }

  .contacts__gear._2 {
    bottom: -10px;
  }

  .contacts__gear._3 {
    bottom: 33px;
    left: 408px;
  }
}

@media (max-width: 550px) {
  .header__btn {
    display: none;
  }
}

@media (max-width: 500px) {
  body {
    font-size: 16px;
    line-height: 19px;
  }

  .container {
    padding: 0 15px;
  }

  .logo img {
    max-width: 80px;
    max-height: 25px;
  }

  .title {
    font-size: 32px;
    line-height: 42px;
  }

  .main {
    padding: 60px 0;
  }

  .main__content {
    max-width: 430px;
  }

  .main__text {
    margin-bottom: 32px;
  }

  .main::after {
    top: -180px;
    left: -330px;
  }

  .main__gear._2 {
    width: 32px;
    height: 34px;
    left: 15px;
    top: 13px;
  }

  .main__gear._3 {
    display: none;
  }

  .main__gear._4 {
    left: 68%;
    bottom: 40px;
  }

  .main__gear._5 {
    left: 78%;
    bottom: 33px;
  }

  .btn {
    font-size: 16px;
    line-height: 19px;
  }

  .advantages {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .contacts {
    padding-bottom: 70px;
  }

  .address-link,
  .phone-link,
  .input-label {
    font-size: 16px;
    line-height: 19px;
  }

  .contacts__gear._2 {
    left: auto;
    right: 25px;
    bottom: -80px;
  }

  .contacts__gear._3 {
    left: auto;
    right: 0;
    bottom: -30px;
  }

  .modal__inner,
  .modal__box {
    max-width: 430px;
  }

  .modal__box {
    padding: 25px 25px 30px;
    min-height: 450px;
  }

  .modal__title {
    font-size: 26px;
    line-height: 36px;
  }

  .modal__form-item + .modal__form-item {
    margin-top: 20px;
  }

  .modal__form-btn {
    margin-top: 25px;
  }

  .close {
    top: 34px;
  }

  .modal__text {
    margin-bottom: 20px;
  }

  .modal__thanks img {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 370px) {
  .main__gear._4 {
    left: auto;
    right: 30px;
    bottom: 7px;
  }

  .main__gear._5 {
    left: auto;
    right: 8px;
    bottom: 39px;
  }

  .modal__box {
    padding: 20px 15px 25px;
  }

  .close {
    top: 29px;
    right: 15px;
  }

  .modal__thanks {
    margin-top: 55px;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-15deg);
  }

  75% {
    transform: rotate(15deg);
  }

  100% {
    transform: rotate(0);
  }
}

@keyframes rotateGear {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateGearReverse {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(-360deg);
  }
}
