/* ========== 全局容器 ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.btn-contact {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 25px;
  transition: all 0.3s;
}

.btn-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* ========== 页面头部 ========== */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 0;
}

/* ========== 通用区块 ========== */
.section {
  padding: 80px 0;
}

/* ========== 页脚 ========== */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 2;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ============================================
   筑友加梯官网 - 全局样式 V2
   主色：筑友红 #bf0001
   ============================================ */

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

:root {
  --primary: #bf0001;
  --primary-dark: #8a0000;
  --primary-light: #e63946;
  --primary-bg: #fff5f5;
  --primary-gradient: linear-gradient(135deg, #bf0001 0%, #8a0000 100%);
  --gold: #c9a96e;
  --text-dark: #1a1a1a;
  --text-body: #333;
  --text-muted: #666;
  --bg-white: #fff;
  --bg-light: #f7f8fa;
  --bg-gray: #eef0f3;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --shadow-red: 0 8px 24px rgba(191,0,1,0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1920px;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px; line-height: 1.8; color: var(--text-body);
  background: var(--bg-white); -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { color: var(--text-dark); font-weight: 700; line-height: 1.35; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul,ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th,td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-light); font-weight: 600; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* 滚动动画 */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== 导航 ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06); box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--text-dark); }
.logo-mark {
  width: 42px; height: 42px; background: var(--primary-gradient); color: #fff;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; box-shadow: var(--shadow-red);
}
.logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.logo-text span { color: var(--primary); }
.nav-menu { display: flex; list-style: none; gap: 4px; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 8px 14px; color: var(--text-body); font-size: 0.95rem;
  font-weight: 500; border-radius: 8px; transition: all 0.25s;
}
.nav-menu a:hover { color: var(--primary); background: var(--primary-bg); }
.nav-menu a.active { color: var(--primary); background: var(--primary-bg); font-weight: 600; }
.nav-cta { background: var(--primary) !important; color: #fff !important; padding: 8px 20px !important; border-radius: 8px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); box-shadow: var(--shadow-red); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* ========== Hero 图片背景 ========== */
.hero-image {
  position: relative; min-height: 640px; display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(26,26,26,0.75) 0%, rgba(191,0,1,0.4) 100%),
              url('../assets/images/hero-elevator.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-image::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(191,0,1,0.3) 0%, transparent 70%); border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 100px 0; }
.hero-badge {
  display: inline-block; padding: 6px 18px; background: rgba(191,0,1,0.9); color: #fff;
  border-radius: 30px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-content h1 { color: #fff; font-size: 3rem; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content h1 em { font-style: normal; color: #ffd700; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== 按钮 ========== */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 10px; font-size: 1rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.3s; text-align: center;
}
.btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(191,0,1,0.4); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }
.btn-dark { background: var(--text-dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* ========== 数据统计 ========== */
.stats-section {
  background: var(--primary-gradient); padding: 48px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1.2; }
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 4px; }

/* ========== 通用区块 ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-divider { width: 48px; height: 4px; background: var(--primary); margin: 20px auto 0; border-radius: 2px; }
.section-label { display: inline-block; color: var(--primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }

/* ========== 图文布局 ========== */
.content-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; margin-bottom: 100px; }
.content-row:last-child { margin-bottom: 0; }
.content-row.reverse { direction: rtl; }
.content-row.reverse > * { direction: ltr; }
.content-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.content-image img { width: 100%; height: 460px; object-fit: cover; transition: transform 0.6s; }
.content-image:hover img { transform: scale(1.05); }
.content-image::before {
  content: ''; position: absolute; top: 16px; left: 16px; width: 32px; height: 32px;
  border-top: 3px solid var(--primary); border-left: 3px solid var(--primary); z-index: 2;
}
.content-image::after {
  content: ''; position: absolute; bottom: 16px; right: 16px; width: 32px; height: 32px;
  border-bottom: 3px solid var(--primary); border-right: 3px solid var(--primary); z-index: 2;
}
.content-text h2 { font-size: 1.5rem; margin-bottom: 16px; }
.content-text p { color: var(--text-body); margin-bottom: 16px; }
.big-stat { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; display: inline-block; }
.big-stat small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }

/* ========== 服务流程 ========== */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 20px; }
.process-steps .process-step:nth-child(n+6) { grid-column: span 1; }
.process-step {
  background: var(--bg-white); border-radius: var(--radius-md); padding: 24px 16px;
  text-align: center; box-shadow: var(--shadow-sm); transition: all 0.3s;
  border-top: 3px solid var(--primary); position: relative;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  width: 40px; height: 40px; background: var(--primary-gradient); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; margin: 0 auto 12px; box-shadow: var(--shadow-red);
}
.step-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--text-dark); }
.step-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ========== 优势网格 ========== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item {
  background: var(--bg-white); border-radius: var(--radius-md); padding: 32px 28px;
  box-shadow: var(--shadow-sm); transition: all 0.35s; border: 1px solid var(--border);
}
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.icon-box {
  width: 56px; height: 56px; background: var(--primary-gradient); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: var(--shadow-red);
}
.icon-box svg { width: 28px !important; height: 28px !important; max-width: 28px; max-height: 28px; fill: #fff; display: block; flex-shrink: 0; }
.icon-box-outline {
  width: 56px; height: 56px; background: var(--bg-white); border: 2px solid var(--primary);
  border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.icon-box-outline svg { width: 28px !important; height: 28px !important; max-width: 28px; max-height: 28px; fill: var(--primary); display: block; flex-shrink: 0; }
.feature-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-item p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.7; }

/* ========== 卡片网格 ========== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--bg-white); border-radius: var(--radius-md); padding: 32px;
  box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid var(--border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ========== 图片卡片 ========== */
.image-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); transition: all 0.4s; height: 320px;
}
.image-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); color: #fff;
}
.image-card-overlay h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.image-card-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 0; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }

/* ========== FAQ ========== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; background: var(--bg-white); transition: all 0.3s; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-weight: 600; color: var(--text-dark); font-size: 1rem;
}
.faq-question .toggle { font-size: 1.5rem; color: var(--primary); font-weight: 300; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question .toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-body); font-size: 0.95rem; }

/* ========== 页脚 ========== */
.site-footer { background: #1a1a1a; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 1.4rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ========== 回到顶部 ========== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  background: var(--primary); color: #fff; border: none; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-red);
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ========== 页面分享 ========== */
.zy-share-btn {
  position: fixed;
  left: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: #0f2c5c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(15, 44, 92, 0.28);
  cursor: pointer;
  touch-action: manipulation;
}
.zy-share-btn:active { opacity: 0.9; transform: scale(0.98); }
.zy-share-btn svg { flex-shrink: 0; }
.zy-share-toast {
  position: fixed;
  left: 50%;
  bottom: 28%;
  transform: translateX(-50%) translateY(12px);
  z-index: 10001;
  max-width: 86vw;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.zy-share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 993px) {
  .zy-share-btn {
    left: auto;
    right: 30px;
    bottom: 96px;
  }
}
@media (max-width: 992px) {
  .zy-share-btn {
    bottom: calc(64px + env(safe-area-inset-bottom));
  }
}

/* ========== 内页通用 ========== */
.page-hero {
  background: var(--primary-gradient); color: #fff; padding: 60px 0; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; left: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); border-radius: 50%;
}
.page-hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; position: relative; z-index: 1; }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; position: relative; z-index: 1; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

/* 内容卡片 */
.content-card { background: var(--bg-white); border-radius: var(--radius-md); padding: 36px; box-shadow: var(--shadow-sm); margin-bottom: 24px; border: 1px solid var(--border); }
.content-card h3 { color: var(--primary); border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 16px; }

/* 提示框 */
.alert-box { padding: 20px 24px; border-radius: var(--radius-md); margin-bottom: 20px; }
.alert-info { background: #e3f2fd; border-left: 4px solid #1976d2; color: #0d47a1; }
.alert-warning { background: #fff3e0; border-left: 4px solid #f57c00; color: #e65100; }
.alert-success { background: #e8f5e9; border-left: 4px solid #2e7d32; color: #1b5e20; }

/* 表格美化 */
.table-responsive { overflow-x: auto; }
.data-table th { background: var(--primary); color: #fff; font-weight: 600; }
.data-table tr:nth-child(even) { background: var(--bg-light); }
.data-table tr:hover { background: var(--primary-bg); }

/* ========== PC大屏优化 ========== */
@media (min-width: 1200px) {
  .section { padding: 100px 0; }
  .section-header h2 { font-size: 2.2rem; }
  .feature-item { padding: 40px 32px; }
  .feature-item h3 { font-size: 1.25rem; }
  .process-step { padding: 28px 20px; }
  .stat-number { font-size: 3.2rem; }
  .content-text h2 { font-size: 1.7rem; }
  .content-text p { font-size: 1.05rem; }
  .big-stat { font-size: 3.5rem; }
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .nav-menu { display: none; position: absolute; top: 52px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-md); gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; }
  .menu-toggle { display: block; }
  .site-header { transition: transform .22s ease; }
  .site-header.nav-hidden { transform: translateY(-100%); }
  .nav-inner { height: 52px; padding: 0 12px; }
  .logo { font-size: 1.05rem; gap: 6px; }
  .logo-img { width: 28px; height: 28px; }
  .content-row, .content-row.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .feature-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 20px; }
  .stat-item:nth-child(n+3) { border-bottom: none; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 2rem; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 48px 0; }
  .feature-grid, .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 48px 0; }
  .hero-content h1 { font-size: 1.6rem; }
  .stat-number { font-size: 2rem; }
  .content-image img { height: 260px; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ========== 案例页样式 ========== */
.cases-masonry {
  columns: 3;
  column-gap: 24px;
}

.cases-masonry .card {
  break-inside: avoid;
  margin-bottom: 24px;
  padding: 0 !important;
  overflow: hidden;
}

.cases-masonry .card > img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
}

.thumb-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
}

.thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.thumb-wrap.active {
  border-color: var(--primary);
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-wrap:hover .tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 6px;
  margin-bottom: 4px;
}

.tag-success {
  background: #d4edda;
  color: #155724;
}

.tag-primary {
  background: #cce5ff;
  color: #004085;
}

.tag-warning {
  background: #fff3cd;
  color: #856404;
}

.tag-difficult {
  background: #f8d7da;
  color: #721c24;
}

.tag-ongoing {
  background: #fff3cd;
  color: #856404;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .cases-masonry {
    columns: 1;
  }
}

/* ========== 测算漂浮栏 ========== */
.calc-float {
  position: fixed;
  right: 16px;
  bottom: 220px;
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  animation: floatBounce 2.5s ease-in-out infinite;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.demand-float {
  position: fixed;
  right: 16px;
  bottom: 306px;
  z-index: 10000;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  animation: floatBounce 2.8s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.demand-float-inner {
  position: relative;
  background: linear-gradient(135deg, #c8102e, #a00d24);
  color: #fff;
  padding: 14px 22px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(200,16,46,.35), 0 2px 8px rgba(200,16,46,.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.demand-float-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demand-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.demand-float-title {
  font-size: 1.1rem;
}
.demand-float-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.demand-float-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background: #ffd700;
  color: #c8102e;
  font-size: .68rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
@media (max-width: 768px) {
  .demand-float {
    right: 10px;
    bottom: 140px;
    max-width: calc(100vw - 20px);
  }
  .demand-float-inner {
    padding: 9px 14px;
    gap: 7px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(200,16,46,.3);
  }
  .demand-float-icon {
    width: 28px;
    height: 28px;
  }
  .demand-float-icon svg {
    width: 16px;
    height: 16px;
  }
  .demand-float-title {
    font-size: .82rem;
  }
  .demand-float-sub {
    font-size: .62rem;
  }
  .demand-float-badge {
    width: 16px;
    height: 16px;
    font-size: .55rem;
    top: -4px;
    right: -4px;
  }
}
.calc-float-inner {
  position: relative;
  background: #fff;
  color: #c8102e;
  padding: 14px 22px;
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18), 0 2px 8px rgba(200,16,46,.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
  border: 1.5px solid rgba(200,16,46,.15);
}
.calc-float-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #c8102e, #a00d24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calc-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.calc-float-title {
  font-size: 1.05rem;
  color: #c8102e;
}
.calc-float-sub {
  font-size: .72rem;
  color: #999;
  font-weight: 500;
}
.calc-float-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background: #c8102e;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(200,16,46,.4);
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.calc-float.is-dragging,
.calc-float.has-moved {
  animation: none;
}

@media (max-width: 768px) {
  .calc-float {
    right: 10px;
    bottom: 88px;
    max-width: calc(100vw - 20px);
  }
  .calc-float-inner {
    padding: 8px 12px;
    gap: 7px;
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,.16);
  }
  .calc-float-icon {
    width: 28px;
    height: 28px;
  }
  .calc-float-icon svg {
    width: 16px;
    height: 16px;
  }
  .calc-float-title {
    font-size: .78rem;
  }
  .calc-float-sub {
    font-size: .62rem;
  }
  .calc-float-badge {
    width: 16px;
    height: 16px;
    font-size: .55rem;
    top: -4px;
    right: -4px;
  }
}
