/* ============================================================
   vfdinverters.com 全站样式表
   品牌色：主蓝 #1256a0 / 深蓝 #0d2b4e /  accent 橙 #f5a623
   ============================================================ */
:root{
  --blue:#1256a0;
  --blue-dark:#0d2b4e;
  --blue-deep:#081f3a;
  --orange:#f5a623;
  --orange-dark:#e08f00;
  --text:#333;
  --text-light:#666;
  --bg-light:#f5f7fa;
  --border:#e3e8ef;
  --radius:8px;
  --shadow:0 2px 12px rgba(13,43,78,.08);
  --shadow-hover:0 8px 28px rgba(13,43,78,.16);
  --maxw:1200px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:var(--text);line-height:1.65;background:#fff;font-size:16px}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none;transition:color .2s}
a:hover{color:var(--orange-dark)}
ul{list-style:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.section{padding:70px 0}
.section-gray{background:var(--bg-light)}
.sec-head{text-align:center;margin-bottom:45px}
.sec-head .en{display:block;color:var(--orange);font-size:14px;letter-spacing:3px;text-transform:uppercase;font-weight:600;margin-bottom:6px}
.sec-head h2{font-size:32px;color:var(--blue-dark);font-weight:700}
.sec-head .bar{width:60px;height:4px;background:var(--orange);margin:14px auto 0;border-radius:2px}
.btn{display:inline-block;padding:13px 34px;border-radius:4px;font-weight:600;font-size:15px;transition:all .25s;cursor:pointer;border:2px solid transparent}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange-dark);color:#fff;transform:translateY(-2px)}
.btn-outline{border-color:#fff;color:#fff;background:transparent}
.btn-outline:hover{background:#fff;color:var(--blue-dark)}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-dark);color:#fff}

/* ---------- 顶栏 ---------- */
.topbar{background:var(--blue-deep);color:#c8d6e8;font-size:13px;padding:7px 0}
.topbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.topbar a{color:#c8d6e8}
.topbar a:hover{color:var(--orange)}
.topbar .tb-item{margin-right:22px}
.topbar .tb-item:last-child{margin-right:0}
.topbar svg{width:13px;height:13px;vertical-align:-2px;margin-right:5px;fill:var(--orange)}

/* ---------- 导航 ---------- */
.header{background:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.header .container{display:flex;align-items:center;justify-content:space-between;height:78px}
.logo{display:flex;align-items:center;gap:10px}
.logo img{height:52px;width:auto}
.logo .logo-text{font-size:22px;font-weight:800;color:var(--blue-dark);letter-spacing:.5px;line-height:1.1}
.logo .logo-text small{display:block;font-size:10px;font-weight:600;color:var(--orange);letter-spacing:2.5px}
.nav{display:flex;align-items:center;gap:6px}
.nav>li{position:relative}
.nav>li>a{display:block;padding:28px 16px;color:var(--blue-dark);font-weight:600;font-size:15.5px}
.nav>li>a:hover,.nav>li>a.active{color:var(--blue)}
.nav>li>a .caret{display:inline-block;margin-left:5px;border:5px solid transparent;border-top-color:currentColor;vertical-align:middle;transform:translateY(2px)}
/* 下拉 */
.dropdown{position:absolute;top:100%;left:0;background:#fff;min-width:230px;box-shadow:0 10px 30px rgba(13,43,78,.15);border-top:3px solid var(--orange);opacity:0;visibility:hidden;transform:translateY(12px);transition:all .25s}
.nav>li:hover .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown li a{display:block;padding:12px 20px;color:var(--text);font-size:14.5px;border-bottom:1px solid #f0f3f7}
.dropdown li a:hover{background:var(--bg-light);color:var(--blue);padding-left:26px}
.nav-quote{margin-left:14px}
/* 汉堡 */
.burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px}
.burger span{width:26px;height:3px;background:var(--blue-dark);border-radius:2px;transition:.3s}

/* ---------- Hero 轮播 ---------- */
.hero{position:relative;overflow:hidden;background:var(--blue-deep)}
.hero-slide{display:none;position:relative}
.hero-slide.active{display:block;animation:fadeIn .8s}
.hero-slide img{width:100%;height:min(560px,52vw);object-fit:cover}
@keyframes fadeIn{from{opacity:.3}to{opacity:1}}
.hero-cta{position:absolute;left:12.6%;bottom:14%;display:flex;gap:14px;flex-wrap:wrap}
.hero-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px}
.hero-dots button{width:34px;height:4px;border:none;background:rgba(255,255,255,.4);cursor:pointer;border-radius:2px;transition:.3s}
.hero-dots button.on{background:var(--orange)}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(8,31,58,.45);color:#fff;border:none;width:46px;height:46px;border-radius:50%;font-size:20px;cursor:pointer;transition:.25s;z-index:5}
.hero-arrow:hover{background:var(--orange)}
.hero-prev{left:18px}.hero-next{right:18px}

/* ---------- 产品分类卡 ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.cat-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:all .3s;position:relative}
.cat-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-6px)}
.cat-card .cc-img{height:220px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;padding:18px}
.cat-card .cc-img img{max-height:100%;object-fit:contain;transition:transform .4s}
.cat-card:hover .cc-img img{transform:scale(1.06)}
.cat-card .cc-body{padding:20px 24px 26px;border-top:3px solid var(--orange)}
.cat-card h3{font-size:19px;color:var(--blue-dark);margin-bottom:8px}
.cat-card p{font-size:14px;color:var(--text-light);margin-bottom:12px}
.cat-card .more{font-size:14px;font-weight:600;color:var(--blue)}
.cat-card .more::after{content:" →";color:var(--orange)}

/* ---------- Why choose us ---------- */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.why-item{background:#fff;border-radius:var(--radius);padding:34px 24px;text-align:center;box-shadow:var(--shadow);transition:.3s;border-bottom:3px solid transparent}
.why-item:hover{border-bottom-color:var(--orange);transform:translateY(-5px)}
.why-item .ic{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--blue-dark));display:flex;align-items:center;justify-content:center}
.why-item .ic svg{width:30px;height:30px;fill:#fff}
.why-item h3{font-size:17px;color:var(--blue-dark);margin-bottom:8px}
.why-item p{font-size:13.5px;color:var(--text-light)}

/* ---------- 应用场景 ---------- */
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.app-card{position:relative;border-radius:var(--radius);overflow:hidden;height:250px;box-shadow:var(--shadow)}
.app-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.app-card:hover img{transform:scale(1.08)}
.app-card .ac-txt{position:absolute;left:0;right:0;bottom:0;padding:40px 20px 16px;background:linear-gradient(transparent,rgba(8,31,58,.88));color:#fff}
.app-card .ac-txt h3{font-size:18px;color:#fff;margin:0 0 4px}
.app-card .ac-txt span{font-size:13px;color:#ffd489}

/* ---------- 热销产品 ---------- */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.prod-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .3s;display:flex;flex-direction:column}
.prod-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-5px);border-color:transparent}
.prod-card .pc-img{height:210px;display:flex;align-items:center;justify-content:center;padding:16px;background:#fff}
.prod-card .pc-img img{max-height:100%;object-fit:contain;transition:transform .4s}
.prod-card:hover .pc-img img{transform:scale(1.07)}
.prod-card .pc-body{padding:16px 18px 20px;border-top:1px solid var(--border);flex:1;display:flex;flex-direction:column}
.prod-card h3{font-size:15px;color:var(--blue-dark);font-weight:600;line-height:1.4;margin-bottom:8px;flex:1}
.prod-card .pc-cat{font-size:12px;color:var(--orange-dark);text-transform:uppercase;letter-spacing:1px;margin-bottom:6px}
.prod-card .pc-link{font-size:13.5px;font-weight:600;color:var(--blue);margin-top:10px}

/* ---------- 公司实力横幅 ---------- */
.about-band{background:var(--blue-deep);color:#fff;overflow:hidden}
.about-band .ab-wrap{display:flex;align-items:center;gap:56px;padding:80px 20px}
.about-band .ab-left{flex:1.15;min-width:0}
.about-band .ab-tag{display:inline-block;font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--orange);border:1px solid rgba(245,166,35,.4);padding:5px 14px;border-radius:20px;margin-bottom:18px}
.about-band h2{font-size:32px;margin-bottom:18px;color:#fff}
.about-band p{color:#d5e2f0;margin-bottom:14px;font-size:15.5px;line-height:1.75}
.about-band .stats{display:flex;gap:44px;margin:26px 0 30px;flex-wrap:wrap}
.about-band .stat b{display:block;font-size:34px;color:var(--orange);font-weight:800;font-variant-numeric:tabular-nums}
.about-band .stat span{font-size:13.5px;color:#c8d6e8}
.about-band .ab-right{flex:1;min-width:0}
.about-band .ab-right img{width:100%;height:auto;border-radius:var(--radius);box-shadow:0 20px 50px rgba(0,0,0,.4);display:block}
@media(max-width:900px){.about-band .ab-wrap{flex-direction:column;gap:36px;padding:56px 20px}}

/* ---------- 证书墙 ---------- */
.cert-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:18px}
.cert-item{background:#fff;border:1px solid var(--border);border-radius:8px;padding:12px 10px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;transition:.3s;cursor:pointer}
.cert-item:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}
.cert-item img{max-height:150px;max-width:100%;object-fit:contain;flex:none}
.cert-item span{font-size:12.5px;color:#5a6b80;text-align:center;line-height:1.45;font-weight:500}

/* ---------- 新闻 ---------- */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.news-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:.3s;display:flex;flex-direction:column}
.news-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-5px)}
.news-card .nc-img{height:190px;overflow:hidden}
.news-card .nc-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.news-card:hover .nc-img img{transform:scale(1.06)}
.news-card .nc-body{padding:20px 22px 24px;flex:1;display:flex;flex-direction:column}
.news-card time{font-size:12.5px;color:var(--orange-dark);font-weight:600;letter-spacing:1px}
.news-card h3{font-size:16.5px;color:var(--blue-dark);margin:8px 0;flex:1;line-height:1.45}
.news-card p{font-size:13.5px;color:var(--text-light);margin-bottom:12px}
.news-card .more{font-size:13.5px;font-weight:600;color:var(--blue)}

/* ---------- 询盘区 ---------- */
.inquiry{background:linear-gradient(120deg,var(--blue-deep),var(--blue-dark) 60%,var(--blue));color:#fff}
.inquiry .container{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center}
.inquiry h2,.inquiry .iq-title{font-size:30px;margin-bottom:16px;color:#fff!important;background:none!important;padding:0!important;border:none!important}
body .inquiry h2,body .inquiry h2.iq-title,.inquiry h2.iq-title{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
.inquiry p{color:#c8d6e8;margin-bottom:22px}
.inquiry .iq-contact li{display:flex;align-items:center;gap:12px;margin-bottom:14px;font-size:15px}
.inquiry .iq-contact svg{width:20px;height:20px;fill:var(--orange);flex:none}
.inquiry .iq-form{background:#fff;border-radius:10px;padding:32px;box-shadow:0 16px 50px rgba(0,0,0,.25)}
/* 联系页信息列表：图标+标签+内容分层排版 */
.inquiry .iq-info .sub{color:#f5a623!important;font-size:13px;letter-spacing:2px;font-weight:600}
.inquiry .iq-info p{color:#c8d6e8;line-height:1.7;font-size:14.5px;margin-top:14px}
.inquiry .iq-list{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:18px}
.inquiry .iq-list li{display:flex;align-items:flex-start;gap:13px;margin:0;padding:0;background:none;border:none}
.inquiry .iq-list svg{width:19px;height:19px;fill:#f5a623;flex:none;margin-top:3px}
.inquiry .iq-list b{display:block;color:#fff!important;font-size:14px;font-weight:600;letter-spacing:.3px;margin-bottom:3px;background:none;padding:0;border:none}
.inquiry .iq-list span{display:block;color:#c8d6e8;font-size:14.5px;line-height:1.55}
.inquiry .iq-form h3{color:var(--blue-dark);font-size:20px;margin-bottom:18px}
/* CF7 表单样式（同时作用于替换进来的 CF7 短代码输出） */
.wpcf7-form .frow{margin-bottom:14px}
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form input[type=tel],.wpcf7-form textarea{
  width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:5px;font-size:14.5px;font-family:inherit;color:var(--text);background:#fbfcfe}
.wpcf7-form input:focus,.wpcf7-form textarea:focus{outline:none;border-color:var(--blue);background:#fff}
.wpcf7-form textarea{height:110px;resize:vertical}
.wpcf7-form input[type=submit]{background:var(--orange);color:#fff;border:none;padding:13px 40px;border-radius:5px;font-size:15px;font-weight:700;cursor:pointer;transition:.25s}
.wpcf7-form input[type=submit]:hover{background:var(--orange-dark)}
/* CF7 提交结果提示框：深绿/深红文字，确保在深蓝询盘区上可读 */
.wpcf7 form.sent .wpcf7-response-output{color:#155724!important;background:#d4edda!important;border:1px solid #c3e6cb!important;border-radius:6px;padding:12px 16px;margin:14px 0 0}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.spam .wpcf7-response-output{color:#721c24!important;background:#f8d7da!important;border:1px solid #f5c6cb!important;border-radius:6px;padding:12px 16px;margin:14px 0 0}
.wpcf7-response-output{color:#155724!important;background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;padding:12px 16px}
.wpcf7-not-valid-tip{color:#ff9d9d!important;font-size:13px}

/* ---------- 页脚 ---------- */
.footer{background:var(--blue-deep);color:#a9bcd4;font-size:14px}
.footer .f-main{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:40px;padding:60px 0 44px}
.footer h4{color:#fff;font-size:16px;margin-bottom:18px;position:relative;padding-bottom:10px}
.footer h4::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;background:var(--orange);border-radius:2px}
.footer a{color:#a9bcd4}
.footer a:hover{color:var(--orange)}
.footer .f-links li{margin-bottom:9px}
.footer .f-about img{height:52px;width:auto;margin-bottom:14px;background:#fff;padding:6px 10px;border-radius:8px;box-sizing:content-box}
.footer .f-contact li{display:flex;gap:10px;margin-bottom:12px;align-items:flex-start}
.footer .f-contact svg{width:16px;height:16px;fill:var(--orange);flex:none;margin-top:4px}
.f-bottom{border-top:1px solid rgba(255,255,255,.1);padding:16px 0;text-align:center;font-size:13px;color:#7e93ad}


/* 政策链接行（GMC 合规） */
.f-policies{border-top:1px solid rgba(255,255,255,.1);padding:16px 0 0;display:flex;flex-wrap:wrap;justify-content:center}
.f-policies a{flex:1 1 150px;max-width:220px;text-align:center;padding:4px 8px;box-sizing:border-box;font-size:13px;color:#7e93ad;letter-spacing:.04em;white-space:nowrap}
.f-policies a:hover{color:var(--orange)}
/* 政策页正文 */
.pol-body{max-width:860px;margin:0 auto}
.pol-body .pol-meta{font-size:13px;color:#8a97a8;margin-bottom:26px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.pol-body h3{font-size:19px;color:#0d2b4e;margin:30px 0 10px}
.pol-body p{color:#555;line-height:1.8;margin-bottom:14px}
.pol-body ul{margin:0 0 14px;padding-left:22px}
.pol-body li{color:#555;line-height:1.8;margin-bottom:8px}
.pol-body a{color:#1256a0}

/* ---------- 浮动 WhatsApp ---------- */
.wa-float{position:fixed;right:22px;bottom:22px;z-index:999;background:#25d366;color:#fff;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.3);transition:.3s}
.wa-float:hover{transform:scale(1.1)}
.wa-float svg{width:30px;height:30px;fill:#fff}

/* ---------- 内页通用 ---------- */
.page-banner{position:relative;height:280px;overflow:hidden;background:var(--blue-dark)}
.page-banner img{width:100%;height:100%;object-fit:cover;opacity:.45}
.page-banner .pb-txt{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;text-align:center}
.page-banner h1{font-size:36px;margin-bottom:8px;color:#fff!important;background:none!important;padding:0!important;border:none!important;-webkit-text-fill-color:#fff!important}
body .page-banner h1,body .page-banner .pb-txt h1{color:#fff!important;background:none!important;-webkit-text-fill-color:#fff!important}
.page-banner .breadcrumb{color:#cfd9e6}
.page-banner .breadcrumb a{color:#f5a623}
.breadcrumb{font-size:13.5px;color:#c8d6e8}
.breadcrumb a{color:var(--orange)}

/* ---------- 产品详情页 ---------- */
.pd-top{display:grid;grid-template-columns:1fr 1.15fr;gap:50px;margin-bottom:60px}
.pd-gallery{border:1px solid var(--border);border-radius:var(--radius);padding:24px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:420px;gap:16px}
.pd-gallery img{max-height:440px;object-fit:contain}
.pd-main-img{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}
.pd-main-img img{max-height:400px;max-width:100%;object-fit:contain}
.pd-thumbs{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.pd-thumb{width:72px;height:72px;object-fit:contain;border:2px solid var(--border);border-radius:6px;padding:4px;cursor:pointer;transition:border-color .2s;max-height:none!important}
.pd-thumb:hover,.pd-thumb.on{border-color:var(--orange)}
.pd-info .pd-cat{color:var(--orange-dark);font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase}
.pd-info h1{font-size:26px;color:var(--blue-dark);margin:8px 0 16px;line-height:1.35}
.pd-info .pd-desc{color:var(--text-light);font-size:15px;margin-bottom:20px}
.pd-kv{margin-bottom:22px}
.pd-kv li{display:flex;gap:8px;font-size:14.5px;margin-bottom:9px;align-items:flex-start}
.pd-kv li::before{content:"✓";color:var(--orange);font-weight:800}
.pd-models{margin-bottom:24px}
.pd-models b{display:block;font-size:14px;color:var(--blue-dark);margin-bottom:10px}
.pd-models .chip{display:inline-block;border:1px solid var(--border);border-radius:4px;padding:6px 14px;font-size:13px;margin:0 8px 8px 0;color:var(--text);cursor:default;transition:.2s}
.pd-models .chip:hover{border-color:var(--orange);color:var(--orange-dark)}
.pd-actions{display:flex;gap:14px;flex-wrap:wrap}
/* Tabs */
.pd-tabs{border-top:1px solid var(--border);padding-top:10px}
.tab-btns{display:flex;gap:6px;flex-wrap:wrap;border-bottom:2px solid var(--border);margin-bottom:30px}
.tab-btns button{background:none;border:none;padding:14px 26px;font-size:16px;font-weight:600;color:var(--text-light);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;font-family:inherit}
.tab-btns button.on{color:var(--blue);border-bottom-color:var(--orange)}
.tab-pane{display:none}
.tab-pane.on{display:block;animation:fadeIn .4s}
.spec-table{width:100%;border-collapse:collapse;font-size:14.5px}
.spec-table th,.spec-table td{border:1px solid var(--border);padding:11px 14px;text-align:left}
.spec-table th{background:var(--blue-dark);color:#fff;font-weight:600}
.spec-table tr:nth-child(even) td{background:var(--bg-light)}
.faq-item{border:1px solid var(--border);border-radius:6px;margin-bottom:12px;overflow:hidden}
.faq-item summary{padding:16px 20px;font-weight:600;color:var(--blue-dark);cursor:pointer;background:#fbfcfe;list-style:none}
.faq-item summary::before{content:"+ ";color:var(--orange);font-weight:800}
.faq-item[open] summary::before{content:"− "}
.faq-item .fa-body{padding:16px 20px;font-size:14.5px;color:var(--text-light)}
/* 产品页底部联系条 */
.pd-contact{margin-top:60px;background:var(--bg-light);border:1px solid var(--border);border-radius:var(--radius);padding:30px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.pd-contact h3{color:var(--blue-dark);font-size:20px;margin-bottom:6px}
.pd-contact p{color:var(--text-light);font-size:14.5px}
.pd-contact p b{color:var(--text)}

/* ---------- 新闻内页 ---------- */
.article{max-width:820px;margin:0 auto}
.article h1{font-size:30px;color:var(--blue-dark);line-height:1.35;margin-bottom:10px}
.article .a-meta{color:var(--text-light);font-size:14px;margin-bottom:26px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.article h2{font-size:21px;color:var(--blue-dark);margin:30px 0 12px}
.article p{margin-bottom:15px;color:#444}
.article ul{margin:0 0 15px 22px;list-style:disc}
.article li{margin-bottom:7px;color:#444}
.article img{border-radius:8px;margin:18px 0}

/* ---------- 响应式 ---------- */
@media(max-width:1024px){
  .cat-grid,.app-grid,.news-grid{grid-template-columns:repeat(2,1fr)}
  .prod-grid{grid-template-columns:repeat(3,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .cert-grid{grid-template-columns:repeat(4,1fr)}
  .footer .f-main{grid-template-columns:repeat(2,1fr)}
  .inquiry .container{grid-template-columns:1fr;gap:36px}
  .pd-top{grid-template-columns:1fr}
}
@media(max-width:768px){
  .burger{display:flex}
  .nav{position:fixed;top:78px;left:0;right:0;bottom:0;background:#fff;flex-direction:column;align-items:stretch;padding:10px 0 40px;overflow-y:auto;transform:translateX(100%);transition:transform .3s;gap:0}
  .nav.open{transform:translateX(0)}
  .nav>li>a{padding:15px 22px;border-bottom:1px solid #f0f3f7}
  .dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-top:none;display:none;background:var(--bg-light)}
  .nav>li.open .dropdown{display:block}
  .nav-quote{margin:14px 22px}
  .hero-slide img{height:64vw}
  .hero-cta{bottom:18%}
  .section{padding:48px 0}
  .sec-head h2{font-size:25px}
  .cat-grid,.app-grid,.news-grid,.prod-grid,.why-grid{grid-template-columns:1fr 1fr;gap:16px}
  .cert-grid{grid-template-columns:repeat(3,1fr)}
  .about-band h2{font-size:24px}
  .pd-contact{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .cat-grid,.app-grid,.news-grid,.prod-grid,.why-grid{grid-template-columns:1fr}
  .cert-grid{grid-template-columns:repeat(2,1fr)}
  .topbar .container{justify-content:center}
}

/* ---------- 平板端：1100px 以下启用汉堡菜单（避免导航换行变形） ---------- */
@media(max-width:1100px){
  .burger{display:flex}
  .nav{position:fixed;top:78px;left:0;right:0;bottom:0;background:#fff;flex-direction:column;align-items:stretch;padding:10px 0 40px;overflow-y:auto;transform:translateX(100%);transition:transform .3s;gap:0;z-index:998}
  .nav.open{transform:translateX(0)}
  .nav>li>a{padding:15px 22px;border-bottom:1px solid #f0f3f7}
  .dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-top:none;display:none;background:var(--bg-light)}
  .nav>li.open .dropdown{display:block}
  .nav-quote{margin:14px 22px}
}

/* ---------- 平板端补充（769px - 1100px） ---------- */
@media(min-width:769px) and (max-width:1100px){
  .section{padding:56px 0}
  .hero-cta{left:12%;bottom:16%}
  .hero-cta .btn{padding:12px 22px;font-size:14px}
}

/* ---------- 手机端全面适配（≤768px 追加） ---------- */
@media(max-width:768px){
  /* 顶栏：邮箱+电话强制单行不折行，隐藏右侧次要信息和 WhatsApp 前缀，确保一行放下 */
  .topbar{padding:6px 0;overflow:hidden}
  .topbar .container{flex-wrap:nowrap;justify-content:center;gap:0;max-width:100%}
  .topbar .container>div:first-child{display:flex;flex-wrap:nowrap;align-items:center;min-width:0;overflow:hidden}
  .topbar .tb-item{margin-right:12px;white-space:nowrap;font-size:12px;letter-spacing:-.1px;flex:none}
  .topbar .tb-item:last-child{margin-right:0}
  .topbar .tb-item svg{margin-right:4px}
  .topbar .tb-label{display:none}
  .topbar .container>div:last-child{display:none}
  /* 页头横幅：小屏隐藏带文字的背景图，改纯色渐变，避免文字重叠 */
  .page-banner{height:170px;background:linear-gradient(120deg,var(--blue-deep),var(--blue))}
  .page-banner img{display:none}
  .page-banner h1{font-size:26px}
  .page-banner .breadcrumb{font-size:12.5px}
  /* Hero：图片左对齐取图保证广告语完整显示；按钮移到图片下方独立横条，彻底避免压住文字 */
  .hero-slide{display:none}
  .hero-slide.active{display:flex;flex-direction:column;animation:fadeIn .8s}
  .hero-slide img{height:58vw;min-height:220px;max-height:340px;object-position:left center}
  .hero-arrow{display:none}
  .hero-cta{position:static;left:auto;bottom:auto;display:flex;flex-wrap:nowrap;gap:10px;justify-content:center;background:var(--blue-deep);padding:12px 14px}
  .hero-cta .btn{padding:10px 8px;font-size:13px;flex:1;max-width:160px;text-align:center;white-space:nowrap}
  .hero-dots{display:none}
  /* 公司横幅统计数字 */
  .about-band .stats{gap:24px}
  .about-band .stat b{font-size:26px}
  .about-band .ab-right img{margin-top:6px}
  /* 询盘区 */
  .inquiry .iq-form{padding:22px 18px}
  .inquiry h2,body .inquiry h2,body .inquiry h2.iq-title{font-size:24px!important;color:#fff!important}
  /* 产品详情页 */
  .pd-gallery{min-height:0;padding:16px}
  .pd-main-img img{max-height:300px}
  .pd-info h1{font-size:20px;line-height:1.4}
  .tab-btns button{padding:12px 14px;font-size:14px}
  /* 规格表横向滑动 */
  .tab-pane{overflow-x:auto}
  .spec-table{min-width:640px}
  /* 新闻卡片图高度 */
  .news-card .nc-img{height:170px}
  /* 页脚：单列居中排版，视觉更整齐美观 */
  .footer .f-main{grid-template-columns:1fr;gap:34px;padding:44px 0 36px;text-align:center}
  .footer .f-about{display:flex;flex-direction:column;align-items:center}
  .footer .f-about img{height:46px;margin-bottom:12px}
  .footer .f-about p{font-size:13.5px;line-height:1.7;max-width:420px;margin-left:auto;margin-right:auto}
  .footer h4{font-size:15.5px;margin-bottom:16px}
  .footer h4::after{left:50%;transform:translateX(-50%)}
  /* 链接列（Quick Links / Products）：标题与链接统一左对齐，两列左边线对齐 */
  .footer .f-col{text-align:left;max-width:200px;width:100%;margin:0 auto}
  .footer .f-col h4::after{left:0;transform:none}
  .footer .f-links li{margin-bottom:8px}
  .footer .f-contact li{font-size:13.5px;margin-bottom:10px;justify-content:center;text-align:left}
  .footer .f-contact{max-width:340px;margin:0 auto}
  /* 文章页 */
  .article h1{font-size:24px}
  /* WhatsApp 悬浮球缩小，避免遮挡 */
  .wa-float{width:48px;height:48px;right:14px;bottom:14px}
}

/* ---------- 小屏手机（≤520px 追加） ---------- */
@media(max-width:520px){
  .hero-cta{flex-direction:row;gap:8px;justify-content:center;align-items:center}
  .hero-cta .btn{font-size:12.5px}
  .about-band .stats{display:grid;grid-template-columns:1fr 1fr;gap:18px}
  .pd-actions{display:flex;flex-direction:column;gap:10px}
  .pd-actions .btn{width:100%;text-align:center;box-sizing:border-box}
  .pd-contact>div:last-child{width:100%;flex-direction:column}
  .pd-contact .btn{width:100%;text-align:center;box-sizing:border-box}
  .tab-btns button{padding:10px 10px;font-size:13px}
  .section{padding:40px 0}
}
