/* Trondahi 创达恒 — 全站样式 */
:root {
  --navy: #0b1f33;
  --navy-2: #102a43;
  --navy-3: #16354f;
  --blue: #1b6dc1;
  --blue-bright: #2b8fe6;
  --cyan: #36a9e1;
  --amber: #f5a623;
  --ink: #1f2933;
  --ink-2: #52606d;
  --line: #dce4ec;
  --bg: #f5f8fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 51, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(11, 31, 51, 0.92);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; height: 64px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-right: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: .5px; }
.brand-sub { display: block; font-size: .62rem; font-weight: 400; letter-spacing: 2.5px; opacity: .65; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: .92rem; padding: 8px 13px;
  border-radius: 6px; transition: .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; background: var(--blue); }
.lang-switch {
  position: relative; display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); font-size: .9rem; cursor: pointer;
  border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 6px 12px;
  background: transparent; font-family: inherit;
}
.lang-switch:hover { border-color: rgba(255,255,255,.55); color: #fff; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg);
  padding: 6px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink); font-size: .9rem; padding: 8px 12px; border-radius: 6px;
}
.lang-menu a:hover { background: var(--bg); }
.lang-menu a.current { color: var(--blue); font-weight: 600; }
.lang-menu a.soon { color: #9aa5b1; cursor: default; }
.lang-menu a.soon small { font-size: .7rem; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: var(--navy) url("../img/hero-production.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9,24,40,.94) 0%, rgba(9,24,40,.78) 45%, rgba(9,24,40,.45) 100%);
}
.hero-inner { position: relative; padding: 140px 0 120px; color: #fff; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; letter-spacing: 2.5px; color: var(--cyan);
  border: 1px solid rgba(54,169,225,.45); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px; background: rgba(54,169,225,.08);
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p {
  max-width: 620px; font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,.85); margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px; font-size: 1rem; font-weight: 600;
  transition: .25s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(27,109,193,.4); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- 数据条 ---------- */
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; overflow: hidden; }
.stat { background: rgba(11,31,51,.55); backdrop-filter: blur(6px); padding: 22px 12px; text-align: center; }
.stat b { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; color: #fff; }
.stat b i { font-style: normal; color: var(--amber); font-size: .72em; margin-left: 2px; }
.stat span { font-size: .85rem; color: rgba(255,255,255,.65); letter-spacing: 1px; }

/* ---------- 区块通用 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .en { font-size: .78rem; letter-spacing: 4px; color: var(--blue); text-transform: uppercase; font-weight: 700; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin: 8px 0 14px; }
.section-head p { color: var(--ink-2); }
.section-head::after { content: ""; display: block; width: 56px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; margin: 22px auto 0; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-text p { color: var(--ink-2); margin-bottom: 16px; text-align: justify; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.point {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-weight: 600; color: var(--navy); font-size: .95rem;
}
.point svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 2px solid var(--cyan); border-radius: var(--radius); opacity: .5; z-index: -1;
}
.about-badge {
  position: absolute; right: -18px; bottom: 28px;
  background: var(--blue); color: #fff; border-radius: 12px; padding: 16px 22px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge b { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.about-badge span { font-size: .8rem; opacity: .85; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 87px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--cyan)); opacity: .35; }
.tl-item { position: relative; display: grid; grid-template-columns: 76px 22px 1fr; gap: 0 18px; padding: 14px 0; }
.tl-year { text-align: right; font-weight: 800; color: var(--blue); font-size: 1.15rem; font-variant-numeric: tabular-nums; padding-top: 1px; }
.tl-dot { position: relative; }
.tl-dot::before {
  content: ""; position: absolute; left: 50%; top: 9px; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); z-index: 1;
}
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; box-shadow: 0 3px 12px rgba(11,31,51,.05); }
.tl-body h4 { color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.tl-body p { color: var(--ink-2); font-size: .9rem; }

/* ---------- 服务优势 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 8px; }
.service-card h3 small { color: #9aa5b1; font-weight: 600; font-size: .7rem; letter-spacing: 1.5px; margin-left: 6px; text-transform: uppercase; }
.service-card p { color: var(--ink-2); font-size: .92rem; }

/* ---------- 研发 ---------- */
.rd-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.rd-process { background: var(--navy-2); border-radius: 14px; padding: 34px 30px; color: #fff; }
.rd-process h3 { font-size: 1.15rem; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.rd-process h3 svg { width: 22px; height: 22px; color: var(--cyan); }
.rd-stage { margin-bottom: 20px; }
.rd-stage:last-child { margin-bottom: 0; }
.rd-stage-title {
  display: inline-block; font-size: .85rem; font-weight: 700; color: var(--navy);
  background: var(--cyan); border-radius: 6px; padding: 4px 14px; margin-bottom: 12px;
}
.rd-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-steps span {
  font-size: .84rem; color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px; padding: 5px 12px;
}
.rd-cards { display: grid; gap: 18px; }
.rd-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.rd-card h4 { color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 1.02rem; }
.rd-card h4 svg { width: 19px; height: 19px; color: var(--blue); }
.rd-card p, .rd-card li { color: var(--ink-2); font-size: .9rem; }
.rd-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rd-card ul span { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 4px 11px; font-size: .84rem; color: var(--navy); }
.software { display: flex; gap: 12px; flex-wrap: wrap; }
.software b { background: var(--navy-2); color: #fff; border-radius: 6px; padding: 7px 16px; font-size: .88rem; letter-spacing: .5px; }

/* ---------- 生产概况 ---------- */
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.factory-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.factory-item img { width: 100%; height: 240px; object-fit: cover; transition: .5s; }
.factory-item:hover img { transform: scale(1.06); }
.factory-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 12px;
  background: linear-gradient(transparent, rgba(9,24,40,.85)); color: #fff; font-size: .9rem; font-weight: 600;
}
.factory-note { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; padding: 20px 24px; color: var(--ink-2); font-size: .95rem; }

/* ---------- 产品 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .3s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-thumb { position: relative; height: 210px; overflow: hidden; background: #eef2f5; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.product-card:hover .product-thumb img { transform: scale(1.07); }
.product-model {
  position: absolute; top: 12px; left: 12px; background: rgba(11,31,51,.85); color: var(--cyan);
  font-size: .72rem; font-weight: 700; letter-spacing: 1px; padding: 3px 10px; border-radius: 5px;
}
.product-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 8px; }
.product-body p { color: var(--ink-2); font-size: .88rem; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.product-tags span { font-size: .75rem; color: var(--blue); background: rgba(27,109,193,.08); border: 1px solid rgba(27,109,193,.22); padding: 2px 9px; border-radius: 4px; }

/* ---------- 客户 ---------- */
.clients-wall {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px;
}
.client-chip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; padding: 22px 14px; color: var(--navy); font-weight: 700; font-size: 1.02rem;
  transition: .25s;
}
.client-chip small { display: block; font-weight: 500; color: #9aa5b1; font-size: .72rem; letter-spacing: 1px; margin-top: 2px; }
.client-chip:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.clients-note { text-align: center; color: var(--ink-2); font-size: .88rem; margin-top: 22px; }

/* ---------- 文化 ---------- */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.culture-card {
  background: var(--navy-2); color: #fff; border-radius: var(--radius);
  padding: 28px 24px; transition: .3s; position: relative; overflow: hidden;
}
.culture-card:nth-child(2) { background: #16395c; }
.culture-card:nth-child(3) { background: #1b4a72; }
.culture-card:nth-child(4) { background: var(--blue); }
.culture-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.culture-card h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.culture-card h3 svg { width: 20px; height: 20px; color: var(--cyan); }
.culture-card:nth-child(4) h3 svg { color: #ffd88a; }
.culture-card p { font-size: .88rem; color: rgba(255,255,255,.85); }
.culture-banner {
  background: linear-gradient(100deg, var(--navy), var(--navy-3));
  border-radius: 14px; padding: 36px 40px; color: #fff; display: flex; gap: 30px; align-items: center;
}
.culture-banner h3 { font-size: 1.3rem; margin-bottom: 10px; }
.culture-banner h3 em { font-style: normal; color: var(--amber); }
.culture-banner p { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 760px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-icon {
  width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: rgba(27,109,193,.09); color: var(--blue);
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-list b { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 3px; }
.contact-list p, .contact-list a { color: var(--ink-2); font-size: .95rem; }
.contact-list a:hover { color: var(--blue); }
.qr-card {
  background: var(--navy-2); border-radius: 14px; padding: 36px; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.qr-card img { width: 180px; border-radius: 10px; background: #fff; padding: 8px; }
.qr-card b { margin-top: 18px; font-size: 1rem; }
.qr-card span { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 44px 0 28px; font-size: .88rem; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-brand b { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.footer-brand span { letter-spacing: 1px; font-size: .78rem; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--blue-bright); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(11,31,51,.98); flex-direction: column; padding: 14px;
    display: none; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-toggle { display: block; margin-left: 4px; }
  .lang-switch { padding: 6px 9px; }
  .section { padding: 68px 0; }
  .hero-inner { padding: 120px 0 90px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .services-grid, .products-grid, .culture-grid, .factory-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .timeline::before { left: 68px; }
  .tl-item { grid-template-columns: 58px 20px 1fr; gap: 0 12px; }
  .culture-banner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .contact-card, .qr-card { padding: 26px; }
  .about-badge { right: 10px; }
}
