/* ============ 首页（参考版式：hero + 双卡 + 图标网格 + 横幅 + 产品卡） ============ */

/* --- 全出血轮播 Hero（3:2 横版，与官网原图比例一致） --- */

.home-hero {
  height: 5rem;
  padding: 0 0 0.3rem;
}

/* --- 品牌口号横幅（雾林全出血 · 成长体系入口） --- */

.slogan-banner {
  position: relative;
  height: 2.5rem;
  margin-top: 0.24rem;
  overflow: hidden;
}

.sb-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* 居中构图：三行整体居中，雾林作为对称背景 */
.sb-scrim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 19, 0.58) 0%,
    rgba(8, 24, 19, 0.44) 45%,
    rgba(8, 24, 19, 0.66) 100%
  );
}

.sb-body {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  top: 46%;
  transform: translateY(-50%);
  text-align: center;
}

.sb-title {
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03rem;
  color: #fff;
  text-shadow: 0 0.04rem 0.26rem rgba(0, 0, 0, 0.5);
}

.sb-em {
  color: #e2c765;
}

/* 标题与副标之间的金线短分隔，居中构图的重心锚点 */
.sb-rule {
  width: 0.64rem;
  height: 0.02rem;
  margin: 0.16rem auto 0;
  background: linear-gradient(
    90deg,
    rgba(226, 199, 101, 0) 0%,
    rgba(226, 199, 101, 0.9) 50%,
    rgba(226, 199, 101, 0) 100%
  );
}

.sb-sub {
  margin-top: 0.14rem;
  font-size: 0.22rem;
  letter-spacing: 0.03rem;
  color: rgba(255, 255, 255, 0.8);
}

/* 入口提示：固定右下角，金线小胶囊（只做暗示不抢戏） */
.sb-link {
  position: absolute;
  right: 0.24rem;
  bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.06rem;
  padding: 0.08rem 0.2rem;
  border: 0.01rem solid rgba(226, 199, 101, 0.52);
  border-radius: 9.99rem;
  background: rgba(226, 199, 101, 0.1);
  font-size: 0.19rem;
  font-weight: 600;
  letter-spacing: 0.02rem;
  color: rgba(233, 214, 143, 0.92);
  animation: sb-breathe 3s ease-in-out infinite;
}

.sb-link-arrow {
  font-size: 0.22rem;
  font-weight: 700;
  line-height: 1;
  margin-top: -0.02rem;
  opacity: 0.9;
}

@keyframes sb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.sb-tap {
  opacity: 0.9;
}

.hero-swiper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-item {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.slide-scrim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(120% 70% at 6% -8%, rgba(78, 145, 116, 0.26) 0%, rgba(78, 145, 116, 0) 62%),
    linear-gradient(178deg, rgba(8, 24, 19, 0.6) 0%, rgba(10, 29, 22, 0.3) 30%, rgba(8, 24, 19, 0.5) 58%, rgba(8, 24, 19, 0.93) 100%);
}

.slide-cap {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.88rem;
}

.slide-kick {
  font-size: 0.18rem;
  letter-spacing: 0.04rem;
  color: rgba(226, 199, 101, 0.95);
  font-weight: 600;
  text-transform: uppercase;
}

.slide-title {
  margin-top: 0.12rem;
  font-size: 0.46rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 0.04rem 0.26rem rgba(0, 0, 0, 0.42);
}

.slide-sub {
  margin-top: 0.1rem;
  font-size: 0.23rem;
  letter-spacing: 0.03rem;
  color: rgba(233, 207, 124, 0.92);
}

.slide-text {
  margin-top: 0.12rem;
  font-size: 0.22rem;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.84);
  text-shadow: 0 0.02rem 0.12rem rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 右上角品牌手绘字标（AI 原始素材 slogan-white.png） */
.hero-slogan {
  position: absolute;
  top: 0.34rem;
  right: 0.3rem;
  width: 2.52rem;
  height: 0.69rem;
  z-index: 3;
  filter: drop-shadow(0 0.03rem 0.14rem rgba(0, 0, 0, 0.45));
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.12rem;
  z-index: 3;
}

.hdot {
  width: 0.12rem;
  height: 0.12rem;
  border-radius: 9.99rem;
  background: rgba(255, 255, 255, 0.34);
  transition: width 0.28s ease, background 0.28s ease;
}

.hdot.on {
  width: 0.4rem;
  background: var(--wb-gold-2);
}

/* --- 双半宽卡：周末课程 / 活动定制 --- */

.twin-row {
  display: flex;
  gap: 0.2rem;
  margin: 0.22rem 0.24rem 0;
}

.twin-card {
  position: relative;
  flex: 1;
  height: 3rem;
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: var(--wb-green);
  box-shadow: var(--sh-2);
}

.twin-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.twin-scrim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 24, 19, 0.06) 0%, rgba(8, 24, 19, 0.18) 42%, rgba(8, 24, 19, 0.82) 100%);
}

.twin-body {
  position: absolute;
  left: 0.24rem;
  right: 0.24rem;
  bottom: 0.22rem;
}

.twin-tag {
  display: inline-block;
  font-size: 0.18rem;
  font-weight: 600;
  letter-spacing: 0.01rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border: 0.01rem solid rgba(255, 255, 255, 0.28);
  border-radius: 9.99rem;
  padding: 0.04rem 0.14rem;
}

.twin-title {
  margin-top: 0.12rem;
  font-size: 0.38rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0.03rem 0.16rem rgba(0, 0, 0, 0.4);
}

/* --- 五列圆形图标网格 --- */

/* --- 搜索入口 --- */

.home-search {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  margin: 0.2rem 0.24rem 0;
  padding: 0.18rem 0.26rem;
  background: #fff;
  border: 0.01rem solid var(--wb-hair);
  border-radius: 0.4rem;
}

.hs-ph {
  font-size: 0.26rem;
  color: #a9aca4;
}

/* 报名入口条：首屏可见，直达真实排期（沿用搜索框的胶囊语言，换成品牌深绿强调） */
.act-bar {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  margin: 0.18rem 0.24rem 0;
  padding: 0.18rem 0.26rem;
  background: var(--wb-green);
  border-radius: 0.4rem;
  box-shadow: var(--sh-2);
}

.ab-ico {
  width: 0.36rem;
  height: 0.36rem;
}

.ab-txt {
  flex: 1;
  font-size: 0.27rem;
  color: #f2f6f3;
}

.ab-n {
  font-size: 0.34rem;
  font-weight: 700;
  color: var(--wb-gold-2);
  padding: 0 0.04rem;
}

.ab-go {
  flex: none;
  font-size: 0.25rem;
  color: var(--wb-gold-2);
}

/* 六个入口：3 列 × 2 行（flex-wrap + 33.33% 宽，第 4 个自动换行） */

.grid-nav {
  display: flex;
  flex-wrap: wrap;
  padding: 0.26rem 0.08rem 0;
}

.gn-item {
  width: 33.3333%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.14rem;
  padding-bottom: 0.32rem;
}

.gn-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.1rem 0.22rem rgba(20, 53, 43, 0.16);
}

.gn-green {
  background: linear-gradient(150deg, #2e6350 0%, #14352b 78%);
}

.gn-gold {
  background: linear-gradient(150deg, #ecd489 0%, #c9a227 80%);
  box-shadow: 0 0.1rem 0.22rem rgba(201, 162, 39, 0.28);
}

.gn-label {
  font-size: 0.22rem;
  color: var(--wb-ink);
  font-weight: 500;
}

/* --- 邀请横幅 --- */

.invite-banner {
  position: relative;
  margin: 0.36rem 0.24rem 0;
  padding: 0.34rem 0.32rem;
  border-radius: var(--wb-radius);
  overflow: hidden;
  background:
    radial-gradient(140% 160% at 88% -20%, rgba(226, 199, 101, 0.4) 0%, rgba(226, 199, 101, 0) 52%),
    linear-gradient(135deg, #1b4638 0%, var(--wb-green) 58%, #10281f 100%);
  box-shadow: var(--sh-2);
}

.ib-pill {
  position: absolute;
  right: 0.24rem;
  top: 0.24rem;
  font-size: 0.2rem;
  font-weight: 700;
  color: #10261e;
  background: var(--wb-gold-2);
  border-radius: 9.99rem;
  padding: 0.08rem 0.2rem;
}

.ib-kicker {
  font-size: 0.17rem;
  letter-spacing: 0.04rem;
  color: rgba(226, 199, 101, 0.85);
  font-weight: 600;
}

.ib-title {
  margin-top: 0.1rem;
  font-size: 0.38rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.ib-sub {
  margin-top: 0.08rem;
  font-size: 0.21rem;
  color: rgba(255, 255, 255, 0.72);
}

/* --- 周末必选产品卡 --- */

.picks-section {
  padding-top: 0.44rem;
}

.picks-row {
  display: flex;
  gap: 0.2rem;
  margin-top: 0.22rem;
}

.pick-card {
  position: relative;
  flex: 1;
  height: 3.6rem;
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: var(--wb-green);
  box-shadow: var(--sh-2);
}

.pick-badge {
  position: absolute;
  left: 0.18rem;
  top: 0.18rem;
  z-index: 3;
  font-size: 0.19rem;
  font-weight: 700;
  color: #10261e;
  background: var(--wb-gold-2);
  border-radius: 9.99rem;
  padding: 0.06rem 0.16rem;
}

.pick-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.pick-scrim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 24, 19, 0.02) 0%, rgba(8, 24, 19, 0.14) 46%, rgba(8, 24, 19, 0.82) 100%);
}

.pick-body {
  position: absolute;
  left: 0.24rem;
  right: 0.24rem;
  bottom: 0.22rem;
}

.pick-name {
  font-size: 0.34rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 0.03rem 0.16rem rgba(0, 0, 0, 0.4);
}

.pick-meta {
  margin-top: 0.08rem;
  font-size: 0.2rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ============ 山野实录 · 视频轮播（首页收尾，深色通栏） ============ */

.video-band {
  margin-top: 0.56rem;
  padding: 0.52rem 0 0.44rem;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(226, 199, 101, 0.15) 0%, rgba(226, 199, 101, 0) 58%),
    linear-gradient(180deg, #123024 0%, var(--wb-green-deep) 100%);
  overflow: hidden;
}

.vb-head {
  padding: 0 0.4rem;
}

.vb-kicker {
  font-size: 0.17rem;
  letter-spacing: 0.04rem;
  font-weight: 600;
  color: rgba(226, 199, 101, 0.82);
}

.vb-title {
  margin-top: 0.12rem;
  font-size: 0.46rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.vb-sub {
  margin-top: 0.1rem;
  font-size: 0.22rem;
  color: rgba(255, 255, 255, 0.6);
}

.vb-swiper {
  height: 3.8rem;
  margin-top: 0.3rem;
}

.vcard {
  position: relative;
  height: 100%;
  margin: 0 0.1rem;
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: #0a1d16;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.34);
}

.vcard-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.vcard-img,
.vcard-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.vcard-scrim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 18, 14, 0) 36%, rgba(6, 18, 14, 0.8) 100%);
}

.vcard-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.08rem 0.22rem rgba(0, 0, 0, 0.3);
}

.vcard-play .ico {
  margin-left: 0.06rem;
}

.vcard-meta {
  position: absolute;
  left: 0.28rem;
  right: 0.28rem;
  bottom: 0.24rem;
}

.vcard-name {
  font-size: 0.32rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.28;
  text-shadow: 0 0.03rem 0.14rem rgba(0, 0, 0, 0.45);
}

.vcard-line {
  margin-top: 0.08rem;
  display: flex;
  align-items: center;
  font-size: 0.2rem;
  color: rgba(255, 255, 255, 0.74);
}

.vcard-kind {
  color: var(--wb-gold-2);
  font-weight: 600;
}

.vcard-dot {
  margin: 0 0.08rem;
  color: rgba(255, 255, 255, 0.4);
}

.vcard-dur {
  font-variant-numeric: tabular-nums;
}

.vcard-close {
  position: absolute;
  right: 0.18rem;
  top: 0.18rem;
  z-index: 4;
  font-size: 0.2rem;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 29, 22, 0.6);
  border-radius: 9.99rem;
  padding: 0.08rem 0.2rem;
}

.vb-note {
  margin-top: 0.24rem;
  text-align: center;
  font-size: 0.19rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01rem;
}

.footer-brand {
  margin-top: 0.6rem;
}

/* ============ 最新一期 · 相册回看（本场家长可见时才出现） ============ */

.latest-section {
  padding-top: 0.44rem;
}

.latest-kicker {
  font-size: 0.19rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wb-gold-ink);
  text-transform: uppercase;
}

.latest-section .section-title {
  margin-top: 0.08rem;
}

.latest-card {
  position: relative;
  margin-top: 0.22rem;
  height: 4rem;
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: var(--wb-green);
  box-shadow: var(--sh-2);
}

.latest-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.latest-scrim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 24, 19, 0.02) 0%, rgba(8, 24, 19, 0.12) 44%, rgba(8, 24, 19, 0.84) 100%);
}

.latest-body {
  position: absolute;
  left: 0.28rem;
  right: 0.28rem;
  bottom: 0.26rem;
}

.latest-pill {
  display: inline-block;
  padding: 0.06rem 0.16rem;
  border-radius: 9.99rem;
  background: rgba(255, 255, 255, 0.16);
  border: 0.01rem solid rgba(255, 255, 255, 0.28);
  font-size: 0.19rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.latest-name {
  margin-top: 0.14rem;
  font-size: 0.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.28;
  text-shadow: 0 0.03rem 0.16rem rgba(0, 0, 0, 0.4);
}

.latest-foot {
  margin-top: 0.12rem;
  display: flex;
  align-items: baseline;
  gap: 0.08rem;
}

.lf-n {
  font-size: 0.34rem;
  font-weight: 700;
  color: var(--wb-gold-2);
  font-variant-numeric: tabular-nums;
}

.lf-t {
  font-size: 0.21rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ============ 悬浮人工咨询 ============ */

/* 深绿渐变胶囊 + 金色内描边 + 金点「在线」呼吸（2026-10-10 定稿方案 A） */
.consult-fab {
  position: fixed;
  right: 0.28rem;
  bottom: 0.4rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.12rem;
  height: 0.84rem;
  padding: 0 0.34rem;
  border-radius: 9.99rem;
  background: linear-gradient(135deg, #2a5c48 0%, #0a1d16 100%);
  box-shadow:
    0 0.16rem 0.4rem rgba(10, 29, 22, 0.42),
    inset 0 0 0 0.02rem rgba(226, 199, 101, 0.6);
  animation: cfBreath 2.8s ease-in-out infinite;
}

@keyframes cfBreath {
  0%,
  100% {
    box-shadow:
      0 0.16rem 0.4rem rgba(10, 29, 22, 0.42),
      inset 0 0 0 0.02rem rgba(226, 199, 101, 0.6),
      0 0 0 0 rgba(226, 199, 101, 0);
  }
  50% {
    box-shadow:
      0 0.16rem 0.4rem rgba(10, 29, 22, 0.42),
      inset 0 0 0 0.02rem rgba(226, 199, 101, 0.6),
      0 0 0 0.16rem rgba(226, 199, 101, 0.1);
  }
}

.cf-ico {
  width: 0.4rem;
  height: 0.4rem;
}

.cf-txt {
  font-size: 0.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
}

/* 「在线」金点 */
.cf-dot {
  width: 0.12rem;
  height: 0.12rem;
  border-radius: 50%;
  background: var(--wb-gold-2);
  box-shadow: 0 0 0.1rem 0.03rem rgba(226, 199, 101, 0.55);
  margin-left: 0.02rem;
}

.consult-mask {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(10, 26, 21, 0.44);
  animation: csFade 0.22s ease both;
}

.consult-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  padding: 0.36rem 0.32rem calc(0.28rem + env(safe-area-inset-bottom));
  background: var(--wb-card);
  border-radius: 0.4rem 0.4rem 0 0;
  box-shadow: 0 -0.18rem 0.5rem rgba(10, 26, 21, 0.18);
  animation: csUp 0.28s cubic-bezier(0.22, 0.8, 0.36, 1) both;
}

@keyframes csFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes csUp {
  from { transform: translateY(0.48rem); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}

.cs-head {
  padding-bottom: 0.1rem;
}

.cs-title-lg {
  font-size: 0.36rem;
  font-weight: 700;
  color: var(--wb-green);
}

.cs-sub {
  margin-top: 0.08rem;
  font-size: 0.22rem;
  color: var(--wb-muted);
}

/* button 默认样式清掉，让它和普通行长得一样 */
.consult-sheet .cs-row {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  width: 100%;
  margin: 0;
  padding: 0.28rem 0.06rem;
  background: transparent;
  border-radius: 0;
  border-bottom: 0.02rem solid var(--wb-hair-soft);
  line-height: inherit;
  font-size: inherit;
  text-align: left;
}

.consult-sheet .cs-row::after {
  border: none;
}

.consult-sheet .cs-row:last-child {
  border-bottom: none;
}

.cs-ico {
  width: 0.44rem;
  height: 0.44rem;
}

.cs-row-title {
  font-size: 0.29rem;
  font-weight: 600;
  color: var(--wb-ink);
}

.cs-row-sub {
  margin-top: 0.06rem;
  font-size: 0.21rem;
  color: var(--wb-muted);
}

/* 品牌故事入口：VI 熊头标（横版带风线，实显约 90x0.62rem） */
.gn-bear {
  width: 0.9rem;
  height: 0.62rem;
}

/* 咨询面板二维码块：点开大图长按保存 */
.cs-qr {
  margin: 0.08rem 0.28rem 0;
  padding: 0.26rem 0.24rem 0.22rem;
  border: 0.02rem solid var(--wb-hair-soft);
  border-radius: 0.18rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--wb-card);
}

.cs-qr-img {
  width: 2.2rem;
  height: 2.2rem;
}

.cs-qr-hint {
  margin-top: 0.14rem;
  font-size: 0.22rem;
  color: var(--wb-ink-2);
}

.cs-qr-copy {
  margin-top: 0.08rem;
  font-size: 0.21rem;
  color: var(--wb-muted);
  text-decoration: underline;
}
