/**
 * 上海敏新科技发展有限公司 - 企业官网样式
 * 极简 / 大屏留白 / 科技感
 */

:root {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --hero-bg: #0a0a0b;
  --hero-text: #f5f5f7;
  --radius-lg: 20px;
  --radius-md: 12px;
  --nav-h: 52px;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* 防止图片被右键另存为 */
.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.no-select img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.47059;
  -webkit-font-smoothing: antialiased;
}

/* 首页锚点：占位在文档流最顶端，供 #top 与平滑滚动计算使用 */
.page-top-anchor {
  height: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

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

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

ul {
  list-style: none;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s var(--ease-out);
}

.site-header.is-dark {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.site-header.is-dark .logo-text,
.site-header.is-dark .nav-link {
  color: var(--text);
}

.site-header.is-dark .nav-link:hover {
  color: var(--accent);
}

.site-header.is-dark .nav-toggle span {
  background: var(--text);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.site-header.is-dark .logo-sub {
  color: rgba(0, 0, 0, 0.5);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.88;
  letter-spacing: -0.01em;
  transition: opacity 0.2s var(--ease-out);
}

.nav-link:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 22px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile .nav-link {
  font-size: 17px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  text-decoration: none;
  color: var(--text);
  opacity: 1;
  transition: none;
}

/* Hero 区内顶栏为深色时，移动菜单与之一致 */
.site-header.is-dark + .nav-mobile {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.site-header.is-dark + .nav-mobile .nav-link {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.06);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 120px 22px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.section--tight {
  padding-top: 100px;
}

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

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.4211;
}

/* 淡入动画（由 JS 添加 .is-visible） */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ---------- 首页 Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 22px 80px;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8ed 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(0, 113, 227, 0.06),
      transparent 55%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-titles {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-title {
    white-space: normal;
    word-break: break-word;
    letter-spacing: 0.02em;
  }
}

.hero-subtitle {
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: min(880px, 92vw);
  margin: 0 auto 40px;
}

.hero-subtitle-line2 {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-subtitle-line2 {
    white-space: normal;
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 400;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.hero-cta:hover {
  border-color: var(--accent);
  color: #2997ff;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  animation: hero-scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

/* ---------- 核心优势 ---------- */
.advantages {
  background: var(--bg-elevated);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.advantage-card > div {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f2ff, #f0f7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 16px;
  flex-shrink: 0;
}

.advantage-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  align-self: center;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- 场景化选型推荐 ---------- */
.selection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1069px) {
  .selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .selection-card--wide {
    grid-column: 1 / -1;
  }
}

.selection-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}



.selection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.selection-card-header {
  margin-bottom: 24px;
}

.selection-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
  color: var(--text);
}

.selection-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.selection-card-body p {
  margin-bottom: 16px;
}

.selection-list {
  margin: 0 0 24px 0;
  padding-left: 20px;
}

.selection-list li {
  margin-bottom: 12px;
  position: relative;
}

.selection-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: -16px;
}

.selection-summary {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--text);
}

/* ---------- 关于我们 ---------- */
.about-block {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.about-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px 18px 16px;
  margin-left: -16px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.info-item:hover {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #f5f5f7;
  color: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid var(--border);
}

.info-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  pointer-events: none;
}

.info-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.info-item p {
  margin: 0;
  padding-top: 2px;
}

.timeline {
  margin-top: 40px;
  padding-left: 0;
  border-left: 1px solid var(--border);
}

.timeline-item {
  padding-left: 24px;
  margin-bottom: 28px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-year {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-img-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  background: #e8e8ed;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.about-img-card__inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out);
}

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

.about-img-card--tilt {
  perspective: 1000px;
}

.about-img-card--tilt .about-img-card__inner {
  will-change: transform;
}

.about-img-card--parallax .about-img-card__inner--parallax {
  transition: none;
}

.about-img-card--parallax .about-img-card__inner--parallax img {
  width: 100%;
  height: 115%;
  min-height: 100%;
  object-position: center center;
  will-change: transform;
  transition: transform 0.2s var(--ease-out);
}

.about-img-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  pointer-events: none;
}

.about-img-caption span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .about-img-card--tilt .about-img-card__inner {
    transform: none !important;
  }

  .about-img-card--parallax .about-img-card__inner--parallax img {
    transform: none !important;
    height: 100%;
  }
}

/* ---------- 产品中心 ---------- */
.elo-products {
  background: var(--bg-elevated);
}

.products {
  background: var(--bg-elevated);
}

.products .section-head {
  max-width: 760px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s,
    transform 0.2s;
}

.filter-btn:hover {
  border-color: rgba(0, 113, 227, 0.35);
  color: var(--text);
}

.filter-btn.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.filter-btn:active {
  transform: scale(0.98);
}

.section-desc--products {
  max-width: 720px;
  margin: 0 auto;
}

.products-table-title {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.products-code-hint {
  font-size: 0.92em;
  font-family: ui-monospace, monospace;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
}

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

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.product-card:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.product-card.is-hidden {
  display: none;
}

.product-thumb {
  aspect-ratio: 16 / 10;
  background: #e8e8ed;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s var(--ease-out);
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-body {
  padding: 22px 20px 24px;
}

.product-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.products .product-tag {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1.35;
  font-size: 12px;
}

.product-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-copy {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.product-fit,
.product-models {
  margin: 0 0 10px;
}

.product-k {
  display: inline-block;
  min-width: 4.25em;
  margin-right: 6px;
  font-weight: 600;
  color: var(--text);
}

.product-features {
  margin-top: 4px;
}

.product-features-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin: 14px 0 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.product-bullets {
  margin: 0;
  padding-left: 1.15em;
  list-style: disc;
}

.product-bullets li {
  margin-bottom: 5px;
}

.product-bullets li:last-child {
  margin-bottom: 0;
}

/* ---------- 项目案例（大图） ---------- */
.cases-stack {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.case-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.case-row:nth-child(even) {
  direction: rtl;
}

.case-row:nth-child(even) > * {
  direction: ltr;
}

.case-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1d1d1f;
  aspect-ratio: 16 / 10;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: opacity 0.4s, transform 0.7s var(--ease-out);
}

.case-row:hover .case-media img {
  opacity: 1;
  transform: scale(1.02);
}

.case-meta {
  padding: 0 8px;
}

.case-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.case-fields {
  font-size: 16px;
  line-height: 1.55;
}

.case-fields p {
  display: grid;
  grid-template-columns: 5.75em minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
  margin: 0 0 12px;
}

.case-field-products {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
}

.case-field-products > p:first-child {
  display: grid;
  grid-template-columns: 5.75em minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
  margin: 0;
}

.case-field-products > p:first-child > span.case-field-v {
  display: block;
}

.case-field-products > p:not(:first-child) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding-left: calc(5.75em + 12px);
  color: var(--text-secondary);
  line-height: 1.5;
}

.case-fields p:last-child {
  margin-bottom: 0;
}

.case-field-k {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.case-field-v {
  margin: 0;
  font-weight: 400;
  color: var(--text-secondary);
}

.case-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- 系统集成案例（时间轴） ---------- */
.integration-section {
  background: var(--bg);
}

.int-timeline {
  --tl-gutter: 22px;
  /* 圆点在行内 left:88px，行本身从内容区左缘开始 = 父级 padding-left 之后，竖线需再加同一内边距 */
  --tl-axis: calc(var(--tl-gutter) + 88px);
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--tl-gutter);
}

.int-timeline::before {
  content: "";
  position: absolute;
  left: var(--tl-axis);
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(0, 113, 227, 0.35),
    var(--border) 35%,
    var(--border)
  );
  border-radius: 1px;
}

.int-timeline__row {
  position: relative;
  padding-left: 112px;
  margin-bottom: 36px;
}

.int-timeline__row:last-child {
  margin-bottom: 0;
}

.int-timeline__row::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.18);
  z-index: 1;
  transform: translateX(-50%);
}

.int-timeline__year {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  text-align: right;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.2;
}

.int-timeline__content {
  min-width: 0;
}

.int-timeline__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.int-timeline__list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
}

.int-timeline__list li:last-child {
  margin-bottom: 0;
}

.int-timeline__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

.int-timeline__list strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .int-timeline {
    --tl-axis: calc(var(--tl-gutter) + 14px);
  }

  .int-timeline__row {
    padding-left: 40px;
    margin-bottom: 28px;
  }

  .int-timeline__row::before {
    left: 14px;
  }

  .int-timeline__year {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 10px;
  }
}

/* ---------- 硬件供应案例（时间轴） ---------- */
.hardware-section {
  background: var(--bg-elevated);
}

.hardware-timeline {
  --tl-gutter: 22px;
  --tl-axis: calc(var(--tl-gutter) + 180px);
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--tl-gutter);
}

.hardware-timeline::before {
  content: "";
  position: absolute;
  left: var(--tl-axis);
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(0, 113, 227, 0.35),
    var(--border) 35%,
    var(--border)
  );
  border-radius: 1px;
}

.hardware-timeline__row {
  position: relative;
  padding-left: 210px;
  margin-bottom: 36px;
}

.hardware-timeline__row:last-child {
  margin-bottom: 0;
}

.hardware-timeline__row::before {
  content: "";
  position: absolute;
  left: 180px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.18);
  z-index: 1;
  transform: translateX(-50%);
}

.hardware-timeline__year {
  position: absolute;
  left: 0;
  top: 0;
  width: 140px;
  text-align: right;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.2;
  padding-right: 0px;
  white-space: nowrap;
}

.hardware-timeline__content {
  min-width: 0;
}

.hardware-timeline__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hardware-timeline__list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
}

.hardware-timeline__list li:last-child {
  margin-bottom: 0;
}

.hardware-timeline__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

.hardware-timeline__list strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .hardware-timeline {
    --tl-axis: calc(var(--tl-gutter) + 14px);
  }

  .hardware-timeline__row {
    padding-left: 40px;
    margin-bottom: 28px;
  }

  .hardware-timeline__row::before {
    left: 14px;
  }

  .hardware-timeline__year {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 10px;
    padding-right: 0;
  }
}

/* ---------- 维修服务 ---------- */
.service {
  background: var(--bg);
}

.service-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* 维修服务介绍 */
.service-intro {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.service-intro p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* 服务流程 */
.service-process {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.service-section-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  line-height: 1.25;
  color: var(--text);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-step {
  display: flex;
  margin-bottom: 24px;
  position: relative;
  padding-left: 60px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: -24px;
  width: 2px;
  background: var(--border);
  z-index: 1;
}

.process-step:last-child::before {
  display: none;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  z-index: 2;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.sub-steps {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0;
}

.sub-steps li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.sub-steps ul {
  list-style: disc;
  padding: 0 0 0 20px;
  margin: 8px 0;
}

.sub-steps ul li {
  margin-bottom: 4px;
}

/* 保内/保外服务说明 */
.service-table-section {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.service-table {
  overflow-x: auto;
}

.service-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.service-table th,
.service-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.service-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.service-table td {
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-table tr:last-child td {
  border-bottom: none;
}

/* 服务承诺 */
.service-commitment {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-commitment p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* 服务联系方式 */
.service-contact {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.service-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.service-contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, #5856d6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.service-contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-contact-label {
  font-size: 12px;
  color: var(--text-tertiary);
  
  letter-spacing: 0.5px;
}

.service-contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.service-contact-value:hover {
  color: var(--accent);
}

.service-contact-note {
  font-size: 12px;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .service-intro,
  .service-process,
  .service-table-section,
  .service-commitment {
    padding: 24px 20px;
  }
  
  .service-section-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .process-step {
    padding-left: 50px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .service-contact {
    flex-direction: column;
    gap: 16px;
  }

  .service-contact-item {
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-md);
  }
  
  .process-step::before {
    left: 19px;
    top: 40px;
  }
  
  .step-content h4 {
    font-size: 15px;
  }
  
  .service-table th,
  .service-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ---------- 联系我们 ---------- */
.contact {
  background: #f5f5f7;
  color: var(--text);
}

.contact .section-kicker {
  color: var(--accent);
}

.contact .section-title {
  color: var(--text);
}

.contact .section-desc {
  color: var(--text-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}

.contact-card:hover {
  background: var(--bg);
  border-color: rgba(0, 113, 227, 0.2);
  transform: translateY(-2px);
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.contact-value {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-value--address-line {
  display: block;
  white-space: nowrap;
  font-size: 15px;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.contact-value a {
  color: #2997ff;
  transition: opacity 0.2s;
}

.contact-value a:hover {
  opacity: 0.85;
}

/* 多联系方式卡片网格 */
.contact-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
}

.contact-card-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-item-icon--avatar {
  background: linear-gradient(135deg, var(--accent) 0%, #5856d6 100%);
}

.contact-card-item-icon--email {
  background: linear-gradient(135deg, #0071e3 0%, #5856d6 100%);
  color: #fff;
  font-size: 20px;
}

.contact-card-item-icon--avatar svg {
  width: 22px;
  height: 22px;
}

.contact-card-item-icon--email svg {
  width: 20px;
  height: 20px;
}

.contact-card-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.contact-card-item-label {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
}

.contact-card-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card-item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.contact-card-item-value:hover {
  color: var(--accent);
}

.contact-card-item-note {
  font-size: 12px;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.contact-card-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.contact-card-item-right-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

.contact-card-item-right-value {
  font-size: 14px;
  font-weight: 500;
  color: #0071e3;
}

.contact-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.contact-card--full {
  display: flex;
  flex-direction: column;
}

.contact-card-section {
  flex: 1;
}

.contact-card-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

@media (max-width: 640px) {
  .contact-card-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
  }

  .contact-card-item-icon--avatar {
    grid-row: 1;
    grid-column: 1;
  }

  .contact-card-item-info {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .contact-card-item-icon--email {
    grid-row: 2;
    grid-column: 1;
  }

  .contact-card-item-info--email {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .contact-card-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }

  .contact-card-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .contact-group {
    width: 100%;
  }

  .contact-group--avatar {
    font-weight: 600;
    color: var(--text);
  }

  .contact-group--avatar .contact-multi-label {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
  }
}

.contact-avatar,
.contact-phone {
  flex-shrink: 0;
}

.contact-multi-label {
  font-size: 12px;
  color: var(--text-tertiary);
  min-width: 28px;
}

.contact-multi-item a,
.contact-multi-item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.contact-multi-item span {
  color: var(--text);
}

.contact-note {
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-tertiary);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 24px 22px 40px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-footer p {
  margin: 0 0 8px;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-quaternary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- 项目图片显示框 ---------- */
.project-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.project-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 10;
}

.project-modal-close:hover,
.project-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.project-modal-images {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  max-width: 90vw;
  max-height: 90vh;
}

.project-modal-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.project-modal-image-container.active {
  display: flex;
}

.project-modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.project-modal-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.project-modal-prev,
.project-modal-next {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.project-modal-prev:hover,
.project-modal-next:hover {
  background: #4a89dc;
  /* 浅一度的淡蓝色，确保按钮始终清晰可见 */
}

.project-modal-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

/* 项目链接样式 */
.project-link {
  text-decoration: underline;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: var(--accent-dark);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1068px) {
  .project-modal-content {
    width: 90%;
    margin: 15% auto;
  }
  
  .project-modal-images {
    min-height: 250px;
  }
  
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .selection-grid {
    grid-template-columns: 1fr;
  }

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

  .case-row,
  .case-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .case-row:nth-child(even) > * {
    direction: ltr;
  }
}

@media (max-width: 834px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 600px) {
  .section {
    padding: 88px 20px 72px;
  }

  .info-item {
    margin-left: 0;
    padding: 16px 14px;
  }

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

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

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

  .cases-stack {
    gap: 72px;
  }
  
  .project-modal-content {
    width: 95%;
    margin: 20% auto;
    padding: 10px;
  }
  
  .project-modal-images {
    min-height: 200px;
  }
  
  .project-modal-prev,
  .project-modal-next {
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .project-modal-close {
    font-size: 24px;
    top: 5px;
    right: 10px;
  }
}
