:root {
  --navy: #0b3041;
  --navy-2: #073763;
  --navy-deep: #061c28;
  --accent: #e85d04;
  --accent-hover: #c44d03;
  --text: #3a4650;
  --muted: #6b7780;
  --line: #e4e8eb;
  --bg: #f4f6f8;
  --white: #fff;
  --shadow: 0 12px 40px rgba(6, 28, 40, 0.08);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
ul { list-style: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.topbar-links,
.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar a:hover { color: #fff; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand-lockup {
  height: 48px;
  width: auto;
  max-width: 220px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  line-height: 1.15;
}

.brand-text b {
  color: var(--navy);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.lang-switch button {
  min-width: 40px;
  height: 36px;
  border: 0;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.lang-switch button + button {
  border-left: 1px solid var(--line);
}

.lang-switch button.active {
  background: var(--navy);
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 12px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: #fff; color: var(--navy); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--navy-deep) center / cover no-repeat;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 28, 40, 0.86) 0%, rgba(6, 28, 40, 0.45) 70%, rgba(6, 28, 40, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-deep) center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 28, 40, 0.72);
}

.page-hero .container { position: relative; z-index: 1; padding: 64px 0; }

.page-hero h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.78); }

.section { padding: 88px 0; }
.section-alt { background: var(--bg); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2,
.block-title {
  font-size: clamp(28px, 3vw, 38px);
  color: var(--navy);
  line-height: 1.25;
}

.section-head p { max-width: 520px; color: var(--muted); }

.product-grid,
.card-grid,
.news-grid,
.equip-grid,
.cert-grid {
  display: grid;
  gap: 22px;
}

.product-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.equip-grid { grid-template-columns: repeat(3, 1fr); }
.cert-grid { grid-template-columns: repeat(3, 1fr); }

.card,
.product-card,
.news-card,
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.product-card:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card .media,
.news-card .media,
.equip-card .media,
.figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f4;
}

.product-card img,
.news-card img,
.equip-card img,
.figure img,
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .body,
.news-card .body,
.equip-card .body {
  padding: 20px 22px 24px;
}

.product-card h3,
.news-card h3,
.equip-card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 8px;
}

.meta,
.more {
  color: var(--muted);
  font-size: 14px;
}

.more { color: var(--accent); font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.value-card { padding: 24px 20px; }

.value-card strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  color: #fff;
}

.stat {
  padding: 42px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 40px; line-height: 1.1; margin-bottom: 8px; }
.stat span { color: rgba(255, 255, 255, 0.72); }

.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-2));
  color: #fff;
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.prose p { margin-bottom: 16px; }
.prose h3 { color: var(--navy); margin: 28px 0 12px; font-size: 22px; }

.feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.product-detail .figure {
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 28px;
}

.product-detail .figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.info-box,
.form-box,
.article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}

.info-box h3,
.form-box h3 { color: var(--navy); margin-bottom: 18px; }

.info-item { margin-bottom: 18px; }
.info-item span { display: block; color: var(--muted); font-size: 13px; }
.info-item strong { color: var(--navy); font-size: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 14px; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: var(--bg);
  color: var(--navy);
}

.field textarea { min-height: 140px; resize: vertical; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 14px; }

.article-cover {
  margin: 20px 0 28px;
  display: grid;
  gap: 16px;
}

.article-cover img,
.lightbox-grid img {
  width: 100%;
  border: 1px solid var(--line);
}

.lightbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer a:hover { color: #fff; }
.footer li { margin-bottom: 8px; }
.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 220px;
  margin-bottom: 0;
  filter: none;
}

.brand-light .brand-text b { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.55); }

.copyright {
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1100px) {
  .product-grid,
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.quality-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 20px 18px;
  }
  .nav.open { display: flex; }
  .split,
  .product-detail,
  .contact-grid,
  .card-grid,
  .news-grid,
  .equip-grid,
  .cert-grid,
  .form-row,
  .stats,
  .lightbox-grid,
  .cta-band .container {
    grid-template-columns: 1fr;
    display: grid;
  }
  .cta-band .container { justify-items: start; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero { min-height: 520px; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .product-grid,
  .values,
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-meta { display: none; }
}
