body,
html {
  height: 100%;
}

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

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: fixed;
  content: '';
  top: 0;
  left: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: -1;
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* color: #fff; */
  font-family: 'Roboto', cursive !important;
}

main {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero {
  max-width: 940px;
  padding: 0 20px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 80px;
  padding-top: 180px;
  color: #EFEFEF;
}

.logo {
  max-width: 200px;
}

h1 {
  padding: 24px 0 38px;
  font-size: 68px;
  font-weight: 600;
}

.hero-subtitle {
  padding: 0 0 30px;
  font-size: 22px;
  font-weight: 200;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
}

.button {
  height: 60px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  background-color: #ff9300;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  display: block;
  max-width: 266px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 100px;
}

.float-up-down {
  animation: float 2.2s ease-in-out infinite;
}

.block {
  margin: 150px auto;
  width: 100%;
}

.block__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}



.img-2,
.img-1 {
  width: 100%;
}

.img-1 {
  max-width: 460px;
  /* height: 600px; */
  object-fit: cover;
}

.img-2 {
  max-width: 660px;
  /* height: 500px; */
  object-fit: cover;
}



.block__content {
  background: #f4f4f4;
  padding: 60px 80px 60px 60px;
  max-width: 792px;
  margin-top: 20px;
  /* mobile gap */
}

.block__content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.block__content p {
  font-size: 20px;
  line-height: 31px;
  color: #000000;
  margin-bottom: 60px;
}

.btn {
  background: #f89920;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}


/* ===== DESKTOP ===== */
@media (max-width: 1200px) {
  .block__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    padding: 0 20px;
  }

  .block__content {
    max-width: 500px;
  }

  .img-2 {
    max-width: 500px;
  }

  .block-2 .img-2 {
    right: -7px !important;
  }

  .block__content p {
    margin-bottom: 16px;
  }

  .block-2 .block__content {
    max-width: 462px;
  }

  .block__content {
    padding: 30px 20px;
  }

  .block-2 .block__content {
    margin-bottom: 16px;
  }

  .form-container {
    padding: 100px 0;
  }
}

@media (min-width: 1200px) {

  .block-1 .block__content {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(20px);
  }

  .block-2 .img-2 {
    position: absolute;
    right: 30px;
    top: 0;
    z-index: 2;
    transform: translateY(-11px);
  }

  .block-2 .block__content {
    position: relative;
    z-index: 2;
    top: 50px;
    /* max-width: 462px; */
  }

  .block__content h1 {
    font-size: 30px;
    line-height: 36.9px;
  }
}

.block-2 .block__content {
  max-width: 552px;
}


#footer {
  background: #171717;
  color: #EFEFEF;
  padding-bottom: 40px;
  width: 100%;
  padding: 60px 0 100px;
}

.container {
  text-align: center;
  padding: 0 40px;
}

.footer-image {
  max-width: 170px;
  margin-bottom: 20px;
}

.footer-subtitle {
  font-weight: 500;
}

.form {
  padding: 30px;
}

.form-title {
  font-size: 42px;
  line-height: 120%;
  font-weight: 700;
  text-align: center;
  color: #000;
  padding: 0;
  padding-bottom: 0px;
}

.form {
  background-color: #EFEFEF;
  margin: 0 auto;
}

.form-group {
  width: 100%;

}

.form-inp {
  /* padding: 9.5px 20px; */
  font-size: 16px;
  border-radius: 1000px;
  border: none !important;
  width: 100%;
  font-weight: 300;
}

.form-container {
  padding: 50px 25px;
  margin: 0 auto;
  max-width: 800px;
}



.form__title {
  margin-bottom: 10px;
  color: #000;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
}

.form-send {
  padding: 16px !important;
  box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2),
    0 24px 38px 3px rgba(0, 0, 0, 0.14),
    0 9px 46px 8px rgba(0, 0, 0, 0.12) !important;
  background: #fff;
}

.form-block {
  display: block;
  width: 100%;
  margin: 15px 0;
}


.buttonSend {
  background: #F7921B;
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 100%;
  padding: 14px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: "Manrope";
  margin: 30px 0;
}

.form-text {
  text-align: center;
  color: #000000A6;
  font-size: 13px;
  font-weight: 300;
  line-height: 130%;
}

.form-text a {
  color: #000000A6;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
    /* вниз */
  }

  100% {
    transform: translateY(0);
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero {
    padding-top: 80px;
    margin-bottom: 60px;

  }

  .button {
    margin-bottom: 60px;
  }

  #footer {
    padding: 40px 0 60px;
  }

  .container {
    padding: 0 10px;
  }

  .block {
    margin: 50px auto;
    width: 100%;
  }
}