/* 苏州暻纬昱翔信息技术有限公司 · 企业官网样式 */
:root{
  --ink:#1a2433;
  --ink-2:#3f4a5b;
  --muted:#788493;
  --line:#e5e9ef;
  --line-soft:#eef1f5;
  --white:#fff;
  --bg-soft:#f7f8fa;
  --bg-warm:#f7f4ef;
  --brand:#1d3b5c;
  --brand-2:#2f6e8f;
  --accent:#b8894c;
  --radius:6px;
  --shadow:0 14px 36px rgba(22,40,64,.07);
  --shadow-sm:0 6px 18px rgba(22,40,64,.05);
  --maxw:1280px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:16px;line-height:1.85;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4,p{margin:0}
/* 标题换行时自动均衡，避免出现只有一个词的孤行 */
h1,h2,h3,h4{text-wrap:balance}
ul{margin:0;padding:0;list-style:none}
.container{width:min(var(--maxw),calc(100% - 48px));margin-inline:auto}
.section{padding:96px 0}
.section--soft{background:var(--bg-soft)}
.section--warm{background:var(--bg-warm)}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;height:76px;
  background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line-soft);transition:box-shadow .3s;
}
.site-header.scrolled{box-shadow:0 6px 24px rgba(22,40,64,.07)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-logo{
  width:46px;height:46px;flex:none;border-radius:50%;object-fit:contain;background:#fff;display:block;
}
.footer-brand .footer-logo{
  width:52px;height:52px;border-radius:50%;object-fit:contain;background:#fff;display:block;margin-bottom:18px;
}
.brand-text{min-width:0}
.brand-name{font-size:16px;font-weight:700;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-en{font-size:10px;color:var(--muted);letter-spacing:.13em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav{display:flex;align-items:center;gap:34px}
.nav a{font-size:15px;color:var(--ink-2);position:relative;padding:8px 0;transition:color .25s;white-space:nowrap}
.nav a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--brand-2);transition:width .28s}
.nav a:hover,.nav a.active{color:var(--brand)}
.nav a.active::after,.nav a:hover::after{width:100%}
.header-right{display:flex;align-items:center;gap:18px}
.lang-switch{display:flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:20px;padding:3px;background:#fff;flex:none}
.lang-switch button{border:0;background:none;font-size:12px;font-weight:600;color:var(--muted);padding:4px 9px;border-radius:14px;cursor:pointer;line-height:1.3;transition:.2s}
.lang-switch button:hover{color:var(--brand)}
.lang-switch button.active{background:var(--brand);color:#fff}
.menu-btn{display:none;width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:5px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu-btn i{display:block;width:18px;height:1.5px;background:var(--ink);transition:.25s}

/* ---------- Common ---------- */
.eyebrow{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);font-weight:600;white-space:nowrap}
.eyebrow::before{content:"";width:28px;height:1px;background:var(--accent)}
/* 标题区与容器同宽，不再人为压到 760px；只限制正文行长 */
.section-head{max-width:100%;margin-bottom:52px}
.section-head h2{font-size:clamp(25px,2.7vw,36px);line-height:1.35;font-weight:650;letter-spacing:0;margin:18px 0 16px}
.section-head p{color:var(--ink-2);font-size:16px;line-height:1.95;max-width:1040px;text-wrap:balance}
.section-head--center{margin-inline:auto;text-align:center}
.section-head--center .eyebrow{justify-content:center}
.section-head--center .eyebrow::after{content:"";width:28px;height:1px;background:var(--accent)}
.section-head--center p{margin-inline:auto;max-width:900px;text-wrap:balance}
.lead{font-size:17px;line-height:2.05;color:var(--ink-2)}
.text-brand{color:var(--brand-2)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:0 26px;border-radius:4px;border:1px solid transparent;
  font-size:15px;font-weight:600;transition:.25s;white-space:nowrap;
}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:#152e49;transform:translateY(-2px)}
.btn-light{background:#fff;color:var(--brand)}
.btn-light:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.12)}
.btn-ghost{border-color:rgba(255,255,255,.6);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-outline{border-color:var(--line);color:var(--brand);background:#fff}
.btn-outline:hover{border-color:var(--brand-2);transform:translateY(-2px)}
.btn-sm{min-height:38px;padding:0 16px;font-size:13px}
.arrow{font-size:17px;line-height:1;transition:transform .25s}
.btn:hover .arrow{transform:translateX(4px)}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:600px;display:flex;align-items:center;color:#fff;overflow:hidden}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,30,49,.88) 0%,rgba(18,36,57,.7) 42%,rgba(18,36,57,.18) 78%,rgba(18,36,57,.05) 100%)}
.hero__inner{position:relative;z-index:2;padding:80px 0}
.hero__content{max-width:700px}
.hero__tag{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.18em;color:#d9e7f2;border:1px solid rgba(255,255,255,.32);padding:7px 14px;border-radius:2px;margin-bottom:26px}
.hero__tag i{width:6px;height:6px;border-radius:50%;background:#7fc4e8;display:block}
.hero h1{font-size:clamp(32px,4vw,54px);line-height:1.28;font-weight:650;letter-spacing:.005em;margin-bottom:22px}
.hero h1 em{font-style:normal;color:#a9d6ef}
.hero p{font-size:17px;line-height:1.95;color:rgba(255,255,255,.86);max-width:620px;text-wrap:balance;margin-bottom:36px}
.hero__actions{display:flex;gap:14px;flex-wrap:wrap}

/* ---------- Stat strip ---------- */
.stat-strip{background:var(--brand);color:#fff}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.stat{padding:40px 36px;border-left:1px solid rgba(255,255,255,.13)}
.stat:first-child{border-left:0}
.stat b{display:block;font-size:30px;font-weight:650;letter-spacing:.02em;line-height:1.3}
.stat span{display:block;font-size:13px;color:rgba(255,255,255,.7);letter-spacing:.08em;margin-top:6px}

/* ---------- Cards ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:34px 32px;transition:.3s;min-width:0;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#d7e0e9}
.card__num{font-size:13px;letter-spacing:.16em;color:var(--accent);font-weight:700;margin-bottom:22px}
.card__icon{width:46px;height:46px;border-radius:5px;background:#eef4f8;display:grid;place-items:center;margin-bottom:22px;color:var(--brand-2)}
.card__icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.card h3{font-size:19px;font-weight:650;margin-bottom:12px;letter-spacing:0}
.card p{color:var(--ink-2);font-size:15px;line-height:1.95}
.card ul{margin-top:18px;border-top:1px solid var(--line-soft);padding-top:16px}
.card li{font-size:14px;color:var(--muted);padding:4px 0 4px 16px;position:relative}
.card li::before{content:"";position:absolute;left:0;top:14px;width:5px;height:5px;border-radius:50%;background:var(--brand-2)}

/* ---------- Split / content ---------- */
/* 文字列略宽于图片列，给长标题留足单行空间 */
.split{display:grid;grid-template-columns:.92fr 1.08fr;gap:64px;align-items:center}
.split__media img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;object-fit:cover}
.split__media figcaption{font-size:12px;color:var(--muted);margin-top:12px}
.split__body{min-width:0}
.split__body h2{font-size:clamp(23px,2.4vw,31px);font-weight:650;line-height:1.4;letter-spacing:0;margin:16px 0 20px}
.split__body p+p{margin-top:16px}
.check-list{margin-top:26px;display:grid;gap:14px}
.check-list li{display:flex;gap:12px;font-size:15px;color:var(--ink-2);line-height:1.8}
.check-list i{flex:none;width:20px;height:20px;border-radius:50%;background:#eaf2f7;color:var(--brand-2);display:grid;place-items:center;font-size:11px;font-style:normal;margin-top:4px}

/* ---------- Direction list ---------- */
.direction-list{display:grid;gap:0;border-top:1px solid var(--line)}
.direction{display:grid;grid-template-columns:88px 1fr 1.15fr;gap:32px;padding:34px 8px;border-bottom:1px solid var(--line);align-items:start;transition:background .25s}
.direction:hover{background:#fbfcfd}
.direction__no{font-size:26px;font-weight:650;color:#c8d3de;letter-spacing:.02em}
.direction h3{font-size:20px;font-weight:650;margin-bottom:8px}
.direction small{color:var(--accent);font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.direction p{color:var(--ink-2);font-size:15px;line-height:1.95}

/* ---------- Services ---------- */
.services-wrap{position:relative;overflow:hidden}
.services-wrap::before{content:"";position:absolute;right:0;top:0;width:52%;height:100%;background:url('../images/services-desk.jpg') center/cover no-repeat;opacity:.35;pointer-events:none}
.services-wrap .container{position:relative;z-index:2}
.service-block{display:grid;grid-template-columns:120px 1fr;gap:40px;padding:44px 0;border-bottom:1px solid var(--line);max-width:960px}
.service-block:last-child{border-bottom:0}
.service-block__no{font-size:38px;font-weight:650;color:#cbd7e2;line-height:1.1}
.service-block h3{font-size:23px;font-weight:650;margin-bottom:14px}
.service-block p{color:var(--ink-2);font-size:15.5px;line-height:2.05;max-width:760px}
.service-block__tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.tag{font-size:12.5px;color:var(--brand-2);background:#eef4f8;border:1px solid #dde9f0;padding:5px 12px;border-radius:3px}

/* ---------- CTA band ---------- */
.cta-band{background:var(--brand);color:#fff;padding:62px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.cta-inner>div{min-width:0}
.cta-inner h2{font-size:clamp(22px,2.4vw,29px);font-weight:650;letter-spacing:0;margin-bottom:10px}
.cta-inner p{color:rgba(255,255,255,.75);font-size:15px}

/* ---------- Page head ---------- */
.page-head{background:var(--bg-soft);border-bottom:1px solid var(--line-soft);padding:64px 0 58px}
.crumb{font-size:13px;color:var(--muted);margin-bottom:18px}
.crumb a:hover{color:var(--brand-2)}
.page-head h1{font-size:clamp(30px,3.4vw,42px);font-weight:650;letter-spacing:.01em;margin-bottom:14px}
.page-head p{color:var(--ink-2);max-width:1100px;font-size:16px;line-height:1.95;text-wrap:balance}

/* ---------- Products ---------- */
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:36px}
.filter{border:1px solid var(--line);background:#fff;padding:9px 18px;border-radius:30px;font-size:14px;color:var(--ink-2);transition:.22s;white-space:nowrap}
.filter:hover{border-color:var(--brand-2);color:var(--brand)}
.filter.active{background:var(--brand);border-color:var(--brand);color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.3s;display:flex;flex-direction:column;min-width:0}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.product-card__media{position:relative;aspect-ratio:3/4;background:var(--bg-soft);overflow:hidden}
.product-card__media img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .5s}
.product-card:hover .product-card__media img{transform:scale(1.035)}
.product-card__badge{position:absolute;left:14px;top:14px;background:rgba(255,255,255,.94);color:var(--brand);font-size:11.5px;letter-spacing:.06em;padding:5px 11px;border-radius:2px;font-weight:600;white-space:nowrap}
.product-card__body{padding:22px 22px 26px;flex:1;display:flex;flex-direction:column}
.product-card__cat{font-size:11.5px;letter-spacing:.16em;color:var(--accent);text-transform:uppercase;font-weight:600}
.product-card h3{font-size:19px;font-weight:650;margin:10px 0 10px}
.product-card p{font-size:14px;color:var(--ink-2);line-height:1.85;flex:1}
.product-card__tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line-soft)}
.product-card__tags span{font-size:12px;color:var(--muted);background:var(--bg-soft);padding:4px 10px;border-radius:3px}
.note-box{background:var(--bg-soft);border-left:3px solid var(--brand-2);padding:20px 24px;font-size:14px;color:var(--ink-2);line-height:1.9;margin-top:48px}

/* ---------- 产品页：五大项目分页 ---------- */
.collection-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line);margin-bottom:44px}
.ctab{
  background:none;border:0;border-bottom:2px solid transparent;padding:12px 8px 16px;
  font-size:16px;font-weight:600;color:var(--muted);transition:.25s;white-space:nowrap;
  text-align:center;min-width:0;
}
.ctab:hover{color:var(--brand-2)}
.ctab.active{color:var(--brand);border-bottom-color:var(--brand)}
.ctab small{display:block;font-size:10.5px;font-weight:400;letter-spacing:.07em;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis}
.collection-panel[hidden]{display:none}
.trade-hero{width:100%;height:340px;object-fit:cover;object-position:center 55%;border-radius:var(--radius);margin-bottom:44px}
.split-gallery{display:grid;gap:26px;margin-bottom:72px;align-items:stretch}
.split-gallery.cols-2{grid-template-columns:1fr 1fr}
.split-gallery.cols-3{grid-template-columns:1fr 1fr 1fr}
/* 对称版式：顶边齐平、等宽等高，以悬浮互动增加生动感 */
.split-figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0;display:flex;flex-direction:column;transition:transform .35s,box-shadow .35s}
.split-figure img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 22%;transition:transform .5s;flex:1;min-height:0}
.split-figure:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#d7e0e9}
.split-figure:hover img{transform:scale(1.04)}
.split-figure figcaption{padding:14px 18px;font-size:13.5px;color:var(--muted);line-height:1.7;text-wrap:balance;border-top:1px solid var(--line-soft)}
.split-figure figcaption strong{display:block;font-size:15.5px;font-weight:650;color:var(--ink);margin-bottom:3px}
.trade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.trade-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 28px;transition:.3s;min-width:0}
.trade-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d7e0e9}
.trade-card__no{font-size:12px;letter-spacing:.18em;color:var(--accent);font-weight:700;margin-bottom:20px}
.trade-card h3{font-size:21px;font-weight:650;margin-bottom:10px}
.trade-card__label{display:inline-block;font-size:11.5px;color:var(--brand-2);background:#eef4f8;border:1px solid #dde9f0;padding:4px 10px;border-radius:3px;margin-bottom:14px}
.trade-card p{font-size:14.5px;color:var(--ink-2);line-height:1.95}
.trade-card__tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line-soft)}
.trade-card__tags span{font-size:12px;color:var(--muted);background:var(--bg-soft);padding:4px 10px;border-radius:3px}
@media(max-width:1024px){
  .trade-grid{grid-template-columns:repeat(2,1fr)}
  .split-gallery.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .collection-tabs{display:flex;overflow-x:auto;scrollbar-width:thin}
  .ctab{flex:0 0 auto;padding:12px 20px 16px;font-size:15px}
}
@media(max-width:600px){
  .trade-grid,.split-gallery.cols-2,.split-gallery.cols-3{grid-template-columns:1fr}
  .split-gallery .split-figure{margin-top:0}
  .trade-hero{height:220px}
  .ctab{padding:12px 14px 14px;font-size:15px}
  .brand-logo{width:40px;height:40px}
}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:start}
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:38px;box-shadow:var(--shadow-sm)}
.form-card h2{font-size:24px;font-weight:650;margin-bottom:8px}
.form-card .sub{color:var(--muted);font-size:14px;margin-bottom:28px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{margin-bottom:18px}
.field label{display:block;font-size:13.5px;font-weight:600;margin-bottom:8px;color:var(--ink-2)}
.field label i{color:#c0564a;font-style:normal;margin-left:3px}
.field input,.field textarea,.field select{
  width:100%;border:1px solid var(--line);background:#fbfcfd;border-radius:4px;
  padding:12px 14px;font-size:14.5px;outline:none;transition:.22s;
}
.field textarea{min-height:132px;resize:vertical;line-height:1.8}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--brand-2);background:#fff;box-shadow:0 0 0 3px rgba(47,110,143,.09)}
.field .hint{font-size:12px;color:var(--muted);margin-top:6px}
.form-foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:6px}
.form-msg{font-size:13.5px;color:var(--brand-2)}
.form-msg.error{color:#b4483d}
.info-card{background:var(--bg-warm);border:1px solid #ece5da;border-radius:var(--radius);padding:36px 32px;margin-bottom:22px}
.info-card h3{font-size:19px;font-weight:650;margin-bottom:24px}
.info-item{display:flex;gap:16px;padding:16px 0;border-top:1px solid #e8e0d3}
.info-item:first-of-type{border-top:0;padding-top:0}
.info-ico{width:36px;height:36px;flex:none;border-radius:4px;background:#fff;display:grid;place-items:center;color:var(--brand-2)}
.info-ico svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.info-item small{display:block;font-size:12px;letter-spacing:.1em;color:var(--muted);margin-bottom:3px}
.info-item b{font-size:15.5px;font-weight:600;line-height:1.7;word-break:break-all}
.info-item a:hover{color:var(--brand-2)}
.contact-aside{background:var(--brand);color:#fff;border-radius:var(--radius);padding:32px}
.contact-aside h3{font-size:18px;font-weight:650;margin-bottom:12px}
.contact-aside p{font-size:14px;color:rgba(255,255,255,.78);line-height:1.9}

/* ---------- Footer ---------- */
.site-footer{background:#152436;color:#fff;padding:64px 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:56px;padding-bottom:48px}
.footer-brand .brand-name{color:#fff;font-size:17px}
.footer-brand p{font-size:13.5px;color:rgba(255,255,255,.6);line-height:1.9;margin-top:18px;max-width:340px}
.footer-col h4{font-size:14px;font-weight:650;margin-bottom:20px;letter-spacing:.06em}
.footer-col li{font-size:13.5px;color:rgba(255,255,255,.62);padding:6px 0}
.footer-col a:hover{color:#fff}
.footer-col .f-info{line-height:1.8}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:22px 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12.5px;color:rgba(255,255,255,.5)}
.footer-bottom a:hover{color:#fff}

/* ---------- Toast / reveal ---------- */
.toast{
  position:fixed;left:50%;bottom:36px;transform:translate(-50%,20px);z-index:200;
  background:#1a2433;color:#fff;padding:13px 22px;border-radius:5px;font-size:14px;
  box-shadow:0 12px 34px rgba(0,0,0,.22);opacity:0;pointer-events:none;transition:.3s;max-width:min(90vw,520px);text-align:center;
}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.error{background:#a8443a}
.toast.success{background:#2c6b57}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- Admin ---------- */
.admin-main{min-height:70vh;background:var(--bg-soft);padding:56px 0 90px}
.admin-wrap{max-width:980px;margin-inline:auto}
.admin-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:34px;margin-bottom:24px}
.admin-card h2{font-size:22px;font-weight:650;margin-bottom:6px}
.admin-card .sub{font-size:14px;color:var(--muted);margin-bottom:26px}
.login-box{max-width:440px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:38px}
.login-box h2{font-size:23px;font-weight:650;margin-bottom:8px}
.login-box .sub{color:var(--muted);font-size:14px;margin-bottom:26px}
.tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:24px;gap:4px}
.tab{background:none;border:0;border-bottom:2px solid transparent;padding:10px 16px;font-size:14.5px;color:var(--muted)}
.tab.active{color:var(--brand);border-bottom-color:var(--brand);font-weight:600}
.otp-row{display:flex;gap:10px}
.otp-row input{flex:1}
.alt-login{margin-top:22px;padding-top:20px;border-top:1px solid var(--line-soft);text-align:center}
.alt-login .btn{width:100%}
.hint-small{font-size:12.5px;color:var(--muted);line-height:1.8;margin-top:14px}
.admin-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.admin-bar h1{font-size:27px;font-weight:650}
.admin-user{font-size:13.5px;color:var(--muted)}
.admin-item{display:grid;grid-template-columns:96px 1fr auto;gap:20px;align-items:center;padding:18px 0;border-top:1px solid var(--line-soft)}
.admin-item:first-of-type{border-top:0}
.admin-thumb{width:96px;height:120px;object-fit:cover;border-radius:4px;border:1px solid var(--line);background:var(--bg-soft)}
.admin-item h4{font-size:16px;font-weight:650;margin-bottom:4px}
.admin-item p{font-size:13px;color:var(--muted);line-height:1.7}
.admin-item input{width:100%;border:1px solid var(--line);border-radius:4px;padding:9px 11px;font-size:13.5px;margin-top:8px}
.admin-actions{display:flex;flex-direction:column;gap:8px}
.file-label{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:4px;padding:0 14px;min-height:36px;font-size:13px;background:#fff;cursor:pointer;white-space:nowrap}
.file-label:hover{border-color:var(--brand-2);color:var(--brand)}
.file-label input{display:none}
.msg-item{border-top:1px solid var(--line-soft);padding:16px 0;display:grid;grid-template-columns:1fr auto;gap:16px}
.msg-item:first-of-type{border-top:0}
.msg-item h4{font-size:15px;font-weight:650}
.msg-item .meta{font-size:12.5px;color:var(--muted);margin:3px 0 8px}
.msg-item p{font-size:14px;color:var(--ink-2);line-height:1.85;white-space:pre-wrap}
.empty{color:var(--muted);font-size:14px;padding:20px 0}
.status-note{font-size:13px;color:var(--muted);margin-top:14px;line-height:1.8}

/* ---------- Responsive ---------- */
/* 宽屏：主标题保持单行，不再出现孤字换行 */
@media(min-width:1000px){
  .section-head h2,
  .page-head h1,
  .split__body h2,
  .cta-inner h2{white-space:nowrap}
}
@media(max-width:1024px){
  .nav{gap:20px}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .split{gap:44px}
  .footer-grid{gap:36px}
}
@media(max-width:820px){
  .brand-logo{width:38px;height:38px}
  .brand-name{font-size:14px}
  .brand-en{display:none}
  .header-right{flex:none;gap:10px}
  .lang-switch button{padding:4px 7px;font-size:11px}
  .menu-btn{display:flex}
  .nav{
    position:absolute;top:76px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);
    flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 18px;
    box-shadow:var(--shadow);display:none;
  }
  .nav.open{display:flex}
  .nav a{padding:13px 0;border-bottom:1px solid var(--line-soft)}
  .nav a::after{display:none}
  .section{padding:70px 0}
  .split,.contact-grid{grid-template-columns:1fr;gap:36px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .hero{min-height:520px}
  .hero::after{background:linear-gradient(90deg,rgba(15,30,49,.9),rgba(15,30,49,.55))}
  .services-wrap::before{opacity:.18;width:100%}
  .direction{grid-template-columns:56px 1fr;gap:16px}
  .direction p{grid-column:2}
  .service-block{grid-template-columns:64px 1fr;gap:20px}
  .stat{padding:28px 20px}
  .stat b{font-size:24px}
}
@media(max-width:600px){
  .container{width:calc(100% - 32px)}
  .grid-3,.grid-2,.product-grid,.stat-grid,.form-row{grid-template-columns:1fr}
  .stat{border-left:0;border-top:1px solid rgba(255,255,255,.13)}
  .stat:first-child{border-top:0}
  .hero{min-height:480px}
  .hero h1{font-size:32px;letter-spacing:0}
  .hero p{font-size:15px}
  .section-head{margin-bottom:36px}
  .card,.form-card,.admin-card,.login-box{padding:26px 22px}
  .page-head{padding:46px 0}
  .admin-item{grid-template-columns:72px 1fr;gap:14px}
  .admin-thumb{width:72px;height:92px}
  .admin-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
  .contact-aside,.info-card{padding:26px 22px}
}

/* ---------- 三语排版适配：英文长文案不撑破版面 ---------- */
/* 页头公司名是 inline span，须块化才能让 ellipsis 生效并允许 flex 收缩 */
.brand-text{flex:1 1 auto}
.brand-text .brand-name,.brand-text .brand-en{display:block;max-width:100%}
/* 宽屏中文标题维持单行；英文长句改用 balance 均匀折行，避免 nowrap 撑破容器 */
html[lang="en"] .section-head h2,
html[lang="en"] .page-head h1,
html[lang="en"] .split__body h2,
html[lang="en"] .cta-inner h2{white-space:normal}
/* 英文主视觉标题由浏览器自动分行，不沿用中文的强制换行 */
html[lang="en"] .hero h1 br{display:none}
html[lang="en"] .hero h1 em::before{content:" "}   /* 隐藏 <br> 后补回词间空格 */
html[lang="en"] .hero__content{max-width:820px}
html[lang="en"] .hero h1{font-size:clamp(30px,3.2vw,44px)}
/* 五个项目页签：英文标题较长，略缩字号并让英文副标单行省略 */
html[lang="en"] .ctab{font-size:14px;letter-spacing:-.01em}
html[lang="en"] .ctab small{white-space:nowrap}
@media(max-width:820px){
  html[lang="en"] .ctab{font-size:14px}
  html[lang="en"] .hero h1{font-size:30px}
}

/* ---------- 手机端自适应 ---------- */
.brand-short{display:none}
@media(min-width:821px){
  /* 桌面英文版公司全名较长，改为两行完整显示，避免省略号 */
  html[lang="en"] .brand-text .brand-name{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    white-space:normal;font-size:13px;line-height:1.3;letter-spacing:0;max-width:260px
  }
}
@media(max-width:820px){
  /* 页头改用短品牌名，避免全名被省略号截断并挤压语言切换器 */
  .brand-text .brand-name{display:none}
  .brand-text .brand-en{display:none}
  .brand-short{display:block;font-size:15px;font-weight:700;letter-spacing:.04em;white-space:nowrap}
  /* 页脚保留公司全称，允许自然换行 */
  .footer-brand .brand-name{white-space:normal;line-height:1.5;overflow:visible}
  /* 五个项目页签横向滑动更顺手 */
  .collection-tabs{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .ctab{scroll-snap-align:start}
  .filter{padding:9px 14px;font-size:13.5px}
  .lang-switch button{min-width:32px;min-height:32px}
}
@media(max-width:600px){
  .header-inner{gap:10px}
  .brand{gap:9px}
  .brand-short{font-size:14px}
  .header-right{gap:8px}
  .lang-switch button{padding:4px 6px;font-size:11px;min-width:28px}
  .footer-grid{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
  .collection-tabs{margin-bottom:28px}
  .ctab{padding:12px 14px 14px;font-size:14px}
  .section-head p,.page-head p{font-size:15px;line-height:1.85}
  .note-box{padding:18px;font-size:13px}
}

/* 页头咨询电话移除后，语言切换器直接贴齐右侧 */
.header-right{margin-left:auto;justify-content:flex-end}
