/* ===================================================================
   components.css — 卡片 / Hero轮播 / 表单 / 徽章 / 新闻卡 / 视频卡 / 时间轴
   =================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05); transition: opacity 1s var(--ease), transform 6s linear;
}
.hero__slide.active { opacity: 1; transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,35,54,.92) 0%, rgba(15,35,54,.65) 45%, rgba(15,35,54,.35) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; text-align: center; }
.hero__eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--accent-2); font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; }
.hero__sub { font-size: 18px; color: #d6e2ee; margin: 18px 0 30px; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__trust { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: #aebfd0; justify-content: center; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.hero__dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .3s; }
.hero__dots button.active { background: var(--accent-2); width: 26px; border-radius: 6px; }

/* ---------- 卡片通用 ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--steel-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--navy);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; }

/* 带图卡片 */
.media-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.media-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--steel-light); }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-card:hover .media-card__img img { transform: scale(1.06); }
.media-card__body { padding: 20px; }
.media-card__body h3 { font-size: 17px; margin-bottom: 8px; }
.media-card__body p { font-size: 14px; }
.media-card__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(42,157,143,.1); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- 核心业务（大卡） ---------- */
.biz-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; color: #fff; }
.biz-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.biz-card:hover .biz-card__img { transform: scale(1.08); }
.biz-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,35,54,.92), rgba(15,35,54,.15)); }
.biz-card__body { position: relative; z-index: 2; padding: 26px; }
.biz-card__body h3 { color: #fff; font-size: 21px; }
.biz-card__body p { color: #cdd9e6; font-size: 14px; margin: 8px 0 14px; }
.biz-card__body .arrow { font-size: 14px; color: var(--accent-2); font-weight: 700; }

/* ---------- 资质荣誉条 ---------- */
.badge-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badge-strip .badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--navy);
}
.badge-strip .badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- 合作客户 Logo 墙 ---------- */
.client-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client-wall .client {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; padding: 18px 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.client-wall .client img { max-height: 84px; max-width: 100%; width: auto; filter: grayscale(1) opacity(.75); transition: filter .25s var(--ease); }
.client-wall .client:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.client-wall .client:hover img { filter: grayscale(0) opacity(1); }
@media (max-width: 760px) { .client-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 筛选 Tab ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-tabs button {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--border); font-size: 14px;
  font-weight: 600; color: var(--text-soft); transition: all .2s;
}
.filter-tabs button:hover { border-color: var(--navy); color: var(--navy); }
.filter-tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.form-field label .req { color: #d9534f; }
.form-field input, .form-field textarea, .form-field select {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-soft); }
.form-msg { font-size: 14px; margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-sm); display: none; }
.form-msg.ok { display: block; background: rgba(42,157,143,.12); color: #1c6e63; }
.form-msg.err { display: block; background: rgba(217,83,79,.1); color: #b03a36; }

/* ---------- 新闻卡 ---------- */
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--steel-light); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-soft); margin-bottom: 10px; }
.news-card__cat { font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 11px; }
.news-card__cat.company { background: rgba(22,50,79,.1); color: var(--navy); }
.news-card__cat.industry { background: rgba(42,157,143,.12); color: #1c6e63; }
.news-card__body h3 { font-size: 17px; line-height: 1.4; margin-bottom: 10px; }
.news-card__body p { font-size: 14px; flex: 1; }
.news-card__more { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 视频卡 ---------- */
.video-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.video-card__img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-deep); cursor: pointer; }
.video-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card:hover .video-card__img img { transform: scale(1.05); }
.video-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15,35,54,.35); transition: background .3s;
}
.video-card:hover .video-card__play { background: rgba(15,35,54,.2); }
.video-card__play span {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 22px; padding-left: 4px;
}
.video-card__body { padding: 18px 20px 22px; }
.video-card__body h3 { font-size: 16px; margin-bottom: 8px; }
.video-card__body p { font-size: 14px; }
.video-card__link { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* 本地 HTML5 视频播放器（电脑/手机浏览器直接播放） */
.video-card__html5 { aspect-ratio: 16/9; background: #000; }
.video-card__html5 video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ---------- 厂区环境画廊 ---------- */
.env-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.env-wall figure { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.env-wall figure:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.env-wall img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.env-wall figure:hover img { transform: scale(1.05); }
.env-wall figcaption { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--navy); text-align: center; }
@media (max-width: 760px) { .env-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .env-wall { grid-template-columns: 1fr; } }

/* ---------- 时间轴（关于我们） ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline__item { position: relative; padding: 0 0 34px 30px; }
.timeline__item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.timeline__year { font-size: 20px; font-weight: 800; color: var(--navy); }
.timeline__item h4 { margin: 4px 0 6px; font-size: 16px; }
.timeline__item p { font-size: 14px; }

/* ---------- CTA 联系带 ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-3)); border-radius: var(--radius); padding: 48px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #cdd9e6; margin-bottom: 26px; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- 双工厂信息卡 ---------- */
.factory-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.factory-card__img { aspect-ratio: 16/10; background: var(--steel-light); }
.factory-card__body { padding: 24px; }
.factory-card__body h3 { margin-bottom: 6px; }
.factory-card__body .role { color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.factory-card__body p { font-size: 14px; }

/* ---------- 地图 ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 360px; background: var(--steel-light); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- 文章正文 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article__cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/9; background: var(--steel-light); }
.article__meta { font-size: 13px; color: var(--text-soft); margin-bottom: 16px; display: flex; gap: 12px; }
.article__body { font-size: 16px; line-height: 1.9; }
.article__body p { margin-bottom: 18px; color: var(--text); }
.article__body h3 { margin: 28px 0 12px; }
.article__body h2 { font-size: 20px; margin: 30px 0 14px; color: var(--navy); letter-spacing: .5px; }
.article__body .spec-table { margin: 18px 0 24px; }
.article__body .spec-table th, .article__body .spec-table td { font-size: 15px; padding: 12px 16px; }
.article__body .spec-table th { width: 32%; }
.article__body ul { margin: 0 0 18px; padding-left: 22px; }
.article__body ul li { margin-bottom: 8px; }

@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
}

/* 核心优势客观事实行 */
.card__fact { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 13px; font-weight: 600; color: var(--accent); }
/* 加工能力参数表（GEO 结构化事实） */
.spec-table { width: 100%; margin-top: 34px; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 18px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--border); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; white-space: nowrap; width: 12%; }
.spec-table td { color: var(--text-2); }
@media (max-width: 760px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { padding-bottom: 2px; border-bottom: none; } .spec-table td { padding-top: 2px; } }
/* FAQ 手风琴 */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0 20px 16px; color: var(--text-2); font-size: 14px; line-height: 1.8; }
/* NAP 联系信息块 */
.nap-list { list-style: none; padding: 0; margin: 0; }
.nap-list li { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.nap-list strong { color: var(--navy); min-width: 86px; flex-shrink: 0; font-weight: 700; }
.map-embed { margin-top: 18px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

/* 设备清单表格（GEO 结构化事实） */
.equip-title { margin: 34px 0 14px; font-size: 18px; color: var(--navy); font-weight: 700; }
.equip-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.equip-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.equip-table th, .equip-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.equip-table thead th { background: var(--navy); color: #fff; font-weight: 600; }
.equip-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.equip-table tbody tr:hover { background: #eef4f6; }
.equip-table .equip-total td { background: #e8f0ee; font-weight: 700; color: var(--navy); }
.equip-table td:first-child, .equip-table th:first-child { text-align: center; width: 48px; color: var(--text-soft); }

/* 设备清单移动端优化 */
@media (max-width: 760px) {
  .equip-title { font-size: 16px; margin: 26px 0 10px; }
  .equip-table { min-width: 620px; font-size: 12px; }
  .equip-table th, .equip-table td { padding: 7px 9px; }
  .equip-wrap { -webkit-overflow-scrolling: touch; }
}

/* 设备清单移动端优化 */
@media (max-width: 760px) {
  .equip-title { font-size: 16px; margin: 26px 0 10px; }
  .equip-table { min-width: 620px; font-size: 12px; }
  .equip-table th, .equip-table td { padding: 7px 9px; }
  .equip-wrap { -webkit-overflow-scrolling: touch; }
}

/* 隐藏各板块眉题小字（与标题语义重复，精简视觉） */
.sec-head .eyebrow { display: none; }
.sec-head h2 { margin-top: 0; }
/* 筛选器分组标签（保留显示，眉题同款样式） */
.filter-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }

/* 设备清单：手机端卡片化（保留文字，GEO 友好） */
@media (max-width: 760px) {
  .equip-wrap { border: none; background: transparent; overflow: visible; }
  .equip-table { min-width: 0; font-size: 13px; background: transparent; }
  .equip-table thead { display: none; }
  .equip-table tbody, .equip-table tr, .equip-table td { display: block; width: 100%; }
  .equip-table tr { background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; padding: 10px 14px; box-shadow: 0 1px 3px rgba(22,50,79,.06); }
  .equip-table tbody tr:nth-child(even) { background: #fff; }
  .equip-table td { border-bottom: none; padding: 4px 0; white-space: normal; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
  .equip-table td::before { content: attr(data-label); color: var(--text-soft); font-weight: 600; text-align: left; flex-shrink: 0; }
  .equip-table td:first-child { display: none; }
  .equip-table .equip-total td { background: #e8f0ee; }
  .equip-table .equip-total { background: #e8f0ee; }
}

/* 关注二维码墙 */
.qr-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 860px; margin: 0 auto; }
.qr-wall figure { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.qr-wall figure:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qr-wall img { width: 100%; max-width: 220px; border-radius: 8px; }
.qr-wall figcaption { margin-top: 12px; font-weight: 700; color: var(--navy); font-size: 15px; }
@media (max-width: 760px) { .qr-wall { grid-template-columns: 1fr; max-width: 320px; } }

/* 关注二维码墙 */
.qr-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 860px; margin: 0 auto; }
.qr-wall figure { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.qr-wall figure:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qr-wall img { width: 100%; max-width: 220px; border-radius: 8px; }
.qr-wall figcaption { margin-top: 12px; font-weight: 700; color: var(--navy); font-size: 15px; }
@media (max-width: 760px) { .qr-wall { grid-template-columns: 1fr; max-width: 320px; } }

/* 二维码卡片：浅灰圆角（覆盖早期白底版式） */
.qr-wall figure { background: var(--bg-soft); border: none; border-radius: 14px; }
.qr-wall figcaption { font-size: 14px; line-height: 1.5; }

/* 二维码卡片：浅灰圆角（覆盖早期白底版式） */
.qr-wall figure { background: var(--bg-soft); border: none; border-radius: 14px; }
.qr-wall figcaption { font-size: 14px; line-height: 1.5; }
