[hidden] {
  display: none !important;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.lead-field.full {
  grid-column: 1 / -1;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.lead-field span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 9px 11px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}

.lead-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.lead-field textarea {
  resize: vertical;
  min-height: 64px;
  line-height: 1.45;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.lead-field input:disabled,
.lead-field select:disabled {
  color: var(--muted);
}

.suggest-list {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  max-height: 180px;
  overflow: auto;
  list-style: none;
  padding: 4px 0;
}

.suggest-list button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 11px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.suggest-list button:hover {
  background: var(--paper);
  color: var(--accent);
}

.suggest-empty {
  font-size: 12px;
  color: var(--muted);
}

.lead-error {
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  margin: 10px 0 0;
}

.lead-ok {
  color: #3d6b45;
  font-size: 15px;
}

.consent-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 10px;
}

.consent-note a,
.consent-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}

.consent-check input {
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-form .lead-actions .btn,
.hero-form .lead-actions .btn-primary {
  min-width: 0;
}

.hero-form #lead-submit {
  width: 100%;
}

.lead-success-num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--accent);
  margin: 4px 0 12px;
}

.collective-box p {
  margin-bottom: 10px;
}

.offer-svc {
  list-style: none;
  margin: 12px 0 18px;
}

.offer-svc li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.offer-qty {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 640px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
}
