/* ============================================================
   啄木鸟家庭维修 - 全站设计系统
   版本: 2.0 | 主色: 啄木鸟蓝 #1a56db | 强调: 活力橙 #f97316
   ============================================================ */

/* ==================== CSS 变量 ==================== */
:root {
  --primary: #1a56db;
  --primary-dark: #1447b6;
  --primary-light: #e8f0fe;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fff7ed;
  --dark: #1a1a2e;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --shadow-primary: 0 4px 14px rgba(26,86,219,.3);
  --shadow-accent: 0 4px 14px rgba(249,115,22,.3);
  --font-sans: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Songti SC', 'SimSun', serif;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ==================== 基础重置 ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 { color: var(--dark); font-weight: 700; line-height: 1.3; }

/* ==================== 通用布局 ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.main { padding: 40px 0; min-height: 60vh; }
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ==================== 顶部栏 ==================== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-inner strong { color: var(--accent); font-weight: 600; }
.topbar-links a { color: rgba(255,255,255,.7); margin-left: 16px; transition: var(--transition); }
.topbar-links a:hover { color: var(--white); }

/* ==================== 导航 ==================== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: 40px; height: 40px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--dark); white-space: nowrap; }
.logo:hover .logo-text { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
  padding: 8px 16px; border-radius: var(--radius-sm);
  color: var(--gray-600); font-size: 15px; font-weight: 500;
  transition: var(--transition); position: relative;
}
.nav-item:hover { color: var(--primary); background: var(--primary-light); }
.nav-item.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-tel { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.header-tel svg { width: 16px; height: 16px; }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 24px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); box-shadow: var(--shadow-primary); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); box-shadow: var(--shadow-accent); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* ==================== Hero 区域 ==================== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #1a56db 50%, #1a3a8f 100%);
  color: var(--white); padding: 80px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 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.03'%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");
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 50px; padding: 6px 16px; font-size: 13px; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.hero-title { font-size: 44px; font-weight: 800; line-height: 1.2; color: var(--white); margin-bottom: 16px; }
.hero-title em { color: var(--accent); font-style: normal; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,.75); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 36px; font-weight: 800; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
.hero-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); color: var(--gray-700); }
.hero-form h3 { font-size: 18px; margin-bottom: 20px; color: var(--dark); }
.hero-form h3 span { color: var(--accent); }

/* ==================== 表单 ==================== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-600); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--gray-900);
  background: var(--white); transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: var(--danger); font-size: 12px; margin-top: 4px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }

/* ==================== 服务卡片 ==================== */
.services-section { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.section-subtitle { font-size: 16px; color: var(--gray-500); }
.section-title::before { content: ''; display: block; width: 40px; height: 4px; background: var(--accent); border-radius: 2px; margin: 0 auto 14px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 24px 20px;
  text-align: center; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: var(--transition); border: 1.5px solid transparent;
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.service-name { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.service-desc { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ==================== 文章卡片 ==================== */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.article-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card-img { width: 100%; height: 180px; object-fit: cover; background: var(--gray-100); }
.article-card-body { padding: 16px; }
.article-card-cat { display: inline-block; font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 3px 10px; border-radius: 50px; margin-bottom: 8px; font-weight: 500; }
.article-card-title { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--primary); }
.article-card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-400); }

/* ==================== 文章列表页 ==================== */
.list-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.list-main {}
.list-header { border-bottom: 2px solid var(--primary); padding-bottom: 16px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; }
.list-title { font-size: 22px; font-weight: 700; color: var(--dark); }
.list-count { font-size: 13px; color: var(--gray-400); }
.list-filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-tag { padding: 6px 16px; border-radius: 50px; font-size: 13px; background: var(--gray-100); color: var(--gray-600); cursor: pointer; transition: var(--transition); }
.filter-tag:hover, .filter-tag.active { background: var(--primary); color: var(--white); }

/* ==================== 文章详情页 ==================== */
.article-page { padding: 40px 0 80px; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.article-header { margin-bottom: 32px; }
.article-title { font-size: 28px; font-weight: 800; color: var(--dark); line-height: 1.4; margin-bottom: 16px; }
.article-meta-bar { display: flex; gap: 20px; font-size: 14px; color: var(--gray-500); flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.article-meta-bar span { display: flex; align-items: center; gap: 4px; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--gray-700); }
.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 22px; margin: 32px 0 14px; color: var(--dark); border-left: 4px solid var(--primary); padding-left: 12px; }
.article-body h3 { font-size: 18px; margin: 24px 0 12px; color: var(--dark); }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: var(--radius-sm); margin: 16px auto !important; box-shadow: var(--shadow-sm); }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; padding: 16px; background: var(--gray-50); border-radius: var(--radius-sm); }
.article-tag { padding: 4px 14px; background: var(--primary-light); color: var(--primary); border-radius: 50px; font-size: 13px; }
.article-tag:hover { background: var(--primary); color: var(--white); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.article-nav-item { padding: 12px 16px; background: var(--gray-50); border-radius: var(--radius-sm); font-size: 14px; color: var(--gray-600); }
.article-nav-item strong { display: block; color: var(--dark); margin-bottom: 4px; }

/* ==================== 问答页 ==================== */
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa-item {
  background: var(--white); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border-left: 4px solid transparent;
}
.qa-item:hover { border-left-color: var(--primary); box-shadow: var(--shadow); }
.qa-question { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 10px; display: flex; gap: 10px; }
.qa-question::before { content: 'Q'; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--primary); color: var(--white); border-radius: 50%; font-size: 12px; flex-shrink: 0; }
.qa-question a { color: inherit; }
.qa-question a:hover { color: var(--primary); }
.qa-answer { font-size: 14px; color: var(--gray-600); padding-left: 34px; line-height: 1.6; }
.qa-answer::before { content: 'A'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--accent); color: var(--white); border-radius: 50%; font-size: 11px; margin-right: 8px; }
.qa-meta { display: flex; gap: 16px; font-size: 12px; color: var(--gray-400); padding-left: 34px; margin-top: 8px; }

/* 问答详情页 */
.qa-detail-page { padding: 40px 0 80px; }
.qa-detail-header { background: var(--primary); color: var(--white); padding: 40px 0; margin-bottom: 40px; }
.qa-detail-header h1 { font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.qa-detail-answers { display: flex; flex-direction: column; gap: 20px; }
.qa-answer-block { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.qa-answer-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--primary); color: var(--white); border-radius: 50%; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.qa-answer-text { font-size: 16px; line-height: 1.9; color: var(--gray-700); }
.qa-answer-author { margin-top: 16px; font-size: 13px; color: var(--gray-400); padding-top: 12px; border-top: 1px solid var(--gray-200); }

/* ==================== 侧边栏 ==================== */
.sidebar {}
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.widget-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.sidebar-tel { background: linear-gradient(135deg, var(--primary), #1a3a8f); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--white); }
.sidebar-tel h3 { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 10px; font-weight: 400; }
.sidebar-tel .tel-num { font-size: 28px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.sidebar-tel .tel-time { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }

/* ==================== 面包屑 ==================== */
.breadcrumb-bar { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--gray-400); }

/* ==================== 分页 ==================== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 14px; padding: 0 12px; }
.pagination a { background: var(--white); color: var(--gray-600); border: 1px solid var(--gray-300); transition: var(--transition); }
.pagination a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .current { background: var(--primary); color: var(--white); font-weight: 600; }
.pagination .prev, .pagination .next { padding: 0 16px; }

/* ==================== 客户评价 ==================== */
.testimonials-section { background: var(--dark); color: var(--white); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.6); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(255,255,255,.1); }
.testimonial-stars { color: var(--accent); font-size: 14px; margin-bottom: 12px; }
.testimonial-content { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-city { font-size: 12px; color: rgba(255,255,255,.5); }

/* ==================== CTA 区域 ==================== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #1a3a8f 100%); padding: 60px 0; text-align: center; color: var(--white); }
.cta-section h2 { font-size: 32px; color: var(--white); margin-bottom: 12px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==================== 关于页面 ==================== */
.about-page { padding: 40px 0 80px; }
.about-intro { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.about-intro .page-title { font-size: 36px; margin-bottom: 24px; }
.about-content { font-size: 16px; line-height: 1.9; color: var(--gray-700); }
.about-content p { margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 60px; }
.stat-item { text-align: center; background: var(--primary); border-radius: var(--radius); padding: 32px 20px; color: var(--white); }
.stat-num { font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 8px; }
.about-values { margin-bottom: 60px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); }
.value-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ==================== 联系我们 ==================== */
.contact-page { padding: 40px 0 80px; }
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-info-text p { font-size: 14px; color: var(--gray-500); }
.contact-form-box { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }

/* ==================== 404页面 ==================== */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.error-content { text-align: center; max-width: 600px; }
.error-code { font-size: 140px; font-weight: 900; color: var(--gray-200); line-height: 1; margin-bottom: 20px; }
.error-code span { color: var(--primary); }
.error-title { font-size: 26px; margin-bottom: 12px; }
.error-desc { font-size: 15px; color: var(--gray-500); margin-bottom: 32px; line-height: 1.7; }

/* ==================== 页脚 ==================== */
.footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.35); }

/* ==================== 相关推荐 ==================== */
.related-articles { margin-top: 40px; border-top: 1px solid var(--gray-200); padding-top: 32px; }
.related-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--dark); }

/* ==================== 问答区 ==================== */
.faq-accordion {}
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { padding: 18px 24px; font-size: 15px; font-weight: 600; color: var(--dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--primary); font-weight: 300; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-answer { padding: 0 24px 18px; font-size: 14px; color: var(--gray-600); line-height: 1.8; }

/* ==================== 城市选择器 ==================== */
.city-selector { position: relative; display: inline-block; }
.city-btn { display: flex; align-items: center; gap: 4px; padding: 6px 12px; background: var(--primary-light); border-radius: var(--radius-sm); font-size: 14px; color: var(--primary); cursor: pointer; }
.city-dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 320px; z-index: 200; display: none; padding: 16px; }
.city-selector:hover .city-dropdown { display: block; }
.city-group-title { font-size: 13px; font-weight: 600; color: var(--gray-500); margin-bottom: 8px; margin-top: 12px; }
.city-group-title:first-child { margin-top: 0; }
.city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.city-grid a { padding: 5px 8px; font-size: 13px; color: var(--gray-600); border-radius: 4px; text-align: center; transition: var(--transition); }
.city-grid a:hover { background: var(--primary-light); color: var(--primary); }

/* ==================== 悬浮按钮 ==================== */
.float-btns { position: fixed; right: 20px; bottom: 80px; z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; }
.float-btn:hover { transform: scale(1.1); }
.float-tel { background: var(--accent); color: var(--white); }
.float-top { background: var(--white); color: var(--gray-600); border: 1px solid var(--gray-200); }

/* ==================== 移动端 ==================== */
.mobile-menu-btn { display: none; }
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .topbar { display: none; }
  .header-inner { height: 56px; gap: 12px; }
  .nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 200; flex-direction: column; padding: 80px 20px 20px; gap: 4px; }
  .nav.open { display: flex; }
  .nav-item { width: 100%; padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); }
  .mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; flex-shrink: 0; }
  .mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .hero-title { font-size: 28px; }
  .hero-form { padding: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 16px 12px; }
  .service-icon { font-size: 30px; }
  .section { padding: 40px 0; }
  .articles-grid { grid-template-columns: 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { padding: 40px 0 0; }
}

/* ==================== 辅助类 ==================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }
.fw-600 { font-weight: 600; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none; }
.visible { display: block; }

/* 加载动画 */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 24px; height: 24px; border: 2px solid var(--gray-300); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; display: block; }

/* FAQ 手风琴 */
details.faq-item { cursor: pointer; }

/* 服务项目下拉菜单 */
.nav-dropdown {
 position: relative;
 cursor: pointer;
 display: inline-flex;
 align-items: center;
}
.nav-dropdown > span {
 padding: 12px 16px;
 display: block;
 font-weight: 500;
 color: var(--gray-700);
}
.nav-dropdown-menu {
 display: none;
 position: absolute;
 top: 100%;
 left: 0;
 background: #fff;
 border-radius: 8px;
 box-shadow: 0 8px 24px rgba(0,0,0,.12);
 min-width: 160px;
 padding: 8px 0;
 z-index: 999;
 border: 1px solid var(--gray-100);
}
.nav-dropdown:hover .nav-dropdown-menu {
 display: block;
}
.nav-dropdown-menu a {
 display: block;
 padding: 10px 20px;
 font-size: 14px;
 color: var(--gray-600);
 white-space: nowrap;
 transition: background .15s;
}
.nav-dropdown-menu a:hover {
 background: var(--accent-50, #f0f7ff);
 color: var(--accent-600, #0066cc);
}
@media (max-width: 768px) {
 .nav-dropdown-menu {
 position: static;
 box-shadow: none;
 border: none;
 padding: 0 0 0 20px;
 }
 .nav-dropdown.open .nav-dropdown-menu {
 display: block;
 }
 .nav-dropdown > span { font-size: 16px; }
 .nav-dropdown-menu a { font-size: 14px; padding: 10px 0; }
}

/* ===== 电话引导横条 ===== */
.tel-banner {
 background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
 border: 2px solid #ffc107;
 border-radius: 10px;
 padding: 16px 24px;
 margin-bottom: 20px;
 position: relative;
 overflow: hidden;
}
.tel-banner::before {
 content: '';
 position: absolute;
 top: -50%;
 right: -20px;
 width: 120px;
 height: 200%;
 background: rgba(255,193,7,.08);
 border-radius: 50%;
}
.tel-banner-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 position: relative;
 z-index: 1;
 flex-wrap: wrap;
 gap: 12px;
}
.tel-banner-text {
 display: flex;
 align-items: center;
 gap: 20px;
 flex-wrap: wrap;
}
.tel-banner-label {
 font-size: 15px;
 color: #5d4037;
 font-weight: 500;
}
.tel-banner-phone {
 font-size: 26px;
 font-weight: 800;
 color: #d32f2f;
 letter-spacing: 1px;
}
.tel-banner-btn {
 display: inline-block;
 background: linear-gradient(135deg, #ff6f00, #f57c00);
 color: #fff !important;
 padding: 12px 32px;
 border-radius: 50px;
 font-size: 16px;
 font-weight: 700;
 text-decoration: none !important;
 white-space: nowrap;
 box-shadow: 0 4px 12px rgba(255,111,0,.3);
 transition: all .2s;
}
.tel-banner-btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 6px 20px rgba(255,111,0,.4);
}
@media (max-width: 768px) {
 .tel-banner { padding: 12px 16px; }
 .tel-banner-inner { flex-direction: column; align-items: flex-start; }
 .tel-banner-text { flex-direction: column; gap: 4px; }
 .tel-banner-phone { font-size: 22px; }
 .tel-banner-btn { width: 100%; text-align: center; }
}
/* ========== 400电话动效优化 ========== */

/* 1. 顶部电话脉冲动画 */
.topbar strong {
 position: relative;
 display: inline-block;
 animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
 0%, 100% { transform: scale(1); text-shadow: 0 0 0 rgba(230, 57, 70, 0); }
 50% { transform: scale(1.05); text-shadow: 0 0 10px rgba(230, 57, 70, 0.3); }
}

/* 2. Header CTA 区域强化 */
.header-cta {
 display: flex;
 align-items: center;
 gap: 12px;
}

.header-tel {
 font-size: 18px;
 font-weight: 700;
 color: #e63946;
 animation: phoneShake 3s ease-in-out infinite;
}

@keyframes phoneShake {
 0%, 90%, 100% { transform: translateX(0); }
 92% { transform: translateX(-2px); }
 94% { transform: translateX(2px); }
 96% { transform: translateX(-2px); }
 98% { transform: translateX(2px); }
}

/* 3. 浮动预约按钮（移动端） */
.float-cta {
 display: none;
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: linear-gradient(90deg, #e63946 0%, #f4a261 100%);
 padding: 12px 20px;
 z-index: 9999;
 box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.float-cta-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 max-width: 1200px;
 margin: 0 auto;
}

.float-cta-text {
 color: #fff;
 font-size: 14px;
}

.float-cta-phone {
 color: #fff;
 font-size: 20px;
 font-weight: 700;
 animation: phonePulse 1.5s ease-in-out infinite;
}

.float-cta-btn {
 background: #fff;
 color: #e63946;
 padding: 10px 24px;
 border-radius: 25px;
 font-weight: 600;
 text-decoration: none;
 box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
 .float-cta {
 display: block;
 }
 body {
 padding-bottom: 70px;
 }
}

/* ========== Hero 电话按钮强化 ========== */

.hero-actions .btn-accent {
 position: relative;
 background: linear-gradient(135deg, #e63946 0%, #f4a261 100%);
 border: none;
 box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
 animation: heroBtnPulse 2s ease-in-out infinite;
 overflow: hidden;
}

.hero-actions .btn-accent::before {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
 animation: btnShine 3s ease-in-out infinite;
}

@keyframes heroBtnPulse {
 0%, 100% { 
 transform: scale(1); 
 box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
 }
 50% { 
 transform: scale(1.02); 
 box-shadow: 0 12px 40px rgba(230, 57, 70, 0.6);
 }
}

@keyframes btnShine {
 0% { left: -100%; }
 20%, 100% { left: 100%; }
}

/* 电话图标动画 */
.hero-actions .btn-accent::after {
 content: '📞';
 display: inline-block;
 margin-left: 8px;
 animation: phoneIconShake 1.5s ease-in-out infinite;
}

@keyframes phoneIconShake {
 0%, 100% { transform: rotate(0deg); }
 10% { transform: rotate(-10deg); }
 20% { transform: rotate(10deg); }
 30% { transform: rotate(-10deg); }
 40% { transform: rotate(10deg); }
 50% { transform: rotate(0deg); }
}

/* 侧边浮动电话按钮（桌面端） */
.float-btn.float-phone {
 background: linear-gradient(135deg, #e63946 0%, #f4a261 100%);
 animation: floatPhonePulse 2s ease-in-out infinite;
}

@keyframes floatPhonePulse {
 0%, 100% { 
 box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
 }
 50% { 
 box-shadow: 0 4px 25px rgba(230, 57, 70, 0.7);
 }
}

/* 视觉升级 v2.1 — 2026-04-16 */
.btn-shimmer { position:relative; overflow:hidden; }
.btn-shimmer::after {
 content:''; position:absolute; top:0; left:-75%;
 width:40%; height:100%;
 background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);
 transform:skewX(-20deg);
 animation:shimmerSweep 2.5s ease-in-out infinite;
}
@keyframes shimmerSweep { 0%{left:-75%} 50%{left:120%} 100%{left:120%} }
.service-icon-svg {
 display:inline-flex; align-items:center; justify-content:center;
 width:52px; height:52px; border-radius:14px;
 margin-bottom:10px; box-shadow:0 4px 12px rgba(0,0,0,.15);
 transition:transform .25s,box-shadow .25s;
}
.service-card:hover .service-icon-svg { transform:scale(1.1) translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.2); }
.service-card { padding:28px 16px 22px; }
.service-card:hover { border-color:transparent; box-shadow:0 8px 24px rgba(0,0,0,.1); }
.services-grid { gap:18px; }
.article-card-img { transition:transform .35s cubic-bezier(.4,0,.2,1); }
.article-card:hover .article-card-img { transform:scale(1.04); }
.trust-section { background:var(--gray-50); border-top:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200); padding:36px 0; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.trust-item { display:flex; align-items:center; gap:14px; padding:16px 20px; background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow-sm); border:1px solid var(--gray-200); transition:var(--transition); }
.trust-item:hover { border-color:var(--primary); box-shadow:0 0 0 3px rgba(26,86,219,.08); transform:translateY(-2px); }
.trust-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.trust-text h4 { font-size:15px; font-weight:700; color:var(--dark); margin-bottom:3px; }
.trust-text p { font-size:12px; color:var(--gray-500); line-height:1.4; }
.hero-badge { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); backdrop-filter:blur(4px); padding:7px 18px; font-size:13px; }
.hero-form { border-top:3px solid var(--accent); }
@media(max-width:768px){ .trust-grid{grid-template-columns:repeat(2,1fr);gap:12px} .trust-item{padding:12px 14px} }

/* 在线客服浮窗 */
.float-chat {
 margin-bottom: 10px;
 width: 52px;
 height: 52px;
 border-radius: 50%;
 background: linear-gradient(135deg, #10b981, #059669);
 box-shadow: 0 4px 16px rgba(16,185,129,.45);
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: transform .2s, box-shadow .2s;
 z-index: 999;
 animation: floatChatPulse 3s ease-in-out infinite;
}
.float-chat:hover {
 transform: scale(1.1);
 box-shadow: 0 6px 24px rgba(16,185,129,.55);
 animation: none;
}
.float-chat-dot {
 position: absolute;
 top: 6px;
 right: 6px;
 width: 10px;
 height: 10px;
 background: #ef4444;
 border-radius: 50%;
 border: 2px solid #fff;
 animation: onlinePulse 1.8s ease-in-out infinite;
}
@keyframes floatChatPulse {
 0%,100% { box-shadow: 0 4px 16px rgba(16,185,129,.45); }
 50% { box-shadow: 0 4px 24px rgba(16,185,129,.7); }
}
@keyframes onlinePulse {
 0%,100% { transform: scale(1); opacity: 1; }
 50% { transform: scale(1.3); opacity: .7; }
}

@media(max-width:768px) {
 .float-chat { bottom: 85px; width: 48px; height: 48px; }
}

@keyframes pulse-ring{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.4)}50%{box-shadow:0 0 0 10px rgba(220,38,38,0)}}
@keyframes tel-ring{0%,100%{transform:rotate(0)}10%,50%,90%{transform:rotate(-4deg)}30%,70%{transform:rotate(4deg)}}
@keyframes shimmer{0%{background-position:-200%}100%{background-position:200%}}
.float-tel:hover{animation:tel-ring .4s ease-in-out}
.top-tel-wrap{animation:pulse-ring 2s infinite}
.btn-shimmer{background:linear-gradient(90deg,#dc2626 25%,#fff 50%,#dc2626 75%);background-size:200% 100%;animation:shimmer 3s linear infinite}