/* =========================================================
   西达电气 外贸独立站 — 样式表
   设计令牌集中在 :root，改主色/圆角只需改这里
   ========================================================= */

:root{
  /* 品牌色 */
  --brand-deep:#0A2F66;
  --brand:#0B4DA6;
  --brand-hover:#0A3F88;
  --brand-light:#EAF2FB;
  --navy:#0B2E59;
  --footer:#0A2447;
  --accent:#FF8A00;
  --accent-hover:#E87A00;
  --cyan:#4FC3F7;

  /* 文字 */
  --ink:#122A4A;
  --ink-2:#24344C;
  --text:#5A6B85;
  --text-light:#9FB3D1;
  --on-dark:#C7D6EA;

  /* 背景与描边 */
  --bg:#FFFFFF;
  --bg-alt:#F8FAFD;
  --bg-alt2:#F4F8FD;
  --line:#E3E9F2;
  --line-2:#DCE5F0;

  /* 尺寸 */
  --radius:10px;
  --radius-sm:4px;
  --container:1320px;
  --section-y:90px;

  /* 阴影 */
  --shadow-card:0 6px 18px rgba(10,35,80,.08);
  --shadow-btn:0 4px 14px rgba(255,138,0,.28);

  --ease:cubic-bezier(.4,0,.2,1);
}

/* ---------- 基础重置 ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",Inter,sans-serif;
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none;transition:color .2s var(--ease)}
img,svg{max-width:100%;display:block}
button{font:inherit;cursor:pointer}

/* 键盘可达性 */
:focus-visible{outline:3px solid var(--cyan);outline-offset:2px;border-radius:4px}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--brand);color:#fff;padding:12px 20px;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0}

/* ---------- 布局容器 ---------- */
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 24px}

/* ---------- 顶部信息条 ---------- */
.topbar{background:var(--brand-deep);color:var(--on-dark);font-size:13px}
.topbar__inner{display:flex;align-items:center;justify-content:space-between;min-height:40px;flex-wrap:wrap;gap:8px}
.topbar__list{display:flex;gap:24px;flex-wrap:wrap}
.topbar__list a{color:#CFE0F5}
.topbar__list a:hover{color:#fff}
.topbar__ico{margin-right:6px;opacity:.8}
.topbar__right{display:flex;align-items:center;gap:20px}

/* ---------- 语言切换 ---------- */
.langswitch{display:inline-flex;border:1px solid rgba(255,255,255,.35);border-radius:20px;overflow:hidden}
.langswitch__btn{
  background:transparent;border:0;color:#CFE0F5;font-size:13px;font-weight:600;
  padding:5px 14px;transition:background .2s var(--ease),color .2s var(--ease);
}
.langswitch__btn:hover{color:#fff;background:rgba(255,255,255,.12)}
.langswitch__btn.is-active{background:#fff;color:var(--brand-deep)}
.langswitch--mobile{display:none;margin:16px 24px 0;border-color:var(--line-2)}
.langswitch--mobile .langswitch__btn{color:var(--text)}
.langswitch--mobile .langswitch__btn.is-active{background:var(--brand);color:#fff}
.topbar__slogan{color:#CFE0F5}
.topbar__lang{color:#fff;font-weight:600}

/* ---------- 主导航 ---------- */
.header{
  position:sticky;top:0;z-index:100;background:#fff;
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s var(--ease);
}
.header.is-stuck{box-shadow:0 4px 18px rgba(10,35,80,.08)}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:92px}

.logo{display:flex;align-items:center;gap:12px;flex-shrink:0}
.logo__mark{
  width:46px;height:46px;border-radius:10px;flex-shrink:0;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#0A2F66 0%,#1A70E6 100%);
}
.logo__text{display:flex;flex-direction:column;line-height:1.2}
.logo__text strong{font-size:21px;color:var(--brand-deep);font-weight:700;letter-spacing:.5px}
.logo__text em{font-style:normal;font-size:11px;letter-spacing:2px;color:#6B7C95;font-weight:600}
.logo__img{height:36px;width:auto;max-width:220px;display:block}
.logo--footer .logo__img{height:34px;max-width:200px}

/* Logo 图片与品牌名并存：图标位改成干净容器，不再显示默认蓝色方块背景 */
.logo__mark--img{width:auto;height:auto;background:none;border-radius:0;padding:0}
.logo__mark--img .logo__img{height:42px;max-width:200px}
.logo--footer .logo__mark--img .logo__img{height:38px;max-width:180px}

/* 询盘表单蜜罐字段（正常访客看不到，机器人会填） */
.hp-field{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none}

.nav__list{display:flex;align-items:center;gap:28px}
.nav__link{
  position:relative;font-size:16px;color:var(--ink-2);padding:6px 0;display:inline-block;
}
.nav__link span{font-size:12px;color:#8C9BB3;margin-left:2px}
.nav__link:hover,.nav__link.is-active{color:var(--brand);font-weight:600}
.nav__link.is-active::after{
  content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:-8px;
  width:22px;height:3px;border-radius:2px;background:var(--brand);
}

.header__actions{display:flex;align-items:center;gap:12px}

/* 汉堡按钮（移动端） */
.nav-toggle{
  display:none;width:44px;height:44px;border:1px solid var(--line-2);border-radius:var(--radius-sm);
  background:#fff;flex-direction:column;align-items:center;justify-content:center;gap:5px;
}
.nav-toggle__bar{width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .25s var(--ease),opacity .2s}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;justify-content:center;
  padding:15px 30px;border-radius:var(--radius-sm);
  font-size:17px;font-weight:600;border:1px solid transparent;
  transition:background .2s var(--ease),transform .15s var(--ease),box-shadow .2s var(--ease),border-color .2s;
  white-space:nowrap;
}
.btn span{font-size:13px;opacity:.9;font-weight:500}
.btn:active{transform:translateY(1px)}
.btn--sm{padding:13px 22px;font-size:16px}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:hover{background:var(--brand-hover)}
.btn--accent{background:var(--accent);color:#fff;box-shadow:var(--shadow-btn)}
.btn--accent:hover{background:var(--accent-hover)}
.btn--solid{background:#0A5FB0;color:#fff}
.btn--solid:hover{background:#0A4F92}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.btn--ghost:hover{background:rgba(255,255,255,.12)}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  background:linear-gradient(120deg,#0A2F66 0%,#12489B 100%);
  padding:80px 0;color:#fff;overflow:hidden;
  min-height:480px;
}
.hero__bg{
  position:absolute;inset:0;z-index:1;
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  opacity:.55;                 /* 底图压暗，避免与文字争抢视觉焦点 */
}
.hero__overlay{
  position:absolute;inset:0;z-index:2;
  background:linear-gradient(120deg,rgba(10,47,102,.55) 0%,rgba(18,72,155,.35) 100%);
}
.hero__inner{
  position:relative;z-index:3;
  display:grid;grid-template-columns:1fr;gap:48px;align-items:center;
}
.hero__kicker{font-size:22px;font-weight:700;letter-spacing:1px;color:var(--cyan);margin-bottom:8px}
.hero__title{
  font-size:40px;line-height:1.25;font-weight:700;color:#fff;
  margin-bottom:18px;
}
.hero__sub{font-size:17px;line-height:1.85;color:#DCE9FB;max-width:680px}
.hero__btns{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.12);color:#DCE9FB;
  padding:7px 14px;border-radius:20px;font-size:13px;margin-bottom:20px;
}
.badge__dot{width:8px;height:8px;border-radius:50%;background:var(--cyan);flex-shrink:0}

/* ---------- 图片预留位 ---------- */
.img-slot{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;height:100%;min-height:200px;padding:24px;text-align:center;
  background:#EEF4FB;color:var(--brand);border:1px dashed #B9CAE4;
}
.img-slot--hero{background:#1A345C;border-color:#3A5A8C;color:#9FB4D6;min-height:340px}
.img-slot--tall{min-height:470px;color:#7C93B4;background:#DCE7F5}
.img-slot__ico{color:currentColor;opacity:.85}
.img-slot__title{font-size:17px;font-weight:600;color:currentColor}
.img-slot__hint{font-size:13px;color:#8C9BB3}

/* ---------- 通用区块 ---------- */
.section{padding:var(--section-y) 0;background:var(--bg)}
.section--alt{background:var(--bg-alt)}
.section--navy{background:var(--navy);color:#fff}
.section__head{text-align:center;max-width:780px;margin:0 auto 48px}
.section__title{font-size:30px;line-height:1.35;font-weight:700;color:var(--ink)}
.section__title--light{color:#fff}
.section__lead{margin-top:14px;font-size:16px;line-height:1.8;color:var(--text)}
.section__lead--light{color:#A9BFDE}
.section__text{font-size:17px;line-height:1.9;color:var(--text)}

.kicker{font-size:14px;font-weight:700;letter-spacing:1px;color:var(--brand);margin-bottom:10px}
.kicker span{font-weight:500;color:#8C9BB3}
.kicker--cyan{color:var(--cyan)}
.kicker--cyan span{color:#8FB0D4}
.kicker--lg{font-size:17px;letter-spacing:1.5px;margin-bottom:14px}

/* ---------- 栅格 ---------- */
.grid{display:grid;gap:24px}
.grid--3{grid-template-columns:1fr}
.grid--4{grid-template-columns:1fr}

/* ---------- 公司简介 ---------- */
.about{display:grid;grid-template-columns:1fr;gap:56px;align-items:center}
.about__media{min-height:300px}
.about__content{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.checklist{display:grid;grid-template-columns:1fr;gap:14px;width:100%}
.checklist li{
  position:relative;padding-left:34px;font-size:16px;font-weight:600;color:var(--ink-2);line-height:26px;
}
.checklist li::before{
  content:"";position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;
  background:var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l4 4L19 6' stroke='%230B4DA6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.link-more{
  display:inline-flex;align-items:center;gap:6px;font-size:16px;font-weight:600;color:var(--brand);
}
.link-more::after{content:"→";transition:transform .2s var(--ease)}
.link-more:hover::after{transform:translateX(4px)}

/* ---------- 卡片（产品 / 案例） ---------- */
.card{
  background:#fff;border:1px solid var(--line-2);border-radius:var(--radius);
  overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s var(--ease);
  display:flex;flex-direction:column;height:100%;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.card__media{height:265px}
.card__title{padding:18px;font-size:15px;font-weight:400;color:#41506B;line-height:1.6}

/* 产品卡「图片+可点击」模式：上图片下信息，整卡可点击
   - img 用 contain：设备完整显示、不会被裁切
   - 卡高由信息区决定，图片区统一高度保持整齐
   - 信息三段式（规格/电压/定制）虚线分隔 */
.card--imglink{
  display:flex;flex-direction:column;color:inherit;text-decoration:none;position:relative;
}
.card--imglink .card__media{
  height:240px;display:flex;align-items:center;justify-content:center;
  background:#F4F7FB;                    /* 浅底衬出白底产品图 */
  overflow:hidden;
}
.card--imglink .card__media img{
  max-width:100%;max-height:100%;width:auto;height:auto;
  object-fit:contain;display:block;transition:transform .35s var(--ease);
}
.card--imglink:hover .card__media img{transform:scale(1.04)}

/* 个别图模式：白底产品图，cover 充满展示框（设备完整且饱满，无白边） */
.card__media--cover{background:#ffffff}
.card__media--cover img{
  width:100% !important;height:100% !important;max-width:100%;max-height:100%;
  object-fit:cover;object-position:center;
}
.card--imglink::after{
  content:"";position:absolute;inset:auto 0 0 0;height:4px;
  background:linear-gradient(90deg,var(--brand) 0%,var(--cyan) 100%);
  opacity:0;transition:opacity .25s var(--ease);
}
.card--imglink:hover::after{opacity:1}

/* 信息区：标题 + 虚线分隔的规格表 */
.card__body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.card--imglink .card__title{
  padding:0;font-size:17px;font-weight:700;color:#0A2F66;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.card__spec{margin:0;display:flex;flex-direction:column;gap:0}
.card__spec-row{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding:8px 0;font-size:13px;
  border-top:1px dashed var(--line);       /* 虚线分隔每条规格 */
}
.card__spec-row:first-child{border-top:0;padding-top:6px}
.card__spec-row dt{
  flex-shrink:0;color:#6B7A93;font-weight:500;letter-spacing:.3px;
}
.card__spec-row dd{
  margin:0;color:#0A2F66;font-weight:600;font-size:14px;text-align:right;
  font-variant-numeric:tabular-nums;
}

/* 敬请期待占位：保持与实图卡同高，中央图标 SVG */
.card__media--placeholder{
  background:linear-gradient(135deg,#EEF3FA 0%,#DCE7F5 100%);
  color:#7C93B4;height:240px;
  display:flex;align-items:center;justify-content:center;
}
.card__placeholder-ico{opacity:.85}

/* 全局轻提示（详情页建设中） */
.wb-toast{
  position:fixed;left:50%;bottom:48px;z-index:9999;
  transform:translate(-50%,12px);opacity:0;
  padding:12px 22px;border-radius:24px;
  background:rgba(11,77,166,.92);color:#fff;font-size:14px;line-height:1.4;
  box-shadow:0 8px 32px rgba(11,77,166,.28);
  transition:opacity .25s var(--ease),transform .25s var(--ease);
  pointer-events:none;max-width:92vw;text-align:center;
}
.wb-toast.is-shown{opacity:1;transform:translate(-50%,0)}

/* ---------- 产品详情弹出层（点击产品卡后出现） ---------- */
.pd{
  position:fixed;inset:0;z-index:9000;
  display:flex;align-items:center;justify-content:center;padding:24px;
}
.pd__mask{
  position:absolute;inset:0;background:rgba(8,26,54,.56);
  opacity:0;transition:opacity .24s var(--ease);
}
.pd.is-open .pd__mask{opacity:1}
.pd__panel{
  position:relative;width:min(980px,100%);max-height:min(86vh,860px);overflow:auto;
  background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(6,24,52,.35);
  transform:translateY(14px) scale(.985);opacity:0;
  transition:transform .26s var(--ease),opacity .26s var(--ease);
}
.pd.is-open .pd__panel{transform:none;opacity:1}
.pd__close{
  position:absolute;top:12px;right:12px;z-index:2;
  width:36px;height:36px;border:1px solid var(--line);border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.94);color:#0A2F66;
  font-size:22px;line-height:1;font-family:inherit;
  box-shadow:0 2px 10px rgba(10,35,80,.16);
}
.pd__close:hover{background:#fff;color:var(--brand)}

.pd__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.pd__media{
  background:#F4F7FB;display:flex;flex-direction:column;align-items:stretch;justify-content:center;
  padding:26px;min-height:280px;
}
.pd__media img{max-width:100%;max-height:320px;object-fit:contain;display:block}
.pd__media-ph{width:100%;height:240px;display:flex;align-items:center;justify-content:center;color:#7C93B4}

/* ---------- 产品图集（详情层左侧）---------- */
.pd__gallery{display:flex;flex-direction:column;gap:12px;width:100%}
.pg__stage{
  position:relative;display:flex;align-items:center;justify-content:center;
  min-height:280px;border-radius:10px;background:#fff;overflow:hidden;
  cursor:zoom-in;outline:none;
}
.pg__stage:focus-visible{box-shadow:0 0 0 3px rgba(11,77,166,.35)}
.pg__img{max-width:100%;max-height:320px;object-fit:contain;display:block;user-select:none;-webkit-user-drag:none}

/* 放大镜标识：深色半透明，浅色产品图上也能看清；鼠标移上去变实 */
.pg__zoom{
  position:absolute;right:10px;bottom:10px;
  width:34px;height:34px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;color:#fff;background:rgba(10,28,56,.46);
  border:1px solid rgba(255,255,255,.34);
  box-shadow:0 2px 10px rgba(10,35,80,.22);
  opacity:.72;pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,background .18s ease;
}
.pg__stage:hover .pg__zoom,.pg__stage:focus-visible .pg__zoom{opacity:1;transform:scale(1.06);background:rgba(10,28,56,.74)}

/* 左右切换箭头：半透明（深色底 + 白图标 + 细描边，浅图深图都读得清） */
.pg__nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.36);border-radius:50%;cursor:pointer;padding:0;
  color:#fff;background:rgba(10,28,56,.44);
  box-shadow:0 2px 12px rgba(10,35,80,.24);
  opacity:.6;transition:opacity .18s ease,background .18s ease;
}
.pg__nav:hover,.pg__nav:focus-visible{opacity:1;background:rgba(10,28,56,.76)}
.pg__nav--prev{left:10px}
.pg__nav--next{right:10px}

.pg__count{
  position:absolute;left:12px;bottom:12px;
  padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;
  color:#fff;background:rgba(10,28,56,.5);border:1px solid rgba(255,255,255,.26);
}

/* 缩略图条 */
.pg__thumbs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.pg__thumb{
  width:56px;height:56px;padding:0;cursor:pointer;overflow:hidden;
  border:1.5px solid var(--line);border-radius:8px;background:#fff;
  opacity:.62;transition:opacity .18s ease,border-color .18s ease;
}
.pg__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pg__thumb:hover{opacity:.9}
.pg__thumb.is-on{opacity:1;border-color:var(--brand);box-shadow:0 0 0 2px rgba(11,77,166,.14)}

/* ---------- 灯箱（点开看大图 / 缩放）---------- */
/* 灯箱必须压在产品详情弹出层（.pd z-index:9000）之上，否则点「放大」后
   灯箱会被白色详情面板整个盖住，看起来像没反应。9400 = 高于 .pd、低于 toast 9999 */
.lb{position:fixed;inset:0;z-index:9400;opacity:0;transition:opacity .2s ease}
.lb.is-open{opacity:1}
.lb__mask{position:absolute;inset:0;background:rgba(6,17,36,.92)}
.lb__stage{
  position:relative;width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;touch-action:none;
}
.lb__img{
  max-width:92vw;max-height:78vh;display:block;user-select:none;-webkit-user-drag:none;
  transition:transform .06s linear;will-change:transform;
}
.lb.is-zoomed .lb__img{cursor:grab}

/* 灯箱左右箭头同样半透明：深色底 + 白图标，浅色大图上也不消失 */
.lb__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.3);border-radius:50%;cursor:pointer;padding:0;color:#fff;
  background:rgba(6,18,38,.5);
  opacity:.7;transition:opacity .18s ease,background .18s ease;
}
.lb__nav:hover,.lb__nav:focus-visible{opacity:1;background:rgba(6,18,38,.82)}
.lb__nav--prev{left:14px}
.lb__nav--next{right:14px}

.lb__close{
  position:absolute;top:14px;right:14px;z-index:2;
  width:40px;height:40px;display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.3);border-radius:50%;cursor:pointer;padding:0;color:#fff;
  background:rgba(6,18,38,.5);opacity:.75;
  transition:opacity .18s ease,background .18s ease;
}
.lb__close:hover,.lb__close:focus-visible{opacity:1;background:rgba(6,18,38,.82)}

.lb__bar{
  position:absolute;left:50%;bottom:58px;transform:translateX(-50%);z-index:2;
  display:flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:999px;
  background:rgba(6,18,38,.58);border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.lb__btn{
  width:34px;height:34px;display:flex;align-items:center;justify-content:center;
  border:0;border-radius:50%;cursor:pointer;padding:0;color:#fff;background:transparent;
  opacity:.85;transition:opacity .18s ease,background .18s ease;
}
.lb__btn:hover,.lb__btn:focus-visible{opacity:1;background:rgba(255,255,255,.2)}
.lb__pct{min-width:46px;text-align:center;font-size:12px;font-weight:600;color:#fff;opacity:.92}
.lb__count{font-size:12px;font-weight:600;color:#fff;opacity:.92;padding-left:6px;white-space:nowrap}
.lb__hint{
  position:absolute;left:50%;bottom:22px;transform:translateX(-50%);margin:0;z-index:2;
  font-size:12px;color:#fff;opacity:.8;white-space:nowrap;
  text-shadow:0 1px 6px rgba(0,0,0,.6);
}
/* 触屏设备不显示「滚轮 / Esc」这类桌面操作提示 */
.lb__hint--touch{display:none}
@media (hover:none) and (pointer:coarse){
  .lb__hint--desktop{display:none}
  .lb__hint--touch{display:block}
}

.pd__info{padding:30px 32px 26px;display:flex;flex-direction:column;gap:14px}
.pd__title{margin:0;font-size:24px;font-weight:700;color:#0A2F66;line-height:1.35}
.pd__model{margin:-8px 0 0;font-size:13px;color:#6B7A93;letter-spacing:.4px}

.pd__kv{margin:0;display:flex;flex-direction:column}
.pd__kv-row{
  display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  padding:9px 0;font-size:13px;border-top:1px dashed var(--line);
}
.pd__kv-row:first-child{border-top:0}
.pd__kv-row dt{color:#6B7A93;font-weight:500;flex-shrink:0}
.pd__kv-row dd{margin:0;color:#0A2F66;font-weight:600;text-align:right;
  font-variant-numeric:tabular-nums;}

/* 价格卡：第 1 行 价格 + 单位，第 2 行 最小起订量（留空则不渲染该行）
   用 grid + display:contents 让两行的「标签」共用同一列宽 → 数值自动左对齐 */
.pd__price{
  display:grid;grid-template-columns:max-content 1fr;align-items:baseline;
  gap:7px 10px;padding:12px 14px;border-radius:10px;
  background:#FFF6EC;border:1px solid #FFE0BF;
}
.pd__price-row{display:contents}
.pd__price-k{font-size:12px;color:#9A6B2A;flex-shrink:0;letter-spacing:.3px}
.pd__price-v{font-size:19px;font-weight:700;color:#C2600A;line-height:1.3;
  font-variant-numeric:tabular-nums;}
.pd__price-v.is-ask{font-size:16px;color:#8A6A3A;font-weight:600}
/* 单位：紧跟价格，比价格小一号（前面的空格在 HTML 里，这里只收一点间距） */
.pd__price-unit{margin-left:1px;font-size:13px;font-style:normal;font-weight:600;color:#9A6B2A}
/* 最小起订量 */
.pd__price-moq{font-size:14px;font-weight:600;color:#8A5A1A;line-height:1.3}

.pd__acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:2px}
.pd__acts .btn{flex:1 1 auto;padding:12px 20px;font-size:15px;border-radius:8px}

.pd__section{padding:22px 32px 26px;border-top:1px solid var(--line)}
.pd__h3{margin:0 0 12px;font-size:15px;font-weight:700;color:#0A2F66;letter-spacing:.3px}

.pd__specs{margin:0;display:flex;flex-direction:column}
.pd__specs-row{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding:9px 0;font-size:13px;border-top:1px dashed var(--line);
}
.pd__specs-row:first-child{border-top:0}
.pd__specs-row dt{color:#6B7A93;font-weight:500;flex-shrink:0}
.pd__specs-row dd{margin:0;color:#0A2F66;font-weight:600;text-align:right;
  font-variant-numeric:tabular-nums;}
.pd__specs-row--note{justify-content:flex-start}
.pd__specs-row--note dd{text-align:left;font-weight:400;color:#5A6B85}

.pd__desc p{margin:0 0 10px;font-size:14px;line-height:1.85;color:#5A6B85}
.pd__desc p:last-child{margin-bottom:0}

/* 新闻正文弹层：单栏文章排版 */
.pd--news .pd__panel{width:min(760px,100%)}
.pd__article{padding:38px 44px 42px}
.pd__date{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--brand);letter-spacing:.5px}
.pd__atitle{margin:0 0 18px;font-size:24px;font-weight:700;color:#0A2F66;line-height:1.45}
.pd--news .pd__desc p{font-size:15px;line-height:1.95;color:#3A4A63;margin:0 0 14px}

@media (max-width:760px){
  .pd{padding:0}
  .pd__panel{width:100%;height:100%;max-height:100vh;border-radius:0}
  .pd__top{grid-template-columns:1fr}
  .pd__media{min-height:200px;padding:18px}
  .pd__media img{max-height:220px}
  .pg__stage{min-height:200px}
  .pg__img{max-height:220px}
  .pg__nav{width:34px;height:34px}
  .pg__nav--prev{left:6px}
  .pg__nav--next{right:6px}
  .pg__thumb{width:48px;height:48px}
  .pg__zoom{width:30px;height:30px;right:8px;bottom:8px}
  .lb__img{max-width:96vw;max-height:72vh}
  .lb__nav{width:40px;height:40px}
  .lb__nav--prev{left:6px}
  .lb__nav--next{right:6px}
  .lb__bar{bottom:52px}
  .lb__hint{font-size:11px;bottom:20px}
  .pd__info{padding:22px 20px}
  .pd__title{font-size:20px}
  .pd__section{padding:18px 20px 22px}
  .pd__article{padding:56px 20px 28px}
  .pd__atitle{font-size:20px}
  .pd__close{top:10px;right:10px}
}

.case{
  background:#fff;border:1px solid var(--line-2);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-card);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.case:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(10,35,80,.13)}
.case__media{height:240px}
.case__body{padding:20px;display:flex;flex-direction:column;gap:8px}
.case__title{font-size:18px;font-weight:700;color:var(--ink);line-height:1.5}
.case__text{font-size:14px;color:var(--text)}

/* ---------- 服务卡 ---------- */
.service{
  background:#fff;border-radius:12px;padding:30px 26px;display:flex;flex-direction:column;gap:16px;
}
.service__ico{
  width:58px;height:58px;border-radius:14px;background:var(--brand-light);color:var(--brand);
  display:grid;place-items:center;flex-shrink:0;
}
.service__title{font-size:20px;font-weight:700;color:var(--ink)}
.service__text{font-size:15px;line-height:1.8;color:var(--text)}

/* ---------- 新闻 ---------- */
.news{background:#fff;border:1px solid var(--line-2);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:14px}
.news__head{font-size:18px;font-weight:700;color:var(--brand-deep);padding-bottom:12px;border-bottom:2px solid var(--brand-light)}
.news__head span{font-size:12px;font-weight:500;color:#8C9BB3;margin-left:6px}
.news__list{display:flex;flex-direction:column;gap:14px}
.news__list li{display:flex;gap:14px;align-items:flex-start;font-size:14px}
.news__list time{flex-shrink:0;width:56px;font-size:13px;font-weight:600;color:var(--brand);padding-top:2px}
.news__list a{color:#3A4A63;line-height:1.6}
.news__list a:hover{color:var(--brand)}
/* 可点开的新闻标题（后台填了正文的才有下划线反馈；没正文的是普通文字） */
.news__list .news-link{
  color:#3A4A63;line-height:1.6;text-decoration:none;cursor:pointer;
  border-bottom:1px solid transparent;
  transition:color .2s var(--ease),border-color .2s var(--ease);
}
.news__list .news-link:hover{color:var(--brand);border-bottom-color:rgba(11,77,166,.45)}
.news__list .news-link.is-plain{cursor:default}
.news__list .news-link.is-plain:hover{color:#3A4A63;border-bottom-color:transparent}

/* ---------- 联系 CTA ---------- */
.cta{
  background:linear-gradient(120deg,#0A2F66 0%,#0B4DA6 100%);
  padding:76px 0;text-align:center;color:#fff;
}
.cta__inner{display:flex;flex-direction:column;align-items:center;gap:24px}
.cta__title{font-size:30px;line-height:1.4;font-weight:700;color:#fff;max-width:900px}
.cta__hotline{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px}
.cta__hotline span{font-size:18px;color:#CDE0F7}
.cta__hotline a{font-size:28px;font-weight:800;color:#FFD27A}
.cta__hotline a:hover{color:#FFE0A0}
.cta__sub{font-size:16px;line-height:1.8;color:#CDE0F7;max-width:720px}
.cta__btns{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}

/* ---------- 页脚 ---------- */
.footer{background:var(--footer);color:var(--text-light);padding-top:70px}
.footer__top{display:grid;grid-template-columns:1fr;gap:48px;padding-bottom:56px}
.footer__brand{display:flex;flex-direction:column;gap:20px;max-width:420px}
.logo--footer .logo__text strong{color:#fff}
.logo--footer .logo__text em{color:#7E93B3}
.footer__desc{font-size:15px;line-height:1.8;color:#9FB3D1}
.footer__contact{display:flex;flex-direction:column;gap:12px;font-size:14px;color:var(--on-dark)}
.footer__contact a:hover{color:#fff}

/* ---------- 页脚社交图标（后台「媒体与社交」维护；没填链接时整块隐藏） ---------- */
.footer__social{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.soc{
  width:38px;height:38px;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-size:15px;font-weight:700;line-height:1;
  text-decoration:none;letter-spacing:-.02em;
  background:#5A6B85;
  transition:transform .18s var(--ease),filter .2s var(--ease);
}
.soc:hover{transform:translateY(-2px);filter:brightness(1.12)}
.soc--facebook{background:#1877F2}
.soc--x{background:#111111}
.soc--linkedin{background:#0A66C2}
.soc--youtube{background:#E62117}
.soc--youtube{font-size:13px}
.soc--instagram{background:#E1306C}
.soc--tiktok{background:#111111}
.soc--other{background:var(--brand)}
.footer__col ul{display:flex;flex-direction:column;gap:12px}
.footer__title{font-size:17px;font-weight:700;color:#fff;margin-bottom:6px}
.footer__title span{font-size:12px;font-weight:500;color:#7E93B3;margin-left:6px}
.footer__col a{font-size:14px;color:#9FB3D1}
.footer__col a:hover{color:#fff}
.footer__bottom{border-top:1px solid #33496B;padding:22px 0}
.footer__bottom-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;font-size:13px;color:#7E93B3}
.footer__meta{display:flex;gap:24px;flex-wrap:wrap}
.footer__meta a:hover{color:#fff}

/* ---------- 滚动出现动画 ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.reveal.is-visible{opacity:1;transform:none}

/* =========================================================
   响应式：≥640px
   ========================================================= */
@media (min-width:640px){
  .checklist{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .footer__top{grid-template-columns:repeat(2,1fr)}
}

/* =========================================================
   响应式：≥1024px（桌面）
   ========================================================= */
@media (min-width:1024px){
  :root{--section-y:90px}
  .container{padding:0 40px}
  .hero{padding:100px 0;min-height:560px}
  .hero__inner{grid-template-columns:1fr;gap:56px}
  .hero__title{font-size:52px}
  .about{grid-template-columns:560px 1fr;gap:70px}
  .about__media{min-height:470px}
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .grid--4{grid-template-columns:repeat(4,1fr)}
  .section__title{font-size:36px}
  .cta__title{font-size:40px}
  .footer__top{grid-template-columns:420px repeat(3,1fr);gap:56px}
}

/* =========================================================
   响应式：≤1023px（移动端导航抽屉）
   ========================================================= */
@media (max-width:1023px){
  .nav{
    position:fixed;inset:92px 0 auto 0;z-index:99;
    background:#fff;border-bottom:1px solid var(--line);
    max-height:0;overflow:hidden;transition:max-height .3s var(--ease);
    box-shadow:0 12px 24px rgba(10,35,80,.08);
  }
  .nav.is-open{max-height:calc(100vh - 92px);overflow-y:auto}
  .nav__list{flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 20px}
  .nav__link{display:block;padding:14px 0;border-bottom:1px solid var(--line);font-size:17px}
  .nav__link.is-active::after{left:0;transform:none;bottom:6px}
  .nav-toggle{display:flex}
  .header__actions .btn--primary{display:none}
  .langswitch--mobile{display:inline-flex}
}

@media (max-width:640px){
  .hero__title{font-size:30px}
  .hero__kicker{font-size:16px}
  .btn{padding:13px 22px;font-size:16px;width:100%}
  .hero__btns,.cta__btns{width:100%}
  .topbar__slogan{display:none}
  .cta__hotline a{font-size:22px}
  .footer__bottom-inner{flex-direction:column;align-items:flex-start}
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
  .reveal{opacity:1;transform:none}
}

/* =========================================================
   在线询盘表单 + 后台动态内容补充样式
   ========================================================= */
.inq{
  margin-top:44px;max-width:820px;width:100%;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;padding:30px 32px;
  display:flex;flex-direction:column;gap:18px;text-align:left
}
.inq__title{margin:0;font-size:22px;font-weight:700;color:#fff}
.inq__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.field{display:flex;flex-direction:column;gap:8px}
.field>span{font-size:14px;color:#DCE9FB;font-weight:600}
.field input,.field textarea{
  width:100%;padding:12px 14px;font:inherit;font-size:15px;
  color:#122A4A;background:#fff;border:1px solid #C9D8EA;
  border-radius:6px;transition:border-color .2s,box-shadow .2s
}
.field textarea{resize:vertical;min-height:96px}
.field input:focus,.field textarea:focus{
  outline:none;border-color:#4FC3F7;box-shadow:0 0 0 3px rgba(79,195,247,.25)
}
.inq__submit{align-self:flex-start;margin-top:4px;border:none;cursor:pointer}
.inq__note{margin:0;font-size:14px;color:#CDE0F7;min-height:20px}
.inq__note.is-ok{color:#8BE9A8}
.inq__note.is-err{color:#FFB4A8}

/* 产品卡片：后台填写的型号与简介 */
.card__model{margin:6px 0 0;font-size:14px;font-weight:600;color:#0B4DA6}
.card__text{margin:8px 0 0;font-size:14px;line-height:24px;color:#5A6B85}
.card__media img,.case__media img{
  display:block;width:100%;height:100%;object-fit:cover;border-radius:8px
}

@media (max-width:768px){
  .inq{padding:22px 20px}
  .inq__grid{grid-template-columns:1fr}
}

/* ============ 悬浮 WhatsApp ============ */
.wa-fab{
  position:fixed;right:24px;bottom:24px;z-index:60;
  display:flex;align-items:center;gap:0;
  height:56px;padding:0 14px;border-radius:30px;
  background:#25D366;color:#fff;text-decoration:none;
  box-shadow:0 8px 22px rgba(37,211,102,.38);
  transition:transform .2s ease, box-shadow .2s ease, padding .2s ease;
  overflow:hidden;white-space:nowrap
}
.wa-fab svg{flex:0 0 auto;display:block}
.wa-fab__tip{
  max-width:0;opacity:0;overflow:hidden;
  font-size:15px;font-weight:600;letter-spacing:.2px;
  transition:max-width .25s ease, opacity .2s ease, margin .25s ease
}
.wa-fab:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(37,211,102,.46);
  padding-right:18px
}
.wa-fab:hover .wa-fab__tip{margin-left:8px;max-width:160px;opacity:1}
/* 呼吸提示：引导点击 */
@keyframes wa-pulse{
  0%{box-shadow:0 8px 22px rgba(37,211,102,.38),0 0 0 0 rgba(37,211,102,.45)}
  70%{box-shadow:0 8px 22px rgba(37,211,102,.38),0 0 0 12px rgba(37,211,102,0)}
  100%{box-shadow:0 8px 22px rgba(37,211,102,.38),0 0 0 0 rgba(37,211,102,0)}
}
.wa-fab{animation:wa-pulse 2.4s infinite}
.wa-fab:hover{animation:none}
@media (prefers-reduced-motion:reduce){
  .wa-fab{animation:none}
}
@media (max-width:768px){
  .wa-fab{right:16px;bottom:16px;height:52px}
}
