:root {
  --brand: #b91c1c;
  --brand-dark: #991b1b;
  --accent: #ef4444;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --border: #e5e7eb;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft Yahei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 70px 0; }

h1, h2, h3 { font-weight: 700; color: var(--text); }
h2 { font-size: 30px; margin-bottom: 12px; text-align: center; }
p.section-desc { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }

/* 顶部信息 */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 14px;
}
.topbar-inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-inner span { display: flex; align-items: center; gap: 6px; }
.topbar-inner a { color: #fff; text-decoration: none; }

/* 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(148,163,184,.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(15,23,42,.05);
}
.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(185,28,28,.25);
}

.menu { display: flex; gap: 20px; }
.menu a {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: .2s ease;
}
.menu a:hover { color: var(--brand); }
.menu a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--brand);
  transition:width .2s ease;
}
.menu a:hover::after,
.menu a.active::after { width:100%; }
.menu a.active { color:var(--brand); font-weight:600; }

.nav-call {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 20px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 12px 26px rgba(185,28,28,.25);
}

/* 顶部横幅 */
.hero {
  position:relative;
  min-height:62vh;
  display:flex;
  align-items:center;
  background:#111827;
  overflow:hidden;
}
.hero img.banner {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.32;
}
.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(17,24,39,.82), rgba(185,28,28,.72));
}
.hero .content {
  position:relative;
  z-index:1;
  color:#fff;
  max-width:600px;
  padding:50px 20px;
}
.hero small {
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-size:13px;
  letter-spacing:.5px;
  margin-bottom:16px;
}
.hero h1 { font-size:36px; line-height:1.2; margin-bottom:16px; color:#fff; }
.hero p  { font-size:17px; color:rgba(255,255,255,.86); margin-bottom:24px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }

/* 按钮 */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 24px;
  border-radius:10px;
  font-weight:600;
  text-decoration:none;
  transition:.2s ease;
  cursor:pointer;
  border:none;
  background:none;
}
.btn-primary {
  background:var(--brand);
  color:#fff;
  box-shadow:0 14px 30px rgba(185,28,28,.26);
}
.btn-primary:hover { transform:translateY(-2px); background:var(--brand-dark); }
.btn-outline {
  border:1px solid rgba(255,255,255,.65);
  color:#fff;
}
.btn-outline:hover { background:rgba(255,255,255,.12); }
.btn-outline-light {
  border:1px solid rgba(185,28,28,.4);
  color:var(--brand);
  background:transparent;
}
.btn-outline-light:hover {
  background:rgba(185,28,28,.08);
  color:var(--brand-dark);
}
.btn-copy { width:100%; }

/* 通用卡片 */
.grid { display:grid; gap:22px; }
.card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:26px;
  min-height:200px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  transition:.2s ease;
}
.card:hover {
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(15,23,42,.12);
}
.card h3 { font-size:20px; margin-bottom:10px; color:var(--text); }
.card p  { color:var(--muted); font-size:15px; }

/* 业务 */
.services .grid { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }

/* 产品 */
.products { background:var(--bg-soft); }
.products .grid { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.tag {
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(185,28,28,.1);
  color:var(--brand);
  font-size:12px;
  font-weight:600;
  margin-bottom:12px;
}

/* 案例 */
.cases .grid { grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.case-thumb {
  height:150px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(17,24,39,.72), rgba(185,28,28,.66));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  margin-bottom:16px;
}

/* 数据模块 */
.stats {
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  background:#111827;
  color:#fff;
  border-radius:18px;
  padding:44px 28px;
  box-shadow:var(--shadow);
}
.stat {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:4px;
}
.stat h3 { font-size:32px; margin:0; color:#fff; }
.stat span { font-size:14px; color:rgba(255,255,255,.78); }

/* 联系我们 */
.contact { background:var(--bg-soft); }
.contact-box {
  background:#fff;
  border-radius:20px;
  padding:36px;
  box-shadow:var(--shadow);
  display:grid;
  gap:28px;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.contact-info { display:grid; gap:18px; }
.info-item h4 { font-size:18px; margin-bottom:6px; color:var(--text); }
.info-item p, .info-item a { color:var(--muted); text-decoration:none; }

.cta-card {
  width:100%;
  background:#fff;
  color:var(--text);
  border-radius:16px;
  padding:28px;
  border:1px solid rgba(185,28,28,.18);
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  gap:18px;
}
.cta-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(185,28,28,.12);
  border:1px solid rgba(185,28,28,.25);
  color:var(--brand);
  font-size:12px;
  letter-spacing:.4px;
}
.cta-card h3 { font-size:22px; line-height:1.3; margin:0; color:var(--text); }
.cta-card p  { margin:0; font-size:15px; color:var(--muted); line-height:1.6; }

.cta-qrcode {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:16px;
  background:var(--bg-soft);
  border-radius:14px;
}
.cta-qrcode img {
  width:150px;
  height:150px;
  border-radius:12px;
  object-fit:cover;
  background:#fff;
}
.cta-actions { display:flex; flex-direction:column; gap:10px; }

.copy-hint {
  font-size:13px;
  color:var(--muted);
  text-align:center;
  opacity:0;
  transition:opacity .25s ease;
}
.copy-hint.show { opacity:1; }

/* 页脚 */
footer {
  background:#111827;
  color:rgba(255,255,255,.76);
  padding:34px 0;
  text-align:center;
  font-size:14px;
}
footer a { color:#fff; text-decoration:none; margin-left:12px; }
footer a:hover { text-decoration:underline; }

/* 响应式 */
@media (max-width:960px){
  section { padding:58px 0; }
  .hero h1 { font-size:30px; }
  .contact-box { grid-template-columns:1fr; }
}
@media (max-width:720px){
  .topbar-inner { flex-direction:column; justify-content:center; height:60px; text-align:center; }
  .nav-inner { flex-wrap:wrap; gap:12px; }
  .menu { display:none; }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px){
  .hero { min-height:54vh; }
  .hero h1 { font-size:26px; }
  .hero p  { font-size:16px; }
  .btn { width:100%; }
  .stats { grid-template-columns:1fr; }
}

/* About 页面专用样式 */
.sub-hero{
  position:relative;
  overflow:hidden;
  background:#111827;
  padding:80px 0 60px;
}
.sub-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("assets/images/hero.jpg") center/cover no-repeat;
  opacity:.25;
}
.sub-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(17,24,39,.85),rgba(185,28,28,.65));
}
.sub-hero .container{position:relative; z-index:1; max-width:800px;}
.sub-hero h1{color:#fff;}
.sub-hero p{color:rgba(255,255,255,.86); font-size:17px;}
.page-tag{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.22);
  font-size:13px;
  letter-spacing:.5px;
  color:#fff;
  margin-bottom:14px;
}

.two-col{
  display:grid;
  gap:32px;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  align-items:start;
}
.highlight-box{
  background:var(--bg-soft);
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  display:grid;
  gap:18px;
}
.metric{
  display:flex;
  flex-direction:column;
  gap:6px;
  border-bottom:1px solid var(--border);
  padding-bottom:16px;
}
.metric:last-child{border-bottom:none; padding-bottom:0;}
.metric h4{font-size:24px; color:var(--brand); margin:0;}
.metric span{color:var(--muted); font-size:14px;}

.list-check{
  list-style:none;
  display:grid;
  gap:12px;
  margin:24px 0 0;
  padding:0;
}
.list-check li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:15px;
  color:var(--muted);
}
.list-check li::before{
  content:"✓";
  color:var(--brand);
  font-weight:700;
  font-size:14px;
  margin-top:2px;
}

.grid-cards{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.tile{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}
.tile h3{font-size:18px; margin-bottom:10px; color:var(--text);}
.tile p{font-size:15px; color:var(--muted);}

.history { padding:80px 0; }
.history .timeline {
  position:relative;
  display:grid;
  gap:40px;
  padding:30px 0 30px 0;
}

.timeline-line {
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:3px;
  background:linear-gradient(180deg,rgba(185,28,28,.8),rgba(17,24,39,.8));
  transform:translateX(-50%);
}

.timeline-card {
  position:relative;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:24px;
}
.timeline-card:nth-child(even) { justify-content:flex-start; }

.timeline-dot {
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--brand);
  border:4px solid rgba(185,28,28,.2);
  position:relative;
  z-index:2;
}

.timeline-card:nth-child(odd) .timeline-dot { margin-right:24px; }
.timeline-card:nth-child(even) .timeline-dot { margin-left:24px; }

.card-body {
  max-width:360px;
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(185,28,28,.08);
  box-shadow:0 18px 40px rgba(15,23,42,.12);
  padding:24px 28px;
}

.card-body h4 {
  margin:0;
  font-size:20px;
  color:var(--brand);
}
.card-body h5 {
  margin:6px 0 12px;
  font-size:16px;
  color:var(--text);
}
.card-body p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

@media (max-width:780px) {
  .timeline-line { left:12px; transform:none; }
  .timeline-card, .timeline-card:nth-child(even) {
    justify-content:flex-start;
  }
  .timeline-dot {
    margin:0 20px 0 0;
  }
  .card-body { width:100%; }
}

/* Services 页面专用 */
.service-overview { padding:80px 0; }
.service-grid{
  display:grid;
  gap:26px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.service-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.service-item h3{ font-size:20px; color:var(--text); }
.service-item p { color:var(--muted); font-size:15px; }
.service-item ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.service-item ul li{
  position:relative;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
}
.service-item ul li::before{
  content:"•";
  position:absolute;
  left:0;
  color:var(--brand);
  font-weight:700;
}

.service-modules{ padding:80px 0; }
.module-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.module-card{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:24px;
  box-shadow:0 12px 32px rgba(15,23,42,.08);
}
.module-card h4{ font-size:18px; margin-bottom:10px; color:var(--text); }
.module-card p { color:var(--muted); font-size:14px; margin-bottom:12px; }
.module-card ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
  font-size:14px;
  color:var(--muted);
}
.module-card ul li::before{
  content:"✓";
  color:var(--brand);
  font-weight:700;
  margin-right:6px;
}

.service-process{ padding:80px 0; }
.process-flow{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.step{
  background:#fff;
  border:1px solid rgba(185,28,28,.15);
  border-radius:18px;
  padding:26px;
  box-shadow:0 12px 32px rgba(15,23,42,.1);
  display:grid;
  gap:10px;
}
.step-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--brand);
  color:#fff;
  font-weight:700;
  font-size:16px;
}
.step h4{ margin:0; font-size:18px; color:var(--text); }
.step p { margin:0; color:var(--muted); font-size:14px; line-height:1.6; }

.service-scope{ padding:80px 0; }
.scope-grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.scope-card{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:22px;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.scope-card h4{ font-size:16px; margin-bottom:8px; color:var(--text); }
.scope-card p { color:var(--muted); font-size:14px; }

.service-cta{ padding:80px 0; }

/* Products 页面专用样式 */
.product-overview { padding:80px 0; }
.catalog-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.catalog-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.catalog-card h3{ font-size:20px; color:var(--text); }
.catalog-card p { color:var(--muted); font-size:15px; }

.product-modules{ padding:80px 0; }
.module-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.module-card{
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(185,28,28,.16);
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.module-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(185,28,28,.12);
  color:var(--brand);
  font-size:12px;
  letter-spacing:.4px;
}
.module-card h4{ font-size:18px; color:var(--text); margin:0; }
.module-card p { color:var(--muted); font-size:14px; line-height:1.6; margin:0; }

.product-combo{ padding:80px 0; }
.combo-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.combo-card{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.combo-card h4{ font-size:18px; margin-bottom:12px; color:var(--text); }
.combo-card ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
  font-size:14px;
  color:var(--muted);
}
.combo-card ul li::before{
  content:"•";
  color:var(--brand);
  font-weight:700;
  margin-right:6px;
}

.product-spec{ padding:80px 0; }
.spec-table{
  display:grid;
  gap:12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  overflow:hidden;
}
.spec-row{
  display:grid;
  grid-template-columns:180px 220px 1fr 220px;
  gap:0;
  padding:18px 22px;
  border-bottom:1px solid var(--border);
  font-size:14px;
  color:var(--muted);
  align-items:flex-start;
}
.spec-row:last-child{ border-bottom:none; }
.spec-head{
  background:var(--bg-soft);
  font-weight:600;
  color:var(--text);
}
.spec-row div{ line-height:1.6; }
.spec-row div:first-child{ font-weight:600; color:var(--text); }

.product-cta{ padding:80px 0; }

/* Cases 页面专用样式 */
.case-overview { padding:80px 0; }
.case-stats{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
}
.case-stats .stat{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.case-stats .stat h3{ font-size:28px; color:var(--brand); margin:0 0 6px; }
.case-stats .stat span{ color:var(--muted); font-size:14px; }

.case-list{ padding:80px 0; }
.case-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.case-card{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(185,28,28,.12);
  padding:26px;
  box-shadow:0 12px 32px rgba(15,23,42,.1);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.case-label{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(185,28,28,.12);
  color:var(--brand);
  font-size:12px;
  letter-spacing:.4px;
}
.case-cover{
  width:100%;
  height:160px;
  border-radius:12px;
  overflow:hidden;
  background:var(--bg-soft);
}
.case-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.case-card h3{ font-size:18px; margin:0; color:var(--text); }
.case-card p{ color:var(--muted); font-size:14px; margin:0; line-height:1.6; }
.case-card ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:6px;
  font-size:13px;
  color:var(--muted);
}
.case-card ul li::before{
  content:"•";
  color:var(--brand);
  font-weight:700;
  margin-right:6px;
}

.case-process{ padding:80px 0; }

.case-gallery{ padding:80px 0; }
.gallery-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.gallery-card{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  overflow:hidden;
  box-shadow:0 12px 30px rgba(15,23,42,.12);
  display:flex;
  flex-direction:column;
}
.gallery-card img{
  width:100%;
  height:180px;
  object-fit:cover;
}
.gallery-card figcaption{
  padding:12px 16px;
  font-size:14px;
  color:var(--muted);
}

.case-cta{ padding:80px 0; }

/* Contact 页面专用 */
.contact-hero::before{
  background:url("assets/images/hero.jpg") center/cover no-repeat;
  opacity:.25;
}
.contact-hero::after{
  background:linear-gradient(135deg,rgba(17,24,39,.85),rgba(185,28,28,.6));
}

.contact-panels{ padding:80px 0; }
.panels-grid{
  display:grid;
  gap:28px;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}
.panel{
  background:#fff;
  border-radius:18px;
  border:1px solid var(--border);
  box-shadow:0 14px 32px rgba(15,23,42,.1);
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.info-panel h3{ font-size:20px; margin:0; color:var(--text); }

.info-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
  font-size:15px;
  color:var(--muted);
}
.info-list span{ color:var(--text); font-weight:600; margin-right:6px; }
.info-extra{
  padding:18px;
  border-radius:14px;
  background:var(--bg-soft);
  font-size:14px;
  color:var(--muted);
}

.contact-card h3{ font-size:20px; color:var(--text); margin:0; }
.contact-card p{ font-size:14px; color:var(--muted); margin:0; line-height:1.7; }

.contact-support{ padding:80px 0; }
.support-grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.support-card{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:22px;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}
.support-card h4{ font-size:16px; color:var(--text); margin-bottom:10px; }
.support-card p{ font-size:14px; color:var(--muted); margin:0; }

.contact-map{ padding:80px 0; }
.map-wrapper{
  display:grid;
  gap:18px;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  align-items:stretch;
}
.map-wrapper img{
  width:100%;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 16px 36px rgba(15,23,42,.12);
  object-fit:cover;
  min-height:260px;
}
.map-note{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:24px;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  font-size:14px;
  color:var(--muted);
}
.map-note h4{ font-size:16px; color:var(--text); margin-bottom:10px; }

.contact-cta{ padding:80px 0; }

/* 调整返回顶部定位 */
footer a[href="#case-hero"]{ display:none; }
footer a[href="#case-hero"] + a { display:inline; }

@media (max-width:960px){
  .map-wrapper{ grid-template-columns:1fr; }
}

/* Contact 页面 */
.contact-hero::before{
  background:url("assets/images/hero.jpg") center/cover no-repeat;
  opacity:.25;
}
.contact-hero::after{
  background:linear-gradient(135deg,rgba(17,24,39,.85),rgba(185,28,28,.65));
}

.contact-stats{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
  margin-top:32px;
}
.contact-stat{
  min-width:150px;
  padding:18px 22px;
  border-radius:14px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  text-align:center;
  color:#fff;
}
.contact-stat h3{ margin:0 0 6px; font-size:28px; color:#fff; }
.contact-stat span{ font-size:14px; color:rgba(255,255,255,.8); }

.contact-methods{ padding:72px 0; }
.methods-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.method-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:26px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}
.method-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(185,28,28,.12);
  color:var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}
.method-card h3{ margin:0; font-size:18px; color:var(--text); }
.method-main{ margin:0; color:var(--text); font-weight:600; }
.method-note{ margin:0; color:var(--muted); font-size:14px; }
.method-card .btn{ margin-top:auto; }

.contact-panels{ padding:80px 0; }
.panels-grid{
  display:grid;
  gap:28px;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}
.panel{
  background:#fff;
  border-radius:18px;
  border:1px solid var(--border);
  box-shadow:0 14px 32px rgba(15,23,42,.1);
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.info-panel h3{ margin:0; font-size:20px; }
.info-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
  font-size:15px;
  color:var(--muted);
}
.info-list span{ color:var(--text); font-weight:600; margin-right:6px; }
.info-extra{
  background:var(--bg-soft);
  border-radius:14px;
  padding:18px;
  font-size:14px;
  color:var(--muted);
}

.contact-card h3{ margin:0; font-size:20px; }
.contact-card p{ margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.contact-card .cta-qrcode{
  display:flex;
  justify-content:center;
  align-items:center;
  background:var(--bg-soft);
  border-radius:14px;
  padding:16px;
}
.contact-card .cta-qrcode img{
  width:160px;
  height:160px;
  border-radius:12px;
  object-fit:cover;
}
.contact-card .cta-actions{ display:flex; flex-direction:column; gap:10px; }

.contact-support{ padding:80px 0; }
.support-grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.support-card{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:22px;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}
.support-card h4{ margin-bottom:10px; font-size:16px; color:var(--text); }
.support-card p{ margin:0; color:var(--muted); font-size:14px; }

.contact-map{ padding:80px 0; }
.map-wrapper{
  display:grid;
  gap:18px;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  align-items:stretch;
}
.map-embed{
  position:relative;
  width:100%;
  min-height:320px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 16px 36px rgba(15,23,42,.12);
}
.map-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.map-note{
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
  padding:24px;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  font-size:14px;
  color:var(--muted);
  display:flex;
  flex-direction:column;
  gap:16px;
}
.map-note h4{ margin:0; font-size:16px; color:var(--text); }
.map-note ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.map-note li strong{ color:var(--text); }
.contact-hours{
  padding:80px 0;
  background:#111827;
  color:#fff;
}
.contact-hours h2{ text-align:center; margin-bottom:28px; }
.hours-grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.hour-card{
  background:rgba(255,255,255,.08);
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  padding:24px;
  text-align:center;
  box-shadow:0 12px 24px rgba(0,0,0,.28);
}
.hour-icon{
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}
.hour-time{ font-weight:600; margin:4px 0; }
.hour-note{ margin:0; font-size:14px; color:rgba(255,255,255,.75); }

.contact-cta{ padding:80px 0; }

/* 复制提示 */
.copy-hint{ font-size:13px; color:var(--muted); text-align:center; opacity:0; transition:opacity .25s ease; }
.copy-hint.show{ opacity:1; }

.contact-hours {
  padding:70px 0 50px;
}

.contact-emergency{
  position:relative;
  z-index:2;
  padding:72px 0;
  background:#d72323;
  color:#fff;
  margin:-70px 0 0;   /* 往上提一些，同时下方保持 0 */
}

.contact-emergency::before,
.contact-emergency::after{
  display:none;
}

.emergency-card{
  text-align:center;
  max-width:640px;
  margin:0 auto;
  padding:0 16px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.emergency-icon{
  width:80px;
  height:80px;
  margin:0 auto;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:40px;
}

.emergency-card h2{
  margin:0;
  font-size:26px;
  font-weight:700;
}

.emergency-card p{
  margin:0;
  font-size:16px;
  color:rgba(255,255,255,.9);
}

.emergency-number{
  font-size:36px;
  font-weight:800;
  letter-spacing:2px;
  text-shadow:0 4px 12px rgba(0,0,0,.25);
}

.emergency-card small{
  color:rgba(255,255,255,.85);
}

@media (max-width:720px){
  .contact-emergency{ padding:56px 0; }
  .emergency-card h2{ font-size:22px; }
  .emergency-number{ font-size:30px; }
}

/* 响应式调整 */
@media (max-width:960px){
  .map-wrapper{ grid-template-columns:1fr; }
}

/* 首页工程案例 */
.home-cases { padding:80px 0; }
.home-case-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.home-case-card{
  background:#fff;
  border-radius:18px;
  border:1px solid var(--border);
  box-shadow:0 12px 30px rgba(15,23,42,.12);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:.25s ease;
}
.home-case-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(15,23,42,.16); }

.home-case-cover{
  width:100%;
  height:180px;
  background:var(--bg-soft);
  overflow:hidden;
}
.home-case-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}
.home-case-card:hover .home-case-cover img{ transform:scale(1.05); }

.home-case-info{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.home-case-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(185,28,28,.12);
  color:var(--brand);
  font-size:12px;
  letter-spacing:.4px;
}
.home-case-info h3{
  margin:0;
  font-size:18px;
  color:var(--text);
}
.home-case-info p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.home-case-more{
  margin-top:28px;
  text-align:center;
}