.bp-promo,
.bp-promo * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.bp-promo {
  --bp-blue: #0875e1;
  --bp-blue-dark: #0756a5;
  --bp-red: #ef4444;
  --bp-red-dark: #c52d32;
  --bp-green: #12a66a;
  --bp-green-dark: #0b8050;
  --bp-yellow: #ffc83d;
  --bp-ink: #102a43;
  --bp-muted: #536b80;
  color: var(--bp-ink);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

.bp-side-rail {
  display: none;
  position: fixed;
  z-index: 30;
  top: 116px;
  width: 196px;
}

.bp-side-rail--left {
  left: calc((100vw - 1420px) / 2 - 220px);
}

.bp-side-rail--right {
  right: calc((100vw - 1420px) / 2 - 220px);
}

.bp-side-stack {
  display: grid;
  gap: 12px;
}

.bp-card {
  overflow: hidden;
  border: 2px solid var(--bp-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(8, 117, 225, 0.24);
}

.bp-card--contact {
  border-color: var(--bp-red);
  box-shadow: 0 20px 46px rgba(239, 68, 68, 0.22);
}

.bp-card--message {
  border-color: #e0a400;
  box-shadow: 0 18px 42px rgba(190, 135, 0, 0.2);
}

.bp-card-head {
  padding: 14px 14px 13px;
  background: var(--bp-blue);
  color: #fff;
}

.bp-card--contact .bp-card-head {
  background: var(--bp-red);
}

.bp-card--message .bp-card-head {
  background: #ffcf3f;
  color: #503500;
}

.bp-card-label {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--bp-yellow);
  color: #17324d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
}

.bp-card--contact .bp-card-label {
  background: #ffe27a;
  color: #711f24;
}

.bp-card--message .bp-card-label {
  background: #fff;
  color: #805300;
}

.bp-card-title {
  margin: 6px 0 0;
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.bp-side-rail--left .bp-card-title {
  font-size: 17px;
  white-space: nowrap;
}

.bp-card-head > .bp-card-title:first-child {
  margin-top: 0;
}

.bp-card-body {
  padding: 14px;
  background: #edf7ff;
}

.bp-card--contact .bp-card-body {
  background: #fff1ef;
}

.bp-card--message .bp-card-body {
  background: #fff9df;
}

.bp-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  margin-bottom: 12px;
}

.bp-bars span {
  width: 5px;
  border-radius: 99px;
  background: var(--bp-blue);
}

.bp-bars span:nth-child(1) { height: 13px; background: var(--bp-green); }
.bp-bars span:nth-child(2) { height: 22px; background: var(--bp-yellow); }
.bp-bars span:nth-child(3) { height: 28px; background: var(--bp-red); }
.bp-bars span:nth-child(4) { height: 20px; }
.bp-bars span:nth-child(5) { height: 15px; background: var(--bp-green); }

.bp-service-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-service-list li {
  position: relative;
  padding-left: 15px;
  color: #163a59;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.bp-service-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--bp-green);
}

.bp-service-list li:nth-child(2)::before { background: var(--bp-red); }
.bp-service-list li:nth-child(3)::before { background: var(--bp-yellow); }
.bp-service-list li:nth-child(4)::before { background: var(--bp-blue); }

.bp-card-note {
  margin: 13px 0 0;
  padding: 10px;
  border: 1px solid #9cccf4;
  border-radius: 6px;
  background: #fff;
  color: #075495;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.bp-qr {
  display: block;
  width: 144px;
  height: 144px;
  margin: 0 auto;
  border: 3px solid #fff;
  border-radius: 7px;
  outline: 2px solid var(--bp-red);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.2);
}

.bp-wechat {
  margin: 10px 0;
  color: var(--bp-muted);
  font-size: 12px;
  text-align: center;
}

.bp-wechat strong {
  display: block;
  margin-top: 2px;
  color: var(--bp-red-dark);
  font-size: 18px;
  font-weight: 900;
}

.bp-button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: var(--bp-green);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18, 166, 106, 0.28);
}

.bp-button:hover { background: var(--bp-green-dark); }
.bp-button:disabled { cursor: wait; opacity: 0.65; }
.bp-button--wide { width: 100%; }

.bp-message-intro {
  margin: 0 0 6px;
  color: #654600;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.bp-message-form {
  display: grid;
  gap: 6px;
}

.bp-message-form label {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #503500;
  font-size: 12px;
  font-weight: 800;
}

.bp-message-form textarea,
.bp-message-form input {
  width: 100%;
  border: 1px solid #d5b34f;
  border-radius: 6px;
  background: #fff;
  color: #24384a;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  outline: none;
}

.bp-message-form textarea {
  min-height: 72px;
  max-height: 180px;
  padding: 9px;
  resize: vertical;
}

.bp-message-form input {
  min-height: 35px;
  padding: 0 9px;
}

.bp-message-form textarea:focus,
.bp-message-form input:focus {
  border-color: var(--bp-blue);
  box-shadow: 0 0 0 3px rgba(8, 117, 225, 0.16);
}

.bp-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bp-message-count {
  margin-top: -2px;
  color: #80621c;
  font-size: 11px;
  text-align: right;
}

.bp-message-status {
  min-height: 17px;
  margin: 0;
  color: #755900;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.bp-card--message .bp-card-head {
  padding-block: 10px;
}

.bp-card--message .bp-card-body {
  padding: 10px 12px;
}

.bp-card--message .bp-message-form label {
  gap: 3px;
}

.bp-card--message .bp-button {
  min-height: 38px;
}

.bp-message-status[data-state="success"] { color: #087447; }
.bp-message-status[data-state="error"] { color: #b42318; }

.bp-inline {
  display: none;
  width: min(1420px, calc(100% - 24px));
  margin: 14px auto 24px;
  border: 2px solid var(--bp-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 117, 225, 0.18);
  overflow: hidden;
}

.bp-inline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.bp-inline-copy {
  padding: 20px 22px;
  background: #edf7ff;
}

.bp-inline-kicker {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--bp-yellow);
  color: #17324d;
  font-size: 12px;
  font-weight: 900;
}

.bp-inline-title {
  margin: 8px 0 0;
  color: var(--bp-blue-dark);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.bp-inline-copy p {
  max-width: 800px;
  margin: 8px 0 0;
  color: #3c5b73;
  font-size: 14px;
  line-height: 1.7;
}

.bp-inline-contact {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border: 2px solid #ffb2b2;
  border-radius: 7px;
  background: #fff1ef;
}

.bp-inline-contact .bp-qr { width: 112px; height: 112px; }
.bp-inline-contact .bp-wechat { margin: 0 0 10px; text-align: left; }
.bp-inline-message {
  padding: 20px;
  border-left: 2px solid #e0a400;
  background: #fff9df;
}

.bp-inline-message h3 {
  margin: 0 0 5px;
  color: #694900;
  font-size: 19px;
  line-height: 1.35;
}

.bp-inline-message .bp-message-form textarea { min-height: 100px; }

.bp-site-footer {
  display: flex;
  width: min(1420px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  border-top: 1px solid #c5d0dc;
  color: #667085;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.bp-site-footer strong {
  color: #0f4f82;
  font-weight: 800;
}

.bp-site-footer a {
  color: #0f4f82;
  font-weight: 800;
  text-decoration: none;
}

.bp-site-footer a:hover {
  text-decoration: underline;
}

@media (min-width: 1900px) {
  .bp-side-rail { display: block; }
}

@media (min-width: 1900px) and (max-height: 850px) {
  .bp-side-stack { gap: 8px; }

  .bp-side-rail .bp-card-head { padding: 9px 12px; }
  .bp-side-rail .bp-card-title { margin-top: 4px; font-size: 16px; }
  .bp-side-rail .bp-card-body { padding: 10px 12px; }
  .bp-side-rail .bp-qr { width: 112px; height: 112px; }
  .bp-side-rail .bp-wechat { margin: 6px 0; }
  .bp-side-rail .bp-wechat strong { font-size: 16px; }
  .bp-side-rail .bp-button { min-height: 34px; }

  .bp-card--message .bp-card-head { padding-block: 8px; }
  .bp-card--message .bp-card-body { padding: 8px 10px; }
  .bp-card--message .bp-message-intro { margin-bottom: 4px; font-size: 11px; line-height: 1.4; }
  .bp-card--message .bp-message-form { gap: 4px; }
  .bp-card--message .bp-message-form label { gap: 2px; font-size: 11px; }
  .bp-card--message .bp-message-form textarea { min-height: 58px; padding: 6px 8px; }
  .bp-card--message .bp-message-form input { min-height: 31px; }
  .bp-card--message .bp-message-count { font-size: 10px; }
  .bp-card--message .bp-message-status { min-height: 15px; font-size: 11px; line-height: 1.35; }
}

@media (max-width: 1899px) {
  .bp-inline { display: block; }
}

@media (max-width: 760px) {
  .bp-inline { width: min(100% - 24px, 1420px); }
  .bp-inline-grid { grid-template-columns: 1fr; }
  .bp-inline-copy,
  .bp-inline-message { padding: 17px; }
  .bp-inline-title { font-size: 20px; }
  .bp-inline-contact { grid-template-columns: 1fr; }
  .bp-inline-contact .bp-qr { width: 142px; height: 142px; }
  .bp-inline-contact .bp-wechat { text-align: center; }
  .bp-inline-message { border-top: 2px solid #e0a400; border-left: 0; }
  .bp-site-footer {
    width: calc(100% - 24px);
    padding: 16px 0 22px;
    gap: 4px 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-promo * { scroll-behavior: auto !important; }
}
