/* Компактная форма поверх hero — стиль как у specteh-rent-hub-modal */
.specteh-article-page__hero,
.specteh-service-page__hero {
  position: relative;
}

.specteh-article-hero-lead {
  --sahl-orange: #ff8311;
  --sahl-orange-hover: #f67300;
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: auto;
  left: auto;
  z-index: 2;
  width: min(100% - 32px, 320px);
  pointer-events: none;
}

.specteh-article-hero-lead__card {
  pointer-events: auto;
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  font-family: Manrope, "Segoe UI", sans-serif;
}

.specteh-article-hero-lead__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 131, 17, 0.12);
  color: var(--sahl-orange);
}

.specteh-article-hero-lead__badge svg {
  width: 20px;
  height: 20px;
  display: block;
}

.specteh-article-hero-lead__title {
  margin: 0 0 6px;
  color: #1a1a1a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.specteh-article-hero-lead__subtitle {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.45;
}

.specteh-article-hero-lead__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.specteh-article-hero-lead__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.specteh-article-hero-lead__field-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
}

.specteh-article-hero-lead__field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.specteh-article-hero-lead__field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none;
}

.specteh-article-hero-lead__field-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.specteh-article-hero-lead__field input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.specteh-article-hero-lead__field input::placeholder {
  color: #9ca3af;
}

.specteh-article-hero-lead__field input:focus {
  border-color: rgba(255, 131, 17, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 131, 17, 0.16);
}

.specteh-article-hero-lead__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--sahl-orange);
  color: #111;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.specteh-article-hero-lead__submit:hover {
  background: var(--sahl-orange-hover);
}

.specteh-article-hero-lead__submit:active {
  transform: translateY(1px);
}

.specteh-article-hero-lead__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #6b7280;
  font-size: 0.72rem;
  line-height: 1.4;
  cursor: pointer;
}

.specteh-article-hero-lead__consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  accent-color: var(--sahl-orange);
}

.specteh-article-hero-lead__consent-text a {
  color: var(--sahl-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .specteh-article-page__hero,
  .specteh-service-page__hero {
    aspect-ratio: auto;
    min-height: 280px;
  }

  .specteh-article-hero-lead {
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: auto;
    width: auto;
  }

  .specteh-article-hero-lead__card {
    padding: 14px 14px 12px;
    border-radius: 14px;
  }

  .specteh-article-hero-lead__badge {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .specteh-article-hero-lead__title {
    font-size: 0.98rem;
  }

  .specteh-article-hero-lead__subtitle {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }
}
