.nb-email-signup {
  position: relative;
  padding: 112px 64px;
  color: #ffffff;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  overflow: hidden;
}

.nb-email-signup__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nb-email-signup__bg-img {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 200%;
  object-fit: cover;
  max-width: none;
}

.nb-email-signup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.nb-email-signup__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.nb-email-signup__content {
  max-width: 768px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nb-email-signup__heading {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
}

.nb-email-signup__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.nb-email-signup__form-wrap {
  width: 100%;
  max-width: 513px;
}

.nb-email-signup__form {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 0 0 16px;
}

.nb-email-signup__input {
  flex: 0 0 330px;
  height: 42px;
  padding: 9px 14px;
  border-radius: 23px;
  border: 1px solid #ffffff;
  background: #ffffff;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
}

.nb-email-signup__button {
  height: 42px;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  background: #ff8000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.nb-email-signup__consent {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nb-email-signup {
    padding: 80px 32px;
  }
}

@media (max-width: 600px) {
  .nb-email-signup {
    padding: 64px 20px;
  }

  .nb-email-signup__form {
    flex-direction: column;
  }

  .nb-email-signup__input {
    width: 100%;
    flex: 1 1 auto;
  }
}


