:root {
  --ink: #0f172a;
  --steel: #1a365d;
  --steel-2: #475569;
  --line: #cbd5e1;
  --paper: #f8fafc;
  --white: #ffffff;
  --orange: #e0742a;
  --orange-dark: #c0551a;
  --blue-gray: #1e3a5f;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 14px max(24px, calc((100vw - 900px) / 2));
  color: var(--white);
  background: rgba(10, 22, 40, 0.94);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 250px; }
.brand-logo { width: auto; height: 38px; flex-shrink: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.94rem; line-height: 1.2; }
.brand small { color: rgba(255,255,255,0.6); font-size: 0.72rem; line-height: 1.2; }
.main-nav { display: flex; justify-content: flex-start; gap: 26px; margin-left: auto; font-size: 0.94rem; color: rgba(255,255,255,0.78); }
.main-nav a:hover { color: var(--white); }

/* Language */
.language-switcher { position: relative; }
.language-button, .language-menu button, .menu-toggle { border: 0; font: inherit; cursor: pointer; }
.language-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  color: var(--white); background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
}
.language-menu {
  position: absolute; top: calc(100% + 10px); right: 0; display: none;
  min-width: 150px; padding: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.language-menu.is-open { display: grid; }
.language-menu button { width: 100%; padding: 9px 10px; color: var(--ink); text-align: left; background: transparent; border-radius: 6px; }
.language-menu button:hover { background: var(--paper); }

/* Mobile menu */
.menu-toggle {
  display: none; width: 42px; height: 42px; place-items: center; padding: 10px;
  background: rgba(255,255,255,0.1); border-radius: var(--radius);
}
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 3px 0; background: var(--white); }


.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
/* Hero */
.hero {
  position: relative; min-height: 78vh; overflow: hidden; color: var(--white);
  background: #0a1628;
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10,22,40,0.9), rgba(10,22,40,0.5), rgba(10,22,40,0.12)),
    linear-gradient(0deg, rgba(10,22,40,0.85), rgba(10,22,40,0.04) 46%);
}
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 156px 0 70px; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hero h1 { max-width: 760px; margin: 0; font-size: 3.5rem; line-height: 1.08; font-weight: 800; }
.hero-copy { max-width: 680px; margin: 24px 0 0; color: rgba(255,255,255,0.82); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius);
  font-weight: 700; border: 1px solid transparent; cursor: pointer;
}
.button.primary { color: var(--white); background: var(--orange); }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.button.secondary:hover { border-color: rgba(255,255,255,0.6); }

/* Hero stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px; margin: 58px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-left: 1px solid rgba(255,255,255,0.18);
}
.hero-stats div { padding: 18px; border-right: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); ; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hero-stats div:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.hero-stats dt { color: var(--white); font-weight: 800; }
.hero-stats dd { margin: 4px 0 0; color: rgba(255,255,255,0.7); font-size: 0.94rem; }

/* Sections */

.breadcrumb{width:100%;background:#0f1d32;padding:78px max(24px, calc((100vw - 1180px) / 2)) 6px;display:flex;gap:8px;font-size:0.82rem;color:rgba(255,255,255,0.65)}@media (max-width: 1024px){.breadcrumb{width:100%;background:#0f1d32;padding:90px max(24px, calc((100vw - 1180px) / 2)) 10px;display:flex;gap:8px;font-size:0.82rem;color:rgba(255,255,255,0.65)}}
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0; }
.section-heading { max-width: 660px; margin-bottom: 32px; }
.section-heading h2, .contact-copy h2 { margin: 0; font-size: 2.1rem; line-height: 1.2; }

/* Intro */
.intro-section { padding-top: 52px; }
.intro-grid { display: grid; gap: 22px; align-content: start; color: var(--steel); }
.intro-grid p { margin: 0; }
.text-link { width: fit-content; color: var(--orange-dark); font-weight: 800; border-bottom: 2px solid currentColor; }

/* Product grid */
.product-grid, .capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card, .capability-item, .quality-panel, .inquiry-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}
.product-card { display: grid; grid-template-rows: auto auto; overflow: hidden; ; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(15,23,42,0.18); }
.product-card h3, .capability-item h3, .quality-panel h3 { margin: 0 0 10px; font-size: 1.15rem; }
.product-card p { margin: 0; color: var(--steel-2); }
.quality-panel .panel-text { padding: 28px 34px; }
.quality-panel .panel-text h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--white); }
.quality-panel .panel-text p { margin: 0; color: rgba(255,255,255,0.78); }
.contact-copy p { margin: 0; color: var(--steel-2); }
.product-card > div:last-child { padding: 24px; }
.product-label { margin-bottom: 8px; color: var(--orange-dark) !important; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; }


/* Clickable product visual */
.product-visual-link {
  position: relative; display: block; overflow: hidden; text-decoration: none;
}
.product-visual-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,22,40,0.72); color: #fff;
  font-size: 0.94rem; font-weight: 800; letter-spacing: 0.04em;
  opacity: 0; transition: opacity 0.3s;
}
.product-visual-link:hover .product-visual-overlay { opacity: 1; }

/* Product visual placeholder */
.product-visual {
  position: relative; min-height: 190px;
  background: linear-gradient(135deg, #0f1d32 0%, #15294a 100%);
  overflow: hidden;
  display: grid; place-items: center;
  background-size: cover; background-position: center;
}
.product-visual.rubber { background-image: url(assets/product-rubber.png); }
.product-visual.plastic { background-image: url(assets/product-plastic.png); }
.product-visual.pulley { background-image: url(assets/product-pulley.png); }
/* product-visual::after removed */

/* Product image */
.product-img { width: 100%; height: 190px; object-fit: cover; }

/* Stats section */
.stats-section { padding-top: 52px; padding-bottom: 52px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat-item {
  text-align: center; padding: 32px 18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}
.stat-number { display: block; color: var(--orange); font-weight: 900; font-size: 2.6rem; line-height: 1.1; margin-bottom: 8px; }
.stat-label { color: var(--steel-2); font-size: 0.94rem; }

/* Capability */
.capability-item { padding: 28px; }
.capability-item span { display: inline-block; margin-bottom: 26px; color: var(--orange); font-weight: 900; font-size: 1.9rem; }

/* Quality */
.quality-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; align-items: stretch; }
.quality-panel {
  padding: 0;
  background: var(--steel); border: 1px solid var(--steel);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,23,42,0.18);
}
.quality-panel h3 { margin: 0 0 10px; font-size: 1.15rem; }
.quality-panel p, .contact-copy p { margin: 0; color: var(--steel-2); }
.check-list {
  display: grid; gap: 0; margin: 0; padding: 0; list-style: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.check-list li { position: relative; padding: 20px 24px 20px 54px; border-bottom: 1px solid var(--line); color: var(--steel); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 24px; top: 25px; width: 12px; height: 7px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}

/* FAQ */

.compare-table{width:100%;border-collapse:collapse;font-size:0.92rem}.compare-table thead th{background:#1a365d;color:#fff;padding:14px 16px;text-align:left;font-weight:800;border-bottom:2px solid #e0742a}.compare-table thead th:first-child{border-radius:var(--radius) 0 0 0}.compare-table thead th:last-child{border-radius:0 var(--radius) 0 0}.compare-table td{padding:13px 16px;border-bottom:1px solid var(--line);background:var(--white)}.compare-table tr:nth-child(even) td{background:var(--paper)}.compare-table td:first-child{font-weight:700;color:var(--steel);white-space:nowrap}.compare-section{padding-top:40px}.compare-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -8px;padding:0 8px}

.trust-quotes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.trust-quote{padding:28px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 28px rgba(15,23,42,0.06);position:relative}.trust-quote::before{content:'"';position:absolute;top:10px;left:18px;font-size:2.8rem;color:var(--orange);opacity:0.2;line-height:1;font-family:serif}.trust-quote p{margin:0 0 14px;color:var(--steel);font-size:0.94rem;line-height:1.7;font-style:italic;padding-top:10px}.trust-quote span{color:var(--orange-dark);font-weight:700;font-size:0.84rem}@media (max-width: 1024px){.trust-quotes{grid-template-columns:1fr}}
.faq-section { padding-top: 40px; }
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; ; transition: border-color 0.2s ease; }
.faq-item:hover { border-color: var(--orange); }
.faq-item summary { padding: 18px 24px; font-weight: 700; cursor: pointer; color: var(--ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-size: 1.2rem; color: var(--orange); transition: transform 0.2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 24px 20px; color: var(--steel-2); font-size: 0.94rem; }

/* Contact section */
.contact-section { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px; align-items: start; padding-bottom: 92px; }
.contact-copy { padding-top: 10px; }
.contact-copy p:last-child { margin-top: 18px; }
.inquiry-form { display: grid; gap: 18px; padding: 28px; }
.inquiry-form label { display: grid; gap: 8px; color: var(--steel); font-weight: 700; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; min-height: 44px; padding: 11px 12px;
  color: var(--ink); font: inherit; background: #fbfcfc;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.inquiry-form textarea { resize: vertical; }

/* Footer base */
.site-footer { padding: 28px 24px; color: rgba(255,255,255,0.7); text-align: center; background: #0a1628; }
.site-footer p { margin: 0; }

/* Hamburger animation (global) */
.menu-toggle span { transition: transform 0.3s, opacity 0.2s; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }


/* Responsive: tablet */

.drawer-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); color: var(--white); border: 2px solid rgba(255,255,255,0.4); border-radius: 50%; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.drawer-close:hover { background: var(--orange); border-color: var(--orange); }
@media (max-width: 1024px) {
  
  .site-header { gap: 10px; padding-inline: 18px; justify-content: flex-start; }
  .header-actions { display: none; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-left: auto; order: 2; }
  .language-switcher { order: 3; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 30;
    width: 100vw; min-height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 24px; padding: 80px 48px;
    margin-left: 0;
    background: #0a1628;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.6rem; font-weight: 800; color: var(--white); text-align: left; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav a:hover { color: var(--orange); }
  .drawer-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; width: 100%; }
  .drawer-ctas .header-cta { font-size: 0.94rem; min-height: 48px; padding: 0 22px; max-width: 260px; width: auto; box-sizing: border-box; white-space: nowrap; }
  
  .drawer-langs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; margin-top: 12px; width: 100%; }
  .drawer-langs button { border: 0; border-radius: var(--radius); background: var(--orange); color: var(--white); padding: 12px 18px; cursor: pointer; font: inherit; font-size: 0.94rem; font-weight: 700; min-width: 80px; text-align: center; transition: background 0.2s; margin: 4px; }
  .drawer-langs button:hover { background: var(--orange-dark); }
  
  /* Prevent body scroll when drawer open */
  body.drawer-open { overflow: hidden; }
.main-nav::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: -1; opacity: 0; transition: opacity 0.35s; }
.main-nav.is-open::before { opacity: 1; }
  .hero { min-height: 72vh; }
  .hero-inner { width: min(100% - 36px, 680px); padding-top: 132px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-stats, .intro-section, .product-grid, .capability-grid, .quality-layout, .contact-section { grid-template-columns: 1fr; }
  .section { width: min(100% - 36px, 680px); padding: 58px 0; }
  .intro-section { gap: 18px; padding-top: 42px; }
  .section-heading h2, .contact-copy h2 { font-size: 1.72rem; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-number { font-size: 2.1rem; }
}

/* Responsive: mobile */
@media (max-width: 640px) {
  
  .site-header { min-height: 66px; justify-content: space-between; }
  
  .brand strong { font-size: 0.94rem; }
  .brand-mark { width: 32px; height: 32px; border-width: 7px; }
  .language-button { min-height: 38px; padding-inline: 10px; font-size: 0.94rem; }
  
  .hero-inner { padding-top: 116px; padding-bottom: 46px; }
  .hero h1 { font-size: 1.92rem; }
  .hero-copy { font-size: 0.94rem; }
  .button { width: 100%; }
  .hero-stats { margin-top: 38px; }
  .hero-stats div { padding: 14px; }
  .product-card { grid-template-rows: auto auto; }
  .product-visual { min-height: 160px; }
  .product-img { height: 160px; }
}

/* Hero Carousel */
.hero-carousel { position: absolute; inset: 0; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; }
.carousel-slide.active { opacity: 1; }
.carousel-slide .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide-2 { background: linear-gradient(135deg, #1a365d 0%, #0a1628 50%, #1e3a5f 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #0f172a 0%, #1a365d 50%, #0a1628 100%); }
.hero-slide-2::after, .hero-slide-3::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(224,116,42,0.15) 0%, transparent 70%);
}
.carousel-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; padding: 0; transition: all 0.3s; }
.carousel-dot.active { background: var(--orange); border-color: var(--orange); }
.carousel-dot:hover { border-color: var(--white); }

/* Product Filter */
.filter-bar { max-width: 620px; margin: 0 0 24px; }
.filter-bar input:focus { outline: 2px solid var(--orange); outline-offset: -2px; border-color: var(--orange); }

/* Form validation */
.field-invalid { border-color: #e53e3e !important; box-shadow: 0 0 0 2px rgba(229,62,62,0.15) !important; }
.field-error { display: block; margin-top: 6px; color: #e53e3e; font-size: 0.82rem; font-weight: 600; }
.form-toast { margin-top: 18px; animation: toastIn 0.4s ease-out; }
.form-toast-inner {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius);
}
.form-toast-inner strong { display: block; color: #166534; font-size: 0.94rem; margin-bottom: 4px; }
.form-toast-inner p { margin: 0; color: #15803d; font-size: 0.82rem; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Count-up animation */
.count-up { display: inline-block; transition: opacity 0.3s; }

/* Why Choose Us */
.intro-section {
  padding: 84px 0;
  background: linear-gradient(180deg, rgba(15,29,50,0.03) 0%, transparent 100%);
  border-top: 1px solid rgba(15,29,50,0.06);
  border-bottom: 1px solid rgba(15,29,50,0.06);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  position: relative;
}

.advantage-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(15,29,50,0.1);
}

.advantage-card:last-child::after { display: none; }

.advantage-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.advantage-icon svg {
  width: 44px; height: 44px;
  stroke: var(--steel);
  stroke-width: 1.5;
  fill: none;
}

.advantage-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.advantage-card p {
  margin: 0;
  color: var(--steel-2);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 220px;
}

@media (max-width: 1024px) {
  .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .advantage-card { padding: 0 24px; }
  .advantage-card:nth-child(even)::after { display: none; }
}

@media (max-width: 640px) {
  .advantage-grid { grid-template-columns: 1fr; gap: 36px 0; }
  .advantage-card::after { display: none; }
  .advantage-card { padding: 0 16px; }
}

.section.intro-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 90px 0;
  background: #f5f6f8;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(15,29,50,0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(224,116,42,0.03) 0%, transparent 50%);
  border-top: 1px solid #e8eaee;
  border-bottom: 1px solid #e8eaee;
}
