:root {
  --primary: #185fa5;
  --primary-dark: #0c447c;
  --accent: #1d9e75;
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.site-header {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 20px; font-weight: 700; color: var(--primary-dark); letter-spacing: .5px; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: 15px; color: var(--text); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.lang-btn {
  border: 1px solid var(--border); border-radius: 20px; padding: 5px 16px;
  font-size: 13px; background: #fff; cursor: pointer; color: var(--muted);
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ====== Premium Hero Carousel ====== */
/* Base button (used everywhere) */
.btn { display: inline-block; padding: 12px 30px; border-radius: 8px; font-size: 15px; cursor: pointer; border: none; }
.btn-solid { background: var(--primary); color: #fff; font-weight: 600; }
.btn-solid:hover { background: var(--primary-dark); }

.hero-carousel {
  position: relative; width: 100%; height: 560px; overflow: hidden;
  color: #fff;
}
.hc-slides { position: absolute; inset: 0; }
.hc-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease-in-out;
}
.hc-slide.active { opacity: 1; z-index: 1; }
.hc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12,68,124,.72) 0%, rgba(24,95,165,.55) 50%, rgba(29,158,117,.35) 100%);
}
/* Content layer — stays on top */
.hc-content {
  position: relative; z-index: 3;
  display: flex; align-items: center;
  height: 100%;
}
.hc-title {
  font-size: 46px; line-height: 1.2; margin-bottom: 18px;
  max-width: 680px; text-shadow: 0 3px 12px rgba(0,0,0,.45);
  animation: hcFadeUp .7s ease both;
}
.hc-sub {
  font-size: 18px; opacity: .93; max-width: 600px; margin-bottom: 36px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  animation: hcFadeUp .7s ease .15s both;
}
.hc-btns { animation: hcFadeUp .7s ease .3s both; }
.hc-btns .btn-primary { font-size: 16px; padding: 14px 34px; border-radius: 10px; }
.hc-btns .btn-ghost { font-size: 16px; padding: 14px 34px; border-radius: 10px; }

/* Arrows */
.hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; width: 50px; height: 50px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease; padding: 0; line-height: 1;
}
.hc-arrow:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.08); }
.hc-prev { left: 22px; }
.hc-next { right: 22px; }

/* Dots */
.hc-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 10px;
}
.hc-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.38); cursor: pointer;
  transition: all .3s ease; border: none; padding: 0;
}
.hc-dot.active { background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.6); transform: scale(1.25); }
.hc-dot:hover { background: rgba(255,255,255,.7); }

@keyframes hcFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-carousel { height: 440px; }
  .hc-title { font-size: 32px; }
  .hc-sub { font-size: 15px; }
  .hc-arrow { width: 40px; height: 40px; font-size: 22px; }
  .hc-prev { left: 12px; } .hc-next { right: 12px; }
}
@media (max-width: 560px) {
  .hero-carousel { height: 380px; }
  .hc-title { font-size: 26px; }
  .hc-btns .btn { display: block; text-align: center; margin-bottom: 10px; }
  .hc-btns .btn-ghost { margin-left: 0; }
}

.section { padding: 64px 0; }
.section-alt { background: #fff; }
.section h2 { font-size: 28px; text-align: center; margin-bottom: 8px; }
.section .sub { text-align: center; color: var(--muted); margin-bottom: 40px; }

.customer-strip { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.customer-strip img { height: 56px; width: auto; border-radius: 8px; border: 1px solid var(--border); background: #fff; padding: 6px; object-fit: contain; }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } .hero h1 { font-size: 30px; } }
@media (max-width: 560px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } .nav { gap: 14px; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(12,68,124,.10); transform: translateY(-3px); }
.card .thumb { height: 200px; background: #f1f3f6; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .noimg { color: #c3c8d0; font-size: 13px; }
.card .body { padding: 16px 18px 18px; }
.card .body h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; min-height: 44px; }
.card .body .meta { font-size: 12.5px; color: var(--muted); }
.badge { display: inline-block; background: #e6f1fb; color: var(--primary); border-radius: 12px; padding: 2px 10px; font-size: 12px; }

.cap-card { text-align: center; padding: 30px 22px; }
.cap-card .icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; background: #e6f1fb; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 22px; font-weight: 700; }
.cap-card h3 { font-size: 16px; margin-bottom: 8px; }
.cap-card p { font-size: 13.5px; color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; justify-content: center; }
.filter-bar a { padding: 7px 18px; border-radius: 20px; border: 1px solid var(--border); background: #fff; font-size: 14px; color: var(--muted); }
.filter-bar a.active, .filter-bar a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 800px) { .detail { grid-template-columns: 1fr; } }
.detail .photo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.detail .photo img { width: 100%; object-fit: contain; max-height: 520px; }
.detail h1 { font-size: 26px; margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
.spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-table td:first-child { color: var(--muted); width: 110px; white-space: nowrap; }

.factory-block { margin-bottom: 56px; }
.factory-block h2 { text-align: left; margin-bottom: 10px; }
.factory-block .desc { color: var(--muted); max-width: 820px; margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img { border-radius: 10px; border: 1px solid var(--border); height: 160px; width: 100%; object-fit: cover; background: #fff; }

.form-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text); font-weight: 500; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid #b5d4f4; border-color: var(--primary); }
.alert { border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.alert-ok { background: #e1f5ee; color: #085041; border: 1px solid #9fe1cb; }
.alert-err { background: #fcebeb; color: #791f1f; border: 1px solid #f7c1c1; }

.site-footer { background: #0f2b47; color: #cbd7e4; padding: 46px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.site-footer p, .site-footer a { font-size: 13px; color: #9fb3c8; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 12.5px; color: #7d93aa; text-align: center; }

.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .fp-grid { grid-template-columns: 1fr; } }
.fp-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.fp-card h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 6px; }
.logo-img { height: 42px; width: auto; vertical-align: middle; border-radius: 4px; }
.fp-card p { font-size: 13.5px; color: var(--muted); }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* P0 enhancements: stats / certifications / factory preview / OEM steps */
.center-btn { text-align: center; margin-top: 28px; }
.stats-section { background: var(--primary-dark); color: #fff; }
.stats-section h2 { color: #fff; }
.stats-section .sub { color: #b9cde2; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { text-align: center; padding: 22px 12px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.stat-card .num { font-size: 34px; font-weight: 700; color: #fff; line-height: 1.1; }
.stat-card .lab { font-size: 13px; color: #c9d8ea; margin-top: 8px; }

.cert-wall { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cert-badge { min-width: 150px; height: 96px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  padding: 14px 20px; box-shadow: 0 2px 8px rgba(12,68,124,.05); }
.cert-badge img { max-height: 64px; max-width: 120px; object-fit: contain; }
.cert-badge span { font-weight: 700; color: var(--primary-dark); font-size: 16px; letter-spacing: .3px; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center; transition: box-shadow .2s, transform .2s; }
.cert-card:hover { box-shadow: 0 8px 24px rgba(12,68,124,.10); transform: translateY(-3px); }
.cert-logo { height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cert-logo img { max-height: 90px; max-width: 100%; object-fit: contain; }
.cert-text { font-weight: 700; color: var(--primary-dark); font-size: 18px; }
.cert-card h3 { font-size: 15px; margin-bottom: 4px; }
.cert-card .code { font-size: 12.5px; color: var(--muted); }

.factory-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .factory-preview { grid-template-columns: repeat(2, 1fr); } }
.factory-preview img { height: 200px; width: 100%; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; }

.hero-short { padding: 64px 0; }
.oem-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .oem-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .oem-steps { grid-template-columns: 1fr; } }
.oem-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; }
.oem-step .step-no { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 20px; font-weight: 700; }
.oem-step h3 { font-size: 16px; margin-bottom: 8px; color: var(--primary-dark); }
.oem-step p { font-size: 13.5px; color: var(--muted); }

.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.two-col > div { min-width: 0; }
@media (max-width: 560px) { .form-row.two-col { grid-template-columns: 1fr; } }
.cur-img { margin-bottom: 10px; }
.cur-img img { height: 60px; border-radius: 8px; border: 1px solid var(--border);
  vertical-align: middle; margin-right: 10px; }
.cur-img span { font-size: 12.5px; color: var(--muted); }

/* P1 enhancements: advantages / milestones / FAQ / News */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: box-shadow .2s, transform .2s; position: relative; }
.adv-card:hover { box-shadow: 0 10px 28px rgba(12,68,124,.10); transform: translateY(-3px); }
.adv-ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; }
.adv-card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--muted); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .35; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }
.tl-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; position: relative; z-index: 1; }
.tl-year { display: inline-block; width: 54px; height: 54px; line-height: 54px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.tl-item p { font-size: 13.5px; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: none; border: none; cursor: pointer; font-size: 15.5px;
  font-weight: 600; color: var(--text); text-align: left; font-family: inherit; }
.faq-q:hover { color: var(--primary); }
.faq-ico { font-size: 20px; color: var(--primary); font-weight: 700; transition: transform .2s; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-cta { text-align: center; margin-top: 36px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; }
.faq-cta p { color: var(--muted); margin-bottom: 16px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: 0 10px 28px rgba(12,68,124,.10); transform: translateY(-3px); }
.news-thumb { height: 190px; background: #f1f3f6; display: flex; align-items: center;
  justify-content: center; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb .noimg { color: #c3c8d0; font-size: 13px; padding: 0 16px; text-align: center; }
.news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 10px; line-height: 1.4; }
.news-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.news-more { margin-top: 14px; color: var(--primary); font-size: 13.5px; font-weight: 600; }

.news-article { padding-top: 18px; }
.back-link { display: inline-block; color: var(--primary); font-size: 14px; margin-bottom: 18px; }
.news-article h1 { font-size: 28px; color: var(--primary-dark); margin: 10px 0 18px; line-height: 1.35; }
.news-hero { border-radius: var(--radius); overflow: hidden; margin: 18px 0; border: 1px solid var(--border); }
.news-hero img { width: 100%; max-height: 420px; object-fit: cover; }
.news-body-full p { font-size: 15.5px; color: var(--text); margin-bottom: 16px; }
