/* Automotive & E-Mobility industry detail */

.auto-hero {
  position: relative;
  margin-top: 88px;
  min-height: min(720px, 92vh);
  display: flex;
  align-items: center;
  background: #000000;
  overflow: hidden;
}

.auto-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/行业详情/矩形 628 拷贝 2.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.auto-hero .container {
  position: relative;
  z-index: 1;
  padding: 120px 24px 88px;
  max-width: 1727px;
}

.auto-hero-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

.auto-hero-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  max-width: 640px;
  margin-bottom: 36px;
}

.auto-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-auto-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #ef7300;
  border: 2px solid #ef7300;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-auto-primary:hover {
  background: #d96600;
  border-color: #d96600;
}

.btn-auto-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: background 0.2s, border-color 0.2s;
}

.btn-auto-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* Industry Challenges */
.auto-challenges {
  padding: 88px 0 96px;
  background: #f8f9fb;
}

.auto-section-head-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.auto-section-head-center h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #111111;
  margin-bottom: 16px;
}

.auto-section-head-center .auto-sub {
  font-size: 15px;
  color: #64748b;
  line-height: 1.75;
}

.auto-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.auto-challenge-card {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  padding: 28px 28px 32px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.auto-challenge-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #2a3182;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 10px;
}

.auto-challenge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auto-challenge-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.35;
}

.auto-challenge-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

/* Our Automotive Solutions */
.auto-solutions {
  padding: 80px 0 96px;
  background: #282c8f;
}

.auto-solutions-head {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.auto-solutions-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.auto-solutions-head p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.auto-solution-row {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  gap: 24px 32px;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 20px;
}

.auto-solution-row:last-child {
  margin-bottom: 0;
}

.auto-solution-challenge .auto-ch-label {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.auto-solution-challenge h3 {
  font-size: 20px;
  font-weight: 700;
  color: #282c8f;
  margin-bottom: 10px;
  line-height: 1.3;
}

.auto-solution-challenge p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

.auto-solution-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.auto-solution-arrow img {
  width: 100%;
  height: auto;
}

.auto-solution-answer {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 24px 28px;
}

.auto-solution-answer h4 {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.35;
}

.auto-solution-answer p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

/* Typical Parts */
.auto-parts {
  padding: 88px 0 96px;
  background: #ffffff;
}

.auto-split-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.auto-split-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.auto-split-head p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.75;
}

.auto-parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.auto-part-card {
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.auto-part-media {
  background: #eef1f5;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.auto-part-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auto-part-body {
  padding: 22px 24px 28px;
}

.auto-part-tag {
  font-size: 13px;
  font-weight: 600;
  color: #ef7300;
  margin-bottom: 8px;
}

.auto-part-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 16px;
  line-height: 1.3;
}

.auto-part-specs {
  border-top: 1px solid #eef1f5;
}

.auto-part-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px dashed #e2e8f0;
}

.auto-part-specs li:last-child {
  border-bottom: none;
}

.auto-part-specs span:first-child {
  color: #94a3b8;
}

.auto-part-specs span:last-child {
  color: #111111;
  font-weight: 500;
  text-align: right;
}

/* Materials */
.auto-materials {
  padding: 88px 0 96px;
  background: #f8f9fb;
}

.auto-material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.auto-material-card {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  padding: 28px 28px 32px;
  min-height: 220px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.auto-material-card:hover {
  background: #2a3182;
  border-color: #2a3182;
  box-shadow: 0 8px 28px rgba(42, 49, 130, 0.25);
}

/* 设计稿：默认深蓝底 + 白色线稿；悬停卡片时白底 + 深蓝线稿 */
.auto-material-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #2a3182;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.auto-material-card:hover .auto-material-icon {
  background: #ffffff;
}

.auto-material-icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* 白线 + 黑底素材：叠在深蓝底上显示为白线 */
.auto-material-icon-default {
  opacity: 1;
  mix-blend-mode: screen;
  filter: none;
}

/* 深色线稿 / 透明底剪影：反相为白线（用于 11、14 等） */
.auto-material-icon--inv-default .auto-material-icon-default {
  mix-blend-mode: normal;
  filter: invert(1);
}

.auto-material-icon-hover {
  opacity: 0;
  mix-blend-mode: multiply;
  filter: none;
}

.auto-material-card:hover .auto-material-icon-default {
  opacity: 0;
}

.auto-material-card:hover .auto-material-icon-hover {
  opacity: 1;
}

.auto-material-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.auto-material-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  transition: color 0.3s ease;
}

.auto-material-card:hover h3,
.auto-material-card:hover p {
  color: #ffffff;
}

/* Certifications */
.auto-certs {
  padding: 88px 0 96px;
  background: #ffffff;
}

.auto-certs-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 960px;
  margin: 48px auto 0;
  padding: 36px 32px;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  background: #ffffff;
}

.auto-certs-box .auto-cert-item {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-right: 1px solid #e8ecf2;
}

.auto-certs-box .auto-cert-item:last-child {
  border-right: none;
}

.auto-certs-box img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

/* Related Cases */
.auto-cases {
  padding: 88px 0 96px;
  background: #f8f9fb;
}

.auto-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.auto-case-card {
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.auto-case-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.auto-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auto-case-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.auto-case-tag {
  font-size: 13px;
  font-weight: 600;
  color: #ef7300;
  margin-bottom: 8px;
}

.auto-case-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
}

.auto-case-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 14px;
  line-height: 1.5;
}

.auto-case-body > p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.auto-case-link {
  font-size: 14px;
  font-weight: 600;
  color: #2a3182;
}

.auto-case-link:hover {
  color: #ef7300;
}

@media (max-width: 1100px) {
  .auto-challenge-grid,
  .auto-parts-grid,
  .auto-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .auto-material-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .auto-solution-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .auto-solution-arrow {
    justify-self: start;
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .auto-hero .container {
    padding-top: 100px;
  }

  .auto-solutions-head,
  .auto-split-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .auto-challenge-grid,
  .auto-parts-grid,
  .auto-cases-grid,
  .auto-material-grid {
    grid-template-columns: 1fr;
  }

  .auto-certs-box .auto-cert-item {
    border-right: none;
    border-bottom: 1px solid #e8ecf2;
    padding-bottom: 20px;
  }

  .auto-certs-box .auto-cert-item:last-child {
    border-bottom: none;
  }
}
