* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background: #f3f7f3;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 56px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2, .group-head h3 { margin: 0 0 8px; }
.section-head p, .group-head p, .hero-copy, .product-card p, .footer-inner p { color: #6b7280; margin: 0; line-height: 1.7; }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; }
.site-header-dark { position: absolute; }
.site-header-dark { background: transparent; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand img { display: block; height: 58px; width: auto; }
.brand-logo { display: block; }
.brand-text { display: none; }
.brand-mark { display: none; }
.nav { display: flex; gap: 18px; }
.nav a { padding: 10px 0; color: rgba(255,255,255,.92); font-weight: 600; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(255,255,255,.12); padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; }
.hero { position: relative; overflow: hidden; min-height: 100vh; background: linear-gradient(rgba(12,65,32,.18), rgba(12,65,32,.18)), #dce9dc; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { position: relative; z-index: 1; padding: 120px 0 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.8); font-size: 12px; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); margin: 12px 0; }
.hero-copy { color: rgba(255,255,255,.88); max-width: 720px; margin: 0 auto; }
.product-page .hero { min-height: 240px; }
.product-page .hero h1 { font-size: clamp(28px, 5vw, 56px); letter-spacing: .04em; }
.hero-image { display: none; }
.product-page {
  background: #f7f8fb;
}
.product-page .hero {
  min-height: 420px;
  background: url('../images/product/product-bg.jpg') center/cover no-repeat;
}
.product-page .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18);
}
.product-page .hero .hero-content {
  position: relative;
  z-index: 1;
}
.product-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding-top: 24px; padding-bottom: 48px; }
.product-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-card { overflow: hidden; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 10px 24px rgba(15,23,42,.04); }
.sidebar-title { background: #2f7cc6; color: #fff; padding: 14px 18px; font-size: 20px; }
.sidebar-nav { padding: 14px 0; display: grid; }
.sidebar-link { text-align: left; padding: 14px 18px; color: #333; background: transparent; border: 0; cursor: pointer; }
.sidebar-link:hover { background: #f3f7fb; }
.sidebar-link.active { color: #2f7cc6; font-weight: 700; }
.product-content { min-width: 0; }
.product-headline { border-bottom: 2px solid #cfe0ef; margin-bottom: 16px; }
.product-headline h2 { margin: 0; padding-bottom: 8px; color: #2f7cc6; font-size: 28px; }
.product-group { display: none; }
.product-group.is-active { display: block; }
.group-head { margin-bottom: 14px; }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid-dccm { gap: 22px 26px; }
.product-grid-news { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.product-card { overflow: hidden; padding-bottom: 10px; background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 10px; }
.product-card h4 { margin: 10px 0 0; font-size: 15px; font-weight: 400; text-align: center; color: #555; }
.product-desc { margin: 8px 0 0; color: #5f6b7a; font-size: 13px; line-height: 1.65; text-align: left; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 10px 24px rgba(15,23,42,.04); padding: 14px; }
.news-card img { width: 100%; height: 320px; object-fit: contain; background: #fff; border-radius: 12px; padding: 16px; display: block; }
.news-card h4 { margin: 14px 2px 0; font-size: 18px; line-height: 1.5; color: #222; font-weight: 700; }
.news-card p { margin: 8px 2px 0; color: #888; font-size: 13px; }

.home-hero {
  min-height: 100vh;
  background: url('../images/banner/home-hero.jpg') center/cover no-repeat;
}
.home-showcase { padding-top: 8px; }
.home-carousel-shell { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 10px 24px rgba(15,23,42,.04); padding: 18px; }
.home-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-window {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}
.home-window-product { background: url('../images/Advanced  Precision(9+1+7)/8.Soccer.jpeg') center/cover no-repeat; }
.home-window-news { background: url('../images/news/news-01.jpg') center/cover no-repeat; }
.home-window-about { background: url('../images/about/about-bg.jpg') center/cover no-repeat; }
.home-window-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.48));
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.home-window-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 12px;
  letter-spacing: .08em;
}
.home-window-overlay h2 { margin: 0 0 8px; font-size: 28px; }
.home-window-overlay p { margin: 0; line-height: 1.7; color: rgba(255,255,255,.92); }
.home-carousel-nav { display: flex; justify-content: center; gap: 10px; padding-top: 14px; }
.home-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.home-dot.active { background: #2f7cc6; }
.home-links { padding-top: 30px; }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
  padding: 20px;
}
.home-card h3 { margin: 0 0 10px; color: #1f2937; font-size: 22px; }
.home-card p { margin: 0; color: #6b7280; line-height: 1.7; }
.home-showcase { padding-top: 10px; }
.home-series-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.home-series-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  background: #eef3ef;
}

.home-series-item { display: grid; gap: 12px; }
.home-series-item:nth-child(1),
.home-series-item:nth-child(2) { grid-column: span 3; }
.home-series-item:nth-child(3),
.home-series-item:nth-child(4),
.home-series-item:nth-child(5) { grid-column: span 2; }
.home-series-card { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(15,23,42,.08); background: #eef3ef; }
.home-series-news { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.home-carousel { position: absolute; inset: 0; }
.home-carousel-item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.home-carousel-item.is-active { opacity: 1; }
.home-carousel-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-window-overlay {
  position: relative;
  z-index: 2;
  padding: 0;
  color: #1f2937;
}
.home-window-overlay h2 { margin: 0 0 8px; font-size: 22px; color: #1f2937; }
.home-window-overlay p { margin: 0; display: block; font-size: 16px; line-height: 1.8; color: #5f6b7a; }
.home-series-news { aspect-ratio: 2 / 1; }
.home-series-news .home-carousel-item img { object-fit: cover; }
.home-preview-product { background: #fff; }
.home-preview-news { background: #fff; }

.about-hero {
  min-height: 260px;
  background: #dce9dc;
  display: flex;
  align-items: center;
}
.about-hero .hero-content { padding-top: 90px; }
.about-hero h1 { color: #ffffff; text-align: center; width: 100%; }
.about-hero-overlay { display: none; }
.about-section { padding-top: 34px; }
.about-stack { display: grid; gap: 22px; }
.about-top-gap { margin-top: 10px; }
.about-lead { max-width: 980px; }
.about-intro h2 { margin: 0 0 14px; font-size: 28px; color: #2f7cc6; }
.about-intro-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
  padding: 24px 26px;
}
.about-intro-box p {
  margin: 0;
  color: #374151;
  line-height: 1.95;
  font-size: 18px;
  text-indent: 2em;
}
.culture-table { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(15,23,42,.04); }
.culture-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 20px 22px; border-bottom: 1px solid #eef2f7; }
.culture-row:last-child { border-bottom: 0; }
.culture-label { font-weight: 700; color: #2f7cc6; font-size: 18px; }
.culture-value { color: #374151; font-size: 18px; line-height: 1.85; }
.honor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.honor-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 10px 24px rgba(15,23,42,.04); padding: 14px; }
.honor-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 12px; border-radius: 12px; display: block; margin-bottom: 12px; }
.honor-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.5; text-align: left; }
.honor-card p { margin: 0 0 6px; color: #666; line-height: 1.7; text-align: left; }

/* default placeholder colors if logo image is missing */
.brand-logo { background: rgba(255,255,255,.12); border-radius: 10px; }

.product-grid-news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; display: block; }
.news-card h4 { margin: 14px 0 8px; font-size: 18px; line-height: 1.45; color: #222; font-weight: 700; }
.news-card p { margin: 0; color: #888; font-size: 13px; }
.site-header-dark .nav a { color: #fff; }
.site-header-dark .brand-text strong { color: #fff; }
.site-header-dark .brand-text small { color: rgba(255,255,255,.75); }
.site-header-dark .menu-toggle { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.site-header-dark .menu-toggle span { background: #fff; }
.product-page .hero { min-height: 420px; }
.product-page .hero .hero-content { padding-top: 120px; }
.product-page .hero h1 { color: #fff; }
.contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 10px 24px rgba(15,23,42,.04); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: #2563eb; color: #fff; font-weight: 700; }
.site-footer { padding: 24px 0 40px; }
.footer-inner { border-top: 1px solid #e5e7eb; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; background: rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px rgba(15,23,42,.08); }
  .nav.open { display: flex; }
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-window { min-height: 320px; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .hero-content { padding-top: 110px; }
  .product-headline h2 { font-size: 30px; }
  .product-grid { grid-template-columns: 1fr; }
}
