.stellprom-lead {
  position: relative;
  overflow: hidden;
  padding: 52px 0;
  color: #fff;
  background-color: #20262a;
  background-image: var(--stellprom-lead-bg, linear-gradient(118deg, #171c20, #2b3337));
  background-position: center;
  background-size: cover;
}

.stellprom-lead::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 23, 26, .86), rgba(28, 34, 38, .92));
}

.stellprom-lead--darker::before {
  background: linear-gradient(90deg, rgba(12, 16, 18, .92), rgba(18, 22, 25, .96));
}

.stellprom-lead--none::before {
  display: none;
}

.stellprom-lead__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(34px, 3vw, 48px);
  align-items: center;
}

.stellprom-lead__copy h2 {
  max-width: 610px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 2vw, 36px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.stellprom-lead__description {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
}

.stellprom-lead__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.stellprom-lead__point {
  display: flex;
  min-width: 0;
  gap: 9px;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.stellprom-lead__point svg,
.stellprom-lead__point img {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--yellow, #f6c400);
  object-fit: contain;
}

.stellprom-lead__point svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stellprom-lead__form {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.stellprom-lead__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stellprom-lead__field--wide {
  grid-column: 1 / -1;
}

.stellprom-lead__field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stellprom-lead__field input,
.stellprom-lead__field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}

.stellprom-lead__field input {
  height: 46px;
  padding: 0 13px;
}

.stellprom-lead__field textarea {
  min-height: 96px;
  padding: 12px 13px;
  resize: vertical;
}

.stellprom-lead__field input::placeholder,
.stellprom-lead__field textarea::placeholder {
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  opacity: 1;
}

.stellprom-lead__field input:focus,
.stellprom-lead__field textarea:focus {
  border-color: rgba(246, 196, 0, .72);
  outline: 0;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 3px rgba(246, 196, 0, .16);
}

.stellprom-lead__footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.stellprom-lead__consent {
  display: flex;
  max-width: 330px;
  gap: 8px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}

.stellprom-lead__consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--yellow, #f6c400);
}

.stellprom-lead__consent a {
  color: #f7cf31;
  text-decoration: none;
}

.stellprom-lead__consent a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stellprom-lead__submit {
  flex: 0 0 auto;
  width: clamp(260px, 20vw, 290px);
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #e0b300;
  border-radius: 4px;
  background: var(--yellow, #f6c400);
  color: #181c1e;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s, transform .18s;
}

.stellprom-lead__submit:hover {
  background: #ffd322;
}

.stellprom-lead__submit:focus-visible,
.stellprom-lead__consent input:focus-visible,
.stellprom-lead__consent a:focus-visible {
  outline: 3px solid var(--green, #66b86d);
  outline-offset: 3px;
}

.stellprom-lead__submit:disabled {
  cursor: wait;
  opacity: .65;
}

.stellprom-lead__status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.4;
}

.stellprom-lead__status.is-success {
  color: #91d797;
}

.stellprom-lead__status.is-error {
  color: #ffaaaa;
}

.stellprom-lead__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1099px) {
  .stellprom-lead__grid {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    gap: 28px;
  }

  .stellprom-lead__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stellprom-lead__field--email,
  .stellprom-lead__field--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .stellprom-lead {
    padding: 34px 0;
  }

  .stellprom-lead__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stellprom-lead__points {
    gap: 12px;
  }

  .stellprom-lead__fields {
    grid-template-columns: 1fr;
  }

  .stellprom-lead__field--email,
  .stellprom-lead__field--wide {
    grid-column: auto;
  }

  .stellprom-lead__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .stellprom-lead__submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stellprom-lead__points {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stellprom-lead__field input,
  .stellprom-lead__field textarea,
  .stellprom-lead__submit {
    transition: none;
  }
}
