/* ---------------- hero（FoxCMS 同款轮播：循环 + 自动播 + 圆点/桌面箭头） ---------------- */
.hero { position: relative; overflow: hidden; background: #0e1f38; }
/* 单页横幅（page-banner 标准版）整图铺满：宽于 1920 的视口（浏览器缩小缩放）等比放大填满窗口，
   勿回全局 img 的 max-width 收缩口径；必须直子选择器——后代写法会同特异性反杀 .hero-slide-link img 的轮播裁切 */
.hero > img { width: 100%; height: auto; }
.hero-swiper { width: 100%; aspect-ratio: 1920 / 999; max-height: calc(100vh - var(--header-h)); }
.hero-slide-link { display: block; position: relative; width: 100%; height: 100%; }
.hero-slide-link img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    display: block; user-select: none;
}
/* 「下一张」按钮（设计稿切图：白色圆环+右箭头描边、内部透明的 PNG，居中，点击切下一张；JS 多图时才显示） */
.hero-next {
    position: absolute; left: 50%; top: 50%; z-index: 4;
    width: clamp(64px, 5.9vw, 113px); height: clamp(64px, 5.9vw, 113px);
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: 0; border-radius: 50%;
    cursor: pointer; padding: 0;
    transition: transform .3s;
}
.hero-next img { width: 100%; height: 100%; display: block; user-select: none; }
.hero-next:hover { transform: translate(-50%, -50%) scale(1.08); }
.hero-next:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hero-next[hidden] { display: none; }
/* 轮播标题文字层（后台轮播图管理按条配置 title，蓝湖「首页_画板 1」标注：单行纯白、
   20px/常规 400/字距 ~1px、水平居中、墨迹底边距 hero 底边 ~106px、无阴影）——
   2026-10-13 起标题唯一形态即本层，勿再用切图（hero-group.png）/烙字底图承载 */
.hero-caption {
    position: absolute; left: 50%; bottom: 106px; transform: translateX(-50%);
    text-align: center; color: #fff; z-index: 2; width: 90%;
    pointer-events: none;
}
.hero-caption strong { display: block; font-size: clamp(15px, 1.05vw, 20px); font-weight: 400; letter-spacing: 1px; line-height: 1.2; }
.hero-caption small { display: block; margin-top: 8px; font-size: clamp(12px, 1.1vw, 15px); letter-spacing: 1px; }
/* 品牌页海报 hero：自然比例整图（设计稿各品牌 hero 高度不一：426~511 逻辑） */
.hero-poster img { width: 100%; height: auto; }
/* swiper 原生箭头/圆点不用（「下一张」用自定义 .hero-next，此处兜底防原生控件样式泄漏） */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-pagination { display: none !important; }

/* 浅灰装饰 hero（联系方式/新闻列表等）：整条弧线底纹按设计稿切片 */
.hero-flat {
    background: url('/static/images/design/news/hero-flat.webp') center/cover no-repeat #ededec;
    height: clamp(240px, 26vw, 500px);
    display: flex; align-items: center; justify-content: center;
}
.hero-flat h1 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; letter-spacing: 2px; }
/* 联系方式矮幅弧线 hero（600px@1920，设计稿无标题；底图=透明光弧层，底色由本类 color 层承担） */
.hero-flat-lg { height: clamp(280px, 31.25vw, 600px); }

/* ---------------- 区块标题（居中 + 藏青短下划线） ---------------- */
.section { padding: 72px 0; }
.section.gray { background: var(--band); }
/* soft 置于 gray 之后：区块同时标记时以内容区浅灰为准 */
.section.soft { background: var(--band-3); }
/* hero 后首个区块的 196px 节奏（设计稿通用留白） */
.section.after-hero { padding-top: 196px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h1 {
    font-size: clamp(26px, 1.9vw, 36px); font-weight: 700; color: #111;
    letter-spacing: 2px; line-height: 1.4;
}
.sec-head h2 {
    font-size: clamp(24px, 2.1vw, 32px); font-weight: 700; color: var(--ink);
    letter-spacing: 1px; line-height: 1.4;
}
.sec-head .sec-line {
    width: 36px; height: 3px; background: var(--navy);
    margin: 18px auto 0;
}
.sec-head .sec-sub { margin-top: 18px; color: var(--ink-2); font-size: 15px; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-block; padding: 10px 34px; font-size: 14px;
    border: 1px solid var(--ink-3); color: var(--ink); background: none;
    letter-spacing: 2px; transition: all .2s; line-height: 1.6;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn-primary { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------- 首页：数据带（蓝湖：标题 45px 两行居中 + 四项细体大数字，内容盒 389-1532 即 1143 宽两端分布） ---------------- */
.home-stats { padding: 118px 24px 0; text-align: center; }
.home-stats h2 {
    font-size: clamp(26px, 2.35vw, 45px); font-weight: 500; line-height: 1.4;
    letter-spacing: 2px; color: var(--ink-design);
}
.stats-grid {
    display: flex; justify-content: space-between;
    max-width: 1143px; margin: 86px auto 0;
}
.stat-item { text-align: left; }
.stat-num {
    font-size: clamp(36px, 3.45vw, 66px);
    font-weight: 300; line-height: 1; color: var(--ink-design);
}
.stat-num i { font-size: .26em; font-weight: 400; margin-left: 6px; }
.stat-label { display: block; margin-top: 16px; color: var(--ink-2); font-size: 17px; }

/* ---------------- 首页：品牌 bento（蓝湖版本5：版心 1402（x260-1662），列缝 23/22/24，行距 75/65；卡高 r1 449/450·r2 397·r3 413/396/404.5） ---------------- */
.home-bento {
    max-width: 1402px; margin: 66px auto 0;
}
/* 版本5 卡片照片底边对齐、顶部随素材自然参差（r3 三卡顶差最大 18px），行内底对齐 */
.bb-row { display: grid; gap: 24px; align-items: end; }
.bb-row-b { grid-template-columns: 450fr 929fr; gap: 22px; margin-top: 75px; }
.bb-row-c { grid-template-columns: repeat(3, 1fr); margin-top: 65px; }
.bb-row-a { grid-template-columns: 929fr 450fr; gap: 23px; }
.brand-cell {
    position: relative; overflow: hidden; display: block;
    background: #dfe3e8;
}
.brand-cell img {
    width: 100%; height: 100%; object-fit: cover; object-position: left bottom;
    aspect-ratio: var(--ar, 16/9);
    transition: transform .5s;
}
.brand-cell:hover img { transform: scale(1.04); }
/* 覆盖文字层（蓝湖版本5 实测：小字 18px 在上、大字 24px 在下，距左 32（AI 卡 47 走 --cap-x），大字字底距卡底 ~45.5，纯白无透明度，字距 0） */
.cell-caption {
    position: absolute; left: var(--cap-x, 32px); bottom: 38px; z-index: 1;
    color: #fff; pointer-events: none;
}
.cell-caption small {
    display: block; font-size: 18px; line-height: 25px; font-weight: 400; letter-spacing: 0;
}
.cell-caption strong {
    display: block; margin-top: 6px; font-size: 24px; line-height: 33px; font-weight: 500; letter-spacing: 0;
}

/* ---------------- 首页：整幅横幅带（蓝湖两条 1920×886，间隙 202/22；干净底图+覆盖文字层+了解更多按钮） ---------------- */
.home-band { position: relative; display: block; overflow: hidden; }
.band-solutions { margin-top: 200px; }
.band-cabin { margin-top: 22px; }
.home-band img { width: 100%; height: auto; }
/* 覆盖文字层（蓝湖版本4：标题距横幅顶 280px/31.6%，副题距顶 367px/41.4%，统一 left 12.4%；装修 banner 板块 title/sub 可编辑） */
.band-caption {
    position: absolute; left: 12.4%; top: 31.6%;
    color: #333; pointer-events: none;
}
/* en 长文案换行约束（2026-10-13 反馈：横幅2 英文标题遮挡太空舱；同日用户确认横幅1 对齐修复；
   2026-11-05 用户报 624 视口 en 标题横穿人像头部，全区间口径重订为「比例上限+按钮锚底」，窄屏分档见 05-responsive.css）：
   cabin 上限 30%——底图舱体左缘 ~44% 宽，文字右缘 12.4%+30%≈42.4%；solutions 上限 39%——底图主体（暖色
   人像/镜组）左缘 ~56%（像素列扫描：24-54% 浅色背景、56% 起暖调），右缘 12.4%+39%≈51.4%，且 39% 是
   en 副题自带 \n 两行（最长行 582px@17px）不再折行的最低容量（1536 视口 39%=599px）。中文短文案两幅
   均不触发（zh 像素不变）；title 无 nl2br 只能靠宽度断行。
   窄屏（05-responsive.css）：1025-1535 en 保持同款上限（换行竖向预算由 en 按钮锚底 bottom 6% 承接，
   不再压 60.6% 钉位）、zh 保持解除；≤768 en 专用降档 18/24+12/16、全语言按钮锚底（zh <610px 亦会压副题）；
   ≤560 堆叠档（图在上、文案/按钮排图下，en 长文案在等比缩小的横幅上已无安全区） */
.band-cabin .band-caption { max-width: 30%; overflow-wrap: break-word; }
.band-solutions .band-caption { max-width: 39%; overflow-wrap: break-word; }
.band-caption strong {
    display: block; font-size: 40px; line-height: 52px; font-weight: 500; letter-spacing: 2px;
}
.band-caption small {
    display: block; margin-top: 35px; font-size: 17px; line-height: 30.5px; font-weight: 400; letter-spacing: 1px;
}
/* 「了解更多」按钮（Figma 源按钮框切图 band-btn-outline.webp 为底图：上两角直角、下两角圆弧 R11，195×42；
   DOM 文字 20px 覆盖保持 more_text 双语可配置；装修 banner 板块 more_on 开关控制显隐） */
.band-more {
    position: absolute; left: 12.34%; top: 60.6%;
    width: 195px; height: 42px; line-height: 40px; text-align: center;
    background: url("/static/images/design/index/band-btn-outline.webp") no-repeat;
    background-size: 100% 100%;
    color: var(--ink-design); font-size: 20px; font-weight: 400;
    transition: opacity .2s;
}
.home-band:hover .band-more { opacity: .72; }

/* ---------------- 首页：新品推荐（设计稿：标题44单条横线，中项放大轮播，两侧圆形箭头，底部居中圆点数=图片数可点切换） ---------------- */
.home-newprod { padding: 128px 0 124px; }
.home-newprod .sec-head { margin-bottom: 120px; }
.home-newprod .sec-head h2 {
    font-size: clamp(26px, 2.3vw, 44px); color: var(--ink-design); letter-spacing: 2px;
}
/* 2026-11-06 运营口径：新品区横条与新闻区同为单条藏青（旧三段式两侧浅灰伪元素已退役勿回加） */
.home-newprod .sec-line, .home-news .sec-line {
    width: 53px; height: 3px; background: var(--navy-brand);
    margin: 23px auto 0; /* 35px 实测墨底→条顶 48px；23px 校准为 36px（版本5 渲染实测目标） */
}
.newprod-swiper {
    max-width: 1620px; margin: 0 auto;
    overflow: hidden; /* 裁切滑动中溢出的相邻页，纵向 padding 留出中项放大空间 */
    padding: 30px 0;
}
.newprod-swiper .swiper-slide {
    transform: scale(.86); transition: transform .35s ease;
    text-align: center; display: flex; flex-direction: column; justify-content: center;
}
.newprod-swiper .swiper-slide-active { transform: scale(1.12); z-index: 2; }
.newprod-card { display: block; position: relative; }
.newprod-card img {
    width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #fff;
}
/* 底部居中圆点分页（Swiper pagination 生成，数量=轮播图片数；clickable 点击切换）——旧卡内 .np-dot 段内切换圆点已退役。
   覆写走 Swiper 消费的 CSS 变量：vendor 规则（.swiper-horizontal>.swiper-pagination-bullets bottom:var(--…,8px)、
   bullet margin:var(--…,4px)）特异性更高，直写 bottom/margin 会被压掉（2026-11-06 code-review 实测踩坑） */
.np-pages {
    --swiper-pagination-bottom: 0px;
    --swiper-pagination-bullet-horizontal-gap: 3.5px; /* 旧 .np-dot gap:7px 同视觉 */
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    display: flex; justify-content: center; align-items: center;
}
.np-pages .swiper-pagination-bullet {
    width: 6px; height: 6px; border-radius: 50%;
    background: #d8d8d8; opacity: 1; cursor: pointer;
}
.np-pages .swiper-pagination-bullet-active { background: var(--ink-design); }
.np-arrow {
    position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid #555;
    background: #fff; color: #333; font-size: 17px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s;
}
.np-arrow:hover { border-color: #111; color: #111; }
.np-arrow.np-prev { left: 12px; }
.np-arrow.np-next { right: 12px; }
.home-newprod { position: relative; }
.newprod-foot { text-align: center; margin-top: 40px; }
/* 蓝湖版本5（切片 liaojie 196×41 实测）：FOCUS ON NEXT GENERATION 18px 深墨字距 0；了解更多 ghost 按钮 1px #3d3935 描边透明底、
   上两角直角下两角圆弧 R10.7（与横幅/新闻按钮同族异形）、文字 20px #3d3935 字距 0 */
.newprod-foot .en-line { letter-spacing: 0; font-size: 18px; color: var(--ink-design); margin-bottom: 20px; /* 30px 实测墨底→按钮顶 40px；20px 校准为 30px（版本5 实测目标） */ }
.newprod-foot .btn {
    min-width: 196px; height: 41px; line-height: 39px; padding: 0 24px;
    text-align: center; font-size: 20px; letter-spacing: 0;
    border: 1px solid var(--ink-design); color: var(--ink-design); background: none;
    border-radius: 0 0 10.7px 10.7px;
}
.newprod-foot .btn:hover { background: var(--ink-design); border-color: var(--ink-design); color: #fff; }

/* ---------------- 首页：新闻动态（蓝湖：左特写 650 + 右三对「图卡 256 + 行卡 425」，版心 1404 缝 68） ---------------- */
.home-news { padding: 112px 0 115px; }
.home-news .sec-head { margin-bottom: 66px; }
.home-news .sec-head h2 {
    font-size: clamp(26px, 2.3vw, 44px); color: var(--ink-design); letter-spacing: 2px;
}
.home-news-grid {
    display: grid; grid-template-columns: 651fr 687fr; gap: 68px;
    max-width: var(--container-xl); margin: 0 auto;
}
.home-news-feat { display: block; }
.home-news-feat img { width: 100%; aspect-ratio: 651/406; object-fit: cover; }
.home-news-feat h3 { font-size: 25px; font-weight: 500; margin-top: 24px; line-height: 1.5; color: var(--ink-design); }
.home-news-feat p { color: #777; margin-top: 14px; font-size: 18px; line-height: 1.8; }
/* 右列：三对「图卡 + 纯文字行卡」纵向排列（蓝湖 980-1660，行距 20px） */
.home-news-side { display: flex; flex-direction: column; gap: 20px; }
.news-pair { display: grid; grid-template-columns: 256px 425px; gap: 6px; }
/* 图卡：封面 + 左上角栏目标签（深底白字小角标） */
.news-thumb { position: relative; display: block; overflow: hidden; background: #dfe3e8; }
.news-thumb img { width: 100%; height: 100%; aspect-ratio: 256/193; object-fit: cover; }
.news-thumb .news-tag {
    position: absolute; left: 8px; top: 8px;
    padding: 2px 8px; font-size: 12px; line-height: 1.5; color: #fff;
    background: rgba(61, 57, 53, .85);
}
/* 行卡：白底纯文字（蓝湖：标题 18px #333 两行 + meta 12px #999 上置，卡高 193） */
.news-row { display: flex; flex-direction: column; background: #fff; height: 193px; padding: 30px 34px 0 26px; }
.news-row-meta { display: flex; justify-content: space-between; font-size: 12px; color: #999; }
.news-row-body { flex: 1; display: flex; flex-direction: column; }
.news-row h3 {
    font-size: 18px; line-height: 1.85; margin-top: 18px; font-weight: 500; color: var(--ink-design);
    /* 行数钳制：卡片高度固定，英文长标题第 4 行会被硬截，改为 3 行省略号收尾 */
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row:hover h3 { color: var(--navy); }
/* 双按钮：品牌藏青实底（195×41，间距 85；形状上两角直角、下两角圆弧——版本5 切片 gengduoxinwen 角部轮廓实测 R≈10.7，由 8.5 校正）；文字 18px 白色 */
.home-news-btns { display: flex; justify-content: center; gap: 85px; margin-top: 120px; }
.home-news-btns .btn {
    min-width: 195px; height: 41px; line-height: 39px; padding: 0 24px;
    text-align: center; font-size: 18px; font-weight: 600;
    border: 1px solid var(--navy-brand); color: #fff; background: var(--navy-brand);
    border-radius: 0 0 10.7px 10.7px;
}
.home-news-btns .btn:hover { background: #001455; border-color: #001455; color: #fff; }

/* ---------------- 首页富文本板块（装修 richtext 板块，运营插图文中块） ---------------- */
.home-richtext { padding: 112px 0; }
.home-richtext .deco-rich { max-width: 1320px; margin: 0 auto; }
.home-richtext .deco-rich :is(h2, h3) { font-size: 32px; line-height: 1.5; color: var(--ink-design); font-weight: 600; margin: 0 0 24px; }
.home-richtext .deco-rich p { font-size: 17px; line-height: 2; color: var(--ink-2); margin: 0 0 20px; }
.home-richtext .deco-rich img { max-width: 100%; height: auto; display: block; margin: 8px auto; }
.home-richtext .deco-rich :last-child { margin-bottom: 0; }

