/* ==========================================================================
   基础版 · 深海蓝 + 消防红 · 工业旗舰风
   - 主色：深海蓝 #0a2540 / #123f66；消防红 #c8161d；工业金 #f2a71b
   - 气质：满屏大图首屏、大字级标题、深色数据条、大留白、卡片质感
   - 说明：index.html 使用；indexA / indexB 在此基础上叠加各自主题
   ========================================================================== */

:root {
  --primary: #c8161d;
  --primary-dark: #9a0f16;
  --primary-light: #ff5a2b;
  --secondary: #0a2540;
  --secondary-2: #123f66;
  --accent: #f2a71b;
  --text: #1a2a3a;
  --text-light: #5e7183;
  --bg: #ffffff;
  --bg-light: #f3f6fa;
  --bg-dark: #071825;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.06);
  --shadow: 0 14px 40px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 28px 60px rgba(10, 37, 64, 0.16);
  --container: 1200px;
  --flame: linear-gradient(135deg, #c8161d, #ff6a2b);
  --navy-grad: linear-gradient(135deg, #0a2540, #14456f);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 隐藏页面滚动条（保留滚动功能） */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 图标 */
.icon-phone::before { content: "📞"; }
.icon-mail::before { content: "✉"; font-size: 16px; }
.icon-check::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: 10px; }
.icon-location::before { content: "📍"; margin-right: 8px; }
.icon-globe::before { content: "🌐"; margin-right: 8px; }

/* ---------------- 顶部联系栏 ---------------- */
.top-bar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  padding: 9px 0;
  letter-spacing: .02em;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-right {
  display: flex;
  gap: 26px;
}

.top-bar-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.top-bar-right a:hover {
  color: var(--accent);
}

/* ---------------- 主导航 ---------------- */
.main-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s, padding .3s;
}

.main-header.scrolled {
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 21px;
  color: var(--secondary);
  line-height: 1.15;
  letter-spacing: .04em;
}

.logo-text span {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 34px;
}

.main-nav a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 10px 0;
  transition: color .25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--flame);
  transition: width .3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: transform .3s, opacity .3s;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 6px;
  transition: all .3s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--flame);
  color: #fff;
  box-shadow: 0 12px 28px rgba(200, 22, 29, 0.30);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(200, 22, 29, 0.42);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--secondary);
}

.btn-block { width: 100%; }

/* ---------------- 首页大图 ---------------- */
.hero {
  position: relative;
  height: calc(100vh - 124px);
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 8s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 15, 26, 0.94) 0%, rgba(6, 24, 42, 0.74) 44%, rgba(6, 24, 42, 0.30) 100%),
    linear-gradient(0deg, rgba(4, 15, 26, 0.9) 0%, rgba(4, 15, 26, 0) 42%);
}

.hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 780px;
  color: #fff;
  animation: fadeInUp .9s ease-out both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .30em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--flame);
}

.hero-content h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 22px 0 0;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.hero-content h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 6px;
  border-radius: 3px;
  margin-top: 28px;
  background: var(--flame);
}

.hero-content p {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.85;
  margin: 26px 0 40px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 18px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: .3em;
}

.hero-scroll-bar {
  width: 1.5px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  position: relative;
  overflow: hidden;
}

.hero-scroll-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { top: -50%; }
  100% { top: 100%; }
}

.hero-dots {
  position: absolute;
  right: 40px;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: all .3s;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- 核心数据 ---------------- */
.stats {
  background: var(--secondary);
  color: #fff;
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--flame);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 44px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:first-child { border-left: none; }

.stat-item strong {
  display: block;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -.01em;
}

.stat-item span {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: .12em;
}

/* ---------------- 通用区块 ---------------- */
.section {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 68px;
}

.section-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  letter-spacing: .01em;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin: 20px auto 0;
  background: var(--flame);
}

.section-header p {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .34em;
}

.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255, 255, 255, 0.6); }

/* ---------------- 关于我们 ---------------- */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 66px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-light);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(10, 37, 64, 0.06);
  pointer-events: none;
}

.about-media img {
  width: 100%;
  object-fit: contain;
  transition: transform .6s ease;
}

.about-media:hover img { transform: scale(1.04); }

.about-content h3 {
  font-size: 27px;
  color: var(--secondary);
  margin-bottom: 20px;
  letter-spacing: .01em;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.about-content strong { color: var(--primary); }

.about-list {
  list-style: none;
  margin: 26px 0 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.about-list li {
  color: var(--text);
  padding-left: 2px;
}

/* ---------------- 企业文化 ---------------- */
.culture { background: var(--bg-light); }

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.culture-card {
  position: relative;
  background: #fff;
  padding: 38px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: transform .35s, box-shadow .35s;
  overflow: hidden;
}

.culture-card::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--flame);
  opacity: .06;
  transition: transform .4s;
}

.culture-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.culture-card:hover::before { transform: scale(1.6); }

.culture-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 16px;
}

.culture-card h3 {
  font-size: 19px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ---------------- 应用领域 ---------------- */
.applications { background: #fff; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-card {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: background .35s, border-color .35s, transform .35s, box-shadow .35s;
}

.app-card:hover {
  background: var(--navy-grad);
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.app-icon {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 16px;
}

.app-card h3 {
  font-size: 19px;
  color: var(--secondary);
  margin-bottom: 10px;
  transition: color .35s;
}

.app-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  transition: color .35s;
}

.app-card:hover h3 { color: #fff; }
.app-card:hover p { color: rgba(255, 255, 255, 0.78); }

/* ---------------- 产品中心 ---------------- */
.products {
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(200, 22, 29, 0.20), transparent 60%),
    var(--navy-grad);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(4, 15, 26, 0.32);
  transition: transform .35s, box-shadow .35s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(4, 15, 26, 0.42);
}

.product-image {
  height: 216px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-image img {
  max-height: 84%;
  max-width: 84%;
  object-fit: contain;
  transition: transform .45s;
}

.product-card:hover .product-image img { transform: scale(1.07); }

.product-info { padding: 22px 20px 24px; }

.product-info h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--secondary);
}

.product-info p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

.product-tag {
  display: inline-block;
  background: var(--flame);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 3px 11px;
  border-radius: 4px;
  margin-bottom: 11px;
}

/* ---------------- 资质荣誉 ---------------- */
.honor { background: var(--bg-light); }

.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.honor-card {
  background: #fff;
  padding: 34px 26px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

.honor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 22, 29, 0.25);
  box-shadow: var(--shadow);
}

.honor-card.wide { grid-column: span 2; }

.honor-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.22);
}

.honor-card h3 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.honor-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------------- 发展历程 ---------------- */
.timeline-section { background: #fff; }

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: .28;
}

.timeline-item {
  position: relative;
  padding-left: 42px;
  padding-bottom: 36px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(200, 22, 29, 0.18);
}

.timeline-year {
  display: inline-block;
  background: var(--navy-grad);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 14px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.timeline-body h4 {
  font-size: 19px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.timeline-body p {
  color: var(--text-light);
  font-size: 15px;
}

/* ---------------- 专利研发 ---------------- */
.patents {
  background:
    radial-gradient(1000px 520px at 12% -20%, rgba(200, 22, 29, 0.24), transparent 62%),
    var(--navy-grad);
  color: #fff;
}

.patent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.patent-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(6px);
  transition: background .35s, transform .35s, border-color .35s;
}

.patent-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(242, 167, 27, 0.4);
  transform: translateY(-6px);
}

.patent-type {
  display: inline-block;
  background: var(--accent);
  color: #2a1c00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 13px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.patent-card h3 {
  font-size: 21px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.patent-card ul {
  list-style: none;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.patent-card li { margin-bottom: 6px; }
.patent-card p { font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, 0.8); }

/* ---------------- 企业动态 ---------------- */
.news { background: #fff; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  gap: 22px;
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: box-shadow .35s, transform .35s, background .35s;
}

.news-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.news-date {
  flex-shrink: 0;
  text-align: center;
  color: var(--primary);
  min-width: 58px;
}

.news-date .day {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
}

.news-date .ym {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: .04em;
}

.news-body h3 {
  font-size: 16.5px;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1.45;
}

.news-body p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
}

.news-tag {
  display: inline-block;
  background: rgba(200, 22, 29, 0.10);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 9px;
}

/* ---------------- 联系我们 ---------------- */
.contact { background: var(--bg-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  background: #fff;
  padding: 46px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 25px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.contact-en {
  color: var(--text-light);
  font-size: 13.5px;
  letter-spacing: .04em;
  margin-bottom: 28px;
}

.contact-list {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0 26px;
  list-style: none;
  margin-bottom: 28px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child { border-bottom: none; }

.contact-list i {
  font-size: 20px;
  line-height: 1;
  margin-top: 3px;
}

.contact-list strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 2px;
}

.contact-list span,
.contact-list a { color: var(--text-light); }

.contact-list a:hover { color: var(--primary); }

.business-scope,
.company-profile {
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid var(--border);
}

.business-scope h4,
.company-profile h4 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.business-scope p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}

.profile-table th,
.profile-table td {
  padding: 11px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}

.profile-table th {
  background: var(--bg-light);
  color: var(--secondary);
  font-weight: 600;
  width: 30%;
  white-space: nowrap;
}

.profile-table td { color: var(--text-light); }

/* 联系表单（预留） */
.contact-form-card {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 22, 29, 0.10);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ---------------- 页脚 ---------------- */
.main-footer {
  position: relative;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 70px 0 0;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--flame);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 0;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand .logo-img {
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  box-sizing: content-box;
}

.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, 0.5); }

.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.85;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: .04em;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 11px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: #fff; }

.divider { margin: 0 10px; }

/* ---------------- 返回顶部 ---------------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  background: var(--flame);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
  z-index: 999;
  box-shadow: 0 10px 24px rgba(200, 22, 29, 0.35);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------------- 产品详情弹窗 ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal.active { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 26, 0.72);
  backdrop-filter: blur(3px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  width: 92%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 30px 70px rgba(4, 15, 26, 0.4);
  transform: translateY(24px);
  transition: transform .35s;
}

.modal-content::-webkit-scrollbar { width: 0; height: 0; }

.modal.active .modal-content { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-light);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover { color: var(--primary); }

.modal-body { padding: 40px; }

.modal-body h3 {
  font-size: 23px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.modal-body img {
  max-height: 270px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.modal-body p { color: var(--text-light); margin-bottom: 16px; }

.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.modal-table th,
.modal-table td {
  padding: 11px 14px;
  border: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}

.modal-table th {
  background: var(--bg-light);
  color: var(--secondary);
  font-weight: 600;
  width: 34%;
}

/* ---------------- 滚动显现 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-card.wide { grid-column: span 2; }
  .culture-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .top-bar .container { justify-content: center; }
  .top-bar-right { gap: 18px; font-size: 12.5px; }

  .main-header .container { height: 70px; }
  .logo-img { width: 46px; height: 46px; }
  .logo-text strong { font-size: 18px; }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.12);
    padding: 18px 24px;
    transform: translateY(-160%);
    transition: transform .35s;
    z-index: 999;
  }

  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; }
  .mobile-menu-toggle { display: flex; }

  .hero { height: auto; min-height: 0; max-height: none; padding: 120px 0 120px; }
  .hero .container { align-items: center; }
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 15.5px; margin: 20px 0 30px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-dots {
    right: auto;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    flex-direction: row;
  }
  .hero-scroll { display: none; }

  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 30px 12px; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .stat-item:nth-child(-n+2) { border-top: none; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { letter-spacing: .2em; font-size: 11.5px; }

  .about-grid,
  .culture-grid,
  .app-grid,
  .honor-grid,
  .patent-grid,
  .news-grid,
  .contact-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .about-grid { gap: 34px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .honor-card.wide { grid-column: span 1; }
  .contact-info { padding: 30px 22px; }
  .contact-list { gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; }
  .stat-item { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .stat-item:first-child { border-top: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text span { display: none; }
}
