/* ===================== 行业应用页（乘用车后市场） ===================== */

.ap-main {
  --ap-blue: #004EA2;
  --ap-ink: #353D42;
  --ap-gray: #666;
  --ap-head-h: 85px;
}

.ap-wrap {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

/* ===================== Banner ===================== */
.ap-hero {
  position: relative;
  aspect-ratio: 4 / 1;
  min-height: 300px;
  overflow: hidden;
  background: #33414f;
}

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

.ap-hero-shade {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 6, .5);
}

.ap-hero-inner {
  position: relative;
  z-index: 2;
  width: 1200px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* 左侧蓝色信息面板 */
.ap-hero-panel {
  position: absolute;
  left: 0;
  top: 50%;
  width: 42%;
  height: calc(100% - 120px);
  padding: 0 15px;
  transform: translateY(-50%);
}

.ap-hero-panel::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: calc(100% + 360px);
  height: 100%;
  background: rgba(0, 78, 162, .9);
}

/* 面包屑 */
.ap-crumb {
  position: absolute;
  left: 15px;
  top: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.75;
}

.ap-crumb li {
  position: relative;
  padding: 0 15px;
}

.ap-crumb li:first-child {
  padding-left: 0;
}

.ap-crumb li + li::before {
  content: '>';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  opacity: .7;
}

.ap-crumb a {
  color: #fff;
  opacity: .7;
}

.ap-crumb li:last-child a {
  opacity: 1;
}

.ap-crumb a:hover {
  opacity: 1;
}

/* 标题 */
.ap-hero-txt {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 2;
  width: calc(100% - 30px);
  max-width: 460px;
  transform: translateY(-50%);
}

.ap-hero-txt h1 {
  margin-bottom: 21px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.ap-hero-txt p {
  max-width: 448px;
  font-size: 16px;
  line-height: 1.75;
  color: #fff;
}

/* ===================== 吸顶子导航 ===================== */
.ap-nav {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #EFEFEF;
}

.ap-nav.is-stuck {
  position: fixed;
  left: 0;
  top: var(--ap-head-h, 85px);
  width: 100%;
}

.ap-nav-holder {
  height: 0;
  overflow: hidden;
}

.ap-nav-list {
  display: flex;
  justify-content: center;
}

.ap-nav-list li {
  position: relative;
}

.ap-nav-list li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 19px;
  background: #D2D2D2;
}

.ap-nav-list a {
  position: relative;
  display: block;
  padding: 16px 55px;
  font-size: 16px;
  line-height: 1.75;
  color: #353D42;
  white-space: nowrap;
  transition: color .3s;
}

.ap-nav-list a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ap-blue);
  transform: translateX(-50%);
  transition: width .3s;
}

.ap-nav-list a:hover {
  color: var(--ap-blue);
}

.ap-nav-list li.is-on a {
  color: var(--ap-blue);
}

.ap-nav-list li.is-on a::after {
  width: 40px;
}

/* ===================== 区块通用 ===================== */
.ap-sec {
  padding: 94px 0 100px;
}

.ap-pain,
.ap-case {
  background: #fff;
}

.ap-adv,
.ap-prod {
  background: #F7F7F7;
}

.ap-title {
  margin-bottom: 60px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ap-ink);
  text-align: center;
}

.ap-title.is-tight {
  margin-bottom: 40px;
}

.ap-case .ap-title,
.ap-prod .ap-title {
  margin-bottom: 36px;
}

/* ===================== 行业痛点 ===================== */
.ap-pain-row {
  display: flex;
  align-items: flex-start;
}

.ap-pain-pic {
  flex: 0 0 49.8%;
  width: 49.8%;
  aspect-ratio: 720 / 420;
  overflow: hidden;
  background: #EFF1F3;
}

.ap-pain-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.ap-pain-pic:hover img {
  transform: scale(1.03);
}

.ap-pain-txt {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 50px;
}

.ap-pain-txt h3 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--ap-blue);
}

.ap-pain-txt p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ap-gray);
}

/* ===================== 方案优势 ===================== */
.ap-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ap-adv-card {
  position: relative;
  min-height: 236px;
  padding: 40px;
  background: #fff;
  box-shadow: 0 4px 11px 2px rgba(181, 181, 181, .13);
  transition: box-shadow .36s ease, transform .36s ease;
}

.ap-adv-card h3 {
  padding-right: 66px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--ap-ink);
}

.ap-adv-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ap-gray);
}

.ap-adv-no {
  position: absolute;
  right: 20px;
  top: 4px;
  font-size: 76px;
  font-weight: 700;
  line-height: 1.2;
  color: #F2F2F2;
  transition: color .36s ease;
}

.ap-adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
}

.ap-adv-card:hover .ap-adv-no {
  color: #E4EDF6;
}

/* ===================== 相关案例 ===================== */
.ap-case-inner {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}

.ap-case-card {
  display: flex;
  background: #fff;
  box-shadow: 0 5px 40px 2px rgba(0, 0, 0, .06);
}

.ap-case-pic {
  flex: 0 0 52%;
  width: 52%;
  overflow: hidden;
  aspect-ratio: 519 / 359;
}

.ap-case-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.ap-case-card:hover .ap-case-pic img {
  transform: scale(1.05);
}

.ap-case-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 64px 54px 54px 56px;
}

.ap-case-body h3 {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 1.75;
  color: var(--ap-ink);
}

.ap-case-body p {
  margin-bottom: 34px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ap-gray);
}

.ap-case-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ap-blue);
}

.ap-case-link svg {
  margin-left: 10px;
  transition: transform .3s;
}

.ap-case-link:hover svg {
  transform: translateX(4px);
}

/* ===================== 相关产品 ===================== */
.ap-prod-slider {
  position: relative;
}

.ap-prod-viewport {
  overflow: hidden;
  margin: 0 -7px;
}

.ap-prod-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.ap-prod-item {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 0 7px;
}

.ap-prod-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}

.ap-prod-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 55%, #eef3f7 100%);
}

.ap-prod-media img {
  display: block;
  max-width: 76%;
  max-height: 76%;
  object-fit: contain;
  transition: transform .45s ease;
}

.ap-prod-body {
  padding: 28px 30px 18px;
}

.ap-prod-name {
  height: 31.5px;
  margin-bottom: 7px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
  color: #4E6470;
  transition: color .3s;
}

.ap-prod-desc {
  height: 84px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ap-gray);
}

.ap-prod-body hr {
  margin: 11px 0 12px;
  border: 0;
  border-top: 1px solid #F0F0F0;
}

.ap-prod-meta {
  font-size: 16px;
  line-height: 2.5;
  color: var(--ap-gray);
}

.ap-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .09);
}

.ap-prod-card:hover .ap-prod-name {
  color: var(--ap-blue);
}

.ap-prod-card:hover .ap-prod-media img {
  transform: scale(1.06);
}

/* 轮播箭头 */
.ap-prod-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #4E6470;
  transform: translateY(-50%);
  transition: background .3s, opacity .3s;
}

.ap-prod-arrow:hover {
  background: var(--ap-blue);
}

.ap-prod-arrow.is-off {
  opacity: .3;
  cursor: default;
}

.ap-prod-prev {
  left: -93px;
}

.ap-prod-next {
  right: -93px;
}

/* ===================== 响应式 ===================== */
@media screen and (max-width: 1280px) {
  .ap-nav-list a {
    padding: 16px 40px;
  }

  .ap-prod-arrow {
    width: 44px;
    height: 44px;
  }

  .ap-prod-prev {
    left: -28px;
  }

  .ap-prod-next {
    right: -28px;
  }

  .ap-pain-txt {
    padding-left: 40px;
  }
}

@media screen and (max-width: 1200px) {
  .ap-wrap {
    width: 100%;
    padding: 0 20px;
  }

  .ap-hero-inner {
    width: 100%;
  }

  .ap-hero-panel {
    left: 20px;
  }

  .ap-nav .ap-wrap {
    padding: 0;
  }

  .ap-nav-list a {
    padding: 16px 44px;
  }

  .ap-prod-prev {
    left: 4px;
  }

  .ap-prod-next {
    right: 4px;
  }
}

@media screen and (max-width: 991px) {
  .ap-hero {
    aspect-ratio: auto;
    height: 340px;
  }

  .ap-hero-panel {
    height: calc(100% - 80px);
  }

  .ap-hero-txt h1 {
    font-size: 38px;
  }

  .ap-hero-txt p {
    max-width: 400px;
  }

  .ap-sec {
    padding: 70px 0 76px;
  }

  .ap-title {
    margin-bottom: 40px;
    font-size: 32px;
  }

  .ap-title.is-tight,
  .ap-case .ap-title,
  .ap-prod .ap-title {
    margin-bottom: 30px;
  }

  .ap-pain-row {
    display: block;
  }

  .ap-pain-pic {
    width: 100%;
    flex: none;
    aspect-ratio: 16 / 9;
  }

  .ap-pain-txt {
    padding: 28px 0 0;
  }

  .ap-adv-card {
    min-height: 0;
    padding: 32px 30px 28px;
  }

  .ap-adv-no {
    font-size: 60px;
    right: 16px;
  }

  .ap-case-card {
    display: block;
  }

  .ap-case-pic {
    width: 100%;
    flex: none;
    aspect-ratio: 16 / 10;
  }

  .ap-case-body {
    padding: 30px 26px;
  }

  .ap-case-body h3 {
    margin-bottom: 14px;
  }

  .ap-case-body p {
    margin-bottom: 22px;
  }

  .ap-prod-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .ap-prod-media {
    height: 210px;
  }

  .ap-prod-body {
    padding: 22px 22px 16px;
  }

  .ap-prod-desc {
    height: 112px;
  }

  .ap-prod-meta {
    line-height: 2.2;
  }
}

@media screen and (max-width: 768px) {
  .ap-hero {
    aspect-ratio: auto;
    height: 300px;
  }

  .ap-hero-panel {
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 20px;
  }

  .ap-hero-panel::before {
    width: 100%;
    opacity: .88;
  }

  .ap-crumb {
    left: 20px;
    top: 18px;
    font-size: 13px;
  }

  .ap-crumb li {
    padding: 0 12px;
  }

  .ap-hero-txt {
    left: 20px;
    width: calc(100% - 40px);
    max-width: 100%;
  }

  .ap-hero-txt h1 {
    margin-bottom: 12px;
    font-size: 32px;
  }

  .ap-hero-txt p {
    font-size: 14px;
  }

  .ap-nav-list {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ap-nav-list::-webkit-scrollbar {
    display: none;
  }

  .ap-nav-list li {
    flex: 0 0 auto;
  }

  .ap-nav-list a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .ap-nav-list li.is-on a::after {
    width: 28px;
  }

  .ap-sec {
    padding: 50px 0 56px;
  }

  .ap-title {
    margin-bottom: 24px;
    font-size: 26px;
  }

  .ap-title.is-tight,
  .ap-case .ap-title,
  .ap-prod .ap-title {
    margin-bottom: 22px;
  }

  .ap-pain-pic {
    aspect-ratio: 16 / 10;
  }

  .ap-pain-txt h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.6;
  }

  .ap-pain-txt p {
    font-size: 15px;
    line-height: 1.8;
  }

  .ap-adv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ap-adv-card {
    padding: 26px 22px 24px;
  }

  .ap-adv-card h3 {
    padding-right: 54px;
    margin-bottom: 10px;
    font-size: 17px;
  }

  .ap-adv-card p {
    font-size: 14px;
  }

  .ap-adv-no {
    top: 10px;
    right: 14px;
    font-size: 50px;
  }

  .ap-case-inner {
    width: 100%;
  }

  .ap-case-pic {
    aspect-ratio: 16 / 10;
  }

  .ap-case-body {
    padding: 22px 20px;
  }

  .ap-case-body h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .ap-case-body p {
    font-size: 15px;
    line-height: 1.75;
  }

  .ap-prod-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ap-prod-media {
    height: 230px;
  }

  .ap-prod-name {
    height: auto;
    min-height: 31.5px;
    font-size: 17px;
  }

  .ap-prod-desc {
    height: auto;
    min-height: 56px;
    font-size: 15px;
  }

  .ap-prod-arrow {
    width: 38px;
    height: 38px;
    background: rgba(78, 100, 112, .85);
  }

  .ap-prod-prev {
    left: 10px;
  }

  .ap-prod-next {
    right: 10px;
  }
}

@media screen and (max-width: 480px) {
  .ap-prod-media {
    height: 210px;
  }

  .ap-prod-body {
    padding: 18px 18px 14px;
  }
}
