.newsletter {
  position: relative;
  margin: 40px 0 60px;
  overflow: hidden;
}

.newsletter .container {
  position: relative;
}

.newsletter__title {
  margin-bottom: 24px;
}

.newsletter__block {
  position: relative;
}

.newsletter__inner-block {
  position: relative;
  background-image: url("/img/contact_bg.png");
  background-size: cover;
  background-position: center;
  border-radius: 28px;
  padding: 61px 42px;
  z-index: 2;
  
  @media (max-width: 992px) {
    z-index: 1;
  }

  @media (max-width: 767px) {
    padding: 24px;
  }
}

.newsletter__heading {
  font-family: "Etude";
  font-size: 32px;
  color: #103340;
  font-weight: 400;
  margin-bottom: 45px;
  line-height: 1;

  @media (max-width: 1281px) {
    font-size: 27px;
    margin-bottom: 30px;
  }

  @media (max-width: 767px) {
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
  }
}

.newsletter__wrap {
  padding-right: 35%;
  position: relative;

  @media (max-width: 992px) {
    padding-right: 0;
  }
}

.newsletter__emailBlock {
  padding: 24px;
  background: linear-gradient(111.08deg, #a4c520 13.77%, #c4e63b 105.1%);
  border-radius: 16px;
  max-width: 650px;
}

.newsletter__text {
  color: #fff;
  margin-bottom: 24px;
  font-size: 32px;
  font-family: "Etude";
  line-height: 1;

  @media (max-width: 1281px) {
    font-size: 25px;
    line-height: 1.2;
  }

  @media (max-width: 767px) {
    font-size: 18px;
  }
}

.newsletter__form {
  display: flex;
  gap: 12px;
  align-items: center;

  @media (max-width: 992px) {
    flex-direction: column;
    align-items: stretch;
  }
}

.newsletter__input.form-control {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  border-radius: 30px;
  border: 2px solid #fff;
  background: #fff;
  color: #103340;
  font-size: 18px;
  line-height: 1;
  padding: 14px 24px;
  min-height: 54px;
  box-shadow: none;
}

.newsletter__input.form-control::placeholder {
  color: #7f949c;
}

.newsletter__input.form-control:focus {
  box-shadow: none;
}

.newsletter__btn.btn.btn-white {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: 54px;
  border-radius: 30px;
  border: 2px solid #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: #fff;

  @media (max-width: 992px) {
    width: 100%;
  }
}

.newsletter__gear {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.9s;
}

.newsletter__gear1 {
  background-image: url("/img/contact_right.png");
  width: 12%;
  height: 37%;
  top: -17%;
  right: -5%;
  z-index: 3;

  @media (max-width: 992px) {
    width: 88px;
    height: 110px;
    top: -20px;
    right: 0;
  }

  @media (max-width: 767px) {
    display: none;
  }
}

.newsletter__gear2 {
  background-image: url("/img/contact_left_new.png");
  width: 27%;
  height: 80%;
  top: -33%;
  left: -7%;
  z-index: 1;

  @media (max-width: 992px) {
    width: 128px;
    height: 150px;
    top: -80px;
    left: -32px;
    z-index: 2;
  }

  @media (max-width: 767px) {
    display: none;
  }
}

.newsletter__gear1:hover,
.newsletter__gear2:hover {
  transform: scale(1.2);
}
