.bivSection {
  display: flex;
  justify-content: center;
  padding: 48px 20px;
}

.page-id-166912 #secondary,
.page-id-166912 .secondary {
  display: none !important;
}

.page-id-166912 #primary {
  width: 100% !important;
  margin: 0 auto !important;
}

.page-id-166912 .site-content .ast-container {
  max-width: 100% !important;
}

.bivShell {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid #eadfce;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(214, 181, 121, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fff8ee 100%);
  box-shadow: 0 24px 60px rgba(96, 66, 25, 0.12);
}

.bivIntro {
  margin-bottom: 28px;
}

.bivEyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4e7d1;
  color: #7a5421;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bivIntro h2 {
  margin: 0 0 10px;
  color: #1f1a14;
  font-size: 34px;
  line-height: 1.12;
}

.bivIntro p {
  margin: 0;
  color: #5c5144;
  font-size: 15px;
  line-height: 1.7;
}

.bivForm {
  margin: 0;
}

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

.bivForm .formField {
  display: flex;
  flex-direction: column;
}

.bivForm .inputLabel {
  margin-bottom: 8px;
  color: #231b11;
  font-size: 14px;
  font-weight: 700;
}

.bivForm .customInput input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d9c7ae;
  border-radius: 16px;
  background: #fffdfa;
  color: #231b11;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bivForm .customInput input::placeholder {
  color: #98856b;
}

.bivForm .customInput input:focus {
  border-color: #8a5b22;
  box-shadow: 0 0 0 4px rgba(138, 91, 34, 0.12);
  outline: none;
}

.bivForm .formField.hasError .customInput input {
  border-color: #d92d20;
  background: #fff6f5;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08);
}

.bivForm .formField.isValid .customInput input {
  border-color: #12b76a;
  background: #f6fffb;
}

.bivForm .fieldMeta {
  min-height: 38px;
  margin-top: 8px;
}

.bivForm .fieldHint {
  display: block;
  color: #77695a;
  font-size: 12px;
  line-height: 1.45;
}

.bivForm .fieldErrorSlot {
  margin-top: 4px;
}

.bivForm .fieldErrorSlot label {
  display: block;
  color: #d92d20;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.bivForm .formResponse {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.bivForm .formResponse.isError {
  border: 1px solid #f7b5b0;
  background: #fff4f3;
  color: #b42318;
}

.bivForm .formResponse.isSuccess {
  border: 1px solid #9fe3bf;
  background: #effdf5;
  color: #067647;
}

.bivForm .submitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  min-height: 54px;
  margin-top: 18px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8a5b22 0%, #c07d31 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(138, 91, 34, 0.26);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.bivForm .submitBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(138, 91, 34, 0.3);
}

.bivForm .submitBtn:disabled {
  opacity: 0.8;
  cursor: wait;
}

.bivForm .loader {
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .bivSection {
    padding: 28px 14px;
  }

  .bivShell {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .bivIntro h2 {
    font-size: 26px;
  }

  .bivGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bivForm .submitBtn {
    width: 100%;
  }
}
