:root {
  --accent-orange: #ff7a2f;
  --quote-bg: #314a2c;
  --form-radius: 18px;
  --military-green: #2d4a2b;
  --military-olive: #4a5d23;
}

.lp-quote-section {
  background: var(--quote-bg);
  color: #fff;
  padding: 70px 0 60px 0;
}

.lp-quote-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}
.lp-quote-desc {
  color: #e6e6e6;
  font-size: 1.16rem;
}
.lp-cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px; /* 行/列间距 */
  margin-top: 24px;
  padding: 0 10px;
}

.lp-cert-logos img {
  max-height: 60px;
  max-width: 100px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.lp-cert-logos img:hover {
  transform: scale(1.05);
}

@media (max-width: 575.98px) {
  .lp-cert-logos {
    gap: 12px 16px;
    justify-content: center;
  }

  .lp-cert-logos img {
    max-height: 46px;
    max-width: 80px;
  }
}

/* 原有表单样式 - 深色背景 */
.lp-quote-form {
  background: rgba(255,255,255,0.09);
  padding: 40px 36px 32px 36px;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.09);
  max-width: 660px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.form-control {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: all .2s;
  font-size: 1.07rem;
}

.form-control::placeholder { color: #eee; opacity: 1; }

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-orange,#ff7a2f);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.18);
  color: #fff;
  outline: none;
}

textarea.form-control { min-height: 120px; }

/* 覆盖 select 下拉的背景和字体 */
.lp-quote-form select.form-control {
  background:
    rgba(255,255,255,0.10)
    url('data:image/svg+xml;utf8,<svg fill="white" height="36" width="36" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg"><path d="M12.793 14.793a1 1 0 0 1 1.414 0L18 18.586l3.793-3.793a1 1 0 0 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 0-1.414z"/></svg>')
    no-repeat right 20px center;
  background-size: 36px 36px;
  padding-right: 60px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.lp-quote-form select.form-control option {
  background: #314a2c;  /* 你的主色 */
  color: #fff;
}

@media (max-width: 991.98px) {
  .lp-quote-section {
    padding: 38px 0 34px 0;
  }
  .lp-quote-title { font-size: 1.5rem; }
  .lp-quote-desc { font-size: 1rem;}
  .cert-logo-grid { gap: 16px 10px; padding: 16px 0 0 0;}
  .cert-logo-item { height: 70px; max-width: 100px; padding: 10px 6px; }
  .cert-logo-item img { max-height: 36px; }
  .lp-quote-form {
    padding: 24px 4vw 14px 4vw;
    max-width: 98vw;
  }
}

@media (max-width: 767.98px) {
  .lp-quote-row { flex-direction: column !important; }
  .lp-quote-form { margin-top: 24px;}
}

@media (max-width: 575.98px) {
  .lp-quote-section { padding: 16px 0 8px 0;}
  .lp-quote-title { font-size: 1.18rem;}
  .lp-quote-desc { font-size: 0.95rem;}
  .lp-quote-form { padding: 10px 2vw 7px 2vw;}
}

.lp-quote-form-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  letter-spacing: 0.5px;
}

.lp-quote-form-desc {
  font-size: 1.08rem;
  color: #e0e0e0;
  text-align: left;
  margin-bottom: 16px;
}

@media (max-width: 575.98px) {
  .lp-quote-form-title { 
  font-size: 1.4rem;
  padding:14px;
  }
  .lp-quote-form-desc { font-size: 0.93rem; }
}

@media (max-width: 575.98px) {
  .lp-quote-header {
    text-align: center;
    margin-top: 28px;    /* 顶部间距（原本可能是0或太小） */
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 575.98px) {
  .lp-quote-icon {
    width: 72px;   /* 原来可能是40px左右，增大到72px或更大 */
    height: 72px;
    margin: 10px 12px;
  }
  .lp-quote-icons {
    justify-content: center !important;  /* 横向居中一排 */
    flex-wrap: wrap;                     /* 多余自动换行 */
    gap: 12px 16px;                      /* 行/列间距 */
  }
  .lp-quote-icon img {
    max-width: 80%;
    max-height: 80%;
  }
}

.lp-form-note {
  background: rgba(255,255,255,0.06);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 24px;
  color: #eee;
  font-size: 1.02rem;
  line-height: 1.5;
}

.lp-form-note a {
  color: #ffb366;
  word-break: break-all;
}

.lp-form-note a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .lp-form-note {
    font-size: 0.9rem;
    padding: 12px 14px;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .lp-quote-row > .col-lg-6:first-child {
    text-align: left;
  }

  .lp-quote-title,
  .lp-quote-desc {
    text-align: left;
  }
}

/* ==================== 弹窗表单专用样式 ==================== */

/* 模态框样式 */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--military-green) 0%, var(--military-olive) 100%);
  color: white;
  border: none;
  padding: 25px 30px;
  position: relative;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="modal-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="rgba(255,255,255,0.02)"/><path d="M10 0L20 10L10 20L0 10Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23modal-pattern)"/></svg>') repeat;
  opacity: 0.3;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.modal-title i {
  margin-right: 12px;
  font-size: 1.3rem;
}

.btn-close {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 0.5rem;
  opacity: 0.8;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: none;
  font-size: 1.2rem;
  color: white;
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  color: white;
}

/* 确保X图标显示 */
.btn-close::before {
  content: "×";
  font-size: 1.5rem;
  line-height: 1;
  color: white;
}

.btn-close:hover::before {
  color: white;
}

/* 弹窗表单容器样式 - 白色背景 */
.modal-body .lp-quote-form {
  background: white;
  padding: 40px 36px 32px 36px;
  border-radius: 0;
  box-shadow: none;
  max-width: 100%;
  width: 100%;
  margin: 0;
  color: #333;
}

/* 弹窗表单标签样式 */
.modal-body .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* 弹窗表单控件样式 - 白色背景 */
.modal-body .form-control {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  color: #495057;
  padding: 15px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: all .2s;
  font-size: 1rem;
}

.modal-body .form-control::placeholder { 
  color: #6c757d; 
  opacity: 1; 
}

.modal-body .form-control:focus {
  background: #fff;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
  color: #495057;
  outline: none;
}

.modal-body textarea.form-control { 
  min-height: 120px; 
}

/* 弹窗 Select 下拉样式 - 白色背景 */
.modal-body .lp-quote-form select.form-control {
  background:
    #f8f9fa
    url('data:image/svg+xml;utf8,<svg fill="%236c757d" height="36" width="36" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg"><path d="M12.793 14.793a1 1 0 0 1 1.414 0L18 18.586l3.793-3.793a1 1 0 0 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 0-1.414z"/></svg>')
    no-repeat right 15px center;
  background-size: 16px 12px;
  padding-right: 45px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.modal-body .lp-quote-form select.form-control:focus {
  background:
    #fff
    url('data:image/svg+xml;utf8,<svg fill="%236c757d" height="36" width="36" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg"><path d="M12.793 14.793a1 1 0 0 1 1.414 0L18 18.586l3.793-3.793a1 1 0 0 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 0-1.414z"/></svg>')
    no-repeat right 15px center;
  background-size: 16px 12px;
}

.modal-body .lp-quote-form select.form-control option {
  background: white;
  color: #333;
}

/* 按钮样式 */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  gap: 8px;
}

.lp-btn-orange {
  background: var(--accent-orange);
  color: white;
}

.lp-btn-orange:hover {
  background: #e55a2b;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  color: white;
}

/* 弹窗响应式样式 */
@media (max-width: 767.98px) {
  .modal-body .lp-quote-form {
    padding: 24px 20px 20px 20px;
  }
}