.cta {
  position: relative;
  padding: 5.625rem clamp(1rem, 5vw, 3rem);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta__overlay-card {
  position: relative;
  z-index: 1;
  width: min(514px, 100%);
  border-radius: 16px;
  border: 1px solid #ef7c00;
  background: #000200;
  backdrop-filter: blur(5px);
  padding: 2.25rem 2rem;
}

.cta__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-align: center;
}

.cta__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.1vw, 2.4rem);
  line-height: 1.1;
  font-weight: 700;
  width: 100%;
}

.cta__lead {
  margin: 0;
  max-width: 350px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
}

.cta__form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.cta__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

.cta__field input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 500;
  padding: 0.875rem 1.25rem;
  outline: none;
}

.cta__form > .cta__field {
  display: block;
  width: 100%;
}

.cta__form > .cta__field input {
  width: 100%;
}

.cta__field input::placeholder {
  color: #fff;
  opacity: 1;
}

.cta__field input:focus {
  border-color: var(--brand-color-secondary);
}

.cta__submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 1000px;
  background: var(--brand-color-secondary, #ef7c00);
  color: #474a51;
  font-family: "Manrope", system-ui, sans-serif;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.cta__submit:hover {
  background: var(--brand-color-secondary, #ef7c00);
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(239, 124, 0, 0.35);
}

.cta__submit:active {
  transform: scale(0.99);
}

.cta__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .cta {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
    padding-inline: 1rem;
  }

  .cta__overlay-card {
    border-radius: 14px;
    padding: 1.625rem 1.125rem;
  }

  .cta__title {
    font-size: clamp(2rem, 7.8vw, 2.35rem);
    line-height: 1.08;
  }

  .cta__lead {
    max-width: 320px;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .cta__form {
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .cta__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .cta__field input {
    min-height: 48px;
    font-size: 0.9rem;
    padding: 0.8125rem 1.125rem;
  }

  .cta__submit {
    min-height: 50px;
    font-size: 1.25rem;
    line-height: 1;
  }
}
