/*
 * 来源：从原页面内联 <style> 迁出，并按用途拆分为独立 CSS。
 * 原始哈希：9dca5a6962cd，用于追溯迁出前的样式内容。
 * 原始位置：contact.html。
 * 维护说明：该文件依赖 HTML 中的 <link> 加载顺序，调整后请做页面回归检查。
 */
/* 联系页顶部 Hero 区域：设置背景、层级和响应式间距。 */
#st-contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url('../img/photo-1581091226825-a6a2a5aee158.jpg');
  /* 背景图选择偏商务沟通场景，弱化装饰感并突出联系意图。 */
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  text-align: center;
}

#st-contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #ffffff !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  /* 加强文字阴影，保证深色背景上的标题可读性。 */
}

#st-contact-hero h1 span {
  color: #FF5B00 !important;
}

#st-contact-hero p {
  font-size: 1.3rem;
  color: #ffffff !important;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* 联系方式卡片网格：控制卡片布局和视觉层级。 */
.st-contact-wrapper {
  max-width: 1200px;
  margin: -60px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.st-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.st-info-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid #e2e8f0;
  transition: 0.3s;
}

.st-info-card:hover {
  transform: translateY(-5px);
  border-color: #FF5B00;
}

.st-info-card .icon-box {
  width: 50px;
  height: 50px;
  background: #fff7ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.st-info-card svg {
  width: 24px;
  height: 24px;
  fill: #FF5B00;
}

.st-info-card h3 {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.st-info-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* 联系页主体区域：左侧表单，右侧展示联系说明和服务优势。 */
.st-contact-main {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

/* 左侧表单：承载主要询盘入口。 */
.st-contact-form-box {
  background: #ffffff;
  padding: 45px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.st-contact-form-box h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #0f172a;
  font-weight: 800;
}

/* 右侧信息板：补充工厂能力和联系说明。 */
.st-contact-right-panel {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 工厂图片：用真实生产场景增强信任感。 */
.st-factory-img {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.st-factory-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-factory-img .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #FF5B00;
  color: #fff;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* 实力统计板：突出产能、经验和服务能力。 */
.st-stats-board {
  background: #0f172a;
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.st-stat-item h4 {
  font-size: 1.8rem;
  color: #FF5B00;
  margin: 0 0 5px 0;
}

.st-stat-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

/* 地址与社交媒体区 */
.st-address-social {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.st-address-social h4 {
  margin: 0 0 15px 0;
  color: #0f172a;
  font-size: 1.1rem;
}

.st-address-social p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.st-qr-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.st-qr-code {
  width: 80px;
  height: 80px;
  background: #fff;
  padding: 5px;
  border: 1px solid #e2e8f0;
}

.st-qr-code img {
  width: 100%;
  height: 100%;
}

.st-qr-text {
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 600;
}

.st-qr-text span {
  color: #FF5B00;
  display: block;
  font-size: 0.75rem;
}

/* 表单成功提示：覆盖插件默认样式，保持与页面视觉一致。 */
.ff-message-success {
  color: #065f46 !important;
  background-color: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  padding: 15px !important;
  margin-bottom: 20px !important;
}

/* 响应式调整：在窄屏下保持内容层级和可读性。 */
@media (max-width: 992px) {
  .st-info-grid {
    grid-template-columns: 1fr;
  }

  .st-contact-main {
    grid-template-columns: 1fr;
  }

  #st-contact-hero h1 {
    font-size: 2.2rem;
  }
}
