/* 华敏超硬 — 中文站 · 原站配色（白底 + 海军蓝） v20261107f */
:root {
  --bg: #f5f8fb;
  --bg-card: #ffffff;
  --bg-soft: #dfe6ee;
  --bg-hero: linear-gradient(165deg, #eef3f8 0%, #f5f8fb 50%, #ffffff 100%);
  --border: #C8D5DC;
  --text: #1C244B;
  --muted: #5b7280;
  --navy: #003388;
  --navy-deep: #0f2f66;
  --navy-mid: #324A6D;
  --accent: #003388;
  --accent-hover: #0f2f66;
  --accent-soft: rgba(0, 51, 136, 0.08);
  --copper: #bc7547;
  --nav-bg: #ffffff;
  --radius: 10px;
  --max: 1100px;
  --nav-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --shadow: 0 8px 24px rgba(28, 36, 75, 0.08);
  --shadow-sm: 0 2px 8px rgba(28, 36, 75, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); text-decoration: underline; }
ul { padding-left: 1.2em; }
li { margin: 0.35em 0; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ========== Header: solid white, never dark ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff !important;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1.25rem;
}

/* Logo: image + short Chinese company line in dark navy */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.logo:hover { color: var(--navy); text-decoration: none; }
.logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.logo-text {
  display: flex;
  align-items: center;
  min-width: 0;
  border-left: 1px solid var(--border);
  padding-left: 0.85rem;
  line-height: 1.35;
}
.logo-text .company-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(280px, 36vw);
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.45em 0.85em;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
}

/* Nav: one baseline, even spacing */
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem;
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.nav-links > li {
  margin: 0;
  padding: 0;
  list-style: none !important;
  position: relative;
  display: flex;
  align-items: center;
}
.nav-links > li::marker { content: none; }

.nav-links > li > a,
.nav-links .drop-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 0.85rem;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--navy-mid);
  font-size: 0.94rem;
  font-weight: 550;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links .drop-toggle:hover,
.has-drop.open > .drop-toggle {
  color: var(--navy);
  background: var(--accent-soft);
  text-decoration: none;
}
.drop-toggle .caret {
  display: inline-block;
  margin-left: 0.3em;
  font-size: 0.7em;
  opacity: 0.7;
}

/* ENGLISH: compact outline pill */
.nav-links .lang-btn {
  height: 34px !important;
  padding: 0 0.9rem !important;
  margin-left: 0.35rem !important;
  border: 1.5px solid var(--navy) !important;
  border-radius: 999px !important;
  color: var(--navy) !important;
  background: #fff !important;
  font-weight: 650 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em;
}
.nav-links .lang-btn:hover {
  background: var(--navy) !important;
  color: #fff !important;
  text-decoration: none;
}

/* Product dropdown: closed white card, no bullets */
.has-drop .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 188px;
  margin: 0;
  padding: 0.4rem;
  list-style: none !important;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 300;
}
.has-drop .submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.has-drop .submenu li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}
.has-drop .submenu li::marker { content: none; }
.has-drop .submenu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 7px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.3;
}
.has-drop .submenu a:hover {
  background: var(--accent-soft);
  color: var(--navy);
  text-decoration: none;
}

/* Desktop: hover opens; also .open from click */
@media (min-width: 901px) {
  .has-drop:hover > .submenu,
  .has-drop.open > .submenu { display: block; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-bar { flex-wrap: wrap; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 0.25rem 0 0.85rem;
    gap: 0.15rem;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; display: block; }
  .nav-links > li > a,
  .nav-links .drop-toggle {
    width: 100%;
    justify-content: flex-start;
    height: 44px;
  }
  .has-drop .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.1rem 0 0.35rem 0.5rem;
    background: transparent;
    min-width: 0;
  }
  .has-drop.open > .submenu { display: block; }
  .has-drop .submenu a {
    padding: 0.55rem 0.75rem;
    color: var(--muted);
  }
  .nav-links .lang-btn {
    margin: 0.4rem 0 0 !important;
    width: 100%;
    justify-content: center !important;
  }
}

/* Hero */
.hero {
  padding: 3rem 0 2.4rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-hero);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.3;
  font-weight: 750;
  color: var(--text);
}
.hero .lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 280px;
}
.company-chip {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25em 0.8em;
  margin-bottom: 0.85rem;
  font-weight: 600;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Buttons — navy */
.btn {
  display: inline-block;
  padding: 0.68em 1.3em;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--navy);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy-deep);
  background: var(--accent-soft);
}

/* Sections */
.section { padding: 2.6rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--text);
}
.section .sub {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 40rem;
}
.note { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.9rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.stat span { font-size: 0.85rem; color: var(--muted); }
.stats.stats-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats.stats-3 { grid-template-columns: 1fr; }
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 0.45rem; font-size: 1.05rem; color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card a.more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--navy);
}
.card-media {
  margin: -1.15rem -1.2rem 0.9rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.prod-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.prod-hero img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 200px;
  background: var(--bg-soft);
}
@media (max-width: 700px) {
  .prod-hero { grid-template-columns: 1fr; }
}

.shape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
}
.shape-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}
.shape-card .thumb {
  background: linear-gradient(180deg, #eef3f8, #fff);
  padding: 0.75rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.shape-card .thumb img {
  max-height: 110px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.shape-card figcaption {
  padding: 0.55rem 0.5rem 0.7rem;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}
.shape-card figcaption span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}
th, td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  background: #eef3f8;
  color: var(--muted);
  font-weight: 650;
  white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
td.grade { font-weight: 700; color: var(--navy); white-space: nowrap; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  max-width: 560px;
  box-shadow: var(--shadow);
}
label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.field { margin-bottom: 1rem; }
input, textarea, select {
  width: 100%;
  padding: 0.65em 0.8em;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--navy);
}
textarea { min-height: 120px; resize: vertical; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin: 0.55rem 0; color: var(--muted); }
.contact-list strong {
  color: var(--text);
  display: inline-block;
  min-width: 4.5em;
}

/* Footer — light, navy text, never black */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  margin-top: 1rem;
  background: #eef3f8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h4 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
}
.site-footer p,
.site-footer a { color: var(--muted); font-size: 0.9rem; }
.site-footer a:hover { color: var(--navy); }
.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}
.footer-brand img { height: 36px; width: auto; }
.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.page-head {
  padding: 2.1rem 0 1.4rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-hero);
}
.page-head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--text);
}
.page-head p { margin: 0; color: var(--muted); max-width: 42rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15em 0.55em;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--navy);
  margin-right: 0.35em;
  margin-bottom: 0.25em;
  font-weight: 650;
}

.list-links { list-style: none; padding: 0; margin: 0; }
.list-links li {
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
}
.list-links li:last-child { border-bottom: none; }
.list-links strong { display: block; margin-bottom: 0.2rem; color: var(--text); }
.list-links span { color: var(--muted); font-size: 0.92rem; }

.industry-card .card-media { aspect-ratio: 16 / 8; }


/* Footer brand — logo + company only */
.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.footer-brand img { height: 40px; width: auto; }
.footer-brand .company-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}


/* ===== About page (mirrors English about layout) ===== */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.about-intro {
  padding: 2.4rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-hero);
}
.about-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3.5vw, 2.05rem);
  color: var(--text);
}
.about-intro .lead,
.about-intro p {
  color: var(--muted);
  max-width: 48rem;
  margin: 0 0 0.85rem;
}
.about-section {
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.about-section.alt { background: var(--bg); }
.about-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.4rem;
  color: var(--text);
}
.about-section > .wrap > .sub,
.about-section .intro-p {
  color: var(--muted);
  max-width: 46rem;
  margin: 0 0 1.4rem;
}
.about-section .card a.more {
  display: inline-block;
  margin-top: 0.55rem;
  margin-right: 0.75rem;
  font-size: 0.88rem;
  font-weight: 650;
}
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-gallery-single {
  grid-template-columns: 1fr;
}
.about-gallery-single img {
  aspect-ratio: 21 / 7;
  object-fit: cover;
}
.about-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  display: block;
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.about-split .split-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.about-split .split-media img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.about-split .split-body h2 { margin-top: 0.35rem; }
.about-split .split-body p {
  color: var(--muted);
  margin: 0 0 0.85rem;
}
.btn-outline {
  display: inline-block;
  padding: 0.65em 1.25em;
  border-radius: 8px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: #fff;
  font-weight: 650;
  text-decoration: none;
  margin-top: 0.35rem;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.cert-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem;
  text-align: center;
}
.cert-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.about-cta-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.about-cta-box h2 { margin: 0 0 0.55rem; }
.about-cta-box p { color: var(--muted); margin: 0 0 1.1rem; max-width: 40rem; }
.about-cta-box .cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 800px) {
  .about-gallery,
  .about-split { grid-template-columns: 1fr; }
}
