/* 联系我们页面样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

@media (max-width: 1100px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-info-section {
        order: 2; /* 表单依然在上，侧边栏在下；如果你想要侧边栏放上面，改成order:1 */
    }
    .contact-form-section {
        order: 1;
    }
}

/* 表单区域样式 */
.contact-form-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 16px;
}

.form-group.required label::after {
    content: " *";
    color: #e74c3c;
}

.form-input,
.form-textarea,
.form-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.line-input:focus{
    outline: none;
    border-color: #007bff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 联系信息区域样式 */
.contact-info-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-section h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.info-content p {
    margin: 0;
    color: #555;
}

/* 社交媒体链接样式 */
.social-media {
    margin-top: 30px;
}

.social-media h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    filter: grayscale(100%); /* 全部图标转为灰度灰色 */
    opacity: 0.8;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.social-link svg {
    width: 100%;
    height: 100%;
}
.social-link i {
    font-size: 30px;
    color: #fff;
}
.social-link:hover {
    transition: background-color 0.3s;
}

/* 地图样式 */
.map-section {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.social-link.wechat {
    background-color: #07c160;
}
.map-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.map-container {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
}

/* 成功消息样式 */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* 错误消息样式 */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* 表单验证错误样式 */
.form-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* 工作时间样式 */
.work-hours {
    margin-top: 20px;
}

.work-hours h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.work-hours p {
    margin: 5px 0;
    color: #555;
}
.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 25px 0 10px;
    border-left: 4px solid #007bff;
    padding-left: 10px;
    text-align: left;
}
 .contact-section p {
    font-size: 1.2em;
    margin: 10px 0;
}
.contact-section ul {
    font-size: 1em;
    list-style-type: disc;
    padding-left: 2em;
    margin: 10px 0;
}
.contact-section li {
    margin: 8px 0;
}

.form-input2 {
  width: 50px;    /* 自定义宽度，改这里统一控制大小 */
  height: 34px;
  padding: 0 8px;
  vertical-align: middle;
  margin-left: 10px;
  border: 1px solid #ccc;
}
.size-input-group {
    display: flex;
    align-items: center; /* 垂直居中，三者同一水平线 */
    gap: 8px; /* 三者之间的间距，数字可自行调大/小 */
}
.size-input-group label {
    margin-bottom: 0; /* 清除form-group默认label下边距 */
}
.checkbox-group label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap; /* 文字不自动换行 */
    margin-right: 16px;
}

/* 其他单选+横线输入框同行布局 */
.other-input-row {
  display: inline-flex;
  align-items: center; /* 垂直居中对齐，和前面单选齐平 */
  gap: 8px; /* “其他：”和横线之间的间距，可改数字 */
}
/* 清除label默认下边距，防止错位 */
.other-input-row label {
  margin-bottom: 0;
  white-space: nowrap; /* 文字不会自动换行 */
}

/* 原有单选组横向排版，防止换行 */
.checkbox-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* 小屏幕自动换行 */
  gap: 24px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white
}
.checkbox-group > label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-bottom: 0;
}
.line-input {
  border: none;
  border-bottom: 1px solid #333;
  height: 25px;
}

.wechat-icon {
  width: 50px;
  height: 50px;
  /* 微信圆角方形*/ 
  border-radius:10px;
  background-color: #07c160;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 微信图标字体 */
.wechat-icon i {
  font-size: 30px;
  color: #ffffff;
}

.privacy-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    z-index:9999;
    align-items:center;
    justify-content:center;
}

/* Paid evaluation sample RFQ */
.sample-hero {
  padding: 72px 0 48px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(4, 43, 74, 0.96), rgba(0, 119, 182, 0.84)),
    url("../images/application_bg.jpg") center / cover;
}

.sample-hero h1 {
  max-width: 820px;
  margin: 8px 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.sample-hero p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.7;
}

.sample-hero .eyebrow {
  margin: 0;
  color: #bde9ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-overview {
  padding-top: 36px;
}

.paid-sample-notice {
  margin-bottom: 32px;
  padding: 18px 22px;
  border-left: 5px solid #b7791f;
  border-radius: 4px;
  background: #fff8e6;
  color: #5f4300;
  font-size: 17px;
  line-height: 1.65;
}

.rfq-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 30px;
}

.process-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d9e4ec;
  border-radius: 8px;
  background: #ffffff;
}

.process-card span {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #05668d;
  color: #ffffff;
  font-weight: 700;
}

.process-card p {
  margin: 3px 0 0;
  line-height: 1.55;
}

.distributor-policy {
  padding: 22px;
  border-radius: 8px;
  background: #eef7fb;
}

.distributor-policy h2 {
  margin-top: 0;
}

.distributor-policy p {
  margin-bottom: 0;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.email-verification {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid #b8d5e1;
  border-radius: 8px;
  background: #f5fbfd;
}

.email-verification h3 {
  margin: 0 0 8px;
}

.email-verification > p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.verification-email-row,
.verification-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.verification-code-row {
  margin-top: 14px;
}

.verification-button,
.verification-link {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #05668d;
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.verification-button {
  background: #05668d;
  color: #ffffff;
}

.verification-link {
  background: #ffffff;
  color: #05668d;
}

.verification-button:disabled,
.verification-link:disabled {
  cursor: wait;
  opacity: 0.65;
}

.verification-status {
  min-height: 1.5em;
  margin-top: 12px !important;
  color: #216e39;
  font-weight: 600;
}

.verification-status.is-error {
  color: #b42318;
}

.verification-protected[hidden],
[data-organization-proof][hidden] {
  display: none;
}

.verification-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.terms-block {
  margin-top: 4px;
  padding: 15px;
  border: 1px solid #d8dee4;
  border-radius: 6px;
  background: #ffffff;
  line-height: 1.55;
}

.terms-block label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.terms-block input {
  margin-top: 4px;
}

.secondary-action {
  display: inline-block;
  margin: 12px 0 28px;
  padding: 11px 18px;
  border: 1px solid #05668d;
  border-radius: 4px;
  color: #05668d;
  font-weight: 700;
  text-decoration: none;
}

.secondary-action:hover {
  background: #05668d;
  color: #ffffff;
}

@media (max-width: 768px) {
  .sample-hero {
    padding: 52px 0 36px;
  }

  .rfq-process,
  .form-grid,
  .verification-email-row,
  .verification-code-row {
    grid-template-columns: 1fr;
  }

  .form-grid .full-width {
    grid-column: auto;
  }
}
