/* ========================================
   首辅工程设计有限公司广安分公司 - 宣传网页样式
   ======================================== */

/* CSS 变量 */
:root {
  --blue-900: #0c2340;
  --blue-800: #0f2d4f;
  --blue-700: #1a5276;
  --blue-600: #1f6fa3;
  --blue-500: #2980b9;
  --blue-400: #5dade2;
  --blue-300: #85c1e9;
  --blue-100: #d6eaf8;
  --blue-50: #eaf2f8;
  --orange-500: #f39c12;
  --orange-600: #e67e22;
  --orange-700: #d35400;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --white: #ffffff;
  --green-500: #27ae60;
  --red-500: #e74c3c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

/* 重置与基础 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 35, 64, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(12, 35, 64, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-500), var(--orange-500));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}

.logo-icon-sm {
  width: 32px;
  height: 32px;
  font-size: 16px;
  border-radius: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-local {
  display: inline-block;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 1px;
}

.brand-sub {
  color: var(--blue-300);
  font-size: 12px;
  line-height: 1.2;
}

.navbar-nav {
  display: flex;
  gap: 6px;
}

.navbar-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-call {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-500);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-call:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero 首屏区
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(41, 128, 185, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(243, 156, 18, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(93, 173, 226, 0.2) 0%, transparent 40%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--blue-300);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.hero-local-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 2px;
  box-shadow: 0 2px 12px rgba(243,156,18,0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 2px 12px rgba(243,156,18,0.4); }
  50% { box-shadow: 0 2px 20px rgba(243,156,18,0.7); }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.tag-hot {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
}

.tag-hot .tag-sub {
  font-size: 0.75em;
  opacity: 0.85;
  font-weight: 400;
}

.tag-new {
  background: rgba(39, 174, 96, 0.2);
  border: 1px solid rgba(39, 174, 96, 0.4);
  color: #6dd5a0;
}

.tag-pro {
  background: rgba(41, 128, 185, 0.2);
  border: 1px solid rgba(41, 128, 185, 0.4);
  color: var(--blue-300);
}

.tag-tech {
  background: rgba(142, 68, 173, 0.2);
  border: 1px solid rgba(142, 68, 173, 0.4);
  color: #c39bd3;
}

.tag-safe {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #f1948a;
}

.tag-full {
  background: rgba(243, 156, 18, 0.2);
  border: 1px solid rgba(243, 156, 18, 0.4);
  color: #f9e79f;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-unit {
  font-size: 18px;
  font-weight: 600;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 15px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   资质展示区
   ======================================== */
.qualifications {
  background: var(--gray-50);
}

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

/* 5张证书：上面3张，下面2张居中 */
.qual-grid-5 {
  grid-template-columns: repeat(3, 1fr);
}

.qual-grid-5 .qual-card:nth-child(4),
.qual-grid-5 .qual-card:nth-child(5) {
  grid-column: span 1;
}

@media (max-width: 1024px) {
  .qual-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .qual-grid-5 {
    grid-template-columns: 1fr;
  }
}

.qual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.qual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.qual-img-wrap {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.qual-img {
  max-height: 220px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.qual-info {
  padding: 20px;
}

.qual-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.qual-id {
  font-size: 13px;
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 8px;
}

.qual-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   业务范围区
   ======================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 50px;
}

.service-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* 消防评估服务卡片高亮 */
.service-card-highlight {
  border-color: var(--orange-500);
  background: linear-gradient(135deg, #fffcf5, #fff8ed);
}

.service-card-highlight:hover {
  border-color: var(--orange-600);
  box-shadow: 0 8px 30px rgba(243, 156, 18, 0.2);
}

.service-card-highlight .service-icon {
  background: linear-gradient(135deg, #fef3cd, #fff8e1);
  color: var(--orange-600);
}

/* ========================================
   办证一条龙亮点板块
   ======================================== */
.one-stop-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.one-stop-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 50%;
}

.one-stop-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: rgba(41, 128, 185, 0.15);
  border-radius: 50%;
}

.one-stop-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.one-stop-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.one-stop-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.one-stop-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.one-stop-subtitle {
  font-size: 14px;
  color: var(--orange-500);
  font-weight: 600;
  margin-top: 2px;
}

.one-stop-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--blue-100);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.one-stop-desc strong {
  color: var(--orange-500);
  font-weight: 700;
}

.one-stop-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
}

.one-stop-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
}

.one-stop-step-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.one-stop-item:hover .one-stop-step-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--orange-500);
  transform: scale(1.08);
}

.one-stop-step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.one-stop-step-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}

.one-stop-step-tag {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 50px;
  background: rgba(41, 128, 185, 0.4);
  color: var(--blue-100);
  font-weight: 600;
  white-space: nowrap;
}

.one-stop-step-tag-success {
  background: var(--orange-500);
  color: var(--white);
}

.one-stop-item-result .one-stop-step-icon {
  border-color: var(--orange-500);
  background: rgba(243, 156, 18, 0.2);
}

.one-stop-arrow {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.one-stop-arrow svg {
  width: 20px;
  height: 20px;
}

/* 适用场景 */
.one-stop-scenarios {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.one-stop-scenarios-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.one-stop-scenarios-title svg {
  width: 18px;
  height: 18px;
  color: var(--orange-500);
  flex-shrink: 0;
}

.one-stop-scenarios-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.one-stop-scenario-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.one-stop-scenario-tag:hover {
  background: rgba(243, 156, 18, 0.2);
  border-color: var(--orange-500);
  color: var(--white);
}

.one-stop-scenario-tag .scenario-icon {
  font-size: 15px;
  line-height: 1;
}

.one-stop-scenario-tag.scenario-hot {
  background: rgba(243, 156, 18, 0.15);
  border-color: rgba(243, 156, 18, 0.4);
  color: var(--orange-500);
  font-weight: 600;
}

/* ========================================
   服务流程区
   ======================================== */
.process {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
}

.process .section-badge {
  background: rgba(255,255,255,0.15);
  color: var(--blue-300);
}

.process .section-title {
  color: var(--white);
}

.process .section-desc {
  color: rgba(255,255,255,0.7);
}

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  max-width: 220px;
  position: relative;
}

.step-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.process-connector {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin-top: 62px;
  flex-shrink: 0;
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255,255,255,0.3);
  border-right: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
}

/* ========================================
   核心优势区
   ======================================== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.adv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}

/* 一条龙办证优势卡片高亮 */
.adv-card-primary {
  border-color: var(--orange-500);
  background: linear-gradient(135deg, #fffcf5, #fff8ed);
  position: relative;
}

.adv-card-primary::before {
  content: '核心优势';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 0 0 8px 8px;
}

.adv-card-primary:hover {
  border-color: var(--orange-600);
  box-shadow: 0 8px 30px rgba(243, 156, 18, 0.25);
}

.adv-card-primary .adv-icon {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.adv-card-primary .adv-title {
  color: var(--orange-700);
}

.adv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.adv-icon svg {
  width: 30px;
  height: 30px;
}

.adv-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.adv-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   业绩展示区
   ======================================== */
.portfolio {
  background: var(--white);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
}

.filter-btn.active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 25px rgba(12, 35, 64, 0.15);
  transform: translateY(-4px);
}

.portfolio-card.hidden {
  display: none;
}

.portfolio-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-200);
}

.portfolio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-photo img {
  transform: scale(1.08);
}

.photo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(243, 156, 18, 0.92);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.portfolio-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
  margin: 0;
}

.portfolio-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  align-self: flex-start;
}

.tag-government {
  background: #eaf2f8;
  color: var(--blue-700);
}

.tag-hotel {
  background: #fef9e7;
  color: #b7950b;
}

.tag-medical {
  background: #fdedec;
  color: #c0392b;
}

.tag-education {
  background: #e8f8f5;
  color: #1a7a5a;
}

.tag-residential {
  background: #f4ecf7;
  color: #7d3c98;
}

.tag-industrial {
  background: #fdebd0;
  color: #a04000;
}

.tag-personal {
  background: #eafaf1;
  color: #1e8449;
}

.tag-commercial {
  background: #f5eef8;
  color: #6c3483;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .portfolio-filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   成功案例区
   ======================================== */
.cases {
  background: var(--gray-50);
}

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

.onsite-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.onsite-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.onsite-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.onsite-label {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========================================
   设备展示区
   ======================================== */
.equipment {
  background: var(--white);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.equip-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.equip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--blue-400);
}

.equip-img-wrap {
  background: var(--white);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equip-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  display: block;
}

.equip-info {
  padding: 6px 8px 10px;
  text-align: center;
}

.equip-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 2px;
  line-height: 1.3;
}

.equip-desc {
  font-size: 10px;
  color: var(--gray-500);
  line-height: 1.3;
}

/* ========================================
   办公环境区
   ======================================== */
.office-group {
  margin-bottom: 40px;
}

.office-group:last-child {
  margin-bottom: 0;
}

.office-group-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 16px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-group-icon {
  font-size: 20px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.office-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.office-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.office-label {
  padding: 14px 16px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-900);
  text-align: center;
}

/* ========================================
   联系我们区
   ======================================== */
.contact {
  background: var(--gray-50);
}

.contact-content {
  max-width: 640px;
  margin: 0 auto;
}

/* 二维码核心区域 */
.contact-qr-center {
  text-align: center;
  margin-bottom: 32px;
}

.qr-main {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-50), #f0f7ff);
  border-radius: var(--radius-xl);
  padding: 32px 40px 24px;
  border: 1px solid var(--blue-100);
  box-shadow: 0 4px 24px rgba(12, 35, 64, 0.06);
}

.qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.3);
}

.qr-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
}

.qr-badge:active {
  transform: translateY(0);
}

.qr-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.qr-img-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.qr-img-wrap img {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-sm);
  display: block;
}

.qr-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
}

.qr-wechat-id {
  color: var(--blue-800);
  font-weight: 600;
}

.qr-divider {
  color: var(--gray-300);
}

.qr-search {
  color: var(--gray-600);
}


.contact-wechat-btn:active {
  transform: translateY(0);
}

.contact-wechat-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-wechat-btn.copied {
  background: linear-gradient(135deg, #07c160, #06ad56);
  pointer-events: none;
}

.copy-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* 联系信息条 */
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.contact-chip:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.contact-chip-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
}

.contact-chip-icon svg {
  width: 18px;
  height: 18px;
}

.contact-chip-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.chip-label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chip-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-phone {
  color: var(--orange-600);
  font-size: 15px;
  font-weight: 800;
}

.chip-hint {
  font-size: 11px;
  color: var(--gray-500);
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.footer-sub {
  color: var(--blue-300);
  font-size: 13px;
}

.footer-info {
  text-align: right;
}

.footer-item {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   回到顶部
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--blue-700);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   滚动淡入动画
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   响应式 - 平板
   ======================================== */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .adv-grid-5 .adv-card-primary {
    grid-column: 1 / -1;
  }
}

/* ========================================
   响应式 - 手机
   ======================================== */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12, 35, 64, 0.98);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-nav a {
    padding: 10px 16px;
    font-size: 15px;
  }

  .btn-call span {
    display: none;
  }

  .btn-call {
    padding: 8px 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 50px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 13px;
    padding: 10px 8px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .qual-grid,
  .qual-grid-5 {
    grid-template-columns: 1fr;
  }

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

  .one-stop-banner {
    padding: 28px 20px;
  }

  .one-stop-title {
    font-size: 20px;
  }

  .one-stop-flow {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .one-stop-arrow {
    display: none;
  }

  .one-stop-item {
    min-width: 80px;
  }

  .one-stop-step-icon {
    width: 56px;
    height: 56px;
  }

  .one-stop-step-icon svg {
    width: 24px;
    height: 24px;
  }

  .one-stop-step-label {
    font-size: 12px;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
  }

  .process-connector {
    width: 2px;
    height: 24px;
    margin-top: 0;
  }

  .process-connector::after {
    right: -3px;
    top: auto;
    bottom: -3px;
    border-top: none;
    border-right: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    border-left: 2px solid rgba(255,255,255,0.3);
    transform: rotate(-45deg);
  }

  .adv-grid,
  .adv-grid-5 {
    grid-template-columns: 1fr;
  }

  .onsite-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .office-grid,
  .office-grid-3,
  .office-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 16px;
  }

  .footer-info {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-tags {
    gap: 6px;
  }

  .tag {
    font-size: 12px;
    padding: 4px 12px;
  }

  .hero-stats {
    gap: 16px;
  }

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

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .qr-main {
    padding: 24px 28px 20px;
  }

  .qr-img-wrap img {
    width: 160px;
    height: 160px;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
