.funnel-inquiry__panel {
  margin-bottom: 1.25rem;
  border-color: #d8ceba;
  box-shadow: 0 22px 54px rgba(26, 31, 46, 0.09);
}

.funnel-form {
  margin-top: 1.35rem;
}

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

.funnel-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: 0.92rem;
}

/* Ensure lane-specific fields actually hide when JS/PHP sets hidden attr. */
.funnel-form [hidden] {
  display: none !important;
}

.funnel-helper {
  display: block;
  margin: 0;
  color: var(--sk-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.funnel-field-error {
  color: #7a2f20;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  line-height: 1.25;
}

/* Visual cue for invalid inputs */
.funnel-form input[aria-invalid="true"],
.funnel-form textarea[aria-invalid="true"] {
  border-color: #9f4a39;
  background: #fffaf8;
}

.funnel-field span {
  color: #4a4a4a;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.funnel-lane legend {
  color: var(--sk-text);
  font-family: var(--sk-font-body);
  padding: 0;
  margin-bottom: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.funnel-radio input[type="radio"],
.funnel-consent input[type="checkbox"] {
  accent-color: var(--sk-primary);
  width: 1.05rem;
  height: 1.05rem;
}

.funnel-radio input[type="radio"] {
  margin: 0;
}

.funnel-consent input[type="checkbox"] {
  margin: 0.15rem 0 0;
}

.funnel-field input,
.funnel-field textarea,
.funnel-field select {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border: 1px solid #d8ceba;
  border-radius: 10px;
  background: #fffefb;
  color: var(--sk-text);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.funnel-field input::placeholder,
.funnel-field textarea::placeholder {
  color: #918674;
}

.funnel-field input:focus-visible,
.funnel-field textarea:focus-visible,
.funnel-field select:focus-visible {
  outline: none;
  border-color: #b8944f;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}

.funnel-field input:focus,
.funnel-field textarea:focus,
.funnel-field select:focus {
  outline: none;
  border-color: #b8944f;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.16);
}

.funnel-lane {
  margin: 0 0 1.25rem;
  padding: 1rem 1rem 0.9rem;
  border: 1px solid #d8ceba;
  border-radius: 12px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(201, 169, 98, 0.18) 0%, rgba(201, 169, 98, 0) 40%),
    #f8f3e9;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
}

.funnel-option {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.funnel-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #3f3f3f;
  font-size: 0.92rem;
  font-weight: 600;
}

.funnel-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.65rem 0 1.05rem;
  color: #4a4a4a;
  font-size: 0.9rem;
}

.funnel-actions {
  margin-top: 0.8rem;
}

.funnel-actions .btn-sk {
  min-width: 11.5rem;
  box-shadow: 0 8px 20px rgba(26, 31, 46, 0.12);
}

.funnel-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.funnel-alert {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2b5aa;
}

.funnel-alert--error {
  background: #fff3f0;
  color: #5a261b;
}

.funnel-alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.funnel-linkedin-row,
.thank-you__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

  .funnel-lane {
    grid-template-columns: 1fr;
  }
}
