.rfq-section { background: linear-gradient(180deg, #fff, var(--ul-bg)); padding: 34px 30px 56px; }
.rfq-grid { max-width: 1200px; margin: 0 auto; display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.rfq-form-wrap {
  position: relative;
  flex: 1.4;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--color-entry-line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--ul-shadow-sm);
}
.rfq-form-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(120deg, var(--ul-brand), var(--ul-brand-2) 50%, var(--ul-gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.rfq-form-wrap:hover::after { opacity: 1; }
.rfq-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; color: #1a2233; letter-spacing: -0.3px; }
.rfq-sub { font-size: 13.5px; color: #5a6577; margin: 0 0 6px; }
.rfq-form { display: flex; flex-direction: column; gap: 13px; margin-top: 8px; }
.rfq-row { display: flex; gap: 14px; }
.field { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 700; color: #1a2233; }
.field select, .field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-entry-line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  color: #1a2233;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ul-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.rfq-submit {
  margin-top: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(100deg, #15a34a, #22c55e);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(22, 163, 74, 0.6);
  transition: transform 0.3s, filter 0.3s, box-shadow 0.3s;
}
.rfq-submit:hover { transform: translateY(-2px); filter: brightness(1.04); color: #fff; box-shadow: 0 16px 36px -12px rgba(22, 163, 74, 0.7); }
.rfq-submit svg.ul-i { width: 18px; height: 18px; }
.rfq-side { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 14px; }
.rfq-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 18px;
  padding: 20px;
  background:
    radial-gradient(500px 300px at 90% -20%, rgba(6, 182, 212, 0.35), transparent 60%),
    linear-gradient(150deg, #0a1230, #0f1e3d);
  box-shadow: 0 22px 50px -28px rgba(10, 18, 48, 0.7);
}
.rfq-card h4 { margin: 0 0 8px; font-size: 16px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.rfq-card h4 svg.ul-i { width: 18px; height: 18px; color: #7dd3fc; }
.rfq-card p { margin: 0; font-size: 13px; opacity: 0.9; color: #cdd9f5; line-height: 1.6; }
.rfq-card-blue { background: linear-gradient(150deg, #1e3a8a, #2563eb); }
.rfq-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #16a34a;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  margin-top: 14px;
  transition: 0.2s;
}
.rfq-wa:hover { background: #e8f6ee; color: #15803d; }
.rfq-wa svg.ul-i { width: 18px; height: 18px; }
/* ---------- 提交失败提示 ---------- */
.rfq-error {
  margin: 10px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- 提交成功态 ---------- */
.rfq-form[hidden] { display: none !important; }
.rfq-success[hidden] { display: none !important; }
.rfq-success {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 34px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
  border: 1px solid #bbf7d0;
}
.rfq-success__ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(100deg, #15a34a, #22c55e);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(22, 163, 74, 0.7);
}
.rfq-success__ic svg { width: 28px; height: 28px; }
.rfq-success h4 { margin: 4px 0 0; font-size: 19px; font-weight: 800; color: #14532d; }
.rfq-success p { margin: 0; font-size: 14px; color: #3f6b4d; line-height: 1.6; max-width: 420px; }
.rfq-success__wa {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(100deg, #15a34a, #22c55e);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px -12px rgba(22, 163, 74, 0.6);
  transition: transform 0.3s, filter 0.3s;
}
.rfq-success__wa:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }

@media (max-width: 640px) {
  .rfq-section { padding: 26px 18px 40px; }
  .rfq-row { flex-direction: column; }
  .rfq-success { padding: 26px 18px; }
}
