/* 成都龙械汽配有限公司官网样式 */
:root {
  --primary: #2E8BD6;
  --primary-dark: #1B5E9E;
  --primary-light: rgba(46,139,214,0.18);
  --accent: #E0A23C;
  --accent-soft: rgba(224,162,60,0.14);
  --text: #E8F0FA;
  --text-light: #9FB3C8;
  --text-dark: #1f2937;
  --bg: #07182E;
  --bg-alt: #0C2138;
  --card-bg: rgba(255,255,255,0.045);
  --card-border: rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.10);
  --divider: rgba(255,255,255,0.07);
  --radius: 8px;
  --shadow: 0 8px 24px -8px rgba(0,0,0,0.45);
  --shadow-lg: 0 18px 40px -12px rgba(0,0,0,0.55);
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at 50% -8%, #103258 0%, rgba(16,50,88,0) 52%),
    radial-gradient(circle at 12% 6%, rgba(46,139,214,0.12) 0%, rgba(46,139,214,0) 42%),
    linear-gradient(180deg, #07182E 0%, #0a1f38 55%, #07182E 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* 全站微弱点阵底纹，呼应开场世界地图的科技氛围 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  height: 46px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 50px;
  transition: background 0.3s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

/* 开场深蓝背景上的 LOGO：仅用 #logoSwapIntro 滤镜把“白色内底↔品牌蓝”互换，
   得到“蓝底白龙”的干净效果（中间不再有白块），全程只使用 LOGO 自身的蓝、白两色 */
.header.intro-active .logo-mark {
  filter: url(#logoSwapIntro);
}

/* 开场动画期间：顶部导航透明底 + 白色文字，覆盖在世界地图上方 */
.header.intro-active {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: none;
  z-index: 10000;
}
.header.intro-active .logo-text,
.header.intro-active .nav a {
  color: #fff;
}
.header.intro-active .nav a:hover,
.header.intro-active .nav a.active {
  color: var(--accent);
}
.header.intro-active .nav-cta {
  background: #fff;
  color: var(--primary) !important;
}
.header.intro-active .nav-cta:hover {
  background: var(--primary-light);
}
.header.intro-active .menu-toggle span {
  background: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #081c38 0%, #0a2f5c 55%, #0e467f 100%);
  color: #fff;
  padding-top: 76px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.20), rgba(255,255,255,0) 55%),
    linear-gradient(150deg, #082444 0%, #103e6e 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
}

.hero-visual-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.20) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
}

.rotor-svg {
  width: 84%;
  height: auto;
  position: relative;
  z-index: 2;
}

.rotor {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 80s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rotor { animation: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.25);
}

.hero-title { color: #fff; }
.hero-title span { color: #7fb4ff; }

/* 核心业务聚焦 */
.feature {
  background: transparent;
  padding: 108px 0;
  border-top: 1px solid var(--divider);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
  color: var(--text);
}
.feature-lead {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 8px;
}
.feature-list {
  list-style: none;
  margin: 28px 0 32px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
  color: var(--text);
}
.feature-list li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}
.feature-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(150deg, #082444 0%, #103e6e 100%);
  box-shadow: 0 30px 70px rgba(10,39,71,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.feature-visual .rotor-svg { width: 86%; }

/* 合作伙伴 */
.partners {
  background: transparent;
  padding: 64px 0;
  border-top: 1px solid var(--divider);
}
.partners-label {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.partners-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  min-width: 300px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.partner-card:hover { border-color: var(--primary); }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card .pc-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-card .pc-icon svg { width: 26px; height: 26px; }
.partner-card strong { display: block; font-size: 17px; }
.partner-card span { font-size: 13px; color: var(--text-light); }

/* Section common */
.section {
  padding: 108px 0;
  border-top: 1px solid var(--divider);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
}

/* Stats */
.stats {
  background: var(--bg-alt);
  padding: 60px 0;
  border-bottom: 1px solid var(--divider);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px 12px;
  border-left: 1px solid var(--border);
}

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-list {
  list-style: none;
  margin: 28px 0;
}

.about-list li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light);
}

.about-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 11px;
  flex-shrink: 0;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 18px;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cert-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--card-bg);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
}

.cert-wall img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .cert-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CTA section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

.cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  color: #fff;
}

.footer-logo .logo-mark {
  background: #fff;
  padding: 6px;
  border-radius: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 300px;
}

.footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.intro-replay {
  flex-basis: 100%;
  text-align: center;
  margin-top: 14px;
  display: inline-block;
  font-size: 13px;
  color: var(--text-light);
  border: 1px solid var(--card-border);
  padding: 7px 16px;
  border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s;
}
.intro-replay:hover {
  color: #fff;
  border-color: var(--primary);
  background: rgba(46,139,214,.15);
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 机械加工白线底幕：齿轮 + 机床线描，淡白勾勒，置于文字之下 */
.banner-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
}
.banner-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 44px;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 40px 40px;
  text-align: left;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  right: -8px;
  top: 4px;
}

.timeline-item:nth-child(even)::after {
  right: auto;
  left: -8px;
}

.timeline-year {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 15px;
  color: var(--text-light);
}

/* Certificate gallery */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-bottom: 1px solid var(--border);
}

.cert-item p {
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

/* Equipment table */
.equip-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.equip-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
}

.equip-table th,
.equip-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.equip-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.equip-table tr:hover td {
  background: var(--bg-alt);
}

.equip-table td {
  font-size: 15px;
  color: var(--text-light);
}

.equip-table td strong {
  color: var(--text);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.contact-item p {
  line-height: 1.55;
  color: var(--text);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.5;
  word-break: keep-all;
}

.contact-placeholder {
  background: #fff8e6;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 32px;
}

.contact-placeholder h4 {
  color: #92400e;
  margin-bottom: 6px;
  font-size: 15px;
}

.contact-placeholder p {
  color: #b45309;
  font-size: 14px;
}

.contact-map {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-embed {
  position: relative;
  width: 100%;
  height: 380px;
  background: #e9eef5;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-caption {
  padding: 26px 30px;
}
.map-caption h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.map-caption p {
  color: var(--text-light);
  font-size: 15px;
  max-width: 520px;
}
.map-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.map-link:hover {
  text-decoration: underline;
}
/* 地图正中公司 LOGO 定位标：白底圆徽 + 品牌蓝描边 + 下指三角，明确标示公司位置（无广告/导航干扰） */
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  z-index: 5;
}
.map-pin-label {
  background: rgba(8,36,76,0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.map-pin-badge {
  position: relative;
  width: 52px;
  height: 52px;
}
.map-pin-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  border: 2px solid var(--primary);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.map-pin-badge::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #fff;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,0.2));
}
.map-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s;
}
.industry-item:hover { border-color: var(--primary); }

.industry-item svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 14px;
}

.industry-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.industry-item p {
  font-size: 13px;
  color: var(--text-light);
}

/* Product equipment gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
}

.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-card.tall img {
  object-fit: contain;
  background: #fff;
}

.photo-card figcaption {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  background: transparent;
  border-top: 1px solid var(--divider);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-visual-panel {
    max-width: 340px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav a { color: var(--text-dark); }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav a::after {
    display: none;
  }
  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .hero-title {
    font-size: 34px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .partner-card {
    min-width: 0;
    flex: 1 1 100%;
    justify-content: center;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  .photo-card img {
    height: 240px;
  }
  .timeline::before {
    left: 8px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 36px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: 0;
    right: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===========================================================
   交互增强样式（滚动淡入 / 导航变色 / 产品轮播 / 灯箱）
   —— 增量追加，不改动上方既有规则
   =========================================================== */

/* 1) 导航：始终白色背景（用户要求保留原白色顶栏） */
.header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 2) 滚动淡入动画（fadeInUp） */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 数字滚动计数：等宽数字防止跳动 */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* 3) 产品轮播（横向 scroll-snap + 前后按钮） */
.carousel-wrap {
  position: relative;
}
.photo-gallery.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 10px;
}
.photo-gallery.carousel .photo-card {
  flex: 0 0 auto;
  width: calc((100% - 40px) / 3);
  scroll-snap-align: start;
}
.carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}
.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

/* 4) 灯箱（点击图片放大查看） */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,18,36,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  background: #fff;
}
.lightbox-caption {
  color: #fff;
  margin-top: 16px;
  font-size: 15px;
  letter-spacing: .02em;
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }
[data-zoom] { cursor: zoom-in; }

/* 轮播与灯箱在移动端简化 */
@media (max-width: 1024px) {
  .photo-gallery.carousel .photo-card { width: calc((100% - 20px) / 2); }
}
@media (max-width: 768px) {
  .photo-gallery.carousel .photo-card { width: 82%; }
  .carousel-btn { display: none; }
}

/* ===========================================================
   世界地图开场动画 + 首页加工能力概览卡片
   =========================================================== */

/* 开场动画层 */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(46,139,214,0.18) 0%, transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(46,139,214,0.14) 0%, transparent 30%),
    linear-gradient(135deg, #020a14 0%, #05152a 45%, #092240 100%);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 1s cubic-bezier(.22,.61,.36,1),
              transform 1s cubic-bezier(.22,.61,.36,1),
              visibility 1s;
}
.intro.exit {
  opacity: 0;
  transform: translateY(-8%) scale(1.04);
  visibility: hidden;
  pointer-events: none;
}
/* 深蓝叠加层：中心微光 + 边缘暗角，聚焦英文公司名、保证边缘数字清晰 */
.intro-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(46,139,214,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(2,10,20,0.55) 100%);
}

/* 海星同款世界地图动画视频背景（原始视频文件，整体观感保持不变） */
.world-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* 仅保留边缘数字：中央区域经径向遮罩透明化，
     视频中从中心冒出的数字被隐藏，地图与边缘数字保持原样 */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0 15%, #000 23%);
  mask-image: radial-gradient(circle at 50% 50%, transparent 0 15%, #000 23%);
}

/* 自家化叠加：极淡品牌蓝调，使成片明显偏向龙械配色（整体观感不变） */
.intro-brand-grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(46,139,214,0.10) 0%, transparent 50%),
    linear-gradient(135deg, rgba(8,36,76,0.10) 0%, rgba(8,36,76,0.03) 100%);
}

/* 中央旋转地球：与深蓝遮罩同区域完美贴合（反向径向遮罩，中心可见、外缘羽化，
   遮罩边界与视频中央遮罩完全一致 → 无论屏幕比例都严丝合缝） */
.intro-globe {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 15%, transparent 27%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0 15%, transparent 27%);
}
.globe-sphere {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(240px, min(22vw, 28vh), 420px);
  height: clamp(240px, min(22vw, 28vh), 420px);
  border-radius: 50%;
  overflow: hidden;
  /* 配色与首页背景一致：深海军蓝 + 品牌蓝微光 */
  background:
    radial-gradient(circle at 38% 32%, #2b5f93 0%, #1d4a78 44%, #13395f 76%, #0e2f50 100%);
  box-shadow:
    inset 0 0 26px rgba(46,139,214,0.35),
    0 0 64px rgba(46,139,214,0.40),
    0 0 110px rgba(46,139,214,0.22);
}
/* 经纬网格容器 */
.globe-grid {
  position: absolute;
  inset: 0;
}
/* 经线（真·球面自转）：满圆压扁为竖向椭圆，scaleX 随经度投影变化
   正前(竖线)→侧面(满圆)→收拢消失，多条错相位即呈现地球自转 */
.meridian {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(186,216,244,0.32);
  border-radius: 50%;
  transform-origin: 50% 50%;
  animation: meridianSpin 14s linear infinite;
}
.meridian:nth-child(1) { animation-delay: 0s; }
.meridian:nth-child(2) { animation-delay: -2.33s; }
.meridian:nth-child(3) { animation-delay: -4.66s; }
.meridian:nth-child(4) { animation-delay: -7s; }
.meridian:nth-child(5) { animation-delay: -9.33s; }
.meridian:nth-child(6) { animation-delay: -11.66s; }
/* 纬线（静止）：满圆压扁为横向椭圆，代表不同纬度 */
.latitude {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(186,216,244,0.18);
  border-radius: 50%;
  transform: scaleY(0.5);
}
.latitude:nth-child(7)  { transform: scaleY(0.98); }   /* 赤道：近满圆 */
.latitude:nth-child(8)  { transform: scaleY(0.62); }
.latitude:nth-child(9)  { transform: scaleY(0.30); }
.latitude:nth-child(10) { transform: scaleY(-0.30); }
.latitude:nth-child(11) { transform: scaleY(-0.62); }
@keyframes meridianSpin {
  0%   { transform: scaleX(0);    opacity: 1; }   /* 正前：竖线 */
  25%  { transform: scaleX(1);    opacity: 1; }   /* 侧面：满圆（最宽） */
  49%  { transform: scaleX(0);    opacity: 1; }   /* 正后：竖线 */
  50%  { transform: scaleX(0);    opacity: 0; }   /* 转入背面，隐藏 */
  99%  { transform: scaleX(0);    opacity: 0; }
  100% { transform: scaleX(0);    opacity: 1; }   /* 回到正前 */
}
/* 球体光影：左上高光 + 右下暗部，强化立体感 */
.globe-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.20), transparent 42%),
    radial-gradient(circle at 72% 78%, rgba(0,0,0,0.40), transparent 58%);
  pointer-events: none;
}

/* 原创核心价值观文字浮现：在地图视频上叠加自有文字，循环淡入淡出 */
.intro-words {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.float-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.86);
  font-size: clamp(13px, 2.1vw, 20px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  opacity: 0;
  white-space: nowrap;
  animation: wordFloat 4.8s ease-in-out infinite;
}
@keyframes wordFloat {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.88); }
  12% { opacity: 1; transform: translate(-50%, -56%) scale(1); }
  80% { opacity: 1; transform: translate(-50%, -44%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

.intro-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}
.intro-en {
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 14px 48px rgba(0,0,0,0.45);
  margin-bottom: 14px;
  opacity: 0;
  animation: enFade 1s ease 0.5s both;
}
@keyframes enFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.intro-content::before {
  content: '';
  position: absolute;
  inset: -40px -80px;
  background: radial-gradient(circle at center, rgba(0,61,130,0.35) 0%, transparent 65%);
  z-index: -1;
  border-radius: 50%;
}
.intro-hint {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  letter-spacing: 0.1em;
  animation: hintFloat 2.2s ease-in-out infinite;
}
.intro-hint svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: 8px auto 0;
  stroke: rgba(255,255,255,0.7);
}
@keyframes hintFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* 首页加工能力概览（3 张大卡，避免与产品服务页重复） */
.service-cluster {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-cluster:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-cluster .cluster-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-cluster .cluster-icon svg { width: 28px; height: 28px; }
.service-cluster h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.service-cluster .cluster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.service-cluster .cluster-tags span {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 50px;
}
.service-cluster p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}
.section-cta .btn-primary {
  padding: 14px 36px;
}

@media (max-width: 768px) {
  .intro-hint { bottom: 36px; }
  .service-cluster { padding: 24px; }
}
