
.lead-form-section {
  padding: 4rem 0;
}

.lead-form-shell {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 18px 45px rgba(15, 43, 70, 0.12);
  backdrop-filter: blur(14px);
}

@media (min-width: 992px) {
  .lead-form-shell {
    max-width: 920px;
    padding: 3rem 2.75rem;
  }
}

.dark-theme .lead-form-shell {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.lead-form-shell .eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--waves-color);
  margin-bottom: 0.4rem;
}

.lead-form-shell h2 {
  font-size: 1.6rem;
  color: var(--headings);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.lead-form-shell .lead-form-intro {
  font-size: 0.95rem;
  color: var(--paragraph);
  margin-bottom: 1.5rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--headings);
}

.lead-form input,
.lead-form textarea {
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent-muted);
  border-radius: 0.6rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.55);
  color: var(--headings);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.dark-theme .lead-form input,
.dark-theme .lead-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--headings);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: var(--paragraph);
  opacity: 0.7;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--waves-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}

.dark-theme .lead-form input:focus,
.dark-theme .lead-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.lead-form textarea {
  resize: vertical;
  min-height: 90px;
}

.lead-form .primary-btn {
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
}

.lead-form-confirmation {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 0.75rem;
  color: var(--headings);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.dark-theme .lead-form-confirmation {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

.lead-form-confirmation.visible {
  display: block;
}

.lead-form-confirmation strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--headings);
}

.lead-form-confirmation a {
  color: var(--waves-color);
}

@media (max-width: 600px) {
  .lead-form-shell {
    padding: 1.75rem 1.25rem;
  }

  .lead-form-shell h2 {
    font-size: 1.35rem;
  }
}
