/* ═══════════════════════════════════════
   首页 - 河北航牌线缆有限公司
   ═══════════════════════════════════════ */

/* ── SECTION OVERRIDE (首页使用更大的section padding) ── */
section { padding: 96px 2rem; }
.section-title { font-size: clamp(28px, 4vw, 44px); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/factory/aerial.jpg');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,31,58,0.92) 0%, rgba(11,31,58,0.75) 50%, rgba(11,31,58,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  padding-top: 68px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,114,48,0.15); border: 1px solid rgba(224,114,48,0.4);
  padding: 6px 14px; margin-bottom: 28px;
}
.hero-badge span { font-size: 12px; color: var(--orange); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: blink 2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 {
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 700; color: #fff; line-height: 1.15; letter-spacing: 0.01em;
  margin-bottom: 16px; white-space: nowrap;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.7);
  max-width: 520px; margin-bottom: 40px; font-weight: 300; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.hero-scroll span { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; width: 100%; height: 100%;
  background: var(--orange); animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown { 0%{top:-100%} 100%{top:100%} }

/* ── STATS BAR ── */
.stats-bar { background: var(--navy); padding: 0; }
.stats-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 32px; border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 4px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: 42px; font-weight: 700;
  color: var(--orange); line-height: 1; display: flex; align-items: baseline; gap: 4px;
}
.stat-num sup { font-size: 22px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; margin-top: 4px; }

/* ── CAPABILITY SECTION ── */
.products-section { background: var(--light); }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; }
.products-section .capability-card { background: #fff; }

/* ── ABOUT SECTION ── */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; height: 480px; object-fit: cover; background: #c8d0dc;
  display: block;
}
.about-img-accent {
  position: absolute; bottom: -28px; right: -28px;
  width: 200px; height: 160px; object-fit: cover;
  border: 6px solid #fff; background: #c8d0dc;
}
.about-badge {
  position: absolute; top: 24px; left: -24px;
  background: var(--orange); color: #fff; padding: 16px 20px; text-align: center;
}
.about-badge .num { font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: 36px; font-weight: 700; line-height: 1; display: block; }
.about-badge .lbl { font-size: 11px; letter-spacing: 0.1em; opacity: 0.85; }
.about-content { }
.about-content .section-desc + .section-desc { margin-top: 12px; }
.about-points { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point-icon {
  width: 44px; height: 44px; background: rgba(224,114,48,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 20px;
}
.about-point-text h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.about-point-text p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── CERT SECTION ── */
.cert-section { background: var(--navy); padding: 72px 2rem; }
.cert-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 80px; flex-wrap: wrap; }
.cert-left { flex: 1; min-width: 260px; }
.cert-left .section-title { color: #fff; }
.cert-left .section-desc { color: rgba(255,255,255,0.55); max-width: 360px; }
.cert-list { display: flex; flex-wrap: wrap; gap: 16px; flex: 2; }
.cert-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px; min-width: 180px; transition: background 0.2s, border-color 0.2s;
}
.cert-item:hover { background: rgba(224,114,48,0.12); border-color: rgba(224,114,48,0.35); }
.cert-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.cert-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cert-org { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ── CERT IMAGE CARDS ── */
.cert-list-img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-self: flex-start;
}
.cert-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.cert-card:hover {
  background: rgba(224,114,48,0.12);
  border-color: rgba(224,114,48,0.35);
  transform: translateY(-4px);
}
.cert-card-img {
  width: 100%; aspect-ratio: 3/4;
  background: #fff; overflow: hidden;
  margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.cert-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.cert-card:hover .cert-card-img img { transform: scale(1.04); }
.cert-card .cert-name { font-size: 13px; }
.cert-card .cert-org { font-size: 11px; }

/* ── HONORS / NEWS SECTION ── */
.news-section { background: var(--light); }
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-top: 48px; }
.news-card { background: #fff; overflow: hidden; }
.news-card-main .news-img { height: 300px; }
.news-img { height: 200px; overflow: hidden; background: #c8d0dc; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.patent-img {
  width: 100%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.patent-img img {
  width: 100%; height: auto; max-height: 520px;
  object-fit: contain; display: block;
  transition: transform 0.4s;
}
.patent-card:hover .patent-img img { transform: scale(1.03); }
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.honor-card { background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.honor-img {
  width: 100%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.honor-img img {
  width: 100%; height: auto; max-height: 420px;
  object-fit: contain; display: block;
  transition: transform 0.4s;
}
.honor-card:hover .honor-img img { transform: scale(1.03); }
.news-body { padding: 24px; }
.news-date { font-size: 11px; color: var(--orange); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.news-title { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.45; margin-bottom: 10px; }
.news-card-main .news-title { font-size: 20px; }
.news-excerpt { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ── CASES SECTION ── */
.cases-section { background: var(--navy); padding: 72px 2rem; }
.cases-section .section-title { color: #fff; }
.cases-section .section-desc { color: rgba(255,255,255,0.55); max-width: 640px; }
.cases-section .section-tag span { color: var(--orange); }
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); margin-top: 48px; }
.case-item { background: rgba(255,255,255,0.04); padding: 16px 20px; font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; text-align: center; transition: background 0.2s, color 0.2s, transform 0.15s, border-color 0.2s; cursor: default; line-height: 1.5; border: 1px solid transparent; }
.case-item:hover { background: rgba(224,114,48,0.12); color: #fff; transform: translateY(-2px); z-index: 1; position: relative; border-color: rgba(224,114,48,0.35); }

/* ── RESPONSIVE (首页专属) ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent { display: none; }
  .about-badge { left: 16px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card-main { grid-column: span 2; }
  .cert-list-img { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-main { grid-column: auto; }
  .hero h1 { font-size: 36px; }
  .cert-inner { flex-direction: column; gap: 40px; }
  .cert-list-img { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}