/* ==========================
   关于我们 / 联系我们 页面样式
   ========================== */

/* 页头导航链接样式统一由 page.css 提供 */

/* ---------- 关于页：品牌故事 ---------- */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: center;
}

.about-hero-text h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #f5f5f5;
}

.about-hero-text p {
  margin-top: 16px;
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.9;
  text-align: justify;
}

.about-hero-img {
  border-radius: 16px;
  overflow: hidden;
  background: #262626;
}

.about-hero-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  background: #2f2f2f;
  border-radius: 14px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat strong {
  font-size: 24px;
  font-weight: 600;
  color: #d8b48c;
}

.stat span {
  font-size: 13px;
  color: #9a9a9a;
  letter-spacing: 1px;
}

/* ---------- 优势 ---------- */
.advantages {
  margin-top: 56px;
}

.advantages h2,
.timeline-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.adv-card {
  padding: 22px 20px;
  background: #2f2f2f;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.adv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--wood-1), var(--wood-2));
}

.adv-card h3 {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #f0f0f0;
}

.adv-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #9a9a9a;
}

/* ---------- 发展历程 ---------- */
.timeline-section {
  margin-top: 56px;
}

.timeline {
  list-style: none;
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline li {
  position: relative;
  padding: 0 0 26px 22px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wood-1), var(--wood-2));
  box-shadow: 0 0 0 4px rgba(138, 106, 79, 0.25);
}

.tl-year {
  font-size: 15px;
  font-weight: 600;
  color: #d8b48c;
}

.tl-body h3 {
  display: inline;
  margin-left: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #f0f0f0;
}

.tl-body p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #9a9a9a;
}

/* ---------- CTA ---------- */
.cta-box {
  margin-top: 56px;
  padding: 36px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(138, 106, 79, 0.22), rgba(107, 79, 56, 0.22));
  border: 1px solid rgba(216, 180, 140, 0.25);
  border-radius: 16px;
}

.cta-box h2 {
  font-size: 20px;
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: 1px;
}

.cta-box p {
  margin: 10px 0 20px;
  color: #b5b5b5;
  font-size: 14px;
}

/* ---------- 联系页：留言表单 ---------- */
.contact-form-section {
  margin-top: 56px;
}

.contact-form-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.contact-form {
  padding: 26px;
  background: #2f2f2f;
  border-radius: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #b5b5b5;
}

.form-field label em {
  color: #e0343c;
  font-style: normal;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  background: #3a3a3a;
  color: #eee;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--wood-1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7a7a7a;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .adv-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .adv-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
