/* ===================================================================
   home.css — 百智荟 首页专属样式
   =================================================================== */

/* ===================================================================
   1. Banner 全屏轮播
   =================================================================== */
.banner {
  position: relative;
  height: 100vh;
  height: 100svh;                 /* 移动端避开浏览器工具栏 */
  overflow: hidden;
  background: #0C211D;            /* 兜底底色，防止切换瞬间闪白 */
  isolation: isolate;
}

/* 轨道：横向排布所有屏，靠 translateX 切换 */
.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .85s cubic-bezier(.65,.05,.36,1);
  will-change: transform;
}

.banner-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---------- 底图：<picture> 艺术方向响应式 ----------
   移动端 banner 不再全屏（见「响应式」章节 7），盒子变矮后宽高比随宽度变化：
   ≤520px 时盒子仍偏方高（375×480 ≈ 0.78），用竖版裁切 1080×1620 能让
   画面 100% 宽度全见、只裁约 15% 高度；>520px 盒子变宽（768×480 ≈ 1.6），
   横构图 2560×1440 反而能看到约 90% 高度。所以 <source media> 的切换点定在 520px。
   生成脚本见 tools/fetch_banner_portrait.py。照片与色调分层：
   <img> 只负责照片（object-fit: cover 裁切 + --focus 定焦点），
   原来写在 background 简写里的三层色调渐变挪到 ::before，网格纹理仍在 ::after。 */
.banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}
.banner-slide.is-active .banner-bg { transform: scale(1); }

/* 照片层：铺满裁切，焦点用每屏的 --focus 微调，保证主体不被裁掉 */
.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  /* 照片整体提亮：写实照片保持正常曝光，不靠遮罩压暗营造氛围 */
  filter: brightness(1.14) saturate(1.06) contrast(1.02);
}

/* 色调层：与照片分层，遮暗仍交给 .banner-mask 单层完成，
   这里只做色调统一，alpha 不可超过 .25，否则叠乘后照片会被压黑 */
.banner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* 屏 1：极淡青绿（照片 Pexels 36733315 · Pexels License 免费商用） */
.banner-bg--1::before {
  background:
    radial-gradient(1200px 620px at 78% 18%, rgba(18,165,148,.11), transparent 62%),
    radial-gradient(900px 520px at 12% 88%, rgba(18,165,148,.06), transparent 60%),
    linear-gradient(135deg, rgba(12,33,29,.10) 0%, rgba(18,49,42,.07) 50%, rgba(28,74,65,.04) 100%);
}
/* 屏 2：偏青蓝（照片 Pexels 15096572 · Pexels License） */
.banner-bg--2::before {
  background:
    radial-gradient(1000px 560px at 82% 24%, rgba(46,196,182,.12), transparent 62%),
    radial-gradient(820px 480px at 10% 82%, rgba(18,110,140,.10), transparent 60%),
    linear-gradient(122deg, rgba(8,32,31,.11) 0%, rgba(14,58,64,.07) 50%, rgba(20,85,90,.04) 100%);
}
/* 屏 3：偏暖绿（照片 Pexels 4031713 · Pexels License） */
.banner-bg--3::before {
  background:
    radial-gradient(1100px 600px at 74% 20%, rgba(90,200,150,.10), transparent 62%),
    radial-gradient(860px 500px at 14% 86%, rgba(18,165,148,.07), transparent 60%),
    linear-gradient(135deg, rgba(11,35,32,.12) 0%, rgba(22,69,58,.08) 50%, rgba(42,107,87,.05) 100%);
}

/* 纹理叠加：网格 + 斜向扫光（z-index 高于照片层，保持盖在照片上面） */
.banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .16; /* 照片上仅留极淡纹理，避免画面发脏 */
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 78%);
}

/* 蒙版：左深右浅斜向渐变，保证文字可读又不压死画面
   强度用变量控制，便于按每屏照片明暗单独调：--m-a 左侧 / --m-b 中段 / --m-c 右侧 */
.banner-mask {
  --m-a: .44;
  --m-b: .16;
  --m-c: 0;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
      rgba(6,18,16,var(--m-a)) 0%,
      rgba(6,18,16,var(--m-b)) 44%,
      rgba(6,18,16,var(--m-c)) 100%);
}
/* 第 2 屏（白板会议，画面偏亮）：左侧略加深 */
.banner-slide:nth-child(2) .banner-mask { --m-a: .48; --m-b: .18; }
/* 第 3 屏（笔记本特写，大面积浅色）：不再整屏压暗，
   只在标题背后压一块柔和暗斑托字，其余区域保持照片原亮度 */
.banner-slide:nth-child(3) .banner-mask {
  background:
    radial-gradient(1150px 820px at 18% 50%, rgba(6,18,16,.58) 0%, rgba(6,18,16,.30) 50%, transparent 78%),
    linear-gradient(100deg, rgba(6,18,16,.18) 0%, rgba(6,18,16,.04) 34%, transparent 100%);
}

/* 文案层 */
.banner-inner {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  padding-bottom: 60px;
}

/* 文案入场动画：仅当前屏逐级浮现 */
.banner-slide .banner-title,
.banner-slide .banner-sub,
.banner-slide .banner-actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.4,0,.2,1);
}
.banner-slide.is-active .banner-title  { opacity: 1; transform: none; transition-delay: .28s; }
.banner-slide.is-active .banner-sub    { opacity: 1; transform: none; transition-delay: .42s; }
.banner-slide.is-active .banner-actions{ opacity: 1; transform: none; transition-delay: .56s; }

.banner-title {
  max-width: 900px;
  font-size: 64px;
  line-height: 1.16;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  text-shadow:
    0 0 1px rgba(0,0,0,.92),
    0 1px 3px rgba(0,0,0,.78),
    0 3px 10px rgba(0,0,0,.6),
    0 10px 36px rgba(0,0,0,.5);
}
.banner-sub {
  position: relative;
  max-width: 640px;
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.8;
  color: #fff;
  text-shadow:
    0 0 1px rgba(0,0,0,.95),
    0 1px 2px rgba(0,0,0,.88),
    0 2px 9px rgba(0,0,0,.72),
    0 6px 24px rgba(0,0,0,.55);
}
/* 副标题背后的羽化暗角：只在文字行下方铺一层柔和暗色，
   让白字在浅色照片上也够清楚，又不压暗整屏（边界用 blur 羽化，看不出方框） */
.banner-sub::before {
  content: "";
  position: absolute;
  inset: -16px -40px -16px -24px;
  z-index: -1;
  border-radius: 16px;
  background: radial-gradient(120% 150% at 10% 50%,
      rgba(6,18,16,.62) 0%,
      rgba(6,18,16,.30) 58%,
      rgba(6,18,16,0) 100%);
  filter: blur(8px);
}
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

/* ---------- 左右箭头 ---------- */
.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity var(--tr), background var(--tr), border-color var(--tr), transform var(--tr);
}
.banner-arrow svg { width: 22px; height: 22px; }
.banner-arrow--prev { left: 32px; }
.banner-arrow--next { right: 32px; }
.banner:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.banner-arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.banner-arrow--next:hover { transform: translateY(-50%) translateX(3px); }

/* ---------- 指示点 ---------- */
.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}
.banner-dot {
  position: relative;
  width: 9px; height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  transition: all var(--tr);
}
.banner-dot:hover { background: rgba(255,255,255,.7); }
.banner-dot.is-active {
  width: 30px;
  background: var(--c-accent);
}

/* ---------- 底部进度条 ---------- */
.banner-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  height: 3px;
  background: rgba(255,255,255,.12);
}
.banner-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--c-accent);
}
.banner-progress-bar.is-running {
  animation: bannerProgress var(--banner-dur, 6000ms) linear forwards;
}
@keyframes bannerProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* 暂停态（鼠标悬浮/失焦时不推进进度） */
.banner.is-paused .banner-progress-bar { animation-play-state: paused; }

/* ===================================================================
   2. 关于我们（全屏大图）
   =================================================================== */
.about-full {
  position: relative;
  min-height: 88vh;                 /* 接近满屏，横向舒展 */
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #EFF5F4;              /* 兜底底色（浅） */
  padding: 150px 0 190px;           /* 加大上下留白 */
}

/* ---------- 背景大图 ---------- */
.about-full-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/about-bg.jpg") center/cover no-repeat;
  /* 图片载入前的兜底底色 */
  background-color: #EFF5F4;
}

/* ---------- 蒙版：浅色。左实右透，左侧压白保证文字可读，右侧留出建筑图 ---------- */
.about-full-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(96deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.88) 26%,
      rgba(255,255,255,.66) 52%,
      rgba(255,255,255,.30) 78%,
      rgba(255,255,255,.10) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,.50) 0%,
      rgba(255,255,255,.10) 30%,
      rgba(255,255,255,.10) 70%,
      rgba(255,255,255,.50) 100%);
}

/* ---------- 内容层 ---------- */
.about-full-inner {
  position: relative;
  z-index: 3;
}

.about-full .about-title {
  max-width: 900px;
  font-size: 56px;
  line-height: 1.28;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.8px;
  text-shadow: 0 1px 2px rgba(255,255,255,.9), 0 8px 30px rgba(255,255,255,.8);
}

.about-full .about-body {
  max-width: 760px;
  margin-top: 32px;
}
.about-full .about-body p {
  font-size: 16px;
  line-height: 2.05;
  color: rgba(18,49,42,.76);
  text-shadow: 0 1px 10px rgba(255,255,255,.85);
}
.about-full .about-body p + p { margin-top: 16px; }

/* ---------- 胶囊按钮（青绿实底 + 箭头） ---------- */
.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: all var(--tr);
}
.about-btn svg {
  width: 18px; height: 18px;
  transition: transform var(--tr);
}
.about-btn:hover {
  background: var(--c-accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(18,165,148,.42);
}
.about-btn:hover svg { transform: translateX(4px); }

/* ---------- 右下角数据卡片 ---------- */
.about-stats {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 44px 24px 40px 60px;
  background: #fff;
  border-radius: 30px 0 0 0;
  box-shadow: 0 -6px 30px rgba(18,49,42,.12);
}
.about-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}
.about-stat-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--c-accent-lt);
  color: var(--c-accent);
  flex-shrink: 0;
}
.about-stat-icon svg { width: 26px; height: 26px; }

.about-stat-num {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.about-stat-num i {
  font-style: normal;
  font-size: 23px;
  font-weight: 700;
  color: var(--c-accent);
}
.about-stat-label {
  margin-top: 7px;
  font-size: 14px;
  color: var(--c-text-mute);
  white-space: nowrap;
}


/* ===================================================================
   3. 解决方案
   =================================================================== */
.solutions { background: var(--c-bg-alt); }

/* 出血网格：三轨 —— ①左侧留白轨制造版心边距；②内容轨；③弧线轨（右缘贴屏幕）。
   - 标题横跨三轨 → 它的盒子是整页宽，因此依然按页面居中
   - 弧线列跨两行 → 纵向覆盖范围从「解决方案」标题顶部一直到底部
   - 留白轨用 max() 兜底：视口比版心窄时退回 24px */
.sol-wrap {
  display: grid;
  grid-template-columns:
    max(24px, calc((100% - var(--container)) / 2 + 24px))
    minmax(0, 1fr)
    minmax(0, 386px);
  grid-template-rows: auto auto;
}
.sol-head { grid-column: 1 / -1; grid-row: 1; }

/* 内容轨里的两栏：左文字 + 右配图 */
.sol-body {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding-right: 60px;      /* 与弧线列留出呼吸空间 */
}

/* 左侧文字：四条方案叠放在同一格里交叉淡入淡出，
   容器高度取最高的一条 → 切换时按钮和标题都不会上下跳 */
.sol-text {
  position: relative;
  display: grid;
}
.sol-pane {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .5s ease,
              transform .5s cubic-bezier(.4,0,.2,1),
              visibility .5s;
}
.sol-pane.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sol-pane-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 22px;
}
.sol-pane-desc {
  max-width: 640px;
  font-size: 16px;
  line-height: 2;
  color: var(--c-text-mute);
}
.sol-pane-desc + .sol-pane-desc { margin-top: 14px; }

/* 文字下方的行动按钮 */
.sol-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  transition: all var(--tr);
}
.sol-btn svg {
  width: 17px; height: 17px;
  transition: transform var(--tr);
}
.sol-btn:hover {
  background: var(--c-accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(18,165,148,.38);
}
.sol-btn:hover svg { transform: translateX(4px); }

/* 右侧配图：四张叠放，交叉淡入淡出 */
.sol-visual {
  position: relative;
  width: 100%;
  max-width: 780px;
  aspect-ratio: 4 / 3;
  justify-self: end;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(18,49,42,.13);
}
.sol-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .6s ease, transform 1.1s cubic-bezier(.4,0,.2,1);
}
.sol-shot.is-on {
  opacity: 1;
  transform: scale(1);
}
/* 右侧弧线舞台：跨两行，纵向覆盖包含上面的标题；宽度随高度按比例自适应 */
.sol-stage {
  position: relative;
  grid-column: 3;
  grid-row: 1 / -1;
  width: 100%;
  aspect-ratio: 300 / 600;
  align-self: start;
}
.sol-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sol-arc-glow {
  fill: none;
  stroke: rgba(18,165,148,.09);
  stroke-width: 12;
  stroke-linecap: round;
}
.sol-arc-line {
  fill: none;
  stroke: rgba(18,165,148,.34);
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* 节点：0 尺寸锚点，子元素精确居中到弧线上的点 */
.sol-node {
  position: absolute;
  width: 0; height: 0;
  padding: 0; border: 0; background: none;
  pointer-events: none;
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.sol-dot {
  position: absolute;
  left: 0; top: 0;
  width: 106px; height: 106px;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  border: 2px solid rgba(18,165,148,.3);
  box-shadow: 0 8px 22px rgba(18,49,42,.09);
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform var(--tr), background var(--tr),
              border-color var(--tr), box-shadow var(--tr);
}
.sol-node:hover .sol-dot {
  transform: translate(-50%,-50%) scale(1.06);
  border-color: var(--c-accent);
}
.sol-num {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  font-style: normal;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--c-accent);
  transition: color var(--tr);
}
.sol-node-label {
  position: absolute;
  left: 0; top: 66px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-mute);
  cursor: pointer;
  pointer-events: auto;
  transition: color var(--tr);
}
/* 选中态 */
.sol-node.is-on .sol-dot {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: translate(-50%,-50%) scale(1.1);
  box-shadow: 0 16px 40px rgba(18,165,148,.36);
}
.sol-node.is-on .sol-num { color: #fff; }
.sol-node.is-on .sol-node-label { color: var(--c-accent); font-weight: 700; }

/* ===================================================================
   4. 新闻中心（版式对齐「领航视界」首页 #news，配色换成百智荟青绿）
   =================================================================== */
.news { background: #fff; }

/* ---------- 顶部标题区：左标题 + 右筛选 ---------- */
.news__head {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 48px;
}

/* 小标签：竖条 + 大写字母加大字距 */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--c-accent);
  border-radius: 2px;
}

.news__title {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
/* 副标题自带强调色下边框（参考图的做法，不是标题下划线） */
.news__lead {
  display: inline-block;
  font-size: 15px;
  color: var(--c-text-mute);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-accent);
}

.news__head-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* 胶囊分段控件 */
.news__tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.news__tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--tr), background var(--tr), box-shadow var(--tr);
}
.news__tab:hover { color: var(--c-accent); }
.news__tab.active {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dk));
  color: #fff;
  box-shadow: 0 4px 14px rgba(18,165,148,.28);
}

.news__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--tr), background var(--tr), gap var(--tr);
}
.news__more:hover { background: var(--c-accent); color: #fff; gap: 12px; }

/* ---------- 主体：左焦点头条 + 右新闻列表 ---------- */
.news__body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;              /* 默认仅顶部对齐 */
}
/* 右侧满 5 条时由 JS 加 .is-tall → 两列上下两端对齐 */
.news__body.is-tall { align-items: stretch; }

/* —— 左侧焦点头条：带边框的卡片 —— */
.news-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1),
              box-shadow .45s ease, border-color .35s ease;
}
.news__body.is-tall .news-feature { height: 100%; }
.news-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(18,49,42,.16);
  border-color: var(--c-accent);
}
.news-feature__img {
  position: relative;
  display: block;
  height: 340px;                   /* 默认固定高度 */
  overflow: hidden;
}
.news__body.is-tall .news-feature__img {
  flex: 1 1 auto;                  /* 等高模式下图吸收剩余高度 */
  min-height: 280px;
}
.news-feature__img .news-img { transition: transform .7s ease; }
.news-feature:hover .news-feature__img .news-img { transform: scale(1.06); }

/* 压在左上角的标签 */
.news-feature__tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(10,31,68,.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.news-feature__content { padding: 28px; }
.news-feature__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.news-feature__date {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: .02em;
}
.news-feature__cat {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(18,165,148,.10);
  color: var(--c-accent);
  letter-spacing: .04em;
}
.news-feature__year {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-mute);
}
.news-feature__content h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-ink);
  margin-bottom: 16px;
  transition: color .3s;
}
.news-feature:hover .news-feature__content h3 { color: var(--c-accent); }
.news-feature__content p {
  font-size: 14px;
  color: var(--c-text-mute);
  line-height: 1.85;
  margin-bottom: 20px;
}
.news-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 700;
  transition: gap .3s ease;
}
.news-feature__link:hover { gap: 12px; }

/* —— 右侧新闻列表 —— */
.news-list { display: flex; flex-direction: column; }
.news__body.is-tall .news-list {
  height: 100%;
  justify-content: space-between;  /* 满 5 条时等高铺到列底 */
}
.news-item {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  transition: padding-left .35s ease;
}
.news-item[hidden] { display: none; }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { padding-left: 8px; }
.news-item__img {
  display: block;
  position: relative;
  width: 124px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
}
.news-item__img .news-img { transition: transform .55s ease; }
.news-item:hover .news-item__img .news-img { transform: scale(1.12); }
.news-item__body { display: flex; flex-direction: column; min-width: 0; }
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.news-item__meta > span:first-child {
  font-size: 12px;
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: .02em;
}
.news-item__cat {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(18,165,148,.10);
  color: var(--c-accent);
  letter-spacing: .04em;
}
.news-item__body h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-ink);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .3s;
}
.news-item:hover .news-item__body h4 { color: var(--c-accent); }
.news-item__body p {
  font-size: 12px;
  color: var(--c-text-mute);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 图片占位：换成真图时把 .news-img 换成 <img> 即可 ---------- */
/* 真实照片（<img class="news-img">）：铺满裁切，不变形（Pexels 15920138 · Pexels License） */
img.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-img {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(135deg, #EDF6F5 0%, #CFE8E4 100%);
}
[data-tone="2"] .news-img { background: linear-gradient(135deg, #EFF4F9 0%, #D5E4F0 100%); }
[data-tone="3"] .news-img { background: linear-gradient(135deg, #F5F2EB 0%, #E4DCCD 100%); }
/* 焦点大图额外叠网格纹理 + 同心弧，呼应方案区 */
.news-feature__img .news-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18,165,148,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,165,148,.09) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(92% 92% at 28% 16%, #000 0%, transparent 76%);
  mask-image: radial-gradient(92% 92% at 28% 16%, #000 0%, transparent 76%);
}
.news-feature__img .news-img::before {
  content: "";
  position: absolute;
  right: -16%; bottom: -40%;
  width: 76%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(18,165,148,.20);
  box-shadow:
    0 0 0 44px rgba(18,165,148,.001),
    0 0 0 45px rgba(18,165,148,.13),
    0 0 0 88px rgba(18,165,148,.001),
    0 0 0 89px rgba(18,165,148,.085),
    0 0 0 132px rgba(18,165,148,.001),
    0 0 0 133px rgba(18,165,148,.05);
}




/* ===================================================================
   5. CTA
   =================================================================== */
/* CTA：深色渐变半透明叠加照片（Pexels 7793687 · Pexels License），保证白字可读 */
.cta {
  position: relative;
  padding: 78px 0;
  background:
    linear-gradient(120deg, rgba(11,42,36,.92) 0%, rgba(27,74,65,.88) 58%, rgba(13,124,111,.86) 130%),
    url("../images/home/cta-bg.jpg") center/cover no-repeat;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,165,148,.42), transparent 68%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: 32px;
  color: #fff;
  letter-spacing: -.3px;
}
.cta-text p {
  margin-top: 12px;
  font-size: 16px;
  color: rgba(255,255,255,.76);
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================================================================
   6. 响应式
   =================================================================== */
@media (max-width: 1080px) {
  .banner-title { font-size: 52px; }
  .banner-arrow { width: 46px; height: 46px; }
  .banner-arrow--prev { left: 20px; }
  .banner-arrow--next { right: 20px; }

  /* 解决方案：弧线转到文字下方，出血收回常规边距（单列） */
  .sol-wrap {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .sol-head, .sol-body, .sol-stage { grid-column: 1; grid-row: auto; }
  .sol-body { grid-template-columns: 1fr; gap: 34px; padding-right: 0; }
  .sol-text { min-height: 0; }
  .sol-visual { max-width: 560px; justify-self: start; }
  .sol-pane-title { font-size: 32px; }
  /* 方案切换：桌面那条圆弧 + 大圆点挪到竖屏会很突兀（占 300×600、还要按百分比定位），
     这里改为一行可换行的胶囊按钮，四个方案一次铺开，点哪个切哪个 */
  .sol-stage {
    width: 100%;
    aspect-ratio: auto;
    margin: 36px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .sol-arc { display: none; }
  .sol-node {
    /* position 改 static，让 HTML 里按弧线定位的行内 left/top 自动失效 */
    position: static;
    width: auto; height: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid rgba(18,165,148,.22);
    box-shadow: 0 4px 14px rgba(18,49,42,.06);
    cursor: pointer;
    pointer-events: auto;
    transition: background var(--tr), border-color var(--tr), box-shadow var(--tr);
  }
  .sol-dot {
    position: static;
    width: auto; height: auto;
    display: block;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .sol-num {
    position: static;
    transform: none;
    font-size: 13.5px;
    letter-spacing: 0;
  }
  .sol-node-label {
    position: static;
    top: auto;
    transform: none;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 500;
  }
  .sol-node:hover .sol-dot { transform: none; border-color: transparent; }
  .sol-node.is-on {
    background: var(--c-accent);
    border-color: var(--c-accent);
    box-shadow: 0 10px 24px rgba(18,165,148,.28);
  }
  .sol-node.is-on .sol-dot { background: none; border: 0; transform: none; box-shadow: none; }
  .sol-node.is-on .sol-num { color: #fff; }
  .sol-node.is-on .sol-node-label { color: #fff; }
}

@media (max-width: 900px) {
  .banner-title { font-size: 40px; letter-spacing: -.5px; }
  /* 小屏内收暗角，避免贴到视口左边缘 */
  .banner-sub::before { inset: -12px -20px -12px -14px; filter: blur(6px); }
  .banner-sub { font-size: 16.5px; margin-top: 20px; }
  .banner-actions { margin-top: 32px; gap: 12px; }

  /* 触屏设备常显箭头，方便操作 */
  .banner-arrow { opacity: 1; width: 40px; height: 40px; background: rgba(255,255,255,.14); }
  .banner-arrow svg { width: 18px; height: 18px; }
  .banner-arrow--prev { left: 12px; }
  .banner-arrow--next { right: 12px; }
  .banner-dots { bottom: 30px; }

  .about-full { min-height: auto; padding: 96px 0 150px; }
  .about-full .about-title { font-size: 40px; }
  .about-full .about-body { margin-top: 24px; }
  .about-stats { gap: 34px; padding: 30px 24px 26px 34px; }
  .about-stat-num { font-size: 30px; }

  .news__head { grid-template-columns: 1fr; gap: 24px; }
  .news__head-r { align-items: flex-start; }
  .news__body { grid-template-columns: 1fr; gap: 36px; }
  .news-feature__img { height: 280px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-text h2 { font-size: 26px; }
}

@media (max-width: 520px) {
  .banner-title { font-size: 32px; }
  .banner-sub { font-size: 15px; }
  .btn { width: 100%; }
  .banner-actions { flex-direction: column; }
  .banner-actions .btn { width: 100%; }
  .banner-inner { padding-bottom: 90px; }
  /* 小屏空间紧张，隐藏左右箭头，保留下方指示点 */
  .banner-arrow { display: none; }
  .banner-dots { bottom: 34px; gap: 8px; }
  .banner-dot.is-active { width: 26px; }

  .about-full { min-height: auto; padding: 72px 0 110px; flex-direction: column; align-items: stretch; }
  .about-full .about-title { font-size: 31px; }
  .about-full .about-body { margin-top: 20px; }
  .about-full .about-body p { font-size: 14.5px; }
  .about-btn { margin-top: 30px; height: 48px; padding: 0 24px; font-size: 15px; }

  /* 数据卡片小屏改为静态排版：两列网格，不挤压不溢出 */
  .about-stats {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    margin: 40px 18px 0;
    padding: 22px 18px;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(8,24,22,.12);
  }
  .about-stat { gap: 10px; }
  .about-stat:last-child { grid-column: 1 / -1; }
  .about-stat-icon { width: 36px; height: 36px; border-radius: 10px; }
  .about-stat-icon svg { width: 19px; height: 19px; }
  .about-stat-num { font-size: 26px; }
  .about-stat-num i { font-size: 16px; }
  .about-stat-label { font-size: 12.5px; }

  .news__title { font-size: 34px; }
  .news__tabs { flex-wrap: wrap; padding: 5px; }
  .news__tab { padding: 8px 14px; font-size: 13px; }
  .news__more { padding: 9px 18px; font-size: 13px; }
  .news-feature__img { height: 220px; }
  .news-feature__content { padding: 20px; }
  .news-feature__tag { top: 14px; left: 14px; padding: 5px 12px; font-size: 11px; }
  .news-item { grid-template-columns: 96px 1fr; gap: 14px; padding: 15px 0; }
  .news-item__img { width: 96px; height: 70px; }

  .cta { padding: 58px 0; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  /* 解决方案：胶囊在小屏进一步收窄，保证四个方案两行内放得下 */
  .sol-pane-title { font-size: 26px; margin-bottom: 16px; }
  .sol-pane-desc { font-size: 15px; line-height: 1.9; }
  .sol-stage { gap: 8px; margin-top: 28px; }
  .sol-node { padding: 9px 14px; gap: 6px; }
  .sol-num { font-size: 13px; }
  .sol-node-label { font-size: 13px; }
}

/* ===================================================================
   7. 移动端 banner 不全屏（参考行业常见做法，如和美电子官网）
   -------------------------------------------------------------------
   全屏 banner 在竖屏上必然把横构图裁得只剩一条，照片「没显示全」；
   行业主流做法是移动端放弃全屏：banner 高度由文案撑出、压到一个
   合理下限，桌面端保持 100svh 全屏不变。
   - .banner 高度改 auto，由 .banner-slide 的内容（标题+副题+按钮）决定；
   - .banner-slide 的 min-height 是画面下限：375 宽 × 480 高 ≈ 0.78，
     配竖版图（0.667）能 100% 宽度全见、只裁约 15% 高度；
     用 min(480px, 92svh) 兜底，避免横屏手机上 banner 比屏幕还高；
   - 照片层是 absolute inset:0，banner 高度变化不会引起布局跳动（CLS=0）。
   =================================================================== */
@media (max-width: 768px) {
  .banner { height: auto; }
  .banner-slide { min-height: min(480px, 92svh); }
}

/* 焦点偏移只配竖版图源（≤520px 与 HTML 里的 <source media> 一致）：
   屏 1 人物在右 → X 右偏保住面部，Y 略偏上留出压字空间；
   屏 2 数据大屏在上半部 → 焦点略偏上；
   屏 3 视频通话画面居中偏上 → 焦点居中偏上。
   桌面端不声明 --focus，走默认 50% 50%（= 原 center 构图，视觉不变） */
@media (max-width: 520px) {
  .banner-bg--1 { --focus: 72% 38%; }
  .banner-bg--2 { --focus: 50% 32%; }
  .banner-bg--3 { --focus: 50% 42%; }
}
