/**
 * 精选案例首页样式
 */

body.case-index-page {
  padding-top: 0;
  background: var(--slate-50);
}



@media (max-width: 768px) {
  body.case-index-page {
    overflow-x: clip;
  }
}

body.case-index-page .nav:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── BANNER LOGO 滚动墙 ── */
.banner-logo-scroll {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--nav-height) + clamp(280px, calc(100vw * 420 / 1440), 420px));
  background: linear-gradient(180deg, #bdd3ee 0%, #edf3f9 100%);
}

.banner-logo-scroll-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.banner-logo-scroll-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1200px;
  height: auto;
  display: block;
  animation: bannerLogoScroll 50s linear infinite;
}

@keyframes bannerLogoScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-1239px);
  }
}

.banner-logo-scroll-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--container-px);
  text-align: center;
}

.banner-logo-scroll-title {
  margin: 0 0 clamp(10px, calc(100vw * 16 / 1440), 16px);
  font-size: clamp(28px, calc(100vw * 58 / 1440), 58px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.banner-logo-scroll-desc {
  margin: 0;
  font-size: clamp(14px, calc(100vw * 18 / 1440), 18px);
  color: #414751;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .banner-logo-scroll {
    min-height: calc(var(--nav-height) + 220px);
  }

  .banner-logo-scroll-title {
    font-size: clamp(22px, 5.8vw, 28px);
  }

  .banner-logo-scroll-desc {
    font-size: var(--fs-14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-logo-scroll-img {
    animation: none;
  }
}

/* ── INDEX-HERO — 标题区 ── */
.index-hero {
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
  min-height: clamp(200px, calc(100vw * 300 / 1440), 300px);
}

.index-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.index-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.index-top-icon {
  position: absolute;
  width: 460px;
  height: 280px;
  top: 50%;
  transform: translateY(-50%);
  right: calc((100vw - 1440px) / 2 + 120px);
  background: url("../../images/yjwp-icon.png") no-repeat center / contain;
}

@media (max-width: 1440px) {
  .index-top-icon {
    width: calc(460 / 1440 * 100vw);
    height: calc(280 / 1440 * 100vw);
    right: calc(120 / 1440 * 100vw);
  }
}

.index-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(60px, calc(100vw * 100 / 1440), 100px) 0
    clamp(60px, calc(100vw * 90 / 1440), 90px);
}

.index-hero-inner .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px) 0 calc(var(--container-px) + 20px);
}

.index-hero-title {
  font-size: var(--fs-block-head);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(10px, calc(100vw * 14 / 1440), 14px);
}

.index-hero-desc {
  font-size: var(--fs-16);
  color: rgba(0, 87, 156, 0.62);
  line-height: 1.65;
  margin: 0;
}

/* ── 滚动入场 ── */
.case-index-page .index-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.case-index-page .index-fade.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .case-index-page .index-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── INDEX-MAIN ── */
.case-index-page .index-page {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-bottom: clamp(26px, calc(100vw * 70 / 1440), 70px);
  color: var(--on-surface, #1a1a1a);
  line-height: 1.5;
  isolation: isolate;
  background: #f8fafc;
}

.index-page .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}


/* ── JXAL-DETAIL — 案例详情页 ── */
.jxal-detail {
  padding: clamp(32px, calc(100vw * 56 / 1440), 56px) 0 clamp(40px, calc(100vw * 64 / 1440), 64px);
}

.jxal-detail-layout {
  display: grid;
  grid-template-columns: clamp(168px, calc(100vw * 200 / 1440), 200px) minmax(0, 1fr);
  gap: clamp(24px, calc(100vw * 48 / 1440), 48px);
  align-items: start;
}

.jxal-detail-nav {
  position: sticky;
  top: calc(var(--nav-height) + clamp(12px, calc(100vw * 16 / 1440), 16px));
  z-index: 2;
}

.jxal-detail-nav-list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.jxal-detail-nav-list::after {
  content: '';
  position: absolute;
  left: 1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(193, 199, 210, 0.5);
  z-index: 0;
  pointer-events: none;
}

.jxal-detail-nav-link {
  position: relative;
  z-index: 1;
  display: block;
  padding: clamp(10px, calc(100vw * 12 / 1440), 12px) clamp(12px, calc(100vw * 16 / 1440), 16px);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--on-surface-variant);
  line-height: 1.5;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.jxal-detail-nav-link:hover {
  color: var(--primary);
}

.jxal-detail-nav-link.is-active {
  background: var(--blue-bg);
  color: var(--primary);
  font-weight: 600;
}

.jxal-detail-nav-link.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  z-index: 1;
}

.jxal-detail-aside-related {
  margin-top: clamp(24px, calc(100vw * 32 / 1440), 32px);
  padding-top: clamp(16px, calc(100vw * 20 / 1440), 20px);
  border-top: 1px solid rgba(193, 199, 210, 0.5);
}

.jxal-detail-aside-related-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 clamp(12px, calc(100vw * 16 / 1440), 16px);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.4;
}

.jxal-detail-aside-related-title img {
  flex-shrink: 0;
  display: block;
}

.jxal-detail-aside-related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 clamp(12px, calc(100vw * 16 / 1440), 16px);
}

.jxal-detail-aside-related-list a {
  font-size: var(--fs-14);
  color: var(--primary);
  line-height: 1.5;
}

.jxal-detail-aside-related-list a:hover {
  color: var(--primary-container);
}

.jxal-detail-main {
  min-width: 0;
}

.jxal-detail-title {
  margin: 0 0 clamp(20px, calc(100vw * 28 / 1440), 28px);
  font-size: clamp(24px, calc(100vw * 32 / 1440), 32px);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
}

.jxal-detail-highlight {
  margin-bottom: clamp(20px, calc(100vw * 28 / 1440), 28px);
  padding: clamp(20px, calc(100vw * 28 / 1440), 28px) clamp(24px, calc(100vw * 32 / 1440), 32px);
  border-radius: var(--r8);
  background: linear-gradient(90deg, #81acdf1a 0%, #f8fafc1a 100%);
  border-width: 0px 0px 0px 1px;
  border-style: solid;
  border-color: #00579C;
}

.jxal-detail-award {
  margin: 0 0 10px;
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
}

.jxal-detail-summary {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--on-surface-variant);
  line-height: 1.75;
}

.jxal-detail-video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(32px, calc(100vw * 48 / 1440), 48px);
  border-radius: var(--r8);
  max-width: 800px;
  max-height: 450px;
background: rgba(129, 172, 223, 0.1);
  overflow: hidden;
}

.jxal-detail-video-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.jxal-detail-video-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.jxal-detail-video-btn img {
  display: block;
  width: clamp(48px, calc(100vw * 64 / 1440), 64px);
  height: auto;
}

.jxal-detail-section {
  scroll-margin-top: calc(var(--nav-height, 64px) + 24px);
}

.jxal-detail-section + .jxal-detail-section {
  margin-top: clamp(36px, calc(100vw * 48 / 1440), 48px);
}

.jxal-detail-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(14px, calc(100vw * 18 / 1440), 18px);
  font-size: clamp(18px, calc(100vw * 20 / 1440), 20px);
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.35;
}

.jxal-detail-section-title img {
  flex-shrink: 0;
  display: block;
}

.jxal-detail-section img{
   display: inline-block;
}

.jxal-detail-section-body {
  font-size: var(--fs-14);
  color: #37475a;
  line-height: 1.85;
  background: #fff;
  padding: 20px;
  border-radius: var(--r8);
}

.jxal-detail-section-body p {
  margin: 0 0 12px;
}

.jxal-detail-section-body ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
  list-style: disc;
}

.jxal-detail-section-body li {
  margin-bottom: 8px;
}

.jxal-detail-benefits-list {
  list-style: none;
  padding-left: 0;
}

.jxal-detail-benefits-list li {
  margin-bottom: 16px;
}

.jxal-detail-benefits-list li strong {
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-16);
  color: var(--on-surface);
}

.jxal-detail-related {
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(24px, calc(100vw * 48 / 1440), 48px);
}

.jxal-detail-related a {
  font-size: var(--fs-16);
  color: var(--primary);
  line-height: 1.5;
}

.jxal-detail-related a:hover {
  color: var(--primary-container);
}

@media (max-width: 768px) {
  .jxal-detail {
    padding-top: 0;
  }

  .jxal-detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .jxal-detail-nav {
    position: sticky;
    top: var(--nav-height);
    margin: 0 calc(-1 * var(--container-px));
    padding: 0 var(--container-px);
    background: #fff;
    border-bottom: 1px solid rgba(193, 199, 210, 0.5);
    z-index: 5;
    overflow: hidden;
  }

  .jxal-detail-nav-list {
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
  }

  .jxal-detail-nav-list::-webkit-scrollbar {
    display: none;
  }

  .jxal-detail-nav-list::after {
    display: none;
  }

  .jxal-detail-nav-link {
    flex: 0 0 auto;
    padding: 10px 14px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
  }

  .jxal-detail-nav-link.is-active {
    background: transparent;
    border-bottom-color: var(--primary);
  }

  .jxal-detail-nav-link.is-active::before {
    display: none;
  }

  .jxal-detail-aside-related {
    display: none;
  }

  .jxal-detail-section {
    scroll-margin-top: calc(var(--nav-height, 64px) + var(--jxal-mobile-nav-height, 48px) + 8px);
  }

  .jxal-detail-title {
    font-size: var(--fs-section-title);
  }

  .jxal-detail-highlight {
    padding: 16px 18px;
  }

  .jxal-detail-award {
    font-size: var(--fs-14);
  }

  .jxal-detail-section-title {
    font-size: var(--fs-16);
  }
}

/* ── CSR-SHOWROOM — 精选案例样板间 ── */
.csr-showroom {
  padding: clamp(32px, calc(100vw * 88 / 1440), 88px) 0 clamp(40px, calc(100vw * 56 / 1440), 56px);
}

.csr-showroom-layout {
  display: grid;
  grid-template-columns: clamp(168px, calc(100vw * 200 / 1440), 200px) minmax(0, 1fr);
  gap: clamp(24px, calc(100vw * 40 / 1440), 40px);
  align-items: start;
}

.csr-showroom-nav {
  position: sticky;
  top: calc(var(--nav-height) + clamp(12px, calc(100vw * 16 / 1440), 16px));
  z-index: 2;
}

.csr-showroom-nav-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.csr-showroom-nav-list::after {
  content: '';
  position: absolute;
  left: 1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(193, 199, 210, 0.5);
  z-index: 0;
  pointer-events: none;
}

.csr-showroom-nav-link {
  position: relative;
  z-index: 1;
  display: block;
  padding: clamp(10px, calc(100vw * 12 / 1440), 12px) clamp(12px, calc(100vw * 16 / 1440), 16px);
  border-left: none;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--on-surface-variant);
  line-height: 1.5;
  transition: color 0.2s ease, background 0.2s ease;
}

.csr-showroom-nav-link:hover {
  color: var(--primary);
}

.csr-showroom-nav-link.is-active {
  background: var(--blue-bg);
  color: var(--primary);
  font-weight: 600;
}

.csr-showroom-nav-link.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  z-index: 1;
}

.csr-showroom-nav-group {
  display: flex;
  flex-direction: column;
}

.csr-showroom-nav-sublist {
  display: flex;
  flex-direction: column;
}

.csr-showroom-nav-sublink {
  position: relative;
  z-index: 1;
  display: block;
  padding: clamp(8px, calc(100vw * 10 / 1440), 10px) clamp(12px, calc(100vw * 16 / 1440), 16px);
  padding-left: clamp(20px, calc(100vw * 28 / 1440), 28px);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--on-surface-variant);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.csr-showroom-nav-sublink:hover {
  color: var(--primary);
}

.csr-showroom-nav-sublink.is-active {
  color: var(--primary);
  font-weight: 600;
}

.csr-showroom-nav-sublink.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  z-index: 1;
}

.csr-showroom-nav-link--split {
  margin-top: clamp(8px, calc(100vw * 12 / 1440), 12px);
  color: var(--on-surface);
  font-weight: 600;
}

.csr-showroom-nav-link--split:hover {
  color: var(--primary);
}

.csr-showroom-head {
  margin-bottom: clamp(24px, calc(100vw * 32 / 1440), 52px);
}

.csr-showroom-title {
  margin: 0 0 clamp(10px, calc(100vw * 14 / 1440), 14px);
  font-size: var(--fs-28);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.25;
}

.csr-showroom-desc {
  margin: 0;
  font-size: var(--fs-14);
  color: #777C85;
  line-height: 1.75;
}

/* ── CRR — 精选案例推荐卡片 ── */
.crr-panel {
  display: none;
}

.crr-panel.is-active {
  display: block;
}

.crr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
}

.crr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  padding: clamp(20px, calc(100vw * 24 / 1440), 24px) clamp(16px, calc(100vw * 40 / 1440), 40px) clamp(18px, calc(100vw * 22 / 1440), 22px);
  background: linear-gradient(90deg, #ffffff99 0%, #ffffff33 100%);
  border-radius: var(--r12);
 
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.crr-card:hover {
  border-color: rgba(0, 87, 156, 0.18);
  box-shadow: 0 8px 28px rgba(0, 87, 156, 0.1);
  transform: translateY(-2px);
}

.crr-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(72px, calc(100vw * 88 / 1440), 88px);
  margin-bottom: clamp(14px, calc(100vw * 16 / 1440), 16px);
  padding: clamp(8px, calc(100vw * 10 / 1440), 10px);
}

.crr-logo img {
  display: block;
  width: 100%;
  height: clamp(40px, calc(100vw * 80 / 1440), 80px);
  object-fit: contain;
  object-position: center;
}

.crr-card--plain .crr-name {
  margin-top: 0;
}

.crr-name {
  margin: 0 0 clamp(10px, calc(100vw * 12 / 1440), 12px);
  font-size: clamp(16px, calc(100vw * 18 / 1440), 18px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.crr-desc {
  flex: 1;
  margin: 0 0 clamp(14px, calc(100vw * 16 / 1440), 16px);
  font-size: var(--fs-14);
  color: var(--on-surface-variant);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.7em * 5);
}

.crr-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-end;
  margin-top: auto;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.crr-card:hover .crr-more {
  opacity: 1;
  transform: none;
}

.crr-more svg {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .crr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .csr-showroom-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .csr-showroom{
    padding-top: 0;
  }

  .banner-logo-scroll-content{
    margin-top: 20px;
  }

  .csr-showroom-nav {
    top: var(--nav-height);
    margin: 0 calc(-1 * var(--container-px));
    padding: 0 var(--container-px);
    background: #fff;
    border-bottom: 1px solid rgba(193, 199, 210, 0.5);
    z-index: 5;
  }



  .csr-showroom-nav-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .csr-showroom-nav-group {
    display: contents;
  }

  .csr-showroom-nav-list > .csr-showroom-nav-link:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .csr-showroom-nav-list > .csr-showroom-nav-link.is-active {
    grid-column: 2;
    grid-row: 1;
  }

  .csr-showroom-nav-link--split {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0;
  }

  .csr-showroom-nav-sublist {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--container-px));
    padding: 4px var(--container-px) 8px;
    border-top: 1px solid rgba(193, 199, 210, 0.35);
    scrollbar-width: none;
  }

  .csr-showroom-nav-sublist::-webkit-scrollbar {
    display: none;
  }

  .csr-showroom-nav-sublink {
    flex: 0 0 auto;
    padding: 8px 14px;
    padding-left: 14px;
    white-space: nowrap;
  }

  .csr-showroom-nav-sublink.is-active::before {
    display: none;
  }

  .csr-showroom-nav-sublink.is-active {
    box-shadow: inset 0 -2px 0 var(--primary);
  }

  .csr-showroom-nav-list::after {
    display: none;
  }

  .csr-showroom-nav-list::-webkit-scrollbar {
    display: none;
  }

  .csr-showroom-nav-link {
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }

  .csr-showroom-nav-link.is-active {
    border-bottom-color: var(--primary);
    background: transparent;
  }

  .csr-showroom-nav-link.is-active::before {
    display: none;
  }

  .csr-showroom-title {
    font-size: var(--fs-section-title);
  }

  .csr-showroom-desc {
    font-size: var(--fs-14);
  }

  .crr-grid {
    grid-template-columns: 1fr;
  }

  .crr-desc {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    min-height: 0;
  }

  .crr-more {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .index-hero {
    min-height: 140px;
  }

  .index-hero-inner {
    padding-top: 56px;
    padding-bottom: 74px;
  }

  .index-page {
    margin-top: -20px;
  }

  .index-hero-inner .container {
    padding-left: var(--container-px);
  }

  .index-top-icon {
    width: 44vw;
    height: 28vw;
    right: 2vw;
    min-width: 160px;
    min-height: 96px;
  }

  .index-hero-title {
    font-size: clamp(22px, 5.8vw, 26px);
  }

  .index-hero-desc {
    font-size: var(--fs-14);
  }
}

/* ── INDEX-DOWNLOAD — 案例集轮播 ── */
.index-download {
  background: #fff;
  border-radius: var(--r16);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, calc(100vw * 36 / 1440), 36px) clamp(20px, calc(100vw * 32 / 1440), 32px) clamp(16px, calc(100vw * 24 / 1440), 24px);
  margin-bottom: clamp(40px, calc(100vw * 56 / 1440), 56px);
}

.index-download-viewport {
  position: relative;
  min-height: clamp(180px, calc(100vw * 220 / 1440), 220px);
}

.index-download-track {
  position: relative;
}

.index-download-slide {
  display: none;
  grid-template-columns: minmax(140px, 220px) 1fr;
  align-items: center;
  gap: clamp(20px, calc(100vw * 32 / 1440), 32px);
  min-width: 0;
}

.index-download-slide.is-active {
  display: grid;
  animation: index-panel-in 0.35s ease;
}

.index-download-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.index-download-title {
  font-size: clamp(18px, calc(100vw * 24 / 1440), 24px);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.35;
  margin: 0 0 12px;
}

.index-download-desc {
  font-size: var(--fs-14);
  color: #414752;
  line-height: 1.75;
  margin: 0 0 20px;
}

.index-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 24px;
  border-radius: var(--r8);
  background: var(--primary);
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
  transition: background 0.2s ease;
}

.index-download-btn:hover {
  background: var(--primary-container);
  color: #fff;
}

.index-download-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.index-download-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 87, 156, 0.15);
  color: var(--primary);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.index-download-arrow:hover {
  background: rgba(0, 87, 156, 0.06);
  border-color: rgba(0, 87, 156, 0.3);
}

.index-download-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.index-download-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 87, 156, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.index-download-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

/* ── INDEX-CASES — 行业 Tab + 案例网格 ── */
.index-cases {
  margin-bottom: clamp(48px, calc(100vw * 64 / 1440), 64px);
}

.index-cases-title,
.index-showroom-title,
.index-support-title {
  text-align: center;
  font-size: var(--fs-block-head);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.25;
  margin: 0 0 clamp(24px, calc(100vw * 32 / 1440), 32px);
}

.index-cases-tabs-wrap {
  position: relative;
  margin-bottom: clamp(24px, calc(100vw * 32 / 1440), 32px);
}

.index-cases-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.index-cases-tabs::-webkit-scrollbar {
  display: none;
}

.index-cases-tab {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: none;
  background: none;
  font-size: var(--fs-14);
  font-weight: 500;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.index-cases-tab:hover,
.index-cases-tab.is-active {
  color: var(--primary);
}

.index-cases-line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: left 0.25s ease, width 0.25s ease;
  pointer-events: none;
}

.index-cases-tabs-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 87, 156, 0.12);
}

.index-cases-panels {
  position: relative;
  min-height: 280px;
}

.index-cases-panel {
  display: none;
}

.index-cases-panel.is-active {
  display: block;
  animation: index-panel-in 0.35s ease;
}

@keyframes index-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.index-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
}

.index-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, calc(100vw * 28 / 1440), 28px) clamp(16px, calc(100vw * 20 / 1440), 20px) clamp(20px, calc(100vw * 24 / 1440), 24px);
  background: #fff;
  border: 1px solid rgba(0, 87, 156, 0.08);
  border-radius: var(--r12);
  box-shadow: 0 4px 20px rgba(0, 87, 156, 0.06);
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.index-case-card:hover {
  border-color: rgba(0, 87, 156, 0.18);
  box-shadow: 0 8px 28px rgba(0, 87, 156, 0.1);
  transform: translateY(-2px);
}

.index-case-card--award::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: url("../../images/award-icon.svg") no-repeat center / contain;
}

.index-case-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin-bottom: 16px;
}

.index-case-logo img {
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.index-case-name {
  font-size: clamp(16px, calc(100vw * 18 / 1440), 18px);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.4;
  margin: 0 0 10px;
}

.index-case-desc {
  flex: 1;
  font-size: var(--fs-14);
  color: #666;
  line-height: 1.7;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.index-case-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--primary);
  border: 1px solid rgba(0, 87, 156, 0.15);
  transition: background 0.2s ease, color 0.2s ease;
}

.index-case-card:hover .index-case-more {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.index-cases-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: #999;
  font-size: var(--fs-14);
}

/* ── INDEX-SHOWROOM — 案例样板间 ── */
.index-showroom {
  margin-bottom: clamp(48px, calc(100vw * 64 / 1440), 64px);
}

.index-showroom-desc {
  max-width: 845px;
  margin: -12px auto clamp(36px, calc(100vw * 48 / 1440), 48px);
  text-align: center;
  font-size: var(--fs-16);
  color: #414752;
  line-height: 1.75;
}

.index-showroom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, calc(100vw * 16 / 1440), 16px) clamp(14px, calc(100vw * 20 / 1440), 20px);
}

.index-showroom-card {
  position: relative;
  display: block;
  aspect-ratio: 285 / 183;
  border-radius: var(--r8);
  overflow: hidden;
  color: #fff;
}

.index-showroom-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.index-showroom-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 90%;
  text-align: center;
  font-size: clamp(16px, calc(100vw * 20 / 1440), 20px);
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease;
}

.index-showroom-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.index-showroom-quote {
  width: 90%;
  text-align: center;
  font-size: var(--fs-14);
  line-height: 1.5;
}

.index-showroom-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #fff;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.index-showroom-card:hover .index-showroom-mask {
  opacity: 1;
}

.index-showroom-card:hover .index-showroom-name {
  opacity: 0;
}

.index-showroom-card:hover .index-showroom-bg {
  transform: scale(1.04);
}

.index-showroom-card:hover .index-showroom-more {
  background: #fff;
  color: var(--primary);
}

/* ── INDEX-SUPPORT — 支持与服务 ── */
.index-support-desc {
  max-width: 720px;
  margin: -12px auto clamp(28px, calc(100vw * 36 / 1440), 36px);
  text-align: center;
  font-size: var(--fs-16);
  color: #414752;
  line-height: 1.75;
}

.index-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
}

.index-support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 140px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid rgba(0, 87, 156, 0.08);
  border-radius: var(--r12);
  box-shadow: 0 4px 16px rgba(0, 87, 156, 0.05);
  color: var(--on-surface);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.index-support-card:hover {
  border-color: rgba(0, 87, 156, 0.2);
  box-shadow: 0 8px 24px rgba(0, 87, 156, 0.1);
  transform: translateY(-2px);
  color: var(--primary);
}

.index-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 87, 156, 0.08);
  color: var(--primary);
}

.index-support-text {
  font-size: var(--fs-16);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .index-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-showroom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .index-download-slide {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .index-download-cover {
    max-width: 180px;
    margin: 0 auto;
  }

  .index-download-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .index-cases-grid,
  .index-support-grid {
    grid-template-columns: 1fr;
  }

  .index-showroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-showroom-desc {
    max-width: 100%;
  }

  .index-cases-tab {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ── JXAL-CTA — 底部 CTA ── */
.jxal-cta {
  position: relative;
  overflow: hidden;
}

.jxal-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  line-height: 0;
}

.jxal-cta-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.jxal-cta-inner {
  position: relative;
  z-index: 1;
  padding: clamp(56px, calc(100vw * 80 / 1440), 80px) 0;
  text-align: center;
}

.jxal-cta-title {
  margin: 0 auto clamp(20px, calc(100vw * 28 / 1440), 28px);
  max-width: 800px;
  color: #181c21;
  font-size: clamp(24px, calc(100vw * 32 / 1440), 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.jxal-cta-desc {
  margin: 0 auto 8px;
  max-width: 720px;
  color: #8b939e;
  font-size: var(--fs-14);
  line-height: 1.75;
}

.jxal-cta-desc:last-of-type {
  margin-bottom: clamp(28px, calc(100vw * 36 / 1440), 36px);
}

.jxal-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, calc(100vw * 16 / 1440), 16px);
  flex-wrap: wrap;
}

.jxal-cta-btn {
  box-sizing: border-box;
  min-width: clamp(140px, calc(100vw * 180 / 1440), 180px);
  height: var(--hero-btn-height, 48px);
  padding: 0 clamp(20px, calc(100vw * 28 / 1440), 28px);
  font-size: clamp(16px, calc(100vw * 18 / 1440), 18px);
  font-weight: 500;
  border-radius: var(--r8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, calc(100vw * 8 / 1440), 8px);
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
  --jxal-cta-btn-icon: min(30px, calc(var(--hero-btn-height, 48px) * 0.75));
}

.jxal-cta-btn-icon {
  width: var(--jxal-cta-btn-icon);
  height: var(--jxal-cta-btn-icon);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.jxal-cta-btn-icon svg {
  width: 55%;
  height: 55%;
  transform: rotate(-35deg);
}

.jxal-cta-btn--primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.jxal-cta-btn--primary:hover {
  background: var(--primary-container);
  border-color: var(--primary-container);
  color: #fff;
}

.jxal-cta-btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.jxal-cta-btn--ghost:hover {
  background: rgba(0, 87, 156, 0.06);
}

@media (max-width: 768px) {
  .jxal-cta-inner {
    padding: 48px 0;
  }

  .jxal-cta-title {
    font-size: 22px;
  }

  .jxal-cta-desc {
    font-size: var(--fs-14);
    padding: 0 4px;
  }

  .jxal-cta-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .jxal-cta-btn--ghost,
  .jxal-cta-btn--primary {
    width: 100%;
    max-width: 320px;
  }
}
