/* =====================================================================
   CREW VAN 车型页专用样式
   说明：
   1. rem 基准来自 resizeRoot（1920 设计稿 => 100px），本页 1rem = 设计 100px；
   2. 四个 section 均占满一屏（100vh），背景 cover + 渐变遮罩保证可读性；
   3. 各屏头部统一使用公共类 .cv-head，到屏幕顶部的间距一致（1.2rem）。
   作用域统一挂在 body.crewvan-page 下，避免与其它页面样式冲突。
===================================================================== */

/* ===== 页面作用域 ===== */
.crewvan-page {
  background: #030303;
  color: #fff;
  font-family: 'OpenSans-Regular', Arial, Helvetica, sans-serif;
}

.crewvan-page .crewvan *,
.crewvan-page .crewvan *::before,
.crewvan-page .crewvan *::after {
  box-sizing: border-box;
}

/* 防止动画库未注入前内容不可见（antAnimate 进入视口后会自动显示） */
.crewvan .ant {
  opacity: 1;
}

/* ===== 全屏区块（公共） ===== */
.crewvan .cv-sec {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #1b2b4d;
}

.crewvan .cv-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* banner artwork: path is supplied inline via --bg (PC) / --bg-m (mobile) */
.crewvan .cv-banner .cv-bg {
  background-image: var(--bg);
}

/* ===== 各屏头部（公共，到顶距离统一 1.2rem = 180px） ===== */
.crewvan .cv-head {
  position: absolute;
  top: 1.2rem;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}

.cv-banner .banner-subtitle {
  font-family: 'OpenSans-Bold', Arial, sans-serif;
  font-size: 0.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  color: #58C1EC;
  margin-bottom: 0.2rem;
  height: 1em;
}

.crewvan .cv-kicker {
  display: block;
  margin: 0;
  font-family: 'OpenSans-Bold';
  font-size: 0.2rem;
  line-height: 1;
  color: #58c1ec;
  letter-spacing: 0.04rem;
}

.crewvan .cv-hero {
  display: inline-block;
  font-family: 'OpenSans-Bold', Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  /* 行高小于 1 时背景盒（=padding box）比字形矮，
     background-clip:text 会让超出盒子的字形下缘取不到渐变而被“抠掉”，
     故用 padding-bottom 撑大背景盒（不影响文字位置）。 */
  padding: 0 0 0.28rem;
  color: transparent;
  background: linear-gradient(to left, #d2f0fa 0%, #d2f0fa 40%, #f3f5f6 60%, #f3f5f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.crewvan .cv-title {
  display: block;
  margin: 0;
  font-family: 'OpenSans-Bold';
  font-size: 0.48rem;
  line-height: 1.1;
  color: #fff;
}
html[lang="cn"] .crewvan .cv-title{
  line-height: 1.32;
}
/* 眉题之下的标题间距（应用于带眉题的组合头部） */
.crewvan .cv-head .cv-kicker + .cv-title {
  margin-top: 0.1rem;
}

.crewvan .cv-sub {
  margin: 0.12rem auto 0;
  max-width: 10rem;
  font-family: 'OpenSans-Regular';
  font-size: 0.2rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

/* =====================================================================
   S1 · BANNER
===================================================================== */
.cv-banner {
  background: #000;
}

/* 参数条 */
.crewvan .cv-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.68rem;
  z-index: 3;
  background: #7187b5;
}

.crewvan .cv-bar .bar-inner {
  height: 100%;
  max-width: 14.8rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crewvan .cv-bar .bar-cell {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.crewvan .cv-bar .cv-num {
  font-family: 'OpenSans-Bold';
  font-size: 0.4rem;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.crewvan .cv-bar .cv-lbl {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.14rem;
  line-height: 1.5;
  color: #e2e8f0;
  white-space: nowrap;
}

.crewvan .cv-bar .cv-lbl p:first-child {
  margin: 0.08rem 0;
}

.crewvan .cv-bar .cv-lbl p:last-child {
  color: #000;
}

.crewvan .cv-bar .vline {
  flex: none;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
}

/* =====================================================================
   两段式布局（S2 / S3 / S4 共用）
   父级 section 用 flex column 分为上下两段：
   上段 = .cv-head 标题区（随 flex 流自然排布，padding-top 控制顶距）；
   下段 = 内容容器（flex:1 撑满剩余高度），在段内做 flex 垂直居中。
===================================================================== */
.crewvan .cv-cabin,
.crewvan .cv-apps,
.crewvan .cv-specs {
  display: flex;
  flex-direction: column;
}

.crewvan .cv-cabin > .cv-head,
.crewvan .cv-apps > .cv-head,
.crewvan .cv-specs > .cv-head {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  flex: none;
  padding-top: 1.2rem;
  z-index: 5;
}

/* =====================================================================
   S2 · CABIN（整屏深海军蓝 + 折叠列表）
===================================================================== */
.cv-cabin {
  background: #1b2b4d;
}

/* 左侧座舱图 */
.crewvan .cabin-photo {
  position: absolute;
  left: 1.22rem;
  top: 3.02rem;
  width: 9.34rem;
  height: 6.39rem;
  margin: 0;
}

.crewvan .cabin-view {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crewvan .cabin-view .cabin-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
}

.crewvan .cabin-view .cabin-img {
  width: 8.96rem;
  display: block;
}

.crewvan .cabin-view .cabin-veil {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* 右侧折叠列表 */
.crewvan .cabin-list {
  width: 6.65rem;
  z-index: 2;
}

.crewvan .cabin-list .c-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

.crewvan .cabin-list .c-group.on {
  border-bottom: none;
}

.crewvan .cabin-list .anc {
  position: relative;
  width: 100%;
  min-height: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.crewvan .cabin-list .anc .t {
  font-family: 'OpenSans-Regular';
  font-size: 0.26rem;
  line-height: 1.2;
  color: #fff;
  text-align: left;
}

.crewvan .cabin-list .anc .mark {
  flex: none;
  width: 0.4rem;
  font-family: 'OpenSans-Regular';
  font-size: 0.32rem;
  line-height: 1;
  color: #fff;
  text-align: right;
}

/* 展开/收起动画参考 l2h3 params-panel：收起直接隐藏，展开整体淡入下移 */
.crewvan .cabin-list .c-content {
  display: none;
}

.crewvan .cabin-list .c-group.on .c-content {
  display: block;
  animation: cContentOpen 0.35s ease both;
}

@keyframes cContentOpen {
  from { opacity: 0; transform: translateY(-0.04rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* 圆点由伪元素绘制，p 左侧预留悬挂缩进，换行文字与首行文字左对齐 */
.crewvan .cabin-list .c-content p {
  position: relative;
  margin: 0;
  padding: 0.04rem 0.5rem 0.04rem 0.1rem;
  font-size: 0.16rem;
  line-height: 1.45;
  color: #e2e8f0;
  text-align: left;
}

.crewvan .cabin-list .c-content p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.14rem;
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background: currentColor;
}

/* =====================================================================
   S3 · APPLICATIONS（毛玻璃卡片）
===================================================================== */
.cv-apps {
  background: #000;
}

.crewvan .app-row {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.49rem;
}

.crewvan .cv-card {
  position: relative;
  width: 3rem;
  height: 4rem;
  padding: 0.2rem 0.24rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  transition: transform 0.35s ease, background 0.35s ease;
}
.crewvan .app-row.two-col .cv-card {
  width: 5rem;
  height: 3rem;
}

.crewvan .cv-card:hover {
  transform: translateY(-0.06rem);
  background: rgba(255, 255, 255, 0.11);
}

/* 卡片图标：用遮罩绘制，元素自身 background-color 决定颜色（改色只改此处）；SVG 仅作形状模板 */
.crewvan .cv-card .ic {
  width: 0.63rem;
  height: 0.63rem;
  display: block;
  align-self: center; /* 图标水平居中（卡片为 column 布局时生效） */
  background-color: #ffffff;
  -webkit-mask: var(--icon) no-repeat center / contain;
          mask: var(--icon) no-repeat center / contain;
}

.crewvan .cv-card .cat {
  margin: 0.22rem 0 0;
  min-height: calc(1.1em * 2); /* 最小高度两行，避免单行标题导致后续内容错位 */
  font-family: 'OpenSans-Bold';
  font-size: 0.22rem;
  line-height: 1.1;
  color: #58c1ec;
  letter-spacing: 0.01em;
}

.crewvan .cv-card .ct {
  margin: 0.12rem 0 0;
  font-size: 0.2rem;
  line-height: 1.2;
  color: #fff;
}

.crewvan .cv-card .cd {
  margin: 0.3rem 0 0;
  font-size: 0.16rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

/* 场景背景之上的整屏渐变层（置于卡片之上、文字之下，忠实还原设计稿 9.svg） */
.crewvan .cv-veil-top {
  z-index: 4;
}

/* =====================================================================
   S4 · TECHNICAL SPECIFICATIONS（玻璃面板参数表）
===================================================================== */
.cv-specs {
  background: #000;
}

/* 外层下段容器（同 .cabin-view：flex 段内垂直居中） */
.crewvan .spec-view {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .4rem;
  margin-bottom: .4rem;
}

.crewvan .spec-panel {
  width: 9.96rem;
  padding: 0.4rem 0.78rem;
  background: linear-gradient(180deg, rgba(54, 88, 115, 0.42), rgba(54, 88, 115, 0.18));
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 0.1rem;
  box-shadow: 0 0.19rem 0.4rem rgba(0, 0, 0, 0.25);
}

.crewvan .spec-table {
  width: 100%;
  overflow: hidden;
}

.crewvan .spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.08rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.crewvan .spec-row:last-child {
  border-bottom: none;
}

.crewvan .spec-row .p-k {
  font-family: 'OpenSans-SemiBold';
  font-size: 0.16rem;
  line-height: 1.2;
  color: #fff;
  text-align: left;
}

.crewvan .spec-row .p-v {
  font-family: 'OpenSans-SemiBold';
  font-size: 0.16rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

/* =====================================================================
   窄屏最小保护（同 l2h3 思路：保持不破版即可）
===================================================================== */
@media only screen and (max-width: 768px) {
  .crewvan .cv-sec {
    height: auto;
    min-height: 100vh;
    /* padding: 0.5rem 0 0.8rem; */
  }

  /* 三屏两段式回退：section 恢复普通文档流，沿用窄屏流式版式 */
  .crewvan .cv-cabin,
  .crewvan .cv-apps,
  .crewvan .cv-specs {
    display: block;
  }

  .crewvan .cv-cabin > .cv-head,
  .crewvan .cv-apps > .cv-head,
  .crewvan .cv-specs > .cv-head {
    padding: 1.4rem 0.4rem 0;
  }

  .crewvan .cv-head {
    position: relative;
    top: 0;
    padding: 1.4rem 0.4rem 0;
  }

  .crewvan .cv-hero {
    font-size: 0.72rem;
  }

  .crewvan .cv-title {
    font-size: 0.42rem;
  }

  .crewvan .cv-sub {
    font-size: 0.24rem;
    max-width: 100%;
  }

  .crewvan .cv-bar {
    height: auto;
  }
  .crewvan .cv-banner .cv-bg{
    height: calc(100vh - 4.6rem);
    top: .8rem;
    /* background-position: 52% center; */
    background-image: var(--bg-m);
  }
  .crewvan .cv-bar .bar-inner {
    flex-wrap: wrap;
    padding: 0.2rem;
    height: 3.88rem;
  }

  .crewvan .cv-bar .bar-cell {
    width: 45%;
    flex: none;
    margin: 0.15rem 0;
  }
  .crewvan .cv-bar .cv-num{
    font-size: .42rem;
  }
  .crewvan .cv-bar .cv-lbl{
    font-size: .22rem;
    white-space: normal;
    height: 1.1rem;
  }
  .crewvan .cv-bar .vline {
    display: none;
  }

  .crewvan .cabin-photo,
  .crewvan .cabin-list,
  .crewvan .app-row,
  .crewvan .spec-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0.6rem 0.4rem 0;
  }

  .crewvan .cabin-photo {
    width: auto;
  }

  .crewvan .cabin-view {
    padding: .4rem;
  }
  .crewvan .cabin-view .cabin-panel{
    flex-direction: column;
  }

  .crewvan .cabin-view .cabin-img {
    width: 100%;
    height: 100%;
  }

  .crewvan .cabin-list {
    width: 100%;
    margin: 0;
  }
  .crewvan .cabin-list .anc .t{
    font-size: .3rem;
  }
  .crewvan .cabin-list .c-content p{
    font-size: .22rem;
  }
  .crewvan .app-row {
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: .8rem .3rem .4rem;
  }
  .crewvan .cv-kicker{
    font-size: .24rem;
  }
  .crewvan .cv-head .cv-kicker + .cv-title{
    margin-top: .2rem;
  }
  .crewvan .cv-card {
    width: 100%!important;
    min-width: 2.6rem;
    height: auto!important;
    flex-direction: row;
    padding-bottom: .2rem;
  }
  .crewvan .cv-card .ic{
    flex-shrink: 0;
    margin-right: .2rem;
  }
  .crewvan .cv-card .cat{
    margin: 0;
    min-height: auto;
    font-size: .24rem;
  }
  .crewvan .cv-card .ct{
    font-size: .26rem;
  }
  .crewvan .cv-card .cd{
    margin-top: .2rem;
    font-size: .22rem;
  }

  .crewvan .cv-veil-top {
    height: 100%;
  }

  .crewvan .spec-view {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: block;
    width: auto;
    height: auto;
  }

  .crewvan .spec-panel {
    border-radius: 0.12rem;
    padding: 0.3rem;
    margin-bottom: .4rem;
  }

  .crewvan .spec-row {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 0.12rem 0;
  }

  .crewvan .spec-row .p-k {
    flex: none;
    width: 100%;
    font-size: .24rem;
  }

  .crewvan .spec-row .p-v {
    width: 100%;
    text-align: left;
    font-size: .24rem;
  }
}
