/* ============================================================
   宝发公司官网样式
   主色：深蓝  辅色：宝红
   ============================================================ */

:root {
  --navy-950: #050e26;
  --navy-900: #081633;
  --navy-800: #0c2148;
  --navy-700: #123066;
  --navy-600: #1a4188;
  --blue: #2563c4;
  --blue-light: #4f8de8;
  --red: #c8102e;
  --red-bright: #e5324d;
  --gold-warm: #e8b23a;
  --text-dark: #1c2437;
  --text-body: #4a5568;
  --text-grey: #7a8699;
  --bg-grey: #f4f6fa;
  --border: #e4e8f0;
  --white: #ffffff;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --shadow-sm: 0 4px 14px rgba(8, 22, 51, .08);
  --shadow-md: 0 12px 34px rgba(8, 22, 51, .12);
  --shadow-lg: 0 24px 60px rgba(8, 22, 51, .18);
  --radius: 14px;
  --header-h: 76px;
  --transition: .35s cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }

.container { width: min(1200px, 92%); margin: 0 auto; }

.accent { color: var(--red); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 15px; font-weight: 600; letter-spacing: 2px;
  cursor: pointer; border: none;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-bright) 100%);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(200, 16, 46, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(200, 16, 46, .45); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(8, 22, 51, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(5, 14, 38, .35);
}
.nav-wrap { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo {
  height: 50px; width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 7px 14px;
  box-shadow: 0 6px 18px rgba(5, 14, 38, .35);
  transition: var(--transition);
}
.brand:hover .brand-logo { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(5, 14, 38, .45); }

.site-nav { display: flex; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px; letter-spacing: 1px;
  transition: var(--transition);
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px; letter-spacing: 2px; font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  transition: var(--transition);
}
.nav-cta:hover { background: var(--red); border-color: var(--red); box-shadow: 0 8px 20px rgba(200, 16, 46, .4); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* ============ 首屏 ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: #fff;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-glow-a { width: 560px; height: 560px; right: -120px; top: -140px; background: rgba(37, 99, 196, .4); }
.hero-glow-b { width: 420px; height: 420px; left: -100px; bottom: -120px; background: rgba(200, 16, 46, .28); }

.hero-inner { position: relative; z-index: 2; padding: 140px 0 100px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 5px;
  color: var(--blue-light);
  margin-bottom: 26px;
}
.hero-eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--red); }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.28;
  letter-spacing: 6px;
  font-weight: 700;
  margin-bottom: 28px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .35);
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, .72);
  letter-spacing: 1px;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 2;
}
.mouse {
  display: block; width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--red-bright);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* ============ 数据概览 ============ */
.stats {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  z-index: 5;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-50%);
  border-top: 4px solid var(--red);
}
.stat-item {
  padding: 42px 20px 38px;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 28%; bottom: 28%;
  width: 1px; background: var(--border);
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 46px; font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
}
.stat-num::first-letter { color: inherit; }
.stat-num { font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; letter-spacing: 2px; color: var(--text-grey); }

/* ============ 通用区块 ============ */
.section { padding: 110px 0; }
.section-dark { background: linear-gradient(170deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section-grey { background: var(--bg-grey); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow { font-size: 13px; letter-spacing: 6px; color: var(--blue); font-weight: 600; }
.section-dark .section-eyebrow { color: var(--blue-light); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: 6px;
  color: var(--navy-900);
  margin: 10px 0 18px;
}
.section-dark .section-title { color: #fff; }
.section-line {
  display: block; width: 56px; height: 3px; margin: 0 auto;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  border-radius: 2px;
}
.section-desc { margin-top: 18px; color: var(--text-grey); }
.section-dark .section-desc { color: rgba(255, 255, 255, .6); }

/* ============ 关于宝发 ============ */
.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 70px; align-items: center;
}
.about-text h3 {
  font-family: var(--font-serif);
  font-size: 26px; letter-spacing: 2px;
  color: var(--navy-800);
  margin-bottom: 22px;
}
.about-text p { margin-bottom: 16px; text-align: justify; }
.about-points { margin: 26px 0 36px; display: grid; gap: 14px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text-dark); }
.about-points svg { color: var(--red); flex-shrink: 0; }

.about-visual { position: relative; min-height: 420px; }
.visual-card {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.visual-main {
  position: absolute; inset: 30px 30px 0 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px;
  background:
    radial-gradient(circle at 80% 15%, rgba(37, 99, 196, .5), transparent 55%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  overflow: hidden;
}
.visual-main::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 80% 15%, #000, transparent 70%);
}
.visual-num {
  font-family: var(--font-serif);
  font-size: 88px; font-weight: 700; line-height: 1;
  position: relative;
}
.visual-num span { color: var(--red-bright); }
.visual-caption { letter-spacing: 4px; color: rgba(255, 255, 255, .7); margin-top: 10px; position: relative; }
.visual-float {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 26px;
  font-size: 13px; letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
}
.visual-float svg { color: var(--red-bright); }
.visual-float-a { left: 0; top: 0; animation: floaty 5s ease-in-out infinite; }
.visual-float-b { right: -10px; bottom: 40px; animation: floaty 6s ease-in-out 1s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ 核心业务 ============ */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.biz-card {
  padding: 42px 28px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.biz-card::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.biz-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, .08); box-shadow: 0 22px 50px rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .2); }
.biz-card:hover::before { transform: scaleX(1); }
.biz-icon {
  width: 66px; height: 66px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(200, 16, 46, .18), rgba(37, 99, 196, .18));
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--red-bright);
  margin-bottom: 26px;
  transition: var(--transition);
}
.biz-card:hover .biz-icon {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff; box-shadow: 0 10px 24px rgba(200, 16, 46, .45);
}
.biz-card h3 { font-size: 20px; letter-spacing: 3px; margin-bottom: 14px; }
.biz-card p { font-size: 14px; color: rgba(255, 255, 255, .62); margin-bottom: 22px; }
.biz-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2px;
  color: var(--blue-light); font-weight: 600;
  transition: var(--transition);
}
.biz-card:hover .biz-more { color: var(--red-bright); gap: 12px; }

/* ============ 发展历程 ============ */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; left: 130px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--border) 8%, var(--border) 92%, transparent);
}
.timeline-item {
  position: relative;
  display: flex; align-items: flex-start;
  padding: 22px 0 22px 0;
}
.timeline-year {
  width: 96px; flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  color: var(--navy-700);
  text-align: right;
  padding-right: 34px;
  line-height: 1.6;
}
.timeline-dot {
  position: absolute; left: 130px; top: 34px;
  width: 14px; height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--red);
  box-shadow: 0 0 0 5px rgba(200, 16, 46, .12);
}
.timeline-body {
  margin-left: 42px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  transition: var(--transition);
}
.timeline-item:hover .timeline-body { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(200, 16, 46, .35); }
.timeline-body h3 { font-size: 17px; letter-spacing: 2px; color: var(--navy-800); margin-bottom: 6px; }
.timeline-body p { font-size: 14px; color: var(--text-grey); }

/* ============ 新闻动态 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.news-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 190px;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}
.news-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.news-thumb span {
  position: relative; z-index: 2;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 12px; letter-spacing: 2px;
  color: #fff; background: rgba(200, 16, 46, .92);
}
.news-thumb-a { background: linear-gradient(140deg, var(--navy-700), var(--navy-950)); }
.news-thumb-b { background: linear-gradient(140deg, var(--navy-600), var(--navy-800)); }
.news-thumb-c { background: linear-gradient(140deg, var(--red) 0%, var(--navy-900) 90%); }
.news-body { padding: 24px 26px 30px; }
.news-body time { font-size: 13px; color: var(--red); letter-spacing: 1px; font-weight: 600; }
.news-body h3 {
  font-size: 17px; letter-spacing: 1px;
  color: var(--navy-900);
  margin: 8px 0 10px;
  line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: var(--transition);
}
.news-card:hover .news-body h3 { color: var(--red); }
.news-body p { font-size: 14px; color: var(--text-grey); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ 资质荣誉 ============ */
.honor-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.honor-item {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 34px 14px;
  text-align: center;
  font-size: 14px; font-weight: 500; letter-spacing: 1px;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.honor-item svg { color: var(--navy-700); transition: var(--transition); }
.honor-item:hover { transform: translateY(-8px); border-color: rgba(200, 16, 46, .4); box-shadow: var(--shadow-md); }
.honor-item:hover svg { color: var(--red); transform: scale(1.12); }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-family: var(--font-serif); font-size: 26px; letter-spacing: 3px; margin-bottom: 16px; }
.contact-info > p { color: rgba(255, 255, 255, .62); margin-bottom: 36px; }
.contact-list { display: grid; gap: 26px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { color: var(--red-bright); flex-shrink: 0; margin-top: 4px; }
.contact-list strong { display: block; color: #fff; font-size: 15px; letter-spacing: 2px; margin-bottom: 2px; }
.contact-list span { font-size: 14px; color: rgba(255, 255, 255, .6); }

.contact-form {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 38px;
  backdrop-filter: blur(8px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; color: rgba(255, 255, 255, .8); letter-spacing: 1px; margin-bottom: 8px; }
.form-field label i { color: var(--red-bright); font-style: normal; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 14px; font-family: inherit;
  transition: var(--transition);
  resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--red-bright);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .18);
}
.form-tip { margin-top: 14px; font-size: 14px; text-align: center; min-height: 22px; }
.form-tip.ok { color: #4ade80; }
.form-tip.err { color: var(--red-bright); }

/* ============ 页脚 ============ */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .6); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 50px;
  padding: 70px 0 50px;
}
.footer-brand p { margin-top: 18px; font-size: 14px; letter-spacing: 1px; }
.footer-col h4 { color: #fff; font-size: 16px; letter-spacing: 3px; margin-bottom: 20px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 12px; transition: var(--transition); }
.footer-col a:hover { color: var(--red-bright); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer-bottom p { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .4); letter-spacing: 1px; }

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed; right: 28px; bottom: 32px; z-index: 90;
  width: 48px; height: 48px;
  border: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(200, 16, 46, .4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: var(--transition);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ============ 滚动动画 ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .8, .3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 44px; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .site-nav {
    position: fixed; top: var(--header-h); right: 0;
    width: min(300px, 80vw); height: calc(100vh - var(--header-h));
    flex-direction: column; gap: 0;
    background: rgba(8, 22, 51, .97);
    backdrop-filter: blur(14px);
    padding: 26px 0;
    transform: translateX(100%);
    transition: var(--transition);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .4);
  }
  .site-nav.open { transform: translateX(0); }
  .nav-link { padding: 15px 34px; font-size: 16px; }
  .nav-link::after { left: 34px; right: auto; width: 22px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 340px; }
  .news-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .timeline::before { left: 8px; }
  .timeline-item { flex-direction: column; padding-left: 36px; }
  .timeline-year { text-align: left; padding-right: 0; width: auto; }
  .timeline-dot { left: 8px; top: 66px; }
  .timeline-body { margin-left: 0; margin-top: 10px; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); transform: translateY(-40%); }
  .stat-item + .stat-item::before { display: none; }
  .biz-grid, .honor-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 26px 20px; }
}

/* ============ 关于我们 · 厂区照片 ============ */
.visual-photo {
  position: absolute; inset: 0 0 30px 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.visual-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.8,.3,1); }
.about-visual:hover .visual-photo img { transform: scale(1.06); }
.visual-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(12,33,72,0) 55%, rgba(5,14,38,.55) 100%);
}

/* ============ 产品中心 ============ */
.product-layout {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 30px; align-items: start;
}
.product-tabs { display: flex; flex-direction: column; gap: 12px; }
.ptab {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer; text-align: left;
  font-family: inherit;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ptab::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), var(--red-bright));
  transform: scaleY(0); transition: var(--transition);
}
.ptab:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: rgba(200,16,46,.3); }
.ptab.active { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(200,16,46,.45); }
.ptab.active::before { transform: scaleY(1); }
.ptab-num {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  color: #c9d2e2;
  transition: var(--transition);
}
.ptab.active .ptab-num { color: var(--red); }
.ptab-body { display: flex; flex-direction: column; gap: 3px; }
.ptab-body strong { font-size: 16px; letter-spacing: 1px; color: var(--navy-900); }
.ptab-body em { font-style: normal; font-size: 12px; color: var(--text-grey); letter-spacing: .5px; }

.product-panels {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 34px;
  min-height: 560px;
}
.ppanel { display: none; }
.ppanel.active { display: block; animation: panelIn .55s cubic-bezier(.22,.8,.3,1) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(26px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ppanel-main {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 30px; align-items: stretch;
}
.ppanel-main > img {
  width: 100%; height: 320px; object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  animation: imgIn .6s cubic-bezier(.22,.8,.3,1) both;
}
.ppanel-main > img:hover { transform: scale(1.015); box-shadow: var(--shadow-md); }
@keyframes imgIn {
  from { opacity: 0; transform: translateX(-18px) scale(.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.ppanel-info { display: flex; flex-direction: column; justify-content: center; animation: infoIn .6s .08s cubic-bezier(.22,.8,.3,1) both; }
@keyframes infoIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ppanel-tag {
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 12px; letter-spacing: 1px;
  color: var(--red);
  background: rgba(200,16,46,.08);
  border: 1px solid rgba(200,16,46,.2);
  margin-bottom: 16px;
}
.ppanel-info h3 {
  font-family: var(--font-serif);
  font-size: 26px; letter-spacing: 3px;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.ppanel-info p { font-size: 14px; color: var(--text-body); margin-bottom: 16px; text-align: justify; }
.ppanel-info ul { display: grid; gap: 10px; }
.ppanel-info li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px; color: var(--text-body);
}
.ppanel-info li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
}
.ppanel-thumbs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-top: 22px;
}
.ppanel-thumbs img {
  width: 100%; height: 92px; object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  border: 1px solid var(--border);
  transition: var(--transition);
  animation: thumbIn .5s cubic-bezier(.22,.8,.3,1) both;
}
.ppanel-thumbs img:nth-child(1) { animation-delay: .10s; }
.ppanel-thumbs img:nth-child(2) { animation-delay: .18s; }
.ppanel-thumbs img:nth-child(3) { animation-delay: .26s; }
.ppanel-thumbs img:nth-child(4) { animation-delay: .34s; }
@keyframes thumbIn {
  from { opacity: 0; transform: translateY(20px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ppanel-thumbs img:hover { transform: translateY(-5px); border-color: rgba(200,16,46,.4); box-shadow: var(--shadow-md); }

/* ============ 工程案例 ============ */
.case-filter { display: flex; justify-content: center; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; }
.cfilter {
  padding: 10px 30px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.75);
  font-size: 14px; letter-spacing: 2px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}
.cfilter:hover { border-color: rgba(255,255,255,.55); color: #fff; }
.cfilter.active {
  background: linear-gradient(120deg, var(--red), var(--red-bright));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(200,16,46,.4);
}
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255,255,255,.1);
  animation: cardIn .5s cubic-bezier(.22,.8,.3,1) both;
  transition: transform .4s cubic-bezier(.22,.8,.3,1), box-shadow .4s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.case-card.is-hidden { display: none; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.case-card img { width: 100%; height: 170px; object-fit: cover; transition: transform .8s cubic-bezier(.22,.8,.3,1); }
.case-card:hover img { transform: scale(1.08); }
.case-card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 28px 16px 12px;
  font-size: 13px; letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(5,14,38,.88));
  transform: translateY(6px);
  opacity: .92;
  transition: var(--transition);
}
.case-card:hover figcaption { transform: translateY(0); opacity: 1; }

.case-table-wrap {
  margin-top: 60px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 34px 38px;
  backdrop-filter: blur(8px);
}
.case-table-title {
  font-family: var(--font-serif);
  font-size: 22px; letter-spacing: 3px;
  color: #fff;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.case-table-title::before { content: ""; width: 4px; height: 22px; border-radius: 2px; background: linear-gradient(180deg, var(--red), var(--red-bright)); }
.case-table-scroll { overflow-x: auto; }
.case-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.case-table th, .case-table td { padding: 12px 16px; text-align: left; white-space: nowrap; }
.case-table td:nth-child(2) { white-space: normal; min-width: 260px; }
.case-table thead th {
  color: var(--blue-light);
  font-weight: 600; letter-spacing: 2px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.case-table tbody td { color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.07); }
.case-table tbody tr { transition: background .3s; }
.case-table tbody tr:hover { background: rgba(255,255,255,.06); }
.case-table td:first-child { color: var(--red-bright); font-weight: 600; }

/* ============ 资质荣誉 · 证书墙 ============ */
.honor-grid { margin-bottom: 50px; }
.cert-gallery { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
.cert-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.cert-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-feature img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: top; }
.cert-feature span {
  position: absolute; inset: auto 0 0 0;
  padding: 30px 20px 14px;
  color: #fff; font-size: 14px; letter-spacing: 2px;
  background: linear-gradient(180deg, transparent, rgba(5,14,38,.85));
}
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cert-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200,16,46,.35); }
.cert-item img { width: 100%; height: 190px; object-fit: cover; object-position: top; }
.cert-item span {
  display: block;
  padding: 10px 12px;
  font-size: 12.5px; letter-spacing: 1px;
  color: var(--text-dark);
  border-top: 1px solid var(--border);
  background: #fff;
}
.cert-plaque img { object-fit: cover; }

.patent-wall {
  margin-top: 50px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.patent-wall::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 85% 20%, #000, transparent 70%);
}
.patent-title {
  position: relative;
  font-family: var(--font-serif);
  font-size: 22px; letter-spacing: 3px;
  color: #fff;
  margin-bottom: 24px;
  display: flex; align-items: baseline; gap: 12px;
}
.patent-title::before { content: ""; width: 4px; height: 22px; border-radius: 2px; background: linear-gradient(180deg, var(--red), var(--red-bright)); align-self: center; }
.patent-title em { font-style: normal; font-size: 14px; color: rgba(255,255,255,.5); letter-spacing: 1px; }
.patent-row { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.patent-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255,255,255,.14);
  transition: var(--transition);
}
.patent-item img { width: 100%; height: 200px; object-fit: cover; object-position: top; }
.patent-item:hover { transform: translateY(-6px); border-color: rgba(229,50,77,.6); box-shadow: 0 14px 30px rgba(0,0,0,.4); }

/* ============ 灯箱 ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 14, 38, .92);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-body {
  max-width: min(920px, 90vw);
  max-height: 86vh;
  display: flex; flex-direction: column;
  transform: scale(.92) translateY(16px);
  transition: transform .45s cubic-bezier(.22,.8,.3,1);
}
.lightbox.open .lb-body { transform: scale(1) translateY(0); }
.lb-img {
  max-width: 100%; max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  background: #fff;
}
.lb-cap {
  margin-top: 16px;
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: 15px; letter-spacing: 2px;
}
.lb-close {
  position: absolute; top: 26px; right: 34px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff; font-size: 26px;
  cursor: pointer;
  transition: var(--transition);
}
.lb-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* ============ 新增板块响应式 ============ */
@media (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .patent-row { grid-template-columns: repeat(3, 1fr); }
  .cert-gallery { grid-template-columns: 1fr; }
  .cert-feature img { min-height: 260px; }
}

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .ptab { flex-shrink: 0; min-width: 220px; }
  .ptab:hover, .ptab.active { transform: translateY(-3px); }
  .ppanel-main { grid-template-columns: 1fr; }
  .ppanel-main > img { height: 240px; }
  .product-panels { min-height: 0; padding: 22px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .case-table-wrap { padding: 24px 18px; }
}

@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-card img { height: 210px; }
  .ppanel-thumbs { grid-template-columns: repeat(2, 1fr); }
  .patent-row { grid-template-columns: repeat(2, 1fr); }
  .patent-item img { height: 170px; }
  .cert-grid { grid-template-columns: 1fr; }
  .patent-wall { padding: 26px 20px; }
}

/* ============ 产品质量 ============ */
.quality-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.qstat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.qstat::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transition: var(--transition);
}
.qstat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.qstat:hover::after { transform: scaleX(1); }
.qstat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 38px; font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
}
.qstat-num span { font-size: 16px; color: var(--red); margin-left: 4px; font-family: var(--font-sans); font-weight: 600; }
.qstat-label { font-size: 13px; letter-spacing: 2px; color: var(--text-grey); margin-top: 6px; display: block; }

.quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.quality-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.quality-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200,16,46,.35); }
.quality-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f0f2f6;
}
.quality-cover img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .8s cubic-bezier(.22,.8,.3,1);
}
.quality-card:hover .quality-cover img { transform: scale(1.05); }
.quality-card figcaption {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
}
.quality-card figcaption strong {
  display: block;
  font-size: 14.5px; letter-spacing: .5px;
  color: var(--navy-900);
  margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.quality-card figcaption span {
  font-size: 12px; color: var(--text-grey); letter-spacing: .5px;
}
.quality-note {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  color: var(--text-grey);
  letter-spacing: 1px;
  line-height: 2;
}

@media (max-width: 1024px) {
  .quality-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .quality-stats { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-card figcaption strong { font-size: 13px; }
}

/* ============ 产品质量 · 联系引导卡 ============ */
.quality-more {
  grid-column: span 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  border: 2px dashed rgba(200, 16, 46, .35);
  border-radius: 12px;
  background: rgba(200, 16, 46, .03);
  padding: 26px 20px;
  text-align: center;
  transition: var(--transition);
}
.quality-more svg { color: var(--red); }
.quality-more strong { font-size: 19px; letter-spacing: 3px; color: var(--navy-900); }
.quality-more span { font-size: 13px; color: var(--text-grey); letter-spacing: 1px; }
.quality-more em {
  font-style: normal;
  margin-top: 6px;
  padding: 9px 28px;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--red), var(--red-bright));
  color: #fff; font-size: 13px; letter-spacing: 2px;
  box-shadow: 0 8px 20px rgba(200, 16, 46, .3);
}
.quality-more:hover { border-color: var(--red); background: rgba(200, 16, 46, .06); transform: translateY(-6px); box-shadow: var(--shadow-md); }

@media (max-width: 860px) {
  .quality-more { grid-column: span 2; }
}
@media (max-width: 560px) {
  .quality-more { grid-column: span 2; }
  .quality-more strong { font-size: 16px; }
}
