/* =========================================================
   智联云创官网 — 全局样式
   主色：#d30f26（红）  辅助色：#22d3ee（青）
   深文字：#0f172a     浅文字：#64748b
   面板底色：#f1f5f9   页脚深色：#020617
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* 等宽字体（编号/标签） */
.mono { font-family: 'SF Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace; }

/* ---------- 通用动效 ---------- */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s cubic-bezier(.21,.61,.35,1), transform .9s cubic-bezier(.21,.61,.35,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal-init.in { opacity: 1; transform: translateY(0); }

.mask-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask-inner { display: block; transform: translateY(110%); transition: transform .9s cubic-bezier(.21,.61,.35,1); }
.mask-line:nth-child(2) .mask-inner { transition-delay: .12s; }
body.loaded .mask-inner { transform: translateY(0); }

.link-u { position: relative; }
.link-u::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0;
  background: currentColor; transition: width .3s ease;
}
.link-u:hover::after { width: 100%; }

.arrow { width: 16px; height: 16px; transition: transform .3s ease; }
a:hover .arrow, .case-card:hover .arrow, .news-item:hover .arrow { transform: translateX(8px); }

/* 按钮文字上滑 */
.btn-slide { position: relative; overflow: hidden; display: inline-block; }
.btn-slide .btn-t-dup {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.45,.05,.55,.95);
}
.btn-slide:hover .btn-t-dup { transform: translateY(0); }
.btn-slide { line-height: 1; }
.btn-slide > *:first-child:not(.btn-t-dup) { display: inline-block; transition: transform .35s cubic-bezier(.45,.05,.55,.95); }
.btn-slide:hover > *:first-child:not(.btn-t-dup) { transform: translateY(-250%); }

.btn-primary { background: #d30f26; color: #fff; border-radius: 999px; padding: 11px 24px; font-size: 14px; font-weight: 500; }
.btn-dark { background: #0f172a; color: #fff; border-radius: 999px; padding: 17px 36px; font-size: 15px; font-weight: 500; }
.btn-light { background: #fff; color: #0f172a; border-radius: 999px; padding: 17px 36px; font-size: 15px; font-weight: 500; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform .35s cubic-bezier(.45,.05,.55,.95), background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom-color: #f1f5f9; }
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .nav-inner { padding: 0 32px; height: 72px; } }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { display: block; height: 44px; width: auto; }
@media (min-width: 1024px) { .logo-img { height: 52px; } }

.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a.link-u { font-size: 16px; font-weight: 700; color: #000000; transition: color .3s; }
.nav-links a.link-u:hover { color: #d30f26; }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-toggle {
  min-width: 64px; height: 40px; padding: 0 14px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; color: #0f172a;
  border: 1px solid rgba(15,23,42,.18);
  background: rgba(255,255,255,.92);
  box-shadow: 0 4px 14px rgba(2,6,23,.14);
  transition: all .3s;
}
.nav-toggle.open { background: rgba(211,15,38,.95); color: #fff; border-color: transparent; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: #020617;
  display: flex; flex-direction: column; justify-content: center; padding: 0 32px;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px 0;
  font-size: 24px; font-weight: 500; color: #fff;
}
.mobile-menu a i {
  font-style: normal; font-family: ui-monospace, Consolas, monospace;
  font-size: 12px; color: #f87171; margin-right: 16px;
}
.mobile-menu-foot { margin-top: 48px; font-size: 11px; letter-spacing: .25em; color: #475569; font-family: ui-monospace, Consolas, monospace; }

/* ---------- 首屏轮播 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; background: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 7s ease-out; }
.hero-slide.active img { transform: scale(1.05); }
.hero-mask { display: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 130px; padding-bottom: 90px; }
@media (max-width: 767px) { .hero-content { padding-top: 110px; padding-bottom: 60px; } }
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .3em; color: #1e293b; font-weight: 700;
  font-family: ui-monospace, Consolas, monospace; margin-bottom: 24px;
}
@media (min-width: 768px) { .hero-kicker { font-size: 14px; } }
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 999px; background: #d30f26; }
.hero-title {
  font-size: clamp(44px, 13vw, 84px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em;
  color: #fff; text-shadow: 0 2px 24px rgba(15,23,42,.45);
}
.hero-title em { font-style: normal; color: #d30f26; }
.hero-desc {
  margin-top: 24px; max-width: 36rem;
  font-size: 15px; line-height: 1.8; color: #fff; font-weight: 500;
  text-shadow: 0 1px 12px rgba(15,23,42,.5);
}
@media (min-width: 768px) { .hero-desc { font-size: 18px; margin-top: 32px; } }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
@media (min-width: 768px) { .hero-actions { margin-top: 40px; } }
.hero-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #0f172a; transition: color .3s; }
.hero-link:hover { color: #d30f26; }
.hero-bottom { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .hero-bottom { margin-top: 96px; } }
.scroll-hint {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .25em; color: #64748b;
  font-family: ui-monospace, Consolas, monospace;
}
.scroll-hint .line { width: 40px; height: 1px; background: #94a3b8; }
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dots button { height: 3px; width: 20px; border-radius: 999px; background: rgba(100,116,139,.5); transition: all .5s; }
.hero-dots button.active { width: 40px; background: #d30f26; }
.hero-dots button:hover { background: #64748b; }

/* ---------- 数据看板 ---------- */
.stats { background: #fff; }
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 0;
  border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
  padding: 48px 0;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 64px 0; }
  .stat + .stat { border-left: 1px solid #e2e8f0; }
}
.stat { padding: 0 8px; }
@media (min-width: 768px) { .stat { padding: 0 32px; } }
.stat-num { font-size: 36px; font-weight: 600; letter-spacing: -.02em; color: #0f172a; }
@media (min-width: 768px) { .stat-num { font-size: 48px; } }
.stat-num i { font-style: normal; color: #d30f26; }
.stat-label { margin-top: 12px; font-size: 14px; color: #64748b; }

/* ---------- 通用版块 ---------- */
.section { padding: 24px 0; }
@media (min-width: 768px) { .section { padding: 40px 0; } }
.section-lg { padding: 56px 0; }
@media (min-width: 768px) { .section-lg { padding: 88px 0; } }

.panel {
  background: #f1f5f9; border-radius: 32px;
  padding: 56px 24px;
}
@media (min-width: 768px) {
  .panel { border-radius: 40px; padding: 80px 56px; }
}

.sec-kicker {
  font-size: 40px; font-weight: 700; letter-spacing: .12em; color: #d30f26;
  font-family: ui-monospace, Consolas, monospace; margin-bottom: 20px;
}
.sec-title { font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
@media (min-width: 768px) { .sec-title { font-size: 27px; } }
.sec-desc { margin-top: 24px; max-width: 36rem; font-size: 15px; line-height: 1.9; color: #475569; }
@media (min-width: 768px) { .sec-desc { font-size: 16px; } }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 56px;
}
@media (min-width: 768px) { .sec-head { margin-bottom: 56px; } }
.sec-note { max-width: 24rem; font-size: 15px; line-height: 1.8; color: #64748b; }

/* ---------- 关于我们（无背景面板，左文右单图） ---------- */
.container-wide { max-width: 1440px; }
.about-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
}
.about-left .sec-desc + .sec-desc { margin-top: 20px; }
.about-main-img {
  position: relative; aspect-ratio: 1340 / 746; overflow: hidden; border-radius: 32px;
}
.about-main-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.about-main-img:hover img { transform: scale(1.04); }

/* ---------- 发展历程（首页精选 4 条） ---------- */
.milestones-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 40px;
}
.milestones-head .hero-link { font-size: 14px; }
.milestones {
  display: grid; border-top: 1px solid #e2e8f0;
}
@media (min-width: 768px) {
  .milestones-grid { grid-template-columns: 1fr 1fr; column-gap: 64px; }
}
.milestone {
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid #e2e8f0; padding: 18px 0;   /* 行距在这里调整：改 padding 数值即可 */
}
.m-year {
  width: 52px; flex-shrink: 0; font-size: 15px; font-weight: 600; color: #d30f26;
  font-family: ui-monospace, Consolas, monospace;
}
.milestone span:last-child { font-size: 14px; line-height: 1.6; color: #334155; }

.about-images { display: flex; flex-direction: column; gap: 20px; }
.about-img { position: relative; flex: 1 1 0; min-height: 220px; overflow: hidden; border-radius: 24px; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 核心业务 ---------- */
.services-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .services-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }

.acc-item { border-top: 1px solid #e2e8f0; }
.acc-item:last-child { border-bottom: 1px solid #e2e8f0; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; gap: 20px;
  padding: 24px 0; text-align: left;
}
@media (min-width: 768px) { .acc-trigger { gap: 32px; padding: 32px 0; } }
.acc-bar { display: none; position: relative; width: 2px; align-self: stretch; background: #e2e8f0; }
.acc-bar span { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: #d30f26; transition: height .5s cubic-bezier(.45,.05,.55,.95); }
.acc-item.open .acc-bar span { height: 100%; }
@media (min-width: 640px) { .acc-bar { display: block; } }
.acc-num { font-size: 14px; color: #94a3b8; font-family: ui-monospace, Consolas, monospace; }
.acc-item.open .acc-num { color: #d30f26; }
.acc-title { flex: 1; font-size: 20px; font-weight: 500; color: #64748b; transition: color .3s; }
.acc-trigger:hover .acc-title { color: #0f172a; }
.acc-item.open .acc-title { color: #0f172a; }
@media (min-width: 768px) { .acc-title { font-size: 24px; } }
.acc-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #cbd5e1; border-radius: 999px; color: #64748b;
  transition: all .5s;
}
.acc-icon svg { width: 16px; height: 16px; }
.acc-trigger:hover .acc-icon { border-color: #0f172a; color: #0f172a; }
.acc-item.open .acc-icon { transform: rotate(45deg); border-color: #d30f26; background: #d30f26; color: #fff; }

.acc-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.45,.05,.55,.95);
}
.acc-item.open .acc-panel { max-height: 600px; }
.acc-body { visibility: hidden; transition: visibility .3s; }
.acc-item.open .acc-body { visibility: visible; }
.acc-body > p { max-width: 36rem; font-size: 15px; line-height: 1.8; color: #475569; }
.acc-body ul { margin-top: 20px; list-style: none; }
.acc-body li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #334155; padding: 5px 0; }
.acc-body li::before { content: ''; width: 5px; height: 5px; border-radius: 999px; background: #d30f26; flex-shrink: 0; }
@media (min-width: 640px) { .acc-body { padding-left: 74px; padding-right: 16px; } }
.acc-body { padding-bottom: 32px; }
.acc-img { position: relative; margin-top: 28px; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px; }
.acc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .acc-img { display: none; } }

.services-preview { display: none; }
@media (min-width: 1024px) { .services-preview { display: block; } }
.services-sticky {
  position: sticky; top: 112px; aspect-ratio: 4/3;
  overflow: hidden; border-radius: 24px; background: #f1f5f9;
}
.services-sticky img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05); transition: opacity .7s, transform .7s;
}
.services-sticky img.active { opacity: 1; transform: scale(1); }
.services-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 32px; background: linear-gradient(to top, rgba(2,6,23,.6), transparent);
}
.sc-title { font-size: 18px; font-weight: 500; color: #fff; }
.sc-index { font-size: 12px; letter-spacing: .25em; color: rgba(255,255,255,.7); font-family: ui-monospace, Consolas, monospace; }

/* ---------- 成功案例 ---------- */
.panel-head { padding: 0; }
.cases-nav { display: none; gap: 12px; }
@media (min-width: 768px) { .cases-nav { display: flex; } }
.cases-nav button {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border: 1px solid #cbd5e1; border-radius: 999px; color: #334155; transition: all .3s;
}
.cases-nav button svg { width: 20px; height: 20px; }
.cases-nav button:hover { border-color: #0f172a; background: #0f172a; color: #fff; }

/* ---------- 产品中心（自动滚播） ---------- */
.prod-marquee { overflow: hidden; margin: 8px auto 0; max-width: 1280px; padding: 0 32px; box-sizing: border-box; }
.prod-track {
  display: flex; gap: 24px; width: max-content;
  animation: prodScroll 36s linear infinite;
  padding: 8px 0 16px;
}
.prod-marquee:hover .prod-track { animation-play-state: paused; }
@keyframes prodScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes casesScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.prod-card {
  position: relative; flex-shrink: 0; width: 300px;
  border-radius: 20px; overflow: hidden; background: #f1f5f9;
}
@media (min-width: 768px) { .prod-card { width: 286px; } }
.prod-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s; }
.prod-card:hover img { transform: scale(1.05); }
.prod-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px;
  background: linear-gradient(to top, rgba(2,6,23,.78), transparent);
  color: #fff;
}
.prod-info h3 { font-size: 17px; font-weight: 600; }
.prod-info p { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.78); }

.cases-marquee { overflow: hidden; }
.cases-rail {
  display: flex; gap: 24px; width: max-content;
  animation: casesScroll 40s linear infinite;
  padding-bottom: 8px;
}
.cases-marquee:hover .cases-rail { animation-play-state: paused; }

.case-card {
  position: relative; flex-shrink: 0; scroll-snap-align: start;
  width: 80vw; max-width: 400px; aspect-ratio: 3/4;
  overflow: hidden; border-radius: 24px; background: #e2e8f0;
}
@media (min-width: 640px) { .case-card { width: 400px; aspect-ratio: 4/5; } }
.case-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s;
}
.case-card:hover > img { transform: scale(1.05); }
.case-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,.75), rgba(2,6,23,.15), rgba(2,6,23,.2));
}
.case-num {
  position: absolute; top: 28px; left: 28px;
  font-size: 12px; letter-spacing: .25em; color: rgba(255,255,255,.8);
  font-family: ui-monospace, Consolas, monospace;
}
.case-tag {
  position: absolute; top: 26px; right: 28px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 6px 16px; font-size: 12px; color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}
.case-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.case-info h3 { font-size: 20px; font-weight: 500; line-height: 1.4; color: #fff; }
.case-info p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.8); }
.case-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #fff; }

/* ---------- 新闻资讯 ---------- */
.news-grid { display: grid; gap: 48px 32px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-item { cursor: pointer; }
.news-meta { display: flex; align-items: center; gap: 16px; }
.news-date { font-size: 12px; letter-spacing: .08em; color: #64748b; font-family: ui-monospace, Consolas, monospace; }
.news-tag { background: #fef2f2; color: #d30f26; font-size: 12px; font-weight: 500; border-radius: 999px; padding: 4px 12px; }
.news-item h3 { margin-top: 16px; font-size: 18px; font-weight: 500; line-height: 1.5; color: #0f172a; transition: color .3s; }
@media (min-width: 768px) { .news-item h3 { font-size: 20px; } }
.news-item:hover h3 { color: #d30f26; }
.news-item > p { margin-top: 16px; font-size: 14px; line-height: 1.8; color: #64748b; }
.news-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #0f172a; }

/* ---------- 页脚 ---------- */
.footer { position: relative; overflow: hidden; background: #fff; color: #0f172a; }
.footer-glow {
  position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 85% -10%, rgba(211,15,38,.08), transparent 70%),
    radial-gradient(34vw 34vw at -5% 110%, rgba(211,15,38,.05), transparent 70%);
}
.footer .container { position: relative; z-index: 1; }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px; border-bottom: 1px solid #e2e8f0; padding: 64px 0;
}
@media (min-width: 768px) { .footer-cta { padding: 72px 0; } }
.footer-cta h2 { font-size: 30px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; color: #0f172a; }
@media (min-width: 768px) { .footer-cta h2 { font-size: 48px; } }
.footer-cta em { font-style: normal; color: #d30f26; }
/* 立即联系我们按钮：主红底 + 白色加粗 */
.btn-cta {
  background: #d30f26; color: #fff; font-weight: 700;
  border-radius: 999px; padding: 17px 36px; font-size: 15px;
}

/* Logo 一句话在左，地址热线在右，同一行左右分布 */
.footer-row {
  display: grid; gap: 40px;
  border-bottom: 1px solid #e2e8f0; padding: 48px 0;
}
@media (min-width: 1024px) {
  .footer-row { grid-template-columns: 1fr 1fr; align-items: start; }
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .logo-img { height: 56px; }
.footer-brand p { margin-top: 20px; max-width: 26rem; font-size: 14px; line-height: 1.8; color: #475569; }
.footer-contacts { display: grid; gap: 28px; }
@media (min-width: 640px) { .footer-contacts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-contacts > div { text-align: left; } }
.fc-label {
  margin-bottom: 12px; font-size: 15px; font-weight: 700; letter-spacing: .1em; color: #d30f26;
}
.fc-value { font-size: 14px; font-weight: 500; line-height: 1.7; color: #000000; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 28px 0;
}
.footer-bottom p { font-size: 12px; color: #64748b; }
.footer-icp { font-family: ui-monospace, Consolas, monospace; letter-spacing: .05em; color: #94a3b8; }

/* =========================================================
   品牌历史页（history.html）
   ========================================================= */

/* 面包屑横幅 */
.page-banner {
  position: relative; overflow: hidden; background: #020617;
  padding: 170px 0 90px;
}
@media (min-width: 768px) { .page-banner { padding: 210px 0 120px; } }
.page-banner-bg { position: absolute; inset: 0; }
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(2,6,23,.88), rgba(2,6,23,.55), rgba(2,6,23,.35)),
    linear-gradient(to top, rgba(2,6,23,.7), transparent);
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner .hero-kicker { color: #94a3b8; }
.page-banner .hero-kicker .dot { background: #22d3ee; }
.page-banner-title {
  font-size: clamp(40px, 8vw, 72px); font-weight: 600;
  line-height: 1.12; letter-spacing: -.02em; color: #fff;
}
.page-banner-title em { font-style: normal; color: #22d3ee; }
.breadcrumb {
  margin-top: 36px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: #94a3b8;
}
.breadcrumb svg { width: 14px; height: 14px; color: #475569; }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: #d30f26; }
.breadcrumb .active { color: #e2e8f0; font-weight: 500; }
.br-pc { display: none; }
@media (min-width: 1024px) { .br-pc { display: inline; } }

/* 使命宣言 */
.mission { padding: 80px 0; background: #fff; }
@media (min-width: 768px) { .mission { padding: 50px 0; } }
.mission-inner { text-align: center; max-width: 56rem; margin: 0 auto; }
.mission-inner h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
@media (min-width: 768px) { .mission-inner h2 { font-size: 30px; } }
.mission-inner > p.reveal:last-of-type { margin-top: 24px; font-size: 15px; line-height: 2; color: #475569; }
.mission-imgs { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 768px) { .mission-imgs { grid-template-columns: 1fr 1fr; margin-top: 72px; } }
.mission-img { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 24px; }
.mission-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.mission-img:hover img { transform: scale(1.04); }

/* 品牌里程碑时间轴（20 节点紧凑版） */
.history-timeline { padding: 24px 0 80px; background: #fff; }
@media (min-width: 768px) { .history-timeline { padding: 40px 0 120px; } }
.timeline-list { position: relative; list-style: none; }
/* 移动端：左侧竖线 */
.timeline-list::before {
  content: ''; position: absolute; top: 6px; bottom: 6px; left: 5px;
  width: 1px; background: #e2e8f0;
}
.timeline-item { position: relative; padding: 0 0 34px 40px; }
.timeline-item:last-child { padding-bottom: 0; }
/* 节点圆点（移动端） */
.tl-year { position: relative; }
.tl-year::after {
  content: ''; position: absolute; left: -39.5px; top: 7px;
  width: 9px; height: 9px; border-radius: 999px; background: #d30f26;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px #f6c8cd;
}
.tl-year span {
  display: inline-block; font-size: 20px; font-weight: 700; letter-spacing: .01em;
  line-height: 1.2; color: #d30f26;
  font-family: ui-monospace, Consolas, monospace;
}
/* 节点配图（300×140） */
.tl-thumb { margin-top: 12px; width: 100%; max-width: 300px; aspect-ratio: 300 / 140; overflow: hidden; border-radius: 12px; }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s; }
.timeline-item:hover .tl-thumb img { transform: scale(1.05); }
.tl-text { margin-top: 10px; }
.tl-text h3 { font-size: 17px; font-weight: 600; color: #0f172a; }
.tl-text p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: #475569; }
/* 桌面端：中央竖线 + 左右交错（文字贴线，图片在外侧） */
@media (min-width: 1024px) {
  .timeline-list::before { left: 50%; top: 10px; bottom: 10px; }
  .timeline-item {
    display: grid; grid-template-columns: 1fr 120px 1fr; gap: 0 40px;
    padding: 30px 0; align-items: start;
  }
  .timeline-item .tl-year { grid-column: 2; grid-row: 1; text-align: center; padding-top: 24px; }
  /* 奇数项：文字在左贴线(右对齐)，图片放右列外侧 */
  .timeline-item:nth-child(odd) .tl-text { grid-column: 1; grid-row: 1; text-align: right; margin-top: 0; }
  .timeline-item:nth-child(odd) .tl-thumb { grid-column: 3; grid-row: 1; justify-self: start; margin-top: 2px; }
  /* 偶数项：文字在右贴线(左对齐)，图片放左列外侧 */
  .timeline-item:nth-child(even) .tl-text { grid-column: 3; grid-row: 1; text-align: left; margin-top: 0; }
  .timeline-item:nth-child(even) .tl-thumb { grid-column: 1; grid-row: 1; justify-self: end; margin-top: 2px; }
  .tl-year::after { left: 50%; top: 5px; transform: translateX(-50%); }
  .tl-year span { font-size: 19px; }
  .tl-text h3 { font-size: 18px; }
}

/* ---------- 产品中心页（products.html） ---------- */
.prod-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
.prod-grid-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid #e2e8f0; transition: box-shadow .4s, transform .4s;
}
.prod-grid-card:hover { box-shadow: 0 20px 40px rgba(2,6,23,.08); transform: translateY(-4px); }
.pg-img { aspect-ratio: 4 / 3; overflow: hidden; }
.pg-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s; }
.prod-grid-card:hover .pg-img img { transform: scale(1.06); }
.prod-grid-card h3 { padding: 20px 20px 0; font-size: 16px; font-weight: 600; color: #0f172a; }
.prod-grid-card p { padding: 8px 20px 22px; font-size: 13px; line-height: 1.7; color: #64748b; }
.products-more {
  margin-top: 64px; text-align: center;
  border-top: 1px solid #e2e8f0; padding-top: 56px;
}
.products-more p { font-size: 18px; font-weight: 600; color: #0f172a; margin-bottom: 24px; }
.products-more .btn-primary { padding: 14px 32px; font-size: 15px; }

/* 经验数据区 */
.history-exp {
  position: relative; overflow: hidden; background: #fff; color: #0f172a;
  padding: 80px 0;
}
@media (min-width: 768px) { .history-exp { padding: 120px 0; } }
.history-exp-glow { display: none; }
.history-exp-grid { position: relative; z-index: 1; display: grid; gap: 48px; }
@media (min-width: 1024px) { .history-exp-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.history-exp-visual { position: relative; padding-bottom: 56px; }
.hexp-img { position: relative; aspect-ratio: 16/11; overflow: hidden; border-radius: 24px; }
.hexp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hexp-badge {
  position: absolute; left: 24px; bottom: 0;
  background: #d30f26; border-radius: 20px; padding: 22px 30px;
  box-shadow: 0 24px 48px rgba(2,6,23,.25);
}
/* 中间红框：水平居中 */
.hexp-badge--center { left: 50%; transform: translateX(-50%); }
.hexp-card {
  position: absolute; right: 24px; bottom: 0;
  background: #d30f26; border-radius: 20px; padding: 22px 30px;
  box-shadow: 0 24px 48px rgba(2,6,23,.25);
}
.hexp-num { font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1; }
.hexp-num i { font-style: normal; color: #fff; }
.hexp-num.small { font-size: 32px; color: #fff; }
.hexp-num.small i { color: #fff; }
.hexp-label { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.hexp-card .hexp-label { color: rgba(255,255,255,.85); }

/* 新闻卡片：图片 + 悬浮简介 */
.news-img { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 20px; background: #f1f5f9; margin-bottom: 16px; }
.news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.news-item:hover .news-img img { transform: scale(1.05); }
.news-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 24px; background: rgba(15,23,42,.72);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.news-overlay p { font-size: 14px; line-height: 1.8; color: #fff; }
.news-item:hover .news-overlay { opacity: 1; }
.news-item .news-meta { margin-top: 4px; }

/* 首屏无背景色后，文字改为白色带阴影保证可读性 */
.hero .hero-kicker { color: #fff; text-shadow: 0 1px 10px rgba(15,23,42,.5); }
.hero .scroll-hint { color: #fff; text-shadow: 0 1px 10px rgba(15,23,42,.5); }
.hero .hero-link { color: #fff; text-shadow: 0 1px 10px rgba(15,23,42,.5); }
.hero .hero-dots button { background: rgba(255,255,255,.5); }
.hero .hero-dots button.active { background: #d30f26; }
.hero .scroll-hint .line { background: rgba(255,255,255,.7); }

/* 子页面横幅删除深色背景与遮罩，文字改白色带阴影（横幅图偏亮，需压一点对比） */
.page-banner { background: #fff; }
.page-banner-overlay { display: none; }
.page-banner .hero-kicker { color: #fff; text-shadow: 0 1px 10px rgba(15,23,42,.6); }
.page-banner .hero-kicker .dot { background: #fff; }
.page-banner-title { color: #fff; text-shadow: 0 2px 26px rgba(15,23,42,.55); }
.page-banner-title em { color: #ff4d5e; text-shadow: 0 2px 26px rgba(15,23,42,.55); }
.page-banner .breadcrumb, .page-banner .breadcrumb a { color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(15,23,42,.5); }
.page-banner .breadcrumb svg { color: rgba(255,255,255,.7); }
.page-banner .breadcrumb .active { color: #fff; }
.page-banner .breadcrumb a:hover { color: #fff; }

.cases-nav { display: none; }

/* 页脚 Logo 行 + 商城直达 */
.footer-brand .brand-row { display: flex; align-items: center; gap: 28px; }
.mall-link { font-size: 24px; font-weight: 700; color: #0f172a; white-space: nowrap; transition: color .3s; text-decoration: none; }
.mall-link:hover { color: #d30f26; }

/* 首页首屏导航（未滚动透明状态）文字改为墨黑，无阴影（2026-11-06 应用户要求调整） */
.nav:not(.solid) .nav-links a.link-u { color: #0f172a; }
.nav:not(.solid) .nav-links a.link-u:hover { color: #d30f26; }
.nav:not(.solid) .nav-toggle { background: rgba(255,255,255,.95); color: #0f172a; }
/* 子页面横幅为浅色底，导航保持默认深色（页面加载后 JS 会加 solid） */

/* 经验区三红框的手机端适配：缩小尺寸防止重叠 */
@media (max-width: 640px) {
  .hexp-badge, .hexp-card { padding: 14px 16px; border-radius: 14px; }
  .hexp-badge { left: 12px; }
  .hexp-card { right: 12px; }
  .hexp-num { font-size: 26px; }
  .hexp-num.small { font-size: 22px; }
  .hexp-label { margin-top: 6px; font-size: 11px; }
}

/* ===== 经验区三红框：统一对齐 + 图片适配（追加，覆盖上方分散定位） ===== */
/* 三个红框统一高度，同一排整齐排列 */
.hexp-badge, .hexp-card {
  display: flex; align-items: center; justify-content: center;
  min-width: 132px; height: 92px; box-sizing: border-box;
  padding: 22px 24px;
}
/* 桌面端：三个框在图片底部均匀分布（左 / 中 / 右），间距一致 */
@media (min-width: 641px) {
  .hexp-badge { left: 24px; right: auto; transform: none; }
  .hexp-badge--center { left: 50%; transform: translateX(-50%); }
  .hexp-card { right: 24px; left: auto; }
}
/* 桌面端：图片加高并与左侧文字区顶部对齐，视觉上填满整个模块 */
@media (min-width: 1024px) {
  .history-exp-grid { align-items: start; }
  .hexp-img { aspect-ratio: 16/13.5; }
}

/* ===== 经验区微调：图片缩小 + 红框改整排横带 + 悬停动效（追加，覆盖此前规则） ===== */
@media (min-width: 1024px) {
  /* 右侧图片列收窄，图片相应变小 */
  .history-exp-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  /* 图片比例回归较扁，红框放到图片下方后不再超高 */
  .hexp-img { aspect-ratio: 16/11; }
  /* 文字列与红框横带底部对齐，板块上下齐平 */
  .history-exp-text {
    min-height: 100%; box-sizing: border-box; padding-bottom: 104px;
    display: flex; flex-direction: column; align-items: flex-start;
  }
  .history-exp-text .btn-slide { margin-top: auto !important; }
}
/* 三个红框改为静态横带：占满图片宽度、整齐一排，不再凸出图片边缘 */
.hexp-badge--left, .hexp-badge--center, .hexp-card--right {
  position: static; transform: none;
  flex: 1 1 0; min-width: 0; height: 92px;
  margin-top: 20px;
}
.history-exp-visual {
  display: flex; flex-wrap: wrap; gap: 20px; padding-bottom: 0;
}
.history-exp-visual .hexp-img { flex: 0 0 100%; }
/* 天选 / 地选 / 人选 悬停动效：上浮 + 放大 + 阴影加深 */
.hexp-badge, .hexp-card {
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
  cursor: pointer;
}
.hexp-badge:hover, .hexp-card:hover {
  transform: translateY(-8px) scale(1.05);
  background: #b80d20;
  box-shadow: 0 32px 60px rgba(211, 15, 38, .35);
}
.hexp-badge:hover .hexp-num, .hexp-card:hover .hexp-num {
  transform: scale(1.08);
}
.hexp-badge .hexp-num, .hexp-card .hexp-num { transition: transform .3s ease; }

/* ===== 品牌历史页：图片完整显示不裁剪，随屏幕宽度自动缩放（仅 history 页生效） ===== */
/* 使命宣言双图 / 时间轴节点图 / 经验区大图：取消固定比例裁剪，按原图比例完整展示 */
.history-page .mission-img,
.history-page .tl-thumb,
.history-page .hexp-img {
  aspect-ratio: auto;
}
.history-page .mission-img img,
.history-page .tl-thumb img,
.history-page .hexp-img img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== 品牌历史页横幅：纯图片完整展示，无文字无遮罩（仅 history 页生效） ===== */
.history-page .page-banner,
.products-page .page-banner {
  padding: 0;                 /* 去掉为文字预留的上下内边距 */
  overflow: visible;
  background: #fff;
}
/* 图片从固定导航下方开始，宽度铺满、高度按原图比例自适应，不裁剪 */
.products-page .page-banner-bg,
.history-page .page-banner-bg {
  position: static;
  padding-top: 64px;          /* 固定导航高度（手机端） */
  box-sizing: border-box;
}
.history-page .page-banner-bg img,
.products-page .page-banner-bg img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .history-page .page-banner-bg, .products-page .page-banner-bg { padding-top: 72px; }  /* 桌面端导航高度 */
}

/* ===== 首页轮播：纯图片完整展示，随屏幕宽度自动缩放（仅首页生效） ===== */
/* 轮播区不再撑满屏高，高度由图片自身比例决定；顶部给固定导航留位 */
.home-page .hero {
  display: block; min-height: 0; overflow: visible;
  padding-top: 64px; box-sizing: border-box;
}
@media (min-width: 768px) { .home-page .hero { padding-top: 72px; } }
/* 图片取消绝对定位与 cover 裁剪，按原图比例完整显示、宽度铺满 */
.home-page .hero-slides { position: relative; inset: auto; }
.home-page .hero-slide { position: absolute; inset: 0; }
.home-page .hero-slide:first-child { position: relative; inset: auto; }
.home-page .hero-slide img {
  width: 100%; height: auto; object-fit: contain; transform: none;
}
.home-page .hero-slide.active img { transform: none; }
/* 轮播高度上限：不超出一个首屏。图矮则完整等比显示，图超高则取中间部分显示 */
@media (min-width: 768px) {
  .home-page .hero-slides {
    max-height: calc(100vh - 72px);
    max-height: calc(100svh - 72px);
    overflow: hidden;
  }
  .home-page .hero-slide img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
@media (max-width: 767px) {
  .home-page .hero-slides {
    max-height: calc(100svh - 64px);
    overflow: hidden;
  }
  .home-page .hero-slide img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
/* ===== 模块标题：中文保持原大，英文部分缩小为装饰字 ===== */
.sec-kicker-en {
  font-size: 24px; font-weight: 500; letter-spacing: .18em;
  color: rgba(211, 15, 38, .6); vertical-align: 6px;
}
