/* jx03 - 机械绿金 | 机械工业制造企业官网 */
:root {
  --jx-primary: #0a4d3a;
  --jx-primary-dark: #062d22;
  --jx-accent: #d4a017;
  --jx-accent2: #2d8659;
  --jx-bg-dark: #0a1f17;
  --jx-bg-light: #f4f6f5;
}

* { box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #333; margin: 0; background: #fff; line-height: 1.6; }

/* ====== Topbar ====== */
.jx-topbar { background: #062d22; color: rgba(255,255,255,.8); font-size: .82rem; padding: 8px 0; }
.jx-topbar a { color: rgba(255,255,255,.8); text-decoration: none; margin-left: 14px; }
.jx-topbar a:hover { color: #d4a017; }
.jx-topbar .lang-switch { float: right; }

/* ====== Header / Nav ====== */
.jx-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 999; }
.jx-header .navbar { padding: 14px 0; }
.jx-header .logo { display: flex; align-items: center; text-decoration: none; }
.jx-header .logo-img { max-height: 52px; margin-right: 10px; }
.jx-header .logo-text { font-size: 1.15rem; font-weight: 700; color: #0a4d3a; }
.jx-header .navbar-nav .nav-item { position: relative; padding: 0 4px; }
.jx-header .navbar-nav .nav-link { color: #222 !important; font-size: .95rem; font-weight: 500; padding: 12px 14px !important; position: relative; }
.jx-header .navbar-nav .nav-link::after { content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: #d4a017; transition: .3s; }
.jx-header .navbar-nav .nav-link:hover, .jx-header .navbar-nav .nav-link.active { color: #0a4d3a !important; }
.jx-header .navbar-nav .nav-link:hover::after, .jx-header .navbar-nav .nav-link.active::after { width: 60%; }
.jx-header .navbar-nav .dropdown-menu { border: none; border-top: 3px solid #0a4d3a; box-shadow: 0 6px 20px rgba(0,0,0,.1); padding: 0; }
.jx-header .navbar-nav .dropdown-item { font-size: .9rem; padding: 10px 20px; border-bottom: 1px solid #f0f0f0; }
.jx-header .navbar-nav .dropdown-item:hover { background: #0a4d3a; color: #fff; }
.jx-header .jx-search { border: 1px solid #ddd; border-radius: 4px; padding: 6px 12px; font-size: .85rem; min-width: 180px; }
.jx-header .jx-search:focus { border-color: #0a4d3a; outline: none; }

/* ====== Hero Banner ====== */
.jx-hero { position: relative; height: 560px; overflow: hidden; background: #0a1f17; }
.jx-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #062d22 0%, #0a4d3a 50%, #062d22 100%); }
.jx-hero-bg::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255,255,255,.05)" stroke-width="1"/></svg>') repeat; opacity: .5; }
.jx-hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.jx-hero-en { display: inline-block; color: #d4a017; font-size: 1rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid #d4a017; }
.jx-hero h1 { color: #fff; font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.jx-hero h1 strong { color: #d4a017; }
.jx-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 600px; margin-bottom: 28px; }
.jx-hero .btn-jx { display: inline-flex; align-items: center; padding: 12px 28px; border-radius: 4px; font-weight: 600; text-decoration: none; margin-right: 14px; transition: .3s; }
.jx-hero .btn-jx-primary { background: #d4a017; color: #fff; }
.jx-hero .btn-jx-primary:hover { background: #fff; color: #0a4d3a; transform: translateY(-2px); }
.jx-hero .btn-jx-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.jx-hero .btn-jx-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ====== Section Title ====== */
.jx-section { padding: 70px 0; }
.jx-section.alt { background: #f4f6f5; }
.jx-section.dark { background: #062d22; color: #fff; }
.jx-stitle { text-align: center; margin-bottom: 50px; }
.jx-stitle small { display: block; color: #d4a017; font-size: .9rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.jx-stitle h2 { color: #0a4d3a; font-size: 2rem; font-weight: 700; margin: 0; }
.jx-section.dark .jx-stitle h2 { color: #fff; }
.jx-stitle p { color: #888; margin-top: 10px; }

/* ====== About ====== */
.jx-about-img { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.jx-about-img::before { content: ''; position: absolute; inset: 0; border: 4px solid #d4a017; transform: translate(14px, 14px); z-index: -1; border-radius: 6px; }
.jx-about-img img { width: 100%; height: 380px; object-fit: cover; display: block; }
.jx-about-list { list-style: none; padding: 0; margin-top: 20px; }
.jx-about-list li { padding: 6px 0; color: #555; position: relative; padding-left: 24px; }
.jx-about-list li::before { content: '✓'; position: absolute; left: 0; color: #d4a017; font-weight: 700; }
.jx-about-num { background: linear-gradient(135deg, #0a4d3a, #062d22); color: #fff; padding: 20px; border-radius: 6px; text-align: center; }
.jx-about-num strong { display: block; font-size: 2rem; color: #d4a017; font-weight: 800; }
.jx-about-num span { font-size: .85rem; }

/* ====== Product Grid ====== */
.jx-product-card { background: #fff; border: 1px solid #eee; border-radius: 6px; overflow: hidden; transition: .3s; height: 100%; }
.jx-product-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-4px); border-color: #d4a017; }
.jx-product-thumb { position: relative; height: 200px; overflow: hidden; background: #f4f6f5; }
.jx-product-thumb i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 4rem; color: #0a4d3a; opacity: .3; }
.jx-product-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5)); }
.jx-product-body { padding: 20px; }
.jx-product-cat { display: inline-block; background: #0a4d3a; color: #fff; font-size: .72rem; padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; }
.jx-product-body h3 { font-size: 1.1rem; font-weight: 700; color: #222; margin-bottom: 8px; }
.jx-product-body p { font-size: .88rem; color: #888; margin-bottom: 12px; }
.jx-product-body .jx-link { color: #d4a017; font-size: .85rem; font-weight: 600; text-decoration: none; }
.jx-product-body .jx-link:hover { color: #0a4d3a; }

/* ====== News Timeline ====== */
.jx-news-item { padding: 18px 0; border-bottom: 1px dashed #e0e0e0; }
.jx-news-item:last-child { border-bottom: none; }
.jx-news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.jx-news-date { color: #d4a017; font-size: .82rem; font-weight: 600; }
.jx-news-cat { background: #0a4d3a; color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 3px; }
.jx-news-item h4 { font-size: 1rem; font-weight: 600; margin: 0; }
.jx-news-item h4 a { color: #333; text-decoration: none; transition: .3s; }
.jx-news-item h4 a:hover { color: #0a4d3a; }
.jx-news-item p { font-size: .85rem; color: #888; margin: 6px 0 0; }

/* ====== Service Feature ====== */
.jx-feature { text-align: center; padding: 30px 20px; background: #fff; border: 1px solid #eee; border-radius: 6px; transition: .3s; height: 100%; }
.jx-feature:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-4px); border-color: #d4a017; }
.jx-feature i { font-size: 2.5rem; color: #0a4d3a; margin-bottom: 16px; display: block; }
.jx-feature h4 { color: #222; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.jx-feature p { color: #888; font-size: .88rem; }

/* ====== Investor / Honor ====== */
.jx-honor-card { background: #fff; padding: 20px; border-radius: 6px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.05); transition: .3s; height: 100%; }
.jx-honor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.jx-honor-card .num { font-size: 1.6rem; font-weight: 800; color: #d4a017; }
.jx-honor-card .label { font-size: .85rem; color: #666; margin-top: 6px; }

/* ====== Contact ====== */
.jx-contact-info { background: linear-gradient(135deg, #0a4d3a, #062d22); color: #fff; padding: 40px 30px; border-radius: 6px; height: 100%; }
.jx-contact-info h3 { color: #fff; font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid #d4a017; }
.jx-contact-info p { color: rgba(255,255,255,.85); margin-bottom: 14px; font-size: .92rem; }
.jx-contact-info i { color: #d4a017; margin-right: 10px; width: 18px; }
.jx-form .form-control { border-radius: 4px; padding: 12px 14px; border: 1px solid #ddd; margin-bottom: 14px; font-size: .9rem; }
.jx-form .form-control:focus { border-color: #0a4d3a; box-shadow: 0 0 0 .15rem #0a4d3a33; outline: none; }
.jx-form .btn-submit { background: #0a4d3a; color: #fff; border: none; padding: 12px 30px; font-weight: 600; border-radius: 4px; transition: .3s; }
.jx-form .btn-submit:hover { background: #062d22; }

/* ====== Footer ====== */
.jx-footer { background: #062d22; color: rgba(255,255,255,.7); padding: 50px 0 0; }
.jx-footer h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.jx-footer h5::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 40px; height: 2px; background: #d4a017; }
.jx-footer ul { list-style: none; padding: 0; }
.jx-footer ul li { padding: 5px 0; font-size: .88rem; }
.jx-footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: .3s; }
.jx-footer a:hover { color: #d4a017; padding-left: 4px; }
.jx-footer .copy { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; margin-top: 40px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.5); }
.jx-footer .copy a { color: rgba(255,255,255,.5); margin: 0 8px; }

/* ====== Breadcrumb ====== */
.jx-breadcrumb { background: #f4f6f5; padding: 14px 0; font-size: .85rem; }
.jx-breadcrumb a { color: #666; text-decoration: none; }
.jx-breadcrumb a:hover { color: #0a4d3a; }
.jx-breadcrumb span { color: #d4a017; }

/* ====== Pagination ====== */
.jx-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.jx-pagination a, .jx-pagination span { display: inline-block; padding: 8px 14px; background: #fff; border: 1px solid #ddd; color: #555; text-decoration: none; border-radius: 3px; font-size: .9rem; }
.jx-pagination a:hover, .jx-pagination .active { background: #0a4d3a; color: #fff; border-color: #0a4d3a; }

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .jx-hero { height: 420px; }
  .jx-hero h1 { font-size: 1.8rem; }
  .jx-section { padding: 50px 0; }
  .jx-stitle h2 { font-size: 1.5rem; }
  .jx-header .navbar { padding: 10px 0; }
}
