/* English site fonts */
html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, a, p, span, li, dt, dd, strong, small {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* 浙江华洋药业 — 站点样式 */

:root {
  --brand: #28166c;
  --brand-deep: #1c0f52;
  --brand-soft: #4a3a8f;
  --ink: #1a1540;
  --ink-soft: #3d3760;
  --muted: #6b6588;
  --line: #e2e0ec;
  --paper: #f5f4f9;
  --white: #ffffff;
  --hero-veil: linear-gradient(
    105deg,
    rgba(16, 10, 48, 0.3) 0%,
    rgba(20, 12, 56, 0.2) 42%,
    rgba(20, 12, 56, 0.1) 72%,
    rgba(20, 12, 56, 0) 100%
  );
  --shadow: 0 18px 40px rgba(40, 22, 108, 0.1);
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --max: 1280px;
  --header-h: 108px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(40, 22, 108, 0.06), transparent 55%),
    linear-gradient(180deg, #fbfbfe 0%, #f3f2f8 100%);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.section-head h2,
.hero-title,
.hero-brand,
.contact-panel h3,
.stat strong,
.brand-text strong,
.footer-brand strong {
  font-family: Arial, Helvetica, sans-serif;
}

/*img {
  max-width: 100%;
  display: block;
}
*/
a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}




main {
  padding-top: var(--header-h);
}

.section {
  padding: 78px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 0 0 0px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
}

.section-head h2 span {
  color: var(--brand);
}

.section-head p {
  margin: 0 auto;
  max-width: 100%;
  color: var(--muted);
  font-size: 15px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(226, 224, 236, 0.7);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(226, 224, 236, 0.45);
  box-shadow: 0 8px 24px rgba(40, 22, 108, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand img {
  width: auto;
  height: 88px;
  object-fit: contain;
}

.brand-text {
  display: inline-grid;
  grid-template-columns: max-content;
  gap: 6px;
  min-width: 0;
  align-items: stretch;
}

.brand-text strong {
  /* 宽度跟英文走，字距两端拉开 */
  width: 0;
  min-width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;

  white-space: nowrap;
  color: var(--brand);
  text-align: justify;
  text-align-last: justify;
}

.brand-text small {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0em;
  text-transform:uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav > a,
.nav-item > a {
  position: relative;
  display: inline-block;
 padding: 7px 10px 5px 10px;
  color: var(--ink-soft);
  font-size: 18px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav > a:hover,
.nav > a.is-active,
.nav-item:hover > a,
.nav-item > a.is-active {
  color: var(--brand);
}

.nav > a:hover::after,
.nav > a.is-active::after,
.nav-item:hover > a::after,
.nav-item > a.is-active::after {
  transform: scaleX(1);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 168px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(40, 22, 108, 0.08);
  box-shadow:
    0 4px 6px rgba(40, 22, 108, 0.04),
    0 16px 36px rgba(40, 22, 108, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 120;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-sub::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #fff;
  border-left: 1px solid rgba(40, 22, 108, 0.08);
  border-top: 1px solid rgba(40, 22, 108, 0.08);
  transform: rotate(45deg);
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub,
.nav-item.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-sub a {
  display: block;
  position: relative;
  margin: 0;
  padding: 13px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  line-height: 1.45;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-sub a::after {
  display: none;
}

.nav-sub a + a {
  border-top: 0;
  margin-top: 2px;
}

.nav-sub a:hover {
  color: var(--brand);
  background: rgba(40, 22, 108, 0.08);
}

.header-tools {
  display: flex;
  align-items: center;
  gap:0px;
  margin-left: 0px;
  flex: 0 0 auto;
}

.header-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.header-search::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  height: 12px;
}

.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
}

.header-search-toggle svg {
  width: 22px;
  height: 22px;
}

.header-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: flex;
  align-items: stretch;
  width: 260px;
  height: 40px;
  border: 1px solid rgba(40, 22, 108, 0.16);
  background: #fff;
  box-shadow: 0 12px 28px rgba(40, 22, 108, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.header-search:hover .header-search-panel,
.header-search:focus-within .header-search-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-search-panel input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.header-search-panel input::placeholder {
  color: var(--muted);
}

.header-search-go {
  flex: 0 0 auto;
  min-width: 56px;
  height: 100%;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid rgba(40, 22, 108, 0.12);
  background: var(--brand);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.header-search-go:hover {
  background: var(--brand-soft);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1;
}

.lang-switch button {
  appearance: none;
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-family: Arial, Helvetica, sans-serif;
  transition: color 0.2s ease;
  text-decoration: none;
}

.lang-switch button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: var(--line);
}

.lang-switch button:hover {
  color: var(--brand);
  background: transparent;
  text-decoration: none;
}

.lang-switch button.is-active {
  color: var(--brand);
  font-weight: 700;
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.lang-switch button.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--brand);
}

.lang-switch button.is-active:hover {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}

.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 */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1800 / 800;
  min-height: 280px;
  color: var(--white);
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1540;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
/*  background:
    linear-gradient(180deg, rgba(12, 8, 36, 0) 0%, transparent 0%, rgba(12, 8, 36, 0) 0%),
    var(--hero-veil);*/
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content:center;
  padding: 40px 0 72px;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 4px 18px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(12, 8, 36, 0.45);
  box-sizing: border-box;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  left: 0;
  right: 0;
}

.hero-panel {
  align-self: flex-start;

  padding: 40px 80px 40px ;
  background: linear-gradient(135deg, rgba(24, 14, 68, 0.78) 0%, rgba(40, 22, 108, 0.62) 100%);
  border-left: 0px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(12, 8, 36, 0.28);
}

.hero-panel .hero-title,
.hero-panel .hero-desc {
  text-shadow: none;
}

.hero-panel .hero-actions {
  gap: 14px;
}

.hero-panel .btn {
  min-width: 120px;
  min-height: 45px;
  padding: 0 24px;
  border: 0px solid transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border-radius: 3px;
}

.hero-panel .btn:hover {
  transform: translateY(-4px);
}

.hero-panel .btn-primary {
 
  color: #fff;
  border-color: var(--brand);
}

.hero-panel .btn-primary:hover {

  border-color: var(--brand-soft);
  color: #fff;
}

.hero-panel .btn-ghost {
  background: #dac889;
  color: #fff;
  border-color: #fff;
}

.hero-panel .btn-ghost:hover {
  background: #dac889;
  border-color: #fff;

}

.hero-brand {
  margin: 0 0 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.hero-title {
  margin: 0 0 16px;
  max-width: 18em;
  font-size:30px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #fff;
}

.hero-desc {
  margin: 0 0 28px;
  max-width: 36em;
  color: #fff;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.85;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 45px;
  border: 0px solid transparent;
  font-size: 15px;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-shadow: none;
  border-radius:55px;
}

.btn-primary {
  background:#8270c7;
  color: var(--white);
}

.btn-primary:hover {
  background: #8270c7;
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.9);
  color: #28166c;
  background:#fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(16, 10, 48, 0.68);
  border-color: #fff;
}

.hero-pager {
  position: absolute;
  right: max(20px, calc((100% - var(--max)) / 2));
  bottom: 36px;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 14, 56, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(14, 10, 40, 0.22);
}

.hero-pager button {
  appearance: none;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0;
  line-height: 28px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-pager button.is-active {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  transform: none;
}

.hero-pager button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

/* Products */
.products,
.products h2,
.products h3,
.products .index,
.products .en,
.products p,
.products .product-meta {
  font-family: Arial, Helvetica, sans-serif;
}

.products {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(248, 249, 252, 0.96) 0%, rgba(236, 239, 243, 0.9) 48%, rgba(242, 244, 248, 0.95) 100%);
}

.products::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(52%, 680px);
  height: min(58%, 420px);
  z-index: 0;
  background: url(../images/bbb.jpg) right top / cover no-repeat;
  -webkit-mask-image: linear-gradient(225deg, #000 0%, #000 0%, transparent 100%);
  mask-image: linear-gradient(205deg, #000 0%, #000 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.products::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(236, 239, 243, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(242, 244, 248, 0.35) 100%);
  pointer-events: none;
}

.products .container {
  position: relative;
  z-index: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.product-item {
  display: block;
  padding: 28px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
  border-color: rgba(40, 22, 108, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-item .index {
  display: block;
  color: var(--brand);
  font-family: Arial, Helvetica, sans-serif;
  font-size:26px;
  letter-spacing: 0.16em;
}

.product-item h3 {
  margin: 0 0 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45; padding-bottom:15px;
}

.product-item .en {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  min-height: 2.8em;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}

.product-meta img {
  height: 60px;
  width: auto;
  flex: 0 0 auto;
  float: none;
  padding: 0;
}

.product-meta .vp {
  float: none;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.55;
}

.product-meta span {
  color: var(--muted);
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: minmax(360px, 1fr) auto;
  gap: 24px 32px;
  align-items: stretch;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.about-visual {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  height: 100%;
  background: #d9dee8 center / cover no-repeat;
  border: 0;
  border-radius: 18px 0 18px 0;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;

}

.about-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.about-copy-main {
  grid-column: 2;
  grid-row: 1;
  padding: 0px 0 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: transparent;
}

.about-copy-main h3 {
  margin: 0 0 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:30px;
}

.about-copy-main p {
  margin: 0;
  color: var(--ink-soft);
  text-align: justify;
  line-height:27px; font-size:15px;
  flex: 1 1 auto;
}

.about-more {
  align-self: flex-start;
  margin-top: 22px;
  min-width: 112px;
  font-family: Arial, Helvetica, sans-serif;
}

.about-more:hover {
  background: #4a3a8f;
}

.about-links {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 0;
  background: transparent;
  padding: 6px 0;
}

.about-stats {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
}

.about-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 18px 8px 14px;
  border: 0;
  border-left: 1px solid rgba(40, 22, 108, 0.12);
  background: transparent;
  text-align: center;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.about-links a:first-child {
  border-left: 0;
  padding-left: 0;
}

.about-links a:last-child {
  padding-right: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 10px 14px;
  border: 0;
  border-left: 1px solid rgba(40, 22, 108, 0.12);
  background: transparent;
  text-align: center;
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.about-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--brand);
}

.about-link-icon svg {
  width: 34px;
  height: 34px;
}

.about-link-text {
  font-size: 17px;

  line-height: 1.3;
}

.about-links a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

.about-links a:hover .about-link-icon {
  color: var(--brand);
}

.stat strong {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--brand);
  font-weight: 700;
}

.stat strong em {
  font-style: normal;
  font-size: 0.48em;
  margin-left: 3px;
  vertical-align: 0.18em;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 17px;

}

/* Factory */
.factory,
.factory h2,
.factory h3,
.factory p,
#factory .section-head h2,
#factory .section-head h2 span {
  font-family: Arial, Helvetica, sans-serif;
}

.factory-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}

.factory-grid a {
  position: relative;
  overflow: hidden;
  background: #cfd5df center / cover no-repeat;
}

.factory-grid a:first-child {
  grid-row: 1 / span 2;
}

.factory-grid a::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  background: linear-gradient(transparent, rgba(20, 14, 56, 0.7));
  transform: translateY(8px);
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.factory-grid a:hover::after {
  transform: translateY(0);
}

.factory-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-grid a:hover img {
  transform: scale(1.04);
}

/* Honors */
.honors,
.honors h2,
.honors h3,
.honors .tag,
.honors .more,
.honors p {
  font-family: Arial, Helvetica, sans-serif;
}

.honors {
  background: var(--white);
}

.honor-carousel {
  position: relative;
}

.honor-arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(40, 22, 108, 0.16);
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(40, 22, 108, 0.12);
}

.honor-arrow svg {
  width: 18px;
  height: 18px;
}

.honor-prev {
  left: -18px;
}

.honor-next {
  right: -18px;
}

.honor-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.honor-viewport {
  overflow: hidden;
}

.honor-grid {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
}

.honor-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 48px) / 4);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.honor-item:hover {
  border-color: rgba(40, 22, 108, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.honor-cover {
  position: relative;
  height: 230px;
  aspect-ratio: auto;
  background: #f6f7fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.honor-cover img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.honor-item:hover .honor-cover img {
  transform: scale(1.04);
}

.honor-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  flex: 1 1 auto;
}

.honor-item .tag {
  color: var(--brand);
  font-size: 15px;
  letter-spacing: 0.14em;
}

.honor-item h3 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  min-height: 2.9em;
}

.honor-item .more {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.honor-item:hover .more {
  color: var(--brand);
}

/* Join */
.join {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #1a1540 center / cover no-repeat;
}

.join::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 14, 56, 0.9), rgba(40, 22, 108, 0.62));
}

.join .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.join h2 {
  margin: 0 0 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
}

.join p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  max-width: 34em;
}

.join-list {
  display: grid;
  gap: 12px;
}

.join-list li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--brand);
  backdrop-filter: blur(4px);
}

.join-list strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.join-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

/* News */
.news {
  background: var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.news-feature,
.news-list {
  background: var(--white);
  border: 1px solid var(--line);
}

.news-feature {
  display: grid;
  grid-template-rows: 240px auto;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-feature:hover,
.news-list a:hover {
  border-color: rgba(40, 22, 108, 0.28);
  box-shadow: var(--shadow);
}

.news-feature-cover {
  background: #d7dde8 center / cover no-repeat;
}

.news-feature-body {
  padding: 24px 26px 28px;
}

.news555{ width:100%; float:left;text-overflow:ellipsis;/*超出...*/ display:-webkit-box; -webkit-line-clamp:2;/*显示行数*/ -webkit-box-orient:vertical; overflow:hidden;
}

.news-feature-body .date,
.news-list .date {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 15px;
  letter-spacing: 0.12em;
}

/* News */
.news,
.news h2,
.news h3,
.news .day,
.news .date,
.news p {
  font-family: Arial, Helvetica, sans-serif;
}

.news-feature-body h3 {
  margin: 0 0 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 30px;
  text-overflow:ellipsis;/*超出...*/ display:-webkit-box; -webkit-line-clamp:1;/*显示行数*/ -webkit-box-orient:vertical; overflow:hidden;
}

.news-feature-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
    text-overflow:ellipsis;/*超出...*/ display:-webkit-box; -webkit-line-clamp:1;/*显示行数*/ -webkit-box-orient:vertical; overflow:hidden;
}

.news-list {
  display: grid;
}

.news-list a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 30px 30px 0px 30px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.news-list a:last-child {
  border-bottom: 0;
}

.news-list a:hover {
  background: rgba(40, 22, 108, 0.03);
}

.news-list .day {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  line-height: 1;
  color: var(--brand);
}

.news-list .date {
  margin: 0px 0 0;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.news-list h3 {
  margin: 0 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
    text-overflow:ellipsis;/*超出...*/ display:-webkit-box; -webkit-line-clamp:1;/*显示行数*/ -webkit-box-orient:vertical; overflow:hidden;

}

.news-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
    text-overflow:ellipsis;/*超出...*/ display:-webkit-box; -webkit-line-clamp:1;/*显示行数*/ -webkit-box-orient:vertical; overflow:hidden;

}

/* Contact - bottom band */
.contact {
  background: linear-gradient(180deg, #1a1540 0%, #140e38 100%);
  color: #fff;
  padding: 52px 0 36px;
}

.contact-panel h3 {
  margin: 0 0 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #fff;
}

.contact-rows {
  margin: 0;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 28px 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-text {
  min-width: 0;
}

.contact-rows dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.contact-rows dd {
  margin: 2px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}
.contact-rows dd p{
  margin:0; padding:0;
}

.contact-rows dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-rows dd a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.contact-rows dd span {
  display: block;
}

/* Footer */
.site-footer {
  background: #140e38;
  color: rgba(255, 255, 255, 0.72);
  padding: 0 0 28px;
}

.site-footer > .container {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
  background: #fff;
  padding: 4px 6px;border-radius:50%;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.4em; font-size:18px; line-height:22px;
}

.footer-brand small {
  font-size: 13px;
  letter-spacing: 0em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .honor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    transform: none !important;
  }

  .honor-item {
    flex: none;
  }

  .honor-arrow {
    display: none;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-visual {
    min-height: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(300px, auto) auto;
    gap: 18px 24px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .contact-rows {
    grid-template-columns: 1fr 1fr;
  }

  .factory-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }

  .factory-grid a:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }
}

@media (max-width: 860px) {

.about-copy-main p {
  margin: 0;
  color: var(--ink-soft);
  text-align: justify;
  line-height:22px; font-size:14px;
  flex: 1 1 auto;
  text-overflow:ellipsis;/*超出...*/ display:-webkit-box; -webkit-line-clamp:5;/*显示行数*/ -webkit-box-orient:vertical; overflow:hidden;
}
.about-copy-main h3 {
    margin: 10px 0  5px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 0 35px;
    border: 0px solid transparent;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-shadow: none;
    border-radius: 55px;
}

.stat strong {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size:35px;
    line-height: 1;
    color: var(--brand);
    font-weight: 700;
}

.about-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0px 8px 0px; 
    border: 0;
    border-left: 1px solid rgba(40, 22, 108, 0.12);
    background: transparent;
    text-align: center;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.about-link-text {
    font-size: 14px;
    line-height: 1.3;
}

  .header-inner {
    flex-wrap: nowrap;
  }

  .header-tools {
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand img {
    height: 52px;
  }

  .brand-text strong {
    width: auto;
    min-width: 0;
    font-size: 16px;
    text-align: left;
    text-align-last: left;
  }

  .brand-text small {
    font-size: 9px;
  }


.hero-panel {
  align-self: flex-start;

  padding: 20px 30px 20px ;
  background: linear-gradient(135deg, rgba(24, 14, 68, 0.78) 0%, rgba(40, 22, 108, 0.62) 100%);
  border-left: 0px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(12, 8, 36, 0.28);
}

.hero-panel .btn {
  min-width: 100px;
  min-height: 37px;
  padding: 0 5px;
  border: 0px solid transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border-radius: 3px;
}


  .nav {
    order: 3;
  }

  .lang-switch {
    margin: 0;
  }

  .lang-switch button {
    min-width: 0;
    padding: 6px 10px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .nav-item > a {
    margin: 0;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-item > a {
    border-bottom: 0;
    width: 100%;
  }

  .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: #f3f4f8;
    display: none;
    padding: 8px;
    min-width: 0;
    left: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-sub::after {
    display: none;
  }

  .nav-item.is-open .nav-sub {
    display: block;
  }

  .nav-sub a {
    padding: 13px 16px;
    font-size: 17px;
    text-align: center;
  }

  .nav-sub a + a {
    margin-top: 2px;
  }

  .about-grid,
  .contact-grid,
  .news-grid,
  .footer-top {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .about-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto auto auto;
    gap: 16px;
  }

  .about-visual,
  .about-copy-main,
  .about-links,
  .about-stats {
    grid-column: 1;
    grid-row: auto;
    border-right: 0;
  }

  .about-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat {
    border-left: 0;
    border-top: 0px solid rgba(40, 22, 108, 0.1);
    padding: 20px 8px;
  }

  .stat:nth-child(-n + 2) {
    border-top: 0;
  }

  .stat:nth-child(even) {
    border-left: 0px solid rgba(40, 22, 108, 0.12);
  }

  .stat:first-child {
    padding-left: 8px;
  }

  .contact-rows {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 320px;
  }

  .hero-content {
    padding-bottom: 64px;
    padding-top: 28px;
  }

  .hero-title {
    font-size: 20px;    margin: 0 0 0px;
  }
  
  .hero-desc {
    margin: 0 0 28px;
    max-width: 36em;
    color: #fff;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 3px 14px rgba(0, 0, 0, 0.55);
}
  .brand-text{
display:none; 
  }
  
  .section-head p {
    font-size: 14px; line-height:20px;
}

.section-head {
    text-align: center;
    margin-bottom: 20px;
}

}

@media (max-width: 640px) {
  .product-grid,
  .factory-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .honor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: none !important;
  }

  .factory-grid a,
  .factory-grid a:first-child {
    min-height: 220px;
    grid-column: auto;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand img {
    height:78px;
  }

  .brand-text small {
    font-size: 8px;
    letter-spacing: 0.02em;
  }

  .section {
    padding: 40px 0;
  }

.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub, .nav-item.is-open .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(0%, 0);
}

.header-search {
display:none;
}
}

/* Back to top */
.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.back-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 80;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(40, 22, 108, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.back-top:hover {
  background: var(--brand-deep);
}

.back-top svg {
  width: 16px;
  height: 16px;
}

.back-top span {
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1;
  font-weight: 600;
}

@media (max-width: 640px) {
  .back-top {
    right: 16px;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }
}
