.hero-lead {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background: #f7f8fa;
  color: #1b1f2a;
  font-family: "Montserrat", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.hero-lead__content {
  width: min(1200px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-lead__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2e63ff;
  margin-bottom: 18px;
}

.hero-lead__title {
  font-size: clamp(32px, 4vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
}

.hero-lead__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: #4a5160;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-lead__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-lead__button {
  text-decoration: none;
}

.hero-lead__form-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 32px 36px;
  box-shadow: 0 24px 60px rgba(27, 31, 42, 0.12);
}

.hero-lead__form-title {
  margin: 0 0 8px;
  font-size: 24px;
}

.hero-lead__form-subtitle {
  margin: 0 0 24px;
  color: #5b6270;
  font-size: 15px;
  line-height: 1.5;
}

.hero-lead__form {
  display: grid;
  gap: 18px;
}

.hero-lead__field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #5b6270;
}

.hero-lead__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dde3ee;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-lead__input:focus {
  border-color: #2e63ff;
  box-shadow: 0 0 0 4px rgba(46, 99, 255, 0.12);
  outline: none;
}

.hero-lead__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #5b6270;
  cursor: pointer;
}

.hero-lead__checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.hero-lead__link {
  color: #2e63ff;
}

.hero-lead__submit {
  width: 100%;
}

.hero-lead__status {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  color: #2e63ff;
}

.hero-lead__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lead__decor::before,
.hero-lead__decor::after {
  content: "";
  position: absolute;
  inset: -10%;
  opacity: 0.2;
}

.hero-lead__decor::before {
  background-image:
    linear-gradient(rgba(46, 99, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 99, 255, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: hero-lead-grid 26s linear infinite;
}

.hero-lead__decor::after {
  border: 1px dashed rgba(46, 99, 255, 0.25);
  border-radius: 999px;
  inset: 15% 8% 10% 20%;
  animation: hero-lead-ring 32s linear infinite;
}

.hero-lead__shape {
  position: absolute;
  border-radius: 999px;
  opacity: 0.45;
  filter: blur(0.5px);
  transform: translate3d(var(--shape-x, 0), var(--shape-y, 0), 0);
  transition: transform 0.4s ease-out;
  animation: hero-lead-float 14s ease-in-out infinite;
}

.hero-lead__shape--one {
  width: 180px;
  height: 180px;
  background: rgba(46, 99, 255, 0.15);
  top: 10%;
  left: 6%;
  animation-name: hero-lead-float, hero-lead-spin;
}

.hero-lead__shape--two {
  width: 120px;
  height: 120px;
  background: rgba(46, 99, 255, 0.08);
  bottom: 18%;
  left: 40%;
  animation-delay: -4s;
  animation-name: hero-lead-float, hero-lead-spin;
}

.hero-lead__shape--three {
  width: 220px;
  height: 220px;
  border: 1px solid rgba(46, 99, 255, 0.35);
  top: 8%;
  right: 8%;
  animation-delay: -7s;
  animation-name: hero-lead-float, hero-lead-spin;
}

@keyframes hero-lead-float {
  0%, 100% {
    transform: translate3d(var(--shape-x, 0), var(--shape-y, 0), 0);
  }
  50% {
    transform: translate3d(calc(var(--shape-x, 0) + 26px), calc(var(--shape-y, 0) - 22px), 0);
  }
}

@keyframes hero-lead-spin {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

@keyframes hero-lead-grid {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 120px 120px, 120px 120px;
  }
}

@keyframes hero-lead-ring {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.02);
  }
}

@media (max-width: 960px) {
  .hero-lead__content {
    grid-template-columns: 1fr;
  }

  .hero-lead__form-card {
    width: min(560px, 100%);
  }
}

@media (max-width: 640px) {
  .hero-lead {
    padding: 72px 0 84px;
  }

  .hero-lead__actions {
    flex-direction: column;
  }

  .hero-lead__actions .btn {
    width: 100%;
  }

  .hero-lead__form-card {
    padding: 24px;
    border-radius: 20px;
  }
}
