* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: #fff; color: #333; font: 14px/1.8 "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", sans-serif, Arial; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; display: block; }
ul { list-style: none; }
button { font: inherit; }
.wrap { width: min(1200px, 92%); margin: 0 auto; }

:root {
  --red: #ca151e;
  --gold: #f39800;
  --gold-2: #f9cf53;
  --gold-nav: #f2b705;
  --ink: #333;
  --muted: #666;
  --ring: #1E50AE;
}

/* header */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: #fff; height: 84px;
  box-shadow: 0 1px 0 #eee;
}
.hdr-in { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: stretch; height: 84px; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav > li > a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 92px; padding: 0 14px; height: 84px; color: #222;
}
.nav > li > a b { font-size: 15px; font-weight: 500; line-height: 1.3; }
.nav > li > a i { font-style: normal; font-size: 11px; color: #999; margin-top: 2px; }
.nav > li:hover > a, .nav > li > a.is-on { color: var(--gold-nav); }
.nav > li:hover > a i, .nav > li > a.is-on i { color: var(--gold-nav); }
.nav > li + li::before {
  content: ""; width: 1px; height: 18px; background: #eee; position: absolute; left: 0;
}
.drop {
  display: none; position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  background: #fff; min-width: 240px; padding: 8px 0;
  box-shadow: 0 12px 28px rgba(0,0,0,.12); border-top: 2px solid var(--gold);
}
.nav > li:hover .drop { display: block; }
.drop a { display: block; padding: 10px 20px; color: #444; font-size: 13px; }
.drop a:hover { color: var(--gold); background: #fff8e8; }
.mob { display: none; width: 36px; height: 36px; border: 0; background: none; padding: 8px; cursor: pointer; }
.mob span, .mob::before, .mob::after {
  content: ""; display: block; height: 2px; background: #222; margin: 6px 0; transition: .25s;
}
.hdr-spacer { height: 84px; }

/* hero swiper */
.hero { position: relative; height: calc(100vh - 84px); min-height: 420px; max-height: 820px; overflow: hidden; background: #111; }
.hero-track { display: flex; height: 100%; transition: transform .8s ease; }
.hero-slide { min-width: 100%; height: 100%; background: #111 center/cover no-repeat; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 10px; z-index: 2;
}
.hero-dots button {
  width: 36px; height: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hero-dots button.is-on { background: var(--gold-2); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* sections */
.sec { padding: 72px 0; background: #fff; }
.sec.alt { background: #faf8f2; }
.sec.dark { background: #1b1b1b; color: #eee; }
.giant {
  position: relative; min-height: 118px; overflow: hidden; margin-bottom: 8px;
}
.giant em {
  font-style: normal; font-family: Arial, sans-serif; font-size: 120px; font-weight: 700;
  line-height: 1.1; letter-spacing: 2px;
  background-image: linear-gradient(to top, rgba(202,21,30,0), rgba(202,21,30,.08));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.giant h2 {
  position: absolute; left: 0; top: 18px; font-size: 40px; font-weight: 500; color: #333;
}
.giant p { position: absolute; left: 0; bottom: 8px; font-size: 18px; color: #333; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 380px; object-fit: cover; }
.lead { color: #666; font-size: 16px; text-align: justify; }
.article-p { color: #666; font-size: 15px; text-align: justify; margin-bottom: 16px; }
.more {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px;
  border: 1px solid var(--red); color: var(--red); padding: 8px 36px 8px 22px; letter-spacing: 2px;
  position: relative; transition: .25s;
}
.more::after {
  content: ""; width: 22px; height: 2px; background: currentColor;
  box-shadow: 6px -3px 0 -1px currentColor, 6px 3px 0 -1px currentColor;
}
.more:hover { background: var(--red); color: #fff; }

.sub-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.sub-row h3 { font-size: 24px; font-weight: 500; margin-bottom: 16px; }
.sub-row img { width: 100%; height: 260px; object-fit: cover; }

/* stats rings */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: #1a2744; padding: 56px 0;
}
.stat {
  position: relative; width: 70%; max-width: 180px; margin: 0 auto;
}
.stat .ring {
  width: 100%; padding-bottom: 100%; border-radius: 50%;
  border: 4px solid #fff; position: relative;
  transition: border-color .7s, transform .7s;
}
.stat:nth-child(1) .ring { border-top-color: var(--ring); }
.stat:nth-child(2) .ring { border-right-color: var(--ring); }
.stat:nth-child(3) .ring { border-bottom-color: var(--ring); }
.stat:nth-child(4) .ring { border-left-color: var(--ring); }
.stats.is-in .stat .ring { transform: rotate(360deg); }
.stat .txt {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; text-align: center; line-height: 1.3;
}
.stat b { font-size: 36px; font-weight: 500; font-family: Arial, sans-serif; }
.stat span { font-size: 15px; margin-top: 4px; }

/* news */
.news-head {
  display: inline-block; background: var(--gold-2); color: #fff;
  font-size: 28px; font-weight: 700; padding: 16px 40px 16px 24px;
  border-top-right-radius: 100px; border-bottom-right-radius: 100px; margin-bottom: 20px;
}
.news-item {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid #eee;
}
.news-item h3 { font-size: 16px; font-weight: 500; }
.news-item p { color: #999; font-size: 13px; }
.news-item time { color: #aaa; }
.news-item .tag { display: inline-block; margin-top: 6px; color: var(--gold); font-size: 12px; }
.news-item:hover h3 { color: var(--gold); }

/* timeline */
.history { background: #1b1b1b; color: #fff; padding: 80px 0 100px; overflow: hidden; }
.history h2 { text-align: center; font-size: 30px; font-weight: 400; margin-bottom: 40px; }
.history-line {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
}
.history-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(255,255,255,.45); transform: translateY(-21px);
}
.his { position: relative; padding: 0 8px 0 28px; transition: .5s; }
.his:nth-child(even) { margin-top: 174px; }
.his .year { font-size: 36px; color: var(--gold); font-family: Arial, sans-serif; margin-bottom: 8px; }
.his .anr { color: rgba(255,255,255,.55); font-size: 14px; min-height: 88px; line-height: 1.6; }
.his .ball {
  width: 85px; height: 85px; border-radius: 50%; border: 6px solid #fff;
  background: var(--gold); color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center; margin-top: 8px;
}
.his:nth-child(even) .ball { margin: 0 0 36px; }
.his::before {
  content: ""; position: absolute; left: 0; width: 2px; background: rgba(255,255,255,.35);
}
.his:nth-child(odd)::before { bottom: 52px; height: 90px; }
.his:nth-child(even)::before { top: 52px; height: 90px; }
@media (min-width: 1025px) {
  .his:hover { transform: translateY(-15px); }
}

/* products */
.prod-title { font-size: 30px; margin-bottom: 28px; }
.photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.photos a, .photos .cell {
  display: block; height: 180px; background: #eee center/cover no-repeat; overflow: hidden;
}
.photos a { transition: transform .45s; }
.photos a:hover { transform: scale(1.04); }
.more.gold { border-color: var(--gold); color: var(--gold); }
.more.gold:hover { background: var(--gold); color: #fff; }

.lab-title { text-align: center; color: var(--gold-2); font-size: 30px; margin-bottom: 28px; }
.lab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lab-grid img { width: 100%; height: 180px; object-fit: cover; }

/* certs slider */
.certs-wrap { position: relative; }
.certs-track { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.certs-track::-webkit-scrollbar { display: none; }
.cert-card {
  flex: 0 0 calc(25% - 12px); background: #fff; border: 1px solid #eee; cursor: pointer;
}
.cert-card .pic { height: 200px; background: #f7f1dc center/cover; border: 8px solid var(--red); }
.cert-card p { text-align: center; padding: 10px; color: #666; }
.certs-wrap .arr {
  position: absolute; top: 40%; width: 36px; height: 36px; border: 0; background: rgba(0,0,0,.45);
  color: #fff; cursor: pointer; font-size: 20px;
}
.certs-wrap .arr.prev { left: -8px; }
.certs-wrap .arr.next { right: -8px; }

/* contact / footer */
.foot-top {
  background: #fff; color: #333; padding: 56px 0 40px;
  display: grid; grid-template-columns: 1.4fr .9fr 1.1fr; gap: 36px;
  border-top: 1px solid #eee;
}
.foot-top h3 { font-size: 22px; font-weight: 400; margin-bottom: 16px; color: #222; }
.foot-top .intro { color: #666; font-size: 14px; }
.search-box { display: flex; margin: 18px 0 20px; border: 1px solid #ddd; }
.search-box input { flex: 1; border: 0; background: #fff; color: #333; padding: 10px 12px; }
.search-box button { width: 44px; border: 0; background: var(--gold); color: #111; cursor: pointer; }
.contact-col { border-left: 2px solid #e5e5e5; padding-left: 20px; }
.contact-col h4 { font-size: 16px; margin-bottom: 12px; color: #222; }
.contact-col p { color: #555; font-size: 14px; margin: 6px 0; }
.ftr { background: #fff; color: #888; font-size: 12px; }
.ftr-in { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid #eee; }

.backtop {
  position: fixed; right: 22px; bottom: 28px; width: 42px; height: 42px;
  border: 0; background: var(--gold); color: #fff; cursor: pointer; display: none; z-index: 180;
}
.backtop.is-on { display: block; }

.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 300;
  align-items: center; justify-content: center;
}
.lightbox.is-on { display: flex; }
.lightbox img { max-width: 80vw; max-height: 80vh; }
.lightbox .x {
  position: absolute; top: 20px; right: 28px; color: #fff; font-size: 32px;
  background: none; border: 0; cursor: pointer;
}

/* inner pages */
.page-hero {
  height: 220px; background: #111 url("../images/banner.png") center/cover; position: relative;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.page-hero h1 {
  position: relative; z-index: 1; color: #fff; line-height: 220px;
  text-align: center; font-size: 32px; letter-spacing: 6px; font-weight: 500;
}
.crumb { background: #f6f6f6; color: #777; padding: 12px 0; font-size: 13px; }
.crumb span { color: var(--gold); }
.inner { background: #fff; padding: 48px 0 80px; min-height: 480px; }
.article { color: #444; line-height: 1.9; }
.article p { margin-bottom: 14px; }
.article h3 { margin: 18px 0 8px; }
.side-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.side { background: #111; color: #eee; padding: 8px 0 24px; }
.side h3 { padding: 16px 20px; color: var(--gold-2); border-bottom: 1px solid #333; }
.side a { display: block; padding: 12px 20px; color: #ccc; border-bottom: 1px solid #222; }
.side a.is-on, .side a:hover { color: var(--gold-2); background: #1a1a1a; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters a { border: 1px solid #ddd; padding: 8px 16px; }
.filters a.is-on, .filters a:hover { border-color: var(--gold); color: var(--gold); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products a { background: #fafafa; border: 1px solid #eee; overflow: hidden; }
.products a:hover { border-color: var(--gold); }
.products img { width: 100%; height: 220px; object-fit: cover; transition: transform .45s; }
.products a:hover img { transform: scale(1.06); }
.products span { display: block; text-align: center; padding: 14px 8px; }
.org { display: grid; gap: 12px; justify-items: center; }
.org .box { background: #111; color: var(--gold-2); padding: 12px 28px; min-width: 180px; text-align: center; }
.org .row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.org .box.sub { background: #f7f1dc; color: #5a4718; }

@media (max-width: 1100px) {
  .split, .sub-row, .side-layout, .foot-top { grid-template-columns: 1fr; }
  .photos { grid-template-columns: repeat(3, 1fr); }
  .lab-grid, .products { grid-template-columns: 1fr 1fr; }
  .giant em { font-size: 72px; }
  .giant h2 { font-size: 28px; }
  .history-line { grid-template-columns: 1fr; }
  .his, .his:nth-child(even) { margin-top: 0; padding: 24px 0 24px 20px; }
  .his::before { display: none; }
  .cert-card { flex: 0 0 46%; }
}
@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; flex-direction: column; height: auto;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
  }
  .hdr.is-open .nav { display: flex; }
  .nav > li { display: block; }
  .nav > li + li::before { display: none; }
  .nav > li > a { height: auto; padding: 12px 20px; align-items: flex-start; }
  .drop { position: static; transform: none; box-shadow: none; display: block; border: 0; padding: 0 0 8px 16px; }
  .mob { display: block; }
  .stats { grid-template-columns: 1fr 1fr; }
  .photos, .lab-grid, .products { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 280px; height: 56vh; }
  .giant em { font-size: 54px; }
  .giant h2 { font-size: 24px; top: 8px; }
  .giant p { position: static; }
}
