/* ===== CSS Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:"Segoe UI","PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;color:#333;line-height:1.7;overflow-x:hidden;background:#fff}

/* ===== Colors ===== */
:root{
  --navy-deep:#0a1628;
  --navy:#122040;
  --navy-light:#1a3050;
  --gold:#c9974e;
  --gold-light:#d4a853;
  --gold-pale:#f5ecd7;
  --white:#ffffff;
  --gray-light:#f5f7fa;
  --gray:#eef1f5;
  --text:#333333;
  --text-light:#666;
  --shadow:0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:0 8px 40px rgba(0,0,0,.12);
}

/* ===== Navbar ===== */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:var(--navy-deep);
  box-shadow:0 2px 10px rgba(0,0,0,.3);
  transition:background .3s;}
.nav-container{
  max-width:1280px;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;height:68px;}
.nav-brand{
  text-decoration:none;display:flex;flex-direction:column;line-height:1.2;}
.brand-cn{color:var(--gold);font-size:1.25rem;font-weight:700;letter-spacing:2px;}
.brand-en{color:rgba(255,255,255,.7);font-size:.65rem;letter-spacing:3px;text-transform:uppercase;}
.nav-menu{display:flex;list-style:none;gap:4px;}
.nav-link{
  color:rgba(255,255,255,.85);text-decoration:none;
  padding:8px 16px;font-size:.875rem;border-radius:4px;
  transition:color .3s,background .3s;}
.nav-link:hover{color:var(--gold);background:rgba(201,151,78,.1);}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:4px;}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--white);transition:.3s;}

/* ===== Hero ===== */
.hero{position:relative;height:100vh;min-height:600px;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat;transform:scale(1.05);transition:transform 8s ease;}
.hero:hover .hero-bg{transform:scale(1);}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(10,22,40,.88) 0%,rgba(26,48,80,.75) 50%,rgba(10,22,40,.85) 100%);}
.hero-content{position:relative;text-align:center;z-index:2;padding:0 24px;}
.hero-title{color:var(--white);font-size:2.8rem;font-weight:700;letter-spacing:4px;margin-bottom:16px;}
.hero-subtitle{color:var(--gold);font-size:1.2rem;letter-spacing:2px;margin-bottom:48px;}
.hero-stats{display:flex;justify-content:center;gap:60px;flex-wrap:wrap;}
.stat-item{text-align:center;}
.stat-number{display:block;color:var(--gold);font-size:2.5rem;font-weight:700;}
.stat-label{color:rgba(255,255,255,.7);font-size:.9rem;letter-spacing:1px;}

.animate-fadein{animation:fadeInUp .8s ease forwards;opacity:0;}
.hero-subtitle.animate-fadein{animation-delay:.2s;}
.hero-stats.animate-fadein{animation-delay:.4s;}

@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}

/* ===== Sections ===== */
.section{padding:80px 0;}
.section-alt{background:var(--gray-light);}
.container{max-width:1200px;margin:0 auto;padding:0 24px;}
.section-header{text-align:center;margin-bottom:48px;}
.section-title{font-size:2rem;color:var(--navy);font-weight:700;letter-spacing:2px;margin-bottom:12px;}
.section-divider{width:60px;height:3px;background:var(--gold);margin:0 auto;}
.section-desc{text-align:center;max-width:800px;margin:0 auto 40px;color:var(--text-light);font-size:1.05rem;line-height:1.8;}

/* ===== About ===== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.about-image img{width:100%;border-radius:8px;box-shadow:var(--shadow-lg);}
.about-lead{font-size:1.1rem;line-height:1.9;margin-bottom:24px;color:var(--text);}
.about-list{list-style:none;}
.about-list li{padding:10px 0;border-bottom:1px solid #eee;font-size:1rem;display:flex;align-items:center;gap:12px;}
.gold-dot{width:8px;height:8px;background:var(--gold);border-radius:50%;flex-shrink:0;}

/* ===== Export ===== */
.export-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.export-card{overflow:hidden;border-radius:8px;box-shadow:var(--shadow);}
.export-card img{width:100%;height:240px;object-fit:cover;display:block;transition:transform .4s;}
.export-card:hover img{transform:scale(1.05);}

/* ===== Equipment ===== */
.equipment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:40px;}
.equip-card{text-align:center;padding:32px 16px;background:var(--white);border-radius:8px;box-shadow:var(--shadow);border-top:3px solid var(--gold);transition:transform .3s;}
.equip-card:hover{transform:translateY(-4px);}
.equip-number{font-size:2.2rem;font-weight:700;color:var(--navy);margin-bottom:8px;}
.equip-label{color:var(--text-light);font-size:.95rem;}
.equipment-images{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.equipment-images img{width:100%;height:260px;object-fit:cover;border-radius:8px;box-shadow:var(--shadow);}

/* ===== Certifications ===== */
.cert-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}
.cert-card img{width:100%;border-radius:8px;box-shadow:var(--shadow-lg);}
.cert-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.cert-list li{padding:12px 16px;background:var(--white);border-radius:6px;font-size:.95rem;box-shadow:0 2px 8px rgba(0,0,0,.04);display:flex;align-items:center;gap:10px;}
.cert-icon{color:var(--gold);font-weight:700;font-size:1.1rem;}

/* ===== Products ===== */
.product-category{margin-bottom:56px;}
.cat-title{font-size:1.5rem;color:var(--navy);font-weight:700;margin-bottom:4px;padding-bottom:12px;border-bottom:2px solid var(--gold-pale);}
.cat-sub{font-size:.85rem;color:var(--gold);font-weight:400;margin-left:8px;text-transform:uppercase;letter-spacing:1px;}
.subcat-title{font-size:1.1rem;color:var(--navy-light);font-weight:600;margin:28px 0 16px;padding-left:14px;border-left:3px solid var(--gold);}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;}
.product-item{overflow:hidden;border-radius:8px;box-shadow:var(--shadow);cursor:pointer;background:#fff;transition:transform .3s,box-shadow .3s;}
.product-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.product-item img{width:100%;height:240px;object-fit:cover;display:block;transition:transform .5s;}
.product-item:hover img{transform:scale(1.08);}

/* ===== Why Us ===== */
.whyus-wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;margin-bottom:40px;}
.whyus-image img{width:100%;border-radius:8px;box-shadow:var(--shadow-lg);}
.whyus-list{display:grid;gap:16px;}
.whyus-item{display:flex;gap:16px;padding:20px;background:var(--white);border-radius:8px;box-shadow:var(--shadow);transition:transform .3s;}
.whyus-item:hover{transform:translateX(6px);}
.whyus-icon{color:var(--gold);font-size:1.4rem;flex-shrink:0;line-height:1.4;}
.whyus-item strong{display:block;color:var(--navy);font-size:1rem;margin-bottom:4px;}
.whyus-item p{color:var(--text-light);font-size:.9rem;line-height:1.6;}
.whyus-banner-images{text-align:center;}
.whyus-banner-images img{max-width:100%;border-radius:8px;box-shadow:var(--shadow);}

/* ===== Footer ===== */
.footer{background:var(--navy-deep);color:rgba(255,255,255,.8);padding:56px 0 24px;}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:32px;margin-bottom:40px;}
.footer-brand h3{color:var(--gold);font-size:1.5rem;margin-bottom:4px;}
.footer-brand p{font-size:.85rem;letter-spacing:1px;}
.footer-slogan{color:var(--gold-light);margin-top:8px;font-size:.9rem;}
.footer-contact h4,.footer-nav h4{color:var(--white);font-size:1.05rem;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid rgba(201,151,78,.3);}
.footer-contact p{margin-bottom:8px;font-size:.9rem;}
.footer-label{color:var(--gold-light);}
.footer-nav ul{list-style:none;}
.footer-nav li{margin-bottom:6px;}
.footer-nav a{color:rgba(255,255,255,.6);text-decoration:none;font-size:.9rem;transition:color .3s;}
.footer-nav a:hover{color:var(--gold);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;text-align:center;font-size:.85rem;color:rgba(255,255,255,.4);}

/* ===== Back to Top ===== */
.back-to-top{
  position:fixed;bottom:32px;right:32px;z-index:999;
  width:44px;height:44px;border-radius:50%;
  background:var(--navy);color:var(--white);border:none;
  font-size:1.4rem;cursor:pointer;opacity:0;visibility:hidden;
  box-shadow:var(--shadow-lg);transition:all .3s;
  display:flex;align-items:center;justify-content:center;}
.back-to-top.visible{opacity:1;visibility:visible;}
.back-to-top:hover{background:var(--gold);transform:translateY(-3px);}

/* ===== Lightbox ===== */
.lightbox{
  position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:opacity .3s;}
.lightbox.active{opacity:1;visibility:visible;}
.lightbox-img{max-width:90vw;max-height:85vh;border-radius:4px;box-shadow:0 4px 30px rgba(0,0,0,.5);}
.lightbox-close{
  position:absolute;top:24px;right:32px;
  color:#fff;font-size:2.5rem;cursor:pointer;z-index:1;
  transition:color .3s;line-height:1;}
.lightbox-close:hover{color:var(--gold);}

/* ===== Lazy Load ===== */
.lazy-img{opacity:0;transition:opacity .5s;}
.lazy-img.loaded{opacity:1;}

/* ===== Scroll Reveal ===== */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .6s,transform .6s;}
.reveal.visible{opacity:1;transform:translateY(0);}

/* ===== Consult Float Widget ===== */
.consult-float{
  position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:998;
  display:flex;align-items:center;}
.consult-toggle{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:56px;height:100px;background:var(--navy-deep);color:var(--white);
  border-radius:8px 0 0 8px;cursor:pointer;gap:6px;
  box-shadow:-2px 2px 12px rgba(0,0,0,.2);transition:background .3s;}
.consult-toggle:hover{background:var(--gold);}
.consult-icon{font-size:1.4rem;line-height:1;}
.consult-text{font-size:.7rem;letter-spacing:1px;writing-mode:vertical-rl;}
.consult-panel{
  position:absolute;right:64px;top:50%;transform:translateY(-50%);
  width:260px;background:var(--white);border-radius:8px;
  box-shadow:var(--shadow-lg);overflow:hidden;
  opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;}
.consult-panel.active{opacity:1;visibility:visible;}
.consult-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;background:var(--navy-deep);color:var(--white);}
.consult-header h4{font-size:.95rem;letter-spacing:1px;}
.consult-close{
  background:none;border:none;color:var(--white);font-size:1.4rem;
  cursor:pointer;line-height:1;transition:color .3s;}
.consult-close:hover{color:var(--gold);}
.consult-body{text-align:center;padding:20px 16px;}
.consult-qr{width:180px;height:180px;object-fit:contain;margin-bottom:12px;border:1px solid var(--gray);border-radius:4px;}
.consult-name{font-size:.9rem;color:var(--navy);font-weight:600;margin-bottom:4px;}
.consult-phone{font-size:.85rem;color:var(--text-light);margin-bottom:8px;}
.consult-tip{font-size:.78rem;color:var(--gold);}

@media(max-width:768px){
  .consult-toggle{width:44px;height:80px;}
  .consult-panel{width:240px;right:52px;}
  .consult-qr{width:150px;height:150px;}
}

/* ===== Responsive ===== */
@media(max-width:1024px){
  .about-grid,.cert-grid,.whyus-wrap{grid-template-columns:1fr;}
  .export-grid{grid-template-columns:repeat(2,1fr);}
  .equipment-grid{grid-template-columns:repeat(2,1fr);}
  .cert-list{grid-template-columns:1fr;}
}

@media(max-width:768px){
  .hero-title{font-size:1.8rem;letter-spacing:2px;}
  .hero-subtitle{font-size:1rem;}
  .hero-stats{gap:24px;}
  .stat-number{font-size:1.8rem;}
  .section{padding:56px 0;}
  .section-title{font-size:1.6rem;}
  .export-grid{grid-template-columns:1fr 1fr;}
  .export-card img{height:180px;}
  .equipment-grid{grid-template-columns:1fr 1fr;}
  .equipment-images{grid-template-columns:1fr;}
  .equipment-images img{height:200px;}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
  .product-item img{height:180px;}
  .footer-grid{grid-template-columns:1fr;gap:24px;}

  .nav-menu{
    position:fixed;top:68px;left:0;right:0;background:var(--navy-deep);
    flex-direction:column;padding:16px 0;
    transform:translateY(-120%);transition:transform .3s;
    box-shadow:0 8px 20px rgba(0,0,0,.3);}
  .nav-menu.active{transform:translateY(0);}
  .nav-link{padding:12px 24px;display:block;}
  .nav-toggle{display:flex;}
}

@media(max-width:480px){
  .export-grid{grid-template-columns:1fr;}
  .hero-title{font-size:1.4rem;}
  .hero-stats{flex-direction:column;gap:16px;}
}


/* ===== Floating Contact Buttons ===== */
.float-btns {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.float-wa { background: #25D366; }
.float-wx { background: #07C160; }
.float-email { background: var(--navy-deep); }

/* ===== WeChat Modal ===== */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.wechat-modal.active {
  opacity: 1;
  visibility: visible;
}
.wechat-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.wechat-modal-content h3 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.wechat-modal-content p {
  color: var(--text-light);
  font-size: .9rem;
  margin-top: 8px;
}
.wechat-modal-close {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  transition: color .3s;
}
.wechat-modal-close:hover { color: var(--navy); }

/* ===== Footer Contact Form ===== */
.footer-contact-form h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(201,151,78,.3);
}
.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 6px;
  font-size: .85rem;
  font-family: inherit;
  transition: border-color .3s;
}
.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
  color: rgba(255,255,255,.4);
}
.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.footer-contact-form textarea {
  resize: vertical;
  min-height: 80px;
}
.footer-contact-form button {
  width: 100%;
  padding: 10px;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s;
}
.footer-contact-form button:hover {
  background: var(--gold-light);
}

@media(max-width:768px){
  .float-btns { bottom: 70px; right: 12px; gap: 8px; }
  .float-btn { width: 42px; height: 42px; }
}
