:root {
  --brand: #d71920;
  --brand-dark: #b81218;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --gray: #f9fafb;
  --white: #ffffff;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--gray);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/*.nav-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr minmax(120px, 180px);
  align-items: center;
  gap: 24px;
  width: min(1720px, calc(100% - 200px));
  min-height: 86px;
  margin: 0 auto;
}*/
.nav-shell {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr minmax(150px, 220px);
    align-items: center;
    gap: 18px;
    width: min(1720px, calc(100% - 64px));
    min-height: 74px;
    margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--brand);
  font-size: clamp(20px, 1.45vw, 26px);
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  object-fit: contain;
}

.nav {
  justify-self: center;
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.5vw, 44px);
  color: #374151;
  font-size: clamp(16px, 1.12vw, 19px);
  font-weight: 800;
  white-space: nowrap;
}

.nav a {
  flex: 0 0 auto;
  padding: 21px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--brand);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 54px;
  padding: 0 28px;
  color: var(--white);
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.24);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action:hover {
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-content: center;
  gap: 5px;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #4b5563;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 74px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 74px 0 0;
  width: 100%;
  height: calc(100% - 74px);
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-image.is-active {
  opacity: 1;
  animation: heroZoomOut 5s ease-out forwards;
}

@keyframes heroZoomOut {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateX(72px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(150, 31, 37, 0.76), rgba(178, 67, 71, 0.54) 40%, rgba(255, 255, 255, 0.12) 78%),
    linear-gradient(180deg, rgba(173, 31, 38, 0.2), rgba(173, 31, 38, 0.2));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 220px));
  margin-left: clamp(96px, 10vw, 190px);
  padding-top: clamp(230px, 34vh, 330px);
}

.hero-inner p {
  margin: 0 0 16px;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
}

.hero-inner h1 {
  margin: 0 0 34px;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.08;
  animation: heroTextIn 0.8s ease-out 0.15s both;
}

.hero-inner h2 {
  max-width: 900px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  animation: heroTextIn 0.8s ease-out 0.35s both;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  min-height: 48px;
  padding: 0 22px;
  color: #9f1d23;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(83, 22, 26, 0.18);
  font-size: 14px;
  font-weight: 800;
  animation: heroTextIn 0.8s ease-out 0.55s both;
}


.hero-button span {
  font-size: 18px;
}

.float-consult {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 60;
  display: grid;
  width: 50px;
  min-height: 126px;
  place-items: center;
  padding: 14px 12px;
  color: var(--white);
  background: var(--brand);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(128, 23, 28, 0.26);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero-dots .active {
  width: 42px;
  background: var(--white);
}

.section {
  padding: 86px 0;
}

.bg-white {
  background: var(--white);
}

.bg-gray {
  background: var(--gray);
}

.section-title {
    max-width: 820px;
    margin: 0 auto 72px;
    text-align: center;
}

.section-title.align-left {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.section-title h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
}

.section-title p,
.info-card p,
.solution-card p,
.case-card p,
.news-grid p,
.about-text,
.contact-list {
  color: var(--muted);
}

.card-grid,
.industry-grid,
.case-grid,
.news-grid,
.about-layout,
.contact-layout,
.footer-grid {
  display: grid;
  gap: 28px;
}

.card-grid.three,
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.industry-grid article,
.case-card,
.news-grid article,
.contact-form {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-card {
  perspective: 900px;
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  padding: 34px 30px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.case-card:hover,
.news-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.card-icon {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  margin: 0 auto 26px;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform-style: preserve-3d;
  transition: transform 0.65s ease;
}

.card-icon svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card:hover .card-icon {
  transform: rotateY(180deg);
}

.info-card h3,
.industry-grid h3,
.solution-card h3,
.case-card h3,
.news-grid h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.info-card h3 {
  margin-bottom: 0;
  text-align: center;
}

.info-card p,
.case-card p,
.news-grid p {
  margin: 0;
}

.industry-grid {
  grid-template-columns: repeat(4, 1fr);
}

.industry-grid article {
  padding: 30px 18px;
  text-align: center;
}

.industry-grid span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
}

.industry-showcase {
  display: flex;
  flex-direction: column;
  background: var(--white);
  width: 100%;
  min-height: calc(100vh - 86px);
  padding-top: clamp(42px, 5vh, 64px);
}

.industry-head {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.industry-head h2 {
  margin: 0 0 14px;
  color: #172033;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.industry-head p {
  max-width: 900px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.industry-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  align-items: end;
  max-width: 980px;
  margin: 0 auto;
}

.industry-tabs a {
  position: relative;
  padding: 0 0 20px;
  color: #172033;
  font-size: 18px;
  transition: color 0.2s ease;
}

.industry-tabs a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--brand);
  transform: translateX(-50%);
  transition: width 0.24s ease;
}

.industry-tabs a.active,
.industry-tabs a:hover {
  color: var(--brand);
}

.industry-tabs a.active::after,
.industry-tabs a:hover::after {
  width: 150px;
  max-width: 100%;
}

.industry-hero {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.industry-hero img,
.industry-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.industry-hero img {
  object-fit: cover;
  object-position: center center;
}

.industry-veil {
  background:
    linear-gradient(90deg, rgba(126, 28, 38, 0.74) 0%, rgba(151, 43, 53, 0.62) 42%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(215, 25, 32, 0.08), rgba(215, 25, 32, 0.16));
}

.industry-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(980px, calc(100% - 220px));
  min-height: 100%;
  margin-left: clamp(96px, 10vw, 190px);
  padding: clamp(42px, 6vh, 72px) 0;
  color: var(--white);
}

.industry-content h3 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.industry-content p {
  max-width: 760px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 2;
}

.industry-content > a {
  display: inline-flex;
  width: auto;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 44px;
  margin-bottom: 46px;
  padding: 0 24px;
  color: var(--white);
  background: var(--brand);
  border-radius: 999px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.industry-content > a:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 174px);
  gap: 16px;
}

.partner-grid span {
  display: grid;
  min-height: 76px;
  place-items: center;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(83, 22, 26, 0.12);
  font-size: 22px;
  font-weight: 800;
}

.solution-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 42px;
  background: var(--gray);
  border-radius: 8px;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 14px;
  color: var(--brand);
  background: #fee2e2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.solution-card a,
.news-grid a {
  color: var(--brand);
  font-weight: 800;
}

.solution-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  padding: 16px 18px;
  background: var(--white);
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.solution-showcase {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  background: #fff5f5;
}

.solution-bg,
.solution-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.solution-bg {
  object-fit: cover;
  object-position: right center;
}

.solution-mask {
  background:
    linear-gradient(90deg, rgba(255, 246, 246, 0.98) 0%, rgba(255, 246, 246, 0.94) 38%, rgba(255, 246, 246, 0.62) 62%, rgba(255, 246, 246, 0.18) 100%),
    radial-gradient(circle at 18% 74%, rgba(215, 25, 32, 0.12), transparent 34%);
}

.solution-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 86px);
  flex-direction: column;
  justify-content: center;
  width: min(980px, calc(100% - 220px));
  margin-left: clamp(96px, 10vw, 190px);
  padding: clamp(52px, 7vh, 86px) 0;
}

.solution-copy {
  max-width: 650px;
}

.solution-copy h2 {
  margin: 0 0 12px;
  color: #172033;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.solution-lead {
  margin: 0 0 34px;
  color: #8a5560;
  font-size: 17px;
}

.solution-body {
  max-width: 650px;
  margin: 0;
  color: #1f2937;
  font-size: 17px;
  line-height: 2;
}

.solution-tabs {
  display: flex;
  gap: 14px;
  width: min(720px, 100%);
  margin-top: clamp(42px, 8vh, 78px);
}

.solution-tab {
  display: grid;
  flex: 0 0 128px;
  width: 128px;
  min-height: 120px;
  align-content: space-between;
  padding: 22px 16px 18px;
  color: #172033;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(126, 32, 42, 0.1);
  overflow: hidden;
  transition:
    flex-basis 0.42s ease,
    width 0.42s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

.solution-tab span {
  font-size: 20px;
  font-weight: 500;
}

.solution-tab i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--white);
  background: #dedede;
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
}

.solution-tab.default,
.solution-tab:hover {
  flex-basis: 228px;
  width: 228px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.94), rgba(190, 18, 24, 0.84)),
    url("assets/solution-red-tech.png") right center / cover;
  box-shadow: 0 18px 34px rgba(215, 25, 32, 0.24);
  transform: translateY(-4px);
}

.solution-tab.default i,
.solution-tab:hover i {
  color: var(--brand);
  background: var(--white);
}

.solution-tabs:hover .solution-tab.default:not(:hover) {
  flex-basis: 128px;
  width: 128px;
  color: #172033;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(126, 32, 42, 0.1);
  transform: none;
}

.solution-tabs:hover .solution-tab.default:not(:hover) i {
  color: var(--white);
  background: #dedede;
}

.case-grid {
  grid-template-columns: repeat(2, 1fr);
}

.case-card {
  overflow: hidden;
}

/*.case-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}*/

.case-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 现代浏览器原生支持 */
    object-fit: cover;
    /* 此时 cover 是安全的，因为比例已锁定 */
    display: block;
}

.case-card div,
.news-grid article {
  padding: 28px;
}

.news-grid article {
  border: 1px solid var(--line);
}

.news-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 12px;
  color: var(--brand);
  background: #fee2e2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.news-grid p {
  margin-bottom: 20px;
}

/* 红字白底椭圆按钮 */
.btn-learn-more {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 48px;
    background-color: #fff;
    /* ← 白色背景 */
    color: #d42027;
    /* ← 红色文字 */
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid #d42027;
    /* ← 新增：红色边框，防止白底在浅色背景上消失 */
    border-radius: 999px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 悬停：反转为红底白字 */
.btn-learn-more:hover {
    background-color: #d42027;
    /* ← 红底 */
    color: #fff;
    /* ← 白字 */
    border-color: #d42027;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 32, 39, 0.35);
}

html {
    scroll-behavior: smooth;
}

#about {
    scroll-margin-top: 80px;
    /* 请根据您的导航栏实际高度调整此数值 */
}
/*公司介绍背景图片*/
.about-tech-bg {
    background-image: url('');
    /* 替换为实际图片路径 */
    background-size: cover;
    /* 覆盖整个区域 */
    background-position: center;
    /* 居中显示 */
    background-repeat: no-repeat;
    /* 不重复 */
    position: relative;
    /* 为遮罩层做准备 */
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 600px;
}
/* 确保内容在遮罩之上 */
.about-layout {
    position: relative;
    z-index: 1;
}
/* 点击反馈 */
.btn-learn-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(212, 32, 39, 0.25);
}
/*.about-layout,
.contact-layout {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-layout img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-text {
  margin: 0;
  font-size: 17px;
}*/
/* ① 双栏网格容器 —— 加宽 + 增加间距 */
.about-layout,
.contact-layout {
    display: grid;
    /* ← 补全，确保 grid 生效 */
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    /* ← 新增：两栏间距，替代 margin 控制 */
    max-width: 1200px;
    /* ← 与 .section-title 加宽后对齐 */
    margin: 0 auto;
    /* ← 水平居中 */
    scroll-margin-top: 100px;
    /* ← 锚点跳转避开固定导航栏 */
}

/* ② 右侧图片 —— 防变形 + 视觉优化 */
.about-layout img {
    width: 100%;
    /* ← 新增：撑满格子高度 */
    object-fit: cover;
    /* ← 新增：保持比例裁剪，防止拉伸 */
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ③ 左侧文字 —— 提升可读性 */
.about-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    /* ← 新增：正文行高，提升阅读舒适度 */
    max-width: 65ch;
    /* ← 新增：限制单行字符数，加宽后防阅读疲劳 */
}

/* ④ 响应式兜底 —— 小屏自动切单列 */
@media (max-width: 768px) {

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-layout img {
        height: auto;
        /* 单列时图片恢复自然高度 */
        max-height: 400px;
        /* 限制最大高度，避免竖图过长 */
    }

    .about-text {
        max-width: none;
        /* 单列时取消字符数限制 */
    }
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
}

.contact-form button {
  min-height: 48px;
  color: var(--white);
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.contact-form button:hover {
  background: var(--brand-dark);
}

.site-footer {
  padding: 54px 0 28px;
  color: var(--white);
  background: #1f2937;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.site-footer h3 {
  margin: 0 0 16px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 8px;
  color: #d1d5db;
}

.copyright {
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  text-align: center;
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .brand {
    min-width: auto;
    font-size: 18px;
    white-space: nowrap;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-action {
    display: none;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    display: none;
    width: 100%;
    gap: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    padding: 15px 24px;
    border-top: 1px solid var(--line);
  }

  .hero,
  .hero-image,
  .hero-overlay {
    padding-top: 68px;
  }

  .hero-image,
  .hero-overlay {
    inset: 68px 0 0;
    height: calc(100% - 68px);
  }

  .hero-inner {
    width: min(860px, calc(100% - 48px));
    margin-left: 24px;
  }

  .card-grid.three,
  .news-grid,
  .industry-grid,
  .about-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-inner {
    width: min(860px, calc(100% - 48px));
    margin-left: 24px;
    min-height: calc(100vh - 68px);
    padding: 58px 0;
  }

  .industry-content {
    width: min(860px, calc(100% - 48px));
    margin-left: 24px;
  }

  .solution-tabs {
    flex-wrap: wrap;
    margin-top: 44px;
  }

  .industry-tabs {
    gap: 18px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(150px, 220px));
  }
}

@media (max-width: 680px) {
  .brand span {
    max-width: calc(100vw - 104px);
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 132px;
  }

  .hero-inner h1 {
    font-size: 28px;
  }

  .hero-inner h2 {
    font-size: 19px;
  }

  .hero-button {
    min-width: 150px;
    min-height: 48px;
    font-size: 14px;
  }

  .float-consult {
    display: none;
  }

  .section {
    padding: 66px 0;
  }

  .industry-showcase {
    padding-top: 58px;
  }

  .industry-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 18px;
  }

  .industry-tabs a {
    padding-bottom: 12px;
    font-size: 16px;
  }

  .industry-tabs a.active::after,
  .industry-tabs a:hover::after {
    width: 76px;
  }

  .industry-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    min-height: 100%;
    padding: 48px 0;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .news-grid,
  .industry-grid,
  .case-grid,
  .about-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .solution-inner {
    width: calc(100% - 32px);
    margin-left: 16px;
    min-height: auto;
    padding: 58px 0;
  }

  .solution-tab {
    width: 100%;
    flex-basis: auto;
    min-height: 92px;
  }

  .solution-tab:hover {
    width: 100%;
    flex-basis: auto;
  }

  .solution-tab.default,
  .solution-tabs:hover .solution-tab.default:not(:hover) {
    width: 100%;
    flex-basis: auto;
  }

  .contact-form {
    padding: 26px;
  }
}
/* 产品介绍 */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-content {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 80;
  display: none;
  width: 100vw;
  height: clamp(330px, 38vh, 420px);
  min-width: 0;
  padding: clamp(24px, 3vw, 34px) clamp(36px, 7vw, 116px);
  background: var(--white);
  border-top: 1px solid rgba(215, 25, 32, 0.08);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0;
  color: #374151;
  border-bottom: 1px solid #d8dde5;
  border-radius: 0;
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dropdown-content a::after {
  color: var(--brand);
  content: ">";
  font-size: 20px;
  font-weight: 900;
}

.dropdown-content a:hover {
  color: var(--brand);
  border-color: rgba(215, 25, 32, 0.38);
  background: transparent;
  transform: translateX(4px);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: grid;
}

.mega-menu {
  grid-template-columns: minmax(300px, 460px) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.mega-menu img {
  width: 100%;
  height: min(260px, calc(100% - 12px));
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(83, 22, 26, 0.12);
}

.mega-menu-body {
  min-width: 0;
}

.mega-menu-body h2 {
  margin: 0 0 clamp(16px, 2vw, 24px);
  color: #172033;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.2;
}

.mega-menu-body h2::after {
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 12px;
  content: "";
  background: var(--brand);
  border-radius: 999px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 6px clamp(34px, 5vw, 72px);
}

.nav a.active,
.dropdown-toggle.active {
  color: var(--brand);
}

.products-page {
  padding-top: 74px;
  background: var(--white);
}

.products-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #f3f4f6;
}
.COMPANY-INTRODUCTION-hero {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}

.products-hero img,
.products-hero-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.products-hero img {
  object-fit: cover;
  object-position: center;
}

.products-hero-mask {
  background:
        linear-gradient(90deg, rgba(150, 31, 37, 0.76), rgba(178, 67, 71, 0.54) 40%, rgba(255, 255, 255, 0.12) 78%),
        linear-gradient(180deg, rgba(173, 31, 38, 0.2), rgba(173, 31, 38, 0.2));
}
.products-hero-title {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 380px;
  place-content: center;
  color: var(--white);
  text-align: center;
}

.products-hero-title p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.products-hero-title h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.15;
}

.product-filter {
  padding: 20px 0 18px;
  background: var(--gray);
  border-bottom: 0px solid var(--line);
}

/*.product-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}*/
.product-tabs {
    display: grid;
    /* 自动填充可用空间，每列最小120px，最大均分 */
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
    justify-content: center;
    /* 当列数不足时整体居中 */
}

.product-tabs a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #4b5563;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-tabs a:hover,
.product-tabs a.active {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 14px 26px rgba(215, 25, 32, 0.22);
  transform: translateY(-2px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #6b7280;
  font-size: 15px;
  font-weight: 700;
}

.breadcrumb a {
  color: #6b7280;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb span::before {
  margin-right: 10px;
  color: #9ca3af;
  content: ">";
}

.product-list-section {
  padding: 42px 0 86px;
  background: var(--white);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-item {
  overflow: hidden;
  min-height: 360px;
  background: #f7f8fb;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-item:hover {
  border-color: rgba(215, 25, 32, 0.22);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.product-image-placeholder {
  display: grid;
  min-height: 250px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.92)),
    repeating-linear-gradient(0deg, rgba(215, 25, 32, 0.04) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, rgba(31, 41, 55, 0.03) 0 1px, transparent 1px 18px);
}

.product-image-placeholder::before {
  width: 120px;
  height: 76px;
  content: "";
  border: 2px dashed rgba(215, 25, 32, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 18%, rgba(215, 25, 32, 0.12) 18% 21%, transparent 21% 79%, rgba(215, 25, 32, 0.12) 79% 82%, transparent 82%),
    linear-gradient(180deg, transparent 45%, rgba(31, 41, 55, 0.08) 45% 55%, transparent 55%);
}

.product-copy-placeholder {
  display: grid;
  gap: 14px;
  padding: 26px 28px 30px;
}

.product-copy-placeholder span,
.product-copy-placeholder i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: #e5e7eb;
}

.product-copy-placeholder span {
  width: 48%;
}

.product-copy-placeholder i {
  width: 76%;
}

@media (max-width: 1020px) {
  .products-page {
    padding-top: 68px;
  }

  .products-hero,
  .products-hero-title {
    min-height: 320px;
  }

  .product-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    height: auto;
    padding: 18px 24px 24px;
    transform: none;
    box-shadow: none;
    overflow: visible;
  }

  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content,
  .nav.open .dropdown-content {
    display: grid;
  }

  .mega-menu {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mega-menu img {
    display: none;
  }

  .mega-menu-body h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dropdown-content a {
    min-height: 46px;
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  .products-hero,
  .products-hero-title {
    min-height: 260px;
  }

  .product-tabs,
  .product-list {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    gap: 10px;
  }

  .product-tabs a {
    min-height: 48px;
    font-size: 16px;
  }

  .product-list-section {
    padding: 32px 0 66px;
  }

  .product-item {
    min-height: 330px;
  }
}
/* 新增卡片内容样式优化 */
.case-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #2c3e50;
    border-left: 4px solid #e74c3c;
    padding-left: 10px;
}

.case-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.case-card strong {
    color: #e74c3c;
    font-weight: 600;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-card p {
        font-size: 0.9rem;
    }
}

.phone-static {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    /* 指定常用字体 */
}

.icon-phone {
    margin-right: 6px;
    /* 图标与数字间距 */
    color: #333;
    /* 图标颜色，可根据需要调整 */
}

.phone-number {
    font-weight: bold;
    /* 数字加粗 */
    letter-spacing: 0.5px;
}


.product-item {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.product-item.hidden {
    display: none;
}
.product-tabs a.active {
    color: #ffffff;
    background: #d71920;
    box-shadow: 0 14px 26px rgba(215, 25, 32, 0.22);
    transform: translateY(-2px);
}


/* ========================================
   产品详情页新增样式
   ======================================== */

/* 页面布局 */
.product-detail-page {
    padding-top: 74px;
}

/* 面包屑导航 */
.breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

/* 产品主展示区 */
.product-detail-hero {
    background: var(--white);
    padding: 60px 0 80px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 图片画廊 */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #f9fafb;
}

.main-image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.02);
}

.thumb-list {
    display: flex;
    gap: 12px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 2px solid var(--line);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumb-item.active {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.thumb-item:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 产品信息 */
.product-info h1 {
    font-size: clamp(26px, 3vw, 34px);
    color: var(--ink);
    margin: 0 0 10px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 17px;
    color: var(--muted);
    margin: 0 0 28px;
}

.info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.meta-item {
    font-size: 15px;
    color: var(--muted);
}

.meta-item strong {
    color: var(--ink);
    margin-right: 6px;
}

.meta-item a {
    color: var(--brand);
    text-decoration: underline;
}

.product-contacts {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.contact-line {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    color: var(--muted);
    margin-right: 32px;
    margin-bottom: 8px;
}

.product-actions {
    margin-bottom: 20px;
}

.btn-inquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 50px;
    padding: 0 36px;
    color: var(--white);
    background: var(--brand);
    border: none;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(215, 25, 32, 0.24);
    transition: all 0.25s ease;
}

.btn-inquiry:hover {
    background: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(215, 25, 32, 0.3);
}

.disclaimer {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

/* 核心卖点 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 48px 28px;
    background: var(--gray);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    width: 80px;
    height: 80px;
    place-items: center;
    margin: 0 auto 24px;
    color: var(--brand);
}

.feature-item h3 {
    font-size: 22px;
    margin: 0 0 14px;
    color: var(--ink);
}

.feature-item p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

/* 技术规格表格 */
.specs-wrapper {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 24px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 18px 24px;
    text-align: left;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
}

.specs-table th {
    background: var(--gray);
    color: var(--muted);
    font-weight: 600;
    width: 200px;
    white-space: nowrap;
}

.specs-table td {
    color: var(--ink);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

/* 相关资源 */
.resource-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.resource-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--gray);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.resource-item:hover {
    background: #fee2e2;
    transform: translateX(4px);
}

.resource-item span {
    font-size: 15px;
    color: var(--ink);
}

.resource-download {
    color: var(--brand);
    font-weight: 800;
    font-size: 15px;
    transition: color 0.2s ease;
}

.resource-download:hover {
    color: var(--brand-dark);
}

/* 咨询表单 */
.product-contact .section-title p {
    color: var(--muted);
    margin: 8px 0 0;
    font-size: 15px;
}

.contact-form {
    max-width: 720px;
    margin: 32px auto 0;
    display: grid;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}

.form-group input[readonly] {
    background: var(--gray);
    color: var(--muted);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 50px;
    padding: 0 36px;
    color: var(--white);
    background: var(--brand);
    border: none;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(215, 25, 32, 0.24);
    transition: all 0.25s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(215, 25, 32, 0.3);
}

/* 相关产品 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all 0.25s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(215, 25, 32, 0.22);
}

.related-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.related-card .card-body {
    padding: 22px 24px;
}

.related-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--ink);
}

.learn-more {
    color: var(--brand);
    font-weight: 800;
    font-size: 14px;
    transition: color 0.2s ease;
}

.learn-more:hover {
    color: var(--brand-dark);
}

/* ===== 响应式适配 ===== */
@media (max-width: 1020px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .product-detail-hero {
        padding: 40px 0 60px;
    }

    .feature-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .thumb-list {
        flex-wrap: wrap;
    }

    .thumb-item {
        width: 64px;
        height: 64px;
    }

    .info-meta {
        flex-direction: column;
        gap: 14px;
    }

    .contact-line {
        display: block;
        margin-right: 0;
    }

    .specs-table th {
        width: 140px;
        font-size: 14px;
    }

    .specs-table th,
    .specs-table td {
        padding: 14px 16px;
        font-size: 14px;
    }

    .btn-inquiry,
    .btn-submit {
        width: 100%;
    }
}


/* ========================================
   公司介绍页面新增样式
   ======================================== */

/* --- About Page 主容器 --- */
.about-page {
    padding-top: 74px;
}

/* --- Hero Banner --- */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(180, 20, 25, 0.80) 0%,
        rgba(200, 40, 45, 0.60) 40%,
        rgba(255, 255, 255, 0.10) 80%
    ),
    linear-gradient(180deg, rgba(180, 20, 25, 0.15), rgba(180, 20, 25, 0.25));
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    color: var(--white);
}

.about-hero-content h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 2px;
}

.about-hero-subtitle {
    margin: 0;
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 4px;
}

/* --- Sub Navigation Tabs --- */
.about-subnav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 74px;
    z-index: 40;
}

.about-subnav .container {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.about-subnav-item {
    display: inline-flex;
    align-items: center;
    padding: 16px 24px;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.about-subnav-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--brand);
    transform: translateX(-50%);
    transition: width 0.24s ease;
    border-radius: 3px 3px 0 0;
}

.about-subnav-item:hover,
.about-subnav-item.active {
    color: var(--brand);
}

.about-subnav-item:hover::after,
.about-subnav-item.active::after {
    width: 100%;
}

/* --- Section Base --- */
.about-section {
    padding: 80px 0;
}

.about-section-title {
    text-align: center;
    margin: 0 0 56px;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: #172033;
    position: relative;
}

.about-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* --- 公司简介 --- */
.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: center;
}

.about-intro-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    display: block;
}

.about-intro-text p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 2;
    color: #374151;
}

.about-intro-text p:first-of-type {
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
}

/* --- 公司大事记 --- */
.timeline-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.timeline-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: 999px;
    color: #374151;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.timeline-tab:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.timeline-tab.active {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(215, 25, 25, 0.24);
}

.timeline-content {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-year {
    display: none;
}

.timeline-year.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-year h3 {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 800;
    color: var(--brand);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--line);
}

.timeline-year ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

.timeline-year li {
    position: relative;
    padding: 18px 24px 18px 32px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    border-left: 4px solid var(--brand);
}

.timeline-year li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 22px;
    color: var(--brand);
    font-size: 16px;
    font-weight: bold;
}

/* --- 麒麟动态 --- */
.news-grid.three {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.news-card-body {
    padding: 24px 28px 28px;
}

.news-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 700;
    color: #172033;
    line-height: 1.4;
}

.news-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.news-more {
    color: var(--brand);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-more:hover {
    color: var(--brand-dark);
}

/* --- 企业愿景 --- */
.vision-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vision-card {
    background: var(--white);
    border-radius: 12px;
    padding: 42px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.vision-icon {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    margin: 0 auto 24px;
    color: var(--brand);
    background: #fef2f2;
    border-radius: 50%;
}

.vision-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: #172033;
}

.vision-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* --- 招贤纳士 --- */
.careers-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    font-size: 17px;
    color: var(--muted);
    line-height: 1.8;
}

.careers-list {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.career-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.career-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

.career-info h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #172033;
}

.career-location,
.career-dept {
    display: inline-block;
    margin-right: 16px;
    font-size: 14px;
    color: var(--muted);
}

.career-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    color: var(--white);
    background: var(--brand);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.career-apply:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

/* --- 联系我们 --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    flex-shrink: 0;
    color: var(--brand);
    background: #fef2f2;
    border-radius: 50%;
}

.contact-text h4 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #172033;
}

.contact-text p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--gray);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(215, 25, 25, 0.10);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    color: var(--white);
    background: var(--brand);
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(215, 25, 25, 0.24);
}

.btn-submit:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(215, 25, 25, 0.30);
}

/* --- 开源贡献 --- */
.open-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.open-content p {
    font-size: 17px;
    line-height: 2;
    color: var(--muted);
    margin: 0 0 48px;
}

.open-contributions {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.open-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.open-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 8px;
}

.open-stat-label {
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
}

/* --- 响应式适配 --- */
@media (max-width: 1020px) {
    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-intro-img {
        max-width: 600px;
        margin: 0 auto;
    }
    .news-grid.three {
        grid-template-columns: repeat(2, 1fr);
    }
    .vision-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 680px) {
    .about-hero {
        min-height: 320px;
    }
    .about-subnav .container {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 16px;
        -webkit-overflow-scrolling: touch;
    }
    .about-subnav-item {
        padding: 14px 18px;
        font-size: 15px;
    }
    .about-section {
        padding: 60px 0;
    }
    .news-grid.three {
        grid-template-columns: 1fr;
    }
    .vision-content {
        grid-template-columns: 1fr;
    }
    .timeline-tab {
        min-width: 80px;
        padding: 10px 20px;
        font-size: 14px;
    }
    .career-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .open-contributions {
        gap: 40px;
    }
    .open-stat-number {
        font-size: 36px;
    }
    .contact-form {
        padding: 28px 24px;
    }
}

/* 容器重置与布局 */
#contact-module-wrapper {
    width: 100%;
    background-color: #f5f7fa;
    /* 浅灰背景 */
    padding: 60px 0;
    font-family: "Microsoft YaHei", sans-serif;
    /* 强制字体，可根据需要删除 */
    box-sizing: border-box;
}

#contact-module-wrapper * {
    box-sizing: border-box;
    /* 确保内部尺寸计算不包含边框 */
}

#contact-module-wrapper .cm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 标题样式 */
#contact-module-wrapper .cm-title {
    text-align: center;
    font-size: 40px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 网格布局系统 */
#contact-module-wrapper .cm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 默认两列 */
    gap: 30px;
    /* 卡片间距 */
}

/* 卡片样式 */
#contact-module-wrapper .cm-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

#contact-module-wrapper .cm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#contact-module-wrapper .cm-img-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 自动按16:9计算高度 */
    overflow: hidden;
}

#contact-module-wrapper .cm-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保证图片填满且不变形 */
    transition: transform 0.5s ease;
}

#contact-module-wrapper .cm-card:hover .cm-img-box img {
    transform: scale(1.05);
    /* 悬停微放大效果 */
}

/* 文字内容区域 */
#contact-module-wrapper .cm-text-box {
    padding: 25px 30px;
    flex-grow: 1;
    /* 让文字区域填满剩余空间 */
}

#contact-module-wrapper .cm-text-box h3 {
    font-size: 20px;
    color: #222;
    margin: 0 0 15px 0;
    border-left: 4px solid #0056b3;
    /* 左侧蓝色装饰条 */
    padding-left: 10px;
    line-height: 1.2;
}

#contact-module-wrapper .cm-text-box p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
    line-height: 1.6;
}

#contact-module-wrapper .cm-text-box span,
#contact-module-wrapper .cm-text-box strong {
    color: #333;
    font-weight: 600;
}

/* 列表组样式 (针对分公司和研发中心) */
#contact-module-wrapper .cm-list-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 响应式适配：手机端变为单列 */
@media (max-width: 768px) {
    #contact-module-wrapper .cm-grid {
        grid-template-columns: 1fr;
        /* 变为单列 */
    }

    #contact-module-wrapper .cm-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    #contact-module-wrapper .cm-img-box {
        height: 180px;
    }
}
