/* ===== 全站基础样式：页脚 + 导航（来自 layout-mockup + nav.css） ===== */
html,body{overflow-x:clip}
body{margin:0;background:#fff;font-family:"Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#1c1c1e;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
:root{--red:#ec1234;--ink:#1c1c1e;--sub:#8a8a90;--line:#e6e6e6}

/* ---------- 页脚 ---------- */
.foot .fcta{background:#f7f7f2;width:100%;margin:0 0 40px;padding:36px calc(50% - 605px) 32px;box-sizing:border-box;
    display:flex;align-items:center;justify-content:space-between;gap:32px}
.foot .fcta h3{margin:0 0 6px;font-size:22px;font-weight:500;color:#1c1c1e;letter-spacing:.02em}
.foot .fcta p{margin:0;font-size:11.5px;color:#7a7a82;font-weight:300}
.foot .fcta a{background:var(--red);color:#fff;text-decoration:none;font-size:12.5px;
    padding:13px 30px;border-radius:4px;letter-spacing:.06em;white-space:nowrap;
    transition:background .25s}
.foot .fcta a:hover{background:#c60f2b}
.foot{background:#efeee8;color:#5a5a62;width:100%;padding:120px 0 0;max-width:none;margin:0;position:relative}
/* 与「关于我们」顶部同一套弧线：上方区块底色向下拱进页脚 */
.foot::before{content:"";position:absolute;left:0;right:0;top:0;height:120px;background:var(--foot-arc,#fff);
    border-radius:0 0 50% 50% / 0 0 100% 100%;pointer-events:none}
.foot .top{display:flex;gap:80px;justify-content:space-between;width:100%;margin:0 auto;padding:46px calc(50% - 605px) 36px;box-sizing:border-box;border-bottom:1px solid #e2e2e6}
.foot .brand{flex:none;width:320px;max-width:320px}
.foot .brand .flogo{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
.foot .brand .flogo b{font-size:19px;font-weight:500;letter-spacing:.04em;color:#1c1c1e;line-height:1;white-space:nowrap}
.foot .brand .flogo span{display:none}
.foot .brand p{font-size:12px;line-height:1.9;color:#6a6a72;margin:16px 0 0;font-weight:300;letter-spacing:.02em}
.foot .cols{flex:1;display:grid;grid-template-columns:1fr 1fr;column-gap:56px;row-gap:54px}
.foot .col{padding-top:20px;
    display:grid;grid-template-columns:1fr 1fr;column-gap:18px;align-content:start}
.foot .col h4{grid-column:1/-1;font-size:24px;font-weight:500;color:#1c1c1e;letter-spacing:.02em;
    margin:0 0 17px;line-height:1.2}
.foot .col a{display:block;font-size:11.5px;color:#6a6a72;text-decoration:none;
    letter-spacing:.05em;line-height:1.6;margin-bottom:10px;transition:color .25s}
.foot .col a::before{content:"- ";color:#b0b0b8}
.foot .contact::before{content:none}
.foot .col a:hover{color:#ec1234}
.foot .contact{grid-column:1/-1;font-size:12px;line-height:1.9;letter-spacing:.05em;color:#6a6a72}
.foot .contact a{color:#6a6a72;text-decoration:none;transition:color .25s}
.foot .contact a:hover{color:#ec1234}
.foot .contact b{color:#1c1c1e;font-weight:500}
.foot .bottom{display:flex;align-items:center;justify-content:space-between;height:64px;
    font-size:11px;color:#6a6a72;letter-spacing:.04em;
    background:transparent;margin:0;padding:0 115px;width:100%;box-sizing:border-box}
.foot .bottom a{color:#6a6a72;text-decoration:none;transition:color .25s}
.foot .bottom a:hover{color:#ec1234}
.foot .brand .flogo .hicon{width:124px;height:124px;min-width:124px;min-height:124px;max-width:124px;max-height:124px;
    aspect-ratio:1/1;object-fit:contain;display:block;flex:none;align-self:center}

/* ---------- 导航 ---------- */
/* ============================================================
   全站统一导航（首页 / 四个内页 / 产品详情页共用这一份）
   要改导航样式只改这个文件，所有页面同步生效
   ============================================================ */

/* ── 外框：跟随页面滚动（不吸附），背景透明，不遮挡首屏图形 ── */
.header{position:absolute;left:0;top:0;right:0;height:88px;background:transparent;
  border:0;z-index:20}
.header-inner{position:relative;max-width:1440px;margin:0 auto;height:88px}

/* ── 品牌 ── */
.brandbar{position:absolute;left:58px;top:50%;transform:translateY(-50%);
  display:flex;align-items:center;gap:14px;text-decoration:none;z-index:31}
.brandbar .hicon{width:40px;height:40px;min-width:40px;min-height:40px;aspect-ratio:1/1;
  object-fit:contain;display:block;flex:none;align-self:center}
.bname{font-size:17px;font-weight:600;letter-spacing:.04em;color:#1c1c1e;white-space:nowrap}

/* ── 菜单项 ── */
.nav{position:absolute;right:0;top:0;height:88px;z-index:22;background:#ec1234;
  color:#fff;display:flex;align-items:stretch}
.nav a{text-decoration:none;color:#fff}
.nav-item{position:relative;display:flex;align-items:center;height:88px;padding:0 25px;
  font-size:14px;letter-spacing:.06em;cursor:pointer;white-space:nowrap;color:#fff;
  text-decoration:none;transition:background .25s}
.nav-item::after{content:"⌄";font-size:10px;margin-left:7px;opacity:.85;transform:scaleX(1.3)}
.nav-item.no-menu::after{display:none}
.nav-item:hover,.nav-item.is-open{background:rgba(255,255,255,.10)}
.nav-item.on{background:rgba(0,0,0,.14)}
.nav-item>span{display:inline-flex;align-items:center;padding:14px 8px;margin:0 -8px}
/* 展开指示圆点：绝对定位在项的右侧留白里，不参与布局，避免悬停时把红块撑宽 */
.nav-item.is-open::before{content:"";position:absolute;right:9px;top:50%;
  width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#ec1234}

/* ── 下拉面板 ── */
.megamenu{position:fixed;left:0;right:0;top:88px;width:100vw;
  z-index:60;display:flex;gap:50px;justify-content:center;align-items:center;
  height:0;opacity:0;overflow:hidden;pointer-events:none;
  padding:23px 0 0;background:#fff;border-top:1px solid #f0f0ec;box-sizing:border-box;
  transition:height .45s cubic-bezier(.165,.84,.44,1),opacity .5s}
.nav-item.is-open>.megamenu{height:268px;opacity:1;pointer-events:auto}
.megamenu,.megamenu a{color:#2f2f2f;text-decoration:none}
.megamenu b{color:#1c1c1e}

/* 面板巨字 */
.mm-word{width:315px;flex:none;margin:0;font-family:Montserrat,"Helvetica Neue",sans-serif;
  font-weight:200;font-size:50px;line-height:2;letter-spacing:.05em;text-transform:uppercase;
  color:#1c1c1e}
.mm-word small{display:block;font-family:"Noto Sans SC",sans-serif;font-size:12px;
  letter-spacing:.34em;margin-right:-.34em;color:#9aa3a9;margin-top:-14px;font-weight:400;text-align:right}
/* 竖线 */
.mm-rule{width:1px;height:245px;flex:none;align-self:center;margin:0;background:#e2e6e9}
/* 列表 */
.mm-list{width:315px;flex:none;display:flex;flex-direction:column;gap:10px;padding:0}
.mm-list a{font-size:14px;line-height:28px;height:28px;color:#49565e;
  letter-spacing:.05em;border:0;padding:0;display:flex;align-items:center;
  justify-content:space-between}
.mm-list a span.ar{color:#c4cbd0;font-size:11px;transition:.3s}
.mm-list a:hover{color:#ec1234}
.mm-list a:hover span.ar{color:#ec1234;transform:translateX(3px)}

/* ── 遮罩（跟随面板展开，不响应单纯悬停） ── */
.mm-shade{position:fixed;inset:0;background:#e0e0e0;opacity:0;z-index:10;
  transition:opacity .3s;pointer-events:none}
.header:has(.nav-item.is-open) .mm-shade{opacity:.86}
/* ── 悬停子菜单（第三列，如 陶瓷电容 → 六大系列） ── */
.mm-sub{position:absolute;top:24px;right:40px;width:280px;height:240px;
  display:flex;flex-direction:column;gap:2px;box-sizing:border-box;
  border-left:1px solid transparent;padding:2px 0 0 40px;
  opacity:0;transform:translateX(-26px);pointer-events:none;
  transition:opacity .5s ease,transform .55s cubic-bezier(.22,.61,.36,1),border-color .4s}
.mm-sub.is-on{opacity:1;transform:none;pointer-events:auto;border-left-color:#e2e6e9}
.mm-sub-t{font-family:Mohave,sans-serif;font-size:9.5px;letter-spacing:.2em;color:#ec1234;
  margin:0 0 7px;display:flex;align-items:baseline;gap:8px}
.mm-sub-t small{font-size:8.5px;letter-spacing:.18em;color:#c0c6ca}
.mm-sub>a{display:flex;align-items:baseline;gap:8px;line-height:26px;height:26px;
  color:#49565e;text-decoration:none}
.mm-sub>a b{font-size:13.5px;font-weight:400;letter-spacing:.04em;color:#49565e}
.mm-sub>a i{font-style:normal;font-family:Mohave,sans-serif;font-size:8.5px;letter-spacing:.13em;
  color:#aeb4ba;margin-left:auto}
.mm-sub>a:hover b,.mm-sub>a:hover i{color:#ec1234}
.mm-sub>a.all{margin-top:8px;border-top:1px solid #f0f0ec;padding-top:9px;height:auto;line-height:1;
  font-size:11px;color:#8a8a90;gap:6px;letter-spacing:.04em}
.mm-sub>a.all .ar{color:#ec1234}
.mm-sub>a.all:hover{color:#ec1234}
.mm-list a.is-active{color:#ec1234}
.mm-list a.is-active .ar{color:#ec1234;transform:translateX(3px)}
picture{display:contents}
