/* ============================================
   AIC 艾瑞洁 · 关于我们页样式（about.html）
   依赖 common.css（设计变量 / 按钮 / nav / footer / section-head / 动效）
   图片占位说明：.about-hero-photo 与 .about-figure 默认显示深色占位 +
   data-ph 提示文字。替换真图时：设置其 background-image，并把 data-ph
   属性置空（content:attr(data-ph) 即不再显示提示）。
   ============================================ */

/* ---------- 0. Hero（深色过渡背景 + 右侧设备图）---------- */
.about-hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

/* 顶部主图层（占位为深色渐变；真图时设 background-image: url(/images/about-hero.jpg)）*/
.about-hero-photo {
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  background-image: url(/images/about-hero.webp);
  background-size: cover;
  background-position: center;
}

/* 左浓右淡的深色遮罩：保证左侧文字可读，右侧露出设备 */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 22, 40, 0.97) 0%,
    rgba(10, 22, 40, 0.88) 32%,
    rgba(10, 22, 40, 0.55) 62%,
    rgba(10, 22, 40, 0.28) 100%
  );
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 32px;
}

.about-hero-text { max-width: 640px; }

.about-hero .eyebrow { color: var(--accent-bright); }

.about-hero h1 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 6px 0 18px;
}

.about-hero-slogan {
  font-size: 20px;
  font-weight: 500;
  color: #DCE3EE;
  margin-bottom: 16px;
}

.about-hero-desc {
  font-size: 15.5px;
  color: #A8B5C7;
  line-height: 1.8;
  max-width: 540px;
}

/* ---------- 左文右图通用分栏（我们是谁 / 研发与制造）---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-who-text h2,
.about-rd-text h2 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 4px 0 22px;
}

/* 图片占位框（4:3） */
.about-figure {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 1. 我们是谁 ---------- */
.about-who {
  padding: 100px 0;
  background: #fff;
}

.about-who-text p {
  font-size: 15.5px;
  color: var(--mute);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ---------- 2. 数据指标条（深色）---------- */
.about-stats {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
}

.about-stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.about-stats .w-stat {
  text-align: center;
  padding: 48px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stats .w-stat:first-child { border-left: none; }

.ws-val {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.ws-val small {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-bright);
  margin-left: 3px;
}

.ws-lbl {
  font-size: 13px;
  color: #8595B0;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ---------- 3. 研发与制造 ---------- */
.about-rd {
  padding: 100px 0;
  background: var(--bg);
}

.about-rd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 6px;
}

.about-rd-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.rd-ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-rd-list h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.about-rd-list p {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.7;
}

/* ---------- 4. 资质与认证 ---------- */
.about-certs {
  padding: 100px 0;
  background: #fff;
}

.about-certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  transition: all var(--t-base);
}

.cert-card:hover {
  border-color: var(--steel);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.cert-ico {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--steel) 0%, var(--ink-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cert-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.6;
}

/* ---------- 5. 发展历程（时间轴）---------- */
.about-history {
  padding: 100px 0;
  background: var(--bg);
}

.about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 30px;
}

.about-timeline::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--line);
}

.about-timeline .timeline-node {
  position: relative;
  text-align: center;
}

.about-timeline .timeline-dot {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 2;
  transition: all var(--t-base);
}

.about-timeline .timeline-node:hover .timeline-dot {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
  box-shadow: var(--shadow-accent);
}

.about-timeline .timeline-node h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.about-timeline .timeline-node p {
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.5;
  padding: 0 12px;
}

/* ---------- 6. 为什么选择艾瑞洁 ---------- */
.about-why {
  padding: 100px 0;
  background: #fff;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 32px;
  transition: all var(--t-base);
}

.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.why-ico {
  width: 56px;
  height: 56px;
  border-radius: var(--r);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.why-card h4 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.8;
}

.why-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--line);
}

/* ---------- 7. 底部 CTA 条 ---------- */
.about-cta {
  padding: 0 0 96px;
  background: #fff;
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 40px;
}

.about-cta-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.about-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .about-hero h1 { font-size: 44px; }

  .about-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-stats .w-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 16px;
  }
  .about-stats .w-stat:nth-child(1),
  .about-stats .w-stat:nth-child(2) { border-top: none; }

  .about-certs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about-hero { min-height: 400px; }
  .about-hero-inner { padding: 52px 20px; }
  .about-hero h1 { font-size: 34px; }
  .about-hero-slogan { font-size: 17px; }

  .about-who, .about-rd, .about-certs, .about-history, .about-why { padding: 64px 0; }
  .about-who-text h2, .about-rd-text h2 { font-size: 30px; }

  .about-stats .w-stat { padding: 30px 12px; }
  .ws-val { font-size: 34px; }

  .about-certs-grid { grid-template-columns: 1fr; }

  .about-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .about-timeline::before { display: none; }

  .about-cta-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
