/* Contact page: website / dispatch / marketing request form.
   Editorial layout: plain type and real client proof on the left, form card on the right. */

.biz-help {
  --bh-ink: #0a0f1c;
  --bh-text: #3c4454;
  --bh-muted: #6b7280;
  --bh-soft: #9aa3b2;
  --bh-line: #e4e7ec;
  --bh-field: #fff;
  --bh-blue: #2563eb;
  --bh-blue-dark: #1d4ed8;
  --bh-ring: rgba(37, 99, 235, 0.18);
  margin: 120px 0 40px;
  padding-top: 72px;
  border-top: 1px solid var(--bh-line);
  scroll-margin-top: 140px;
}

.biz-help__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}

/* ---------- Left ---------- */

.biz-help__pitch {
  padding-top: 8px;
}

.biz-help__label {
  margin: 0 0 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bh-blue);
}

.biz-help__title {
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--bh-ink);
}

.biz-help__title span {
  color: var(--bh-blue);
}

.biz-help__lead {
  max-width: 44ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--bh-text);
}

.biz-help__list {
  margin: 36px 0 0;
  padding: 0;
}

.biz-help__list > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--bh-line);
}

.biz-help__list > div:last-child {
  border-bottom: 1px solid var(--bh-line);
}

.biz-help__list dt {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bh-ink);
}

.biz-help__list dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--bh-muted);
}

.biz-help__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--bh-blue-dark);
  text-decoration: none;
}

.biz-help__more svg {
  transition: transform 150ms ease;
}

.biz-help__more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.biz-help__more:hover svg {
  transform: translate(2px, -2px);
}

/* ---------- Right: form card ---------- */

.biz-help__form-wrap {
  padding: 36px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--bh-line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -8px rgba(16, 24, 40, 0.08);
}

.biz-help__form-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bh-ink);
}

.biz-help__form-head p {
  margin: 6px 0 26px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--bh-muted);
}

.biz-help__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.biz-help__field label,
.biz-help__group legend {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bh-ink);
}

.biz-help__field input,
.biz-help__field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  background-color: var(--bh-field);
  font: inherit;
  font-size: 0.97rem;
  color: var(--bh-ink);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.biz-help__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.biz-help__field select:invalid {
  color: var(--bh-soft);
}

.biz-help__field select option {
  color: var(--bh-ink);
}

.biz-help__field input::placeholder {
  color: var(--bh-soft);
}

.biz-help__field input:focus,
.biz-help__field select:focus {
  outline: none;
  border-color: var(--bh-blue);
  box-shadow: 0 0 0 4px var(--bh-ring);
}

.biz-help__field.is-invalid input,
.biz-help__field.is-invalid select {
  border-color: #d92d20;
}

.biz-help__error {
  min-height: 18px;
  margin: 4px 0 4px;
  font-size: 0.78rem;
  color: #d92d20;
}

.biz-help__error--form {
  min-height: 0;
  margin: 0 0 12px;
}

.biz-help__error--form:empty {
  display: none;
}

.biz-help__group {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.biz-help__group legend span {
  margin-left: 6px;
  color: var(--bh-soft);
}

/* Service checkboxes */

.biz-help__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.biz-help__choice {
  position: relative;
  cursor: pointer;
}

.biz-help__choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.biz-help__choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.biz-help__choice:hover .biz-help__choice-card {
  border-color: #98a2b3;
}

.biz-help__choice-card strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bh-ink);
}

.biz-help__check {
  order: -1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #c1c7d0;
  color: transparent;
  background: #fff;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.biz-help__choice input:checked + .biz-help__choice-card {
  border-color: var(--bh-blue);
  background: #f5f8ff;
  box-shadow: 0 0 0 1px var(--bh-blue);
}

.biz-help__choice input:checked + .biz-help__choice-card .biz-help__check {
  border-color: var(--bh-blue);
  background: var(--bh-blue);
  color: #fff;
}

.biz-help__choice input:focus-visible + .biz-help__choice-card {
  box-shadow: 0 0 0 4px var(--bh-ring);
}

/* When to call */

.biz-help__when-row {
  display: grid;
  grid-template-columns: 1.25fr 1.1fr 1fr;
  gap: 12px;
}

.biz-help__when .biz-help__field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.biz-help__when-note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--bh-muted);
}

.biz-help__when-note.is-set {
  color: var(--bh-ink);
}

.biz-help__when-note strong {
  font-weight: 600;
}

/* Submit */

.biz-help__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: var(--bh-blue);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
  transition: background-color 150ms ease;
}

.biz-help__submit:hover {
  background: var(--bh-blue-dark);
}

.biz-help__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--bh-ring);
}

.biz-help__submit-arrow {
  transition: transform 150ms ease;
}

.biz-help__submit:hover .biz-help__submit-arrow {
  transform: translateX(2px);
}

.biz-help__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: biz-help-spin 700ms linear infinite;
}

.biz-help__submit.is-loading {
  cursor: progress;
  opacity: 0.85;
}

.biz-help__submit.is-loading .biz-help__submit-arrow {
  display: none;
}

.biz-help__submit.is-loading .biz-help__spinner {
  display: block;
}

/* Success */

.biz-help__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 8px;
  text-align: center;
  outline: none;
  animation: biz-help-fade 360ms ease both;
}

.biz-help__success[hidden] {
  display: none;
}

.biz-help__success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #067647;
  background: #dcfae6;
}

.biz-help__success h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bh-ink);
}

.biz-help__success p {
  max-width: 34ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--bh-text);
}

.biz-help__success strong {
  font-weight: 600;
  color: var(--bh-ink);
}

.biz-help__success-link {
  margin-top: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bh-blue-dark);
  text-decoration: none;
}

.biz-help__success-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes biz-help-spin {
  to { transform: rotate(360deg); }
}

@keyframes biz-help-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .biz-help__shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .biz-help {
    margin-top: 72px;
    padding-top: 48px;
  }

  .biz-help__lead {
    font-size: 1rem;
  }

  .biz-help__list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }


  .biz-help__form-wrap {
    padding: 24px 18px;
  }

  .biz-help__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .biz-help__choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .biz-help__when-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .biz-help *,
  .biz-help *::before,
  .biz-help *::after {
    transition: none !important;
    animation: none !important;
  }
}
