﻿:root {
  --primary: #e03030;
  --primary-dark: #b91c1c;
  --primary-darker: #991b1b;
  --primary-light: #fef2f2;
  --primary-50: #fff1f1;
  --primary-100: #ffe0e0;
  --secondary: #1e40af;
  --accent: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --info: #3b82f6;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --text-white: #f9fafb;
  --bg: #f3f4f6;
  --bg-warm: #fefbfb;
  --white: #ffffff;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--bg-warm);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }

/* ===== 动画关键帧 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(224, 48, 48, 0.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.nav-logo span { font-size: 24px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 18px; border-radius: 22px;
  font-size: 14px; color: rgba(255,255,255,0.9);
  transition: var(--transition);
  font-weight: 500;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.18); color: #fff;
  backdrop-filter: blur(4px);
}
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 20px; 
  background: rgba(255,255,255,0.15); 
  color: var(--white); border-radius: 22px;
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}
.nav-phone:hover { 
  background: rgba(255,255,255,0.25); 
  color: var(--white); 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.menu-btn {
  display: none; background: none; border: none;
  font-size: 26px; cursor: pointer; padding: 8px;
  color: #fff;
}

/* ===== 页面容器 ===== */
.page { display: none; min-height: calc(100vh - 64px); padding-top: 64px; }
.page.active { display: block; animation: fadeIn 0.4s ease; }

/* ===== 返回按钮 ===== */
.page-back-btn {
  position: fixed; top: 72px; left: 16px; z-index: 999;
  display: none; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.98); border: 1px solid var(--border);
  border-radius: 28px; padding: 10px 18px; font-size: 14px;
  color: var(--text-light); cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 500;
}
.page-back-btn:hover {
  background: var(--primary-light); color: var(--primary);
  border-color: var(--primary); transform: translateX(-2px);
}
@media (max-width: 768px) {
  .page-back-btn { top: 70px; left: 10px; padding: 8px 14px; font-size: 13px; }
}

/* ===== 首页 Hero ===== */
.hero {
  background: linear-gradient(135deg, #e03030 0%, #dc2626 40%, #b91c1c 70%, #991b1b 100%);
  color: var(--white); padding: 100px 24px 90px;
  text-align: center; position: relative; overflow: hidden;
}
/* 装饰性圆形背景 */
.hero::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -100px; left: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
/* 底部波浪 */
.hero .wave {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 48px; background: var(--bg-warm);
  clip-path: ellipse(58% 100% at 50% 100%);
  z-index: 2;
}
.hero h1 { 
  font-size: 40px; font-weight: 800; margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  letter-spacing: 1px;
  animation: fadeInUp 0.6s ease;
}
.hero .hero-sub { 
  font-size: 19px; opacity: 0.95; margin-bottom: 10px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero .hero-tagline { 
  font-size: 15px; opacity: 0.8; margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero .hero-hours {
  font-size: 14px; margin-bottom: 36px; opacity: 0.85;
  animation: fadeInUp 0.6s ease 0.25s both;
}
.hero-buttons { 
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; 
  animation: fadeInUp 0.6s ease 0.35s both;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 28px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-white { 
  background: var(--white); color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--primary-dark);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { 
  border-color: var(--white); background: rgba(255,255,255,0.12);
  color: var(--white); transform: translateY(-2px);
}
.btn-primary { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(224,48,48,0.35);
}
.btn-primary:hover { 
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: var(--white); transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(224,48,48,0.4);
}
.btn-sm { padding: 9px 20px; font-size: 13px; border-radius: 22px; }

/* 联系卡片 */
.contact-bar {
  max-width: 1200px; margin: -36px auto 0; position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 28px;
}
.contact-card-item {
  background: var(--white); border-radius: var(--radius);
  padding: 22px 20px; display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.contact-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.contact-card-item .icon-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-50));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(224,48,48,0.1);
}
.contact-card-item .label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.contact-card-item .value { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-card-item .value a { color: var(--primary); font-weight: 600; }

/* 微信二维码卡片 */
.contact-card-wechat { position: relative; }
.contact-card-wechat .wechat-info { flex: 1; min-width: 0; }
.wechat-qr-thumb {
  flex-shrink: 0; border-radius: var(--radius-sm);
  cursor: pointer; border: 2px solid var(--border);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.wechat-qr-thumb:hover { 
  transform: scale(1.08); 
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(224,48,48,0.15);
}

/* 首页浏览统计 */
.stats-bar {
  max-width: 1200px; margin: 28px auto 0; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stats-item {
  background: var(--white); border-radius: var(--radius);
  padding: 20px 16px; text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.stats-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stats-num {
  display: block; font-size: 28px; font-weight: 800; color: var(--primary);
  line-height: 1.2; letter-spacing: -0.5px;
}
.stats-desc {
  display: block; font-size: 12px; color: var(--text-muted); margin-top: 6px;
  font-weight: 500;
}

/* 服务承诺横幅 */
.promise-bar {
  max-width: 1200px; margin: 48px auto 0; padding: 0 28px;
}
.promise-list {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-start;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  padding: 20px 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.promise-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-light); font-weight: 500;
}
.promise-item .check {
  color: var(--success); font-size: 18px; flex-shrink: 0;
}

/* 服务项目 */
.section { max-width: 1200px; margin: 0 auto; padding: 72px 28px; }
.section-header {
  text-align: center; margin-bottom: 48px;
  animation: fadeInUp 0.5s ease;
}
.section-header h2 { 
  font-size: 28px; margin-bottom: 10px; 
  font-weight: 800; color: var(--text);
  letter-spacing: 0.5px;
}
.section-header p { color: var(--text-muted); font-size: 16px; }

.service-category {
  margin-bottom: 40px;
  animation: fadeInUp 0.5s ease;
}
.service-category-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.service-category-title .cat-icon { font-size: 28px; }
.service-category-title h3 { font-size: 18px; color: var(--text); font-weight: 700; }
.service-category-title .cat-tag {
  padding: 4px 12px; background: linear-gradient(135deg, var(--primary-light), var(--primary-50));
  color: var(--primary); border-radius: 12px;
  font-size: 12px; font-weight: 600;
  box-shadow: 0 1px 4px rgba(224,48,48,0.1);
}
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 14px; text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: default;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: var(--transition);
}
.service-card:hover { 
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.service-card:hover::before { opacity: 1; }
.service-card .icon { font-size: 36px; margin-bottom: 12px; display: block; }
.service-card .name { font-size: 14px; font-weight: 600; color: var(--text); }
.service-card .desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* 流程 */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.step-card { 
  text-align: center; padding: 36px 20px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(224,48,48,0.25);
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; font-weight: 700; }
.step-card p { font-size: 13px; color: var(--text-muted); }

/* 优势 */
.advantages {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.advantage-card {
  display: flex; gap: 18px; padding: 28px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.advantage-card .adv-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-50));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(224,48,48,0.08);
}
.advantage-card h3 { font-size: 16px; margin-bottom: 6px; text-align: left; font-weight: 700; }
.advantage-card p { font-size: 13px; color: var(--text-muted); text-align: left; line-height: 1.6; }

/* 旧家电收购 */
.recycle-banner {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  border-radius: var(--radius); padding: 48px 40px;
  color: var(--white); text-align: center;
  margin-bottom: 0;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.recycle-banner::before {
  content: ''; position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.recycle-banner h2 { font-size: 26px; margin-bottom: 10px; font-weight: 800; }
.recycle-banner p { opacity: 0.9; font-size: 16px; margin-bottom: 24px; line-height: 1.8; }
.recycle-banner .recycle-btn {
  display: inline-block; padding: 14px 36px;
  background: var(--white); color: #7c3aed;
  border-radius: 28px; font-weight: 700;
  cursor: pointer; border: none;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.recycle-banner .recycle-btn:hover {
  transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* 底部 */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: rgba(255,255,255,0.7);
  padding: 56px 28px 36px;
  position: relative;
}
.footer::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 36px;
}
.footer-brand { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer-desc { font-size: 14px; line-height: 2; color: rgba(255,255,255,0.6); }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 13px; opacity: 0.5;
  color: rgba(255,255,255,0.5);
}

/* ===== 报修/报装页 ===== */
.repair-page { background: var(--bg-warm); }
.form-container {
  max-width: 720px; margin: 0 auto; padding: 48px 28px 72px;
}
.form-container h2 {
  font-size: 26px; margin-bottom: 28px;
  padding-bottom: 16px; border-bottom: 3px solid var(--primary);
  display: inline-block; font-weight: 800;
  letter-spacing: 0.5px;
}
.form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 10px; color: var(--text);
}
.form-group label .required { color: var(--primary); margin-left: 3px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--text);
  transition: var(--transition);
  font-family: inherit;
  background: var(--white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(224,48,48,0.08);
  background: var(--primary-light);
}
.form-textarea { resize: vertical; min-height: 110px; }
.char-count { font-size: 12px; color: var(--text-muted); text-align: right; margin-top: 6px; font-weight: 500; }

/* 服务类型切换 */
.service-type-tabs {
  display: flex; gap: 0; margin-bottom: 28px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.service-type-tab {
  flex: 1; padding: 14px; text-align: center;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  background: var(--white); color: var(--text-light);
  border: none;
}
.service-type-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(224,48,48,0.25);
}
.service-type-tab:not(.active):hover {
  background: var(--primary-light); color: var(--primary);
}

.photo-upload { display: flex; gap: 14px; flex-wrap: wrap; }
.photo-item {
  position: relative; width: 110px; height: 110px;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item .delete-btn {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: var(--white);
  border: none; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.photo-item .delete-btn:hover { background: var(--primary); }
.photo-add {
  width: 110px; height: 110px;
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  color: var(--text-muted); font-size: 13px; gap: 6px;
  background: var(--bg-warm);
}
.photo-add:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.photo-add .plus { font-size: 32px; line-height: 1; font-weight: 300; }

.submit-btn {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-size: 17px; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(224,48,48,0.3);
  letter-spacing: 0.5px;
}
.submit-btn:hover { 
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,48,48,0.4);
}
.submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

.success-card {
  text-align: center; padding: 72px 32px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); max-width: 520px; margin: 60px auto;
  border: 1px solid var(--border-light);
}
.success-icon {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: var(--success);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 44px; margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(16,185,129,0.15);
}
.success-card h2 { font-size: 26px; margin-bottom: 14px; font-weight: 800; }
.success-card p { color: var(--text-light); margin-bottom: 10px; }
.success-card .order-id {
  display: inline-block; padding: 10px 28px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 24px; font-size: 17px; font-weight: 700;
  margin: 18px 0;
  border: 1px solid var(--primary-100);
}

/* ===== 查询页 ===== */
.query-page { background: var(--bg-warm); }
.query-container {
  max-width: 720px; margin: 0 auto; padding: 48px 28px 72px;
}
.query-box {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}
.query-box h2 { font-size: 22px; margin-bottom: 24px; font-weight: 700; }

.order-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.order-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.order-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--white), var(--bg-warm));
}
.order-header .order-id { font-size: 13px; color: var(--text-muted); }
.order-header .order-id strong { color: var(--text); font-size: 15px; }
.order-status { 
  padding: 5px 14px; border-radius: 14px; font-size: 12px; font-weight: 600;
}
.status-0 { background: #fffbeb; color: #d48806; border: 1px solid #fde68a; }
.status-1 { background: #eff6ff; color: #096dd9; border: 1px solid #bfdbfe; }
.status-2 { background: #f0fdf4; color: #389e0d; border: 1px solid #bbf7d0; }
.order-body { padding: 18px 22px; }
.order-info-row { display: flex; padding: 8px 0; font-size: 14px; }
.order-info-row .label { color: var(--text-muted); width: 90px; flex-shrink: 0; font-weight: 500; }
.order-info-row .value { color: var(--text); flex: 1; font-weight: 500; }
.order-photos { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.order-photos img {
  width: 160px; height: 160px; border-radius: var(--radius-sm);
  object-fit: cover; cursor: pointer; transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 2px solid var(--border-light);
}
.order-photos img:hover { transform: scale(1.05); box-shadow: var(--shadow-md); }

/* 图片放大查看模态框 */
.photo-modal {
  display: none; position: fixed; z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.92); justify-content: center; align-items: center;
  backdrop-filter: blur(4px);
}
.photo-modal.active { display: flex; }
.photo-modal img {
  max-width: 90%; max-height: 90%; border-radius: 8px; object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.photo-modal .close-btn {
  position: absolute; top: 20px; right: 30px;
  color: white; font-size: 42px; cursor: pointer; font-weight: 300;
  transition: var(--transition);
}
.photo-modal .close-btn:hover { color: #ccc; transform: scale(1.1); }
.photo-modal-loader {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.photo-modal .spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#modalImage { transition: opacity 0.3s; }

/* 微信二维码弹窗 */
.qr-modal {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000;
  background: rgba(0,0,0,0.8);
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.qr-modal.show { display: flex; }
.qr-modal-body {
  background: var(--white); border-radius: var(--radius);
  padding: 44px 36px 36px; text-align: center;
  max-width: 380px; width: 92%; position: relative;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.3s ease;
}
.qr-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f0f0f0; color: #666;
  font-size: 22px; line-height: 36px; text-align: center;
  cursor: pointer; transition: var(--transition);
}
.qr-modal-close:hover { background: var(--primary); color: #fff; }
.qr-modal-img { 
  width: 240px; height: 240px; border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.qr-modal-text { font-size: 17px; font-weight: 700; color: var(--text); margin: 18px 0 6px; }
.qr-modal-id { font-size: 15px; color: var(--text-light); }

.order-footer {
  padding: 14px 22px; border-top: 1px solid var(--border-light);
  font-size: 12px; color: var(--text-muted);
  background: var(--bg-warm);
}

/* ===== 管理页 ===== */
.admin-page { background: var(--bg-warm); }
.admin-container {
  max-width: 1200px; margin: 0 auto; padding: 48px 28px 72px;
}
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
}
.admin-header h2 { font-size: 26px; font-weight: 800; }

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 36px;
}
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px 16px; box-shadow: var(--shadow); text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat-card .stat-num { font-size: 36px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.5px; }
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.stat-card:nth-child(1) .stat-num { color: var(--text); }
.stat-card:nth-child(2) .stat-num { color: #d48806; }
.stat-card:nth-child(3) .stat-num { color: #096dd9; }
.stat-card:nth-child(4) .stat-num { color: #389e0d; }

.filter-bar { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
.filter-btn {
  padding: 9px 20px; border-radius: 22px;
  border: 2px solid var(--border); background: var(--white);
  font-size: 13px; cursor: pointer; transition: var(--transition);
  font-weight: 600;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(224,48,48,0.2);
}

/* 视图切换 */
.view-toggle { 
  display: flex; gap: 4px; margin-left: auto; 
  background: var(--bg); border-radius: 22px; padding: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}
.view-toggle-btn {
  padding: 7px 14px; border-radius: 20px; border: none;
  font-size: 13px; cursor: pointer; background: transparent; color: #999;
  transition: var(--transition); font-weight: 500;
}
.view-toggle-btn.active { 
  background: #fff; color: var(--text); 
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  font-weight: 600;
}

/* 订单目录列表 */
.order-dir-item {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px; background: #fff;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer; transition: var(--transition);
}
.order-dir-item:first-child { border-radius: 12px 12px 0 0; }
.order-dir-item:last-child { border-radius: 0 0 12px 12px; border-bottom: none; }
.order-dir-item:hover { background: #fef2f2; }
.order-dir-no { font-size: 13px; color: #bbb; min-width: 24px; font-weight: 600; }
.order-dir-name { font-size: 15px; color: #e03030; font-weight: 700; min-width: 60px; }
.order-dir-type { font-size: 12px; color: #666; background: #f5f5f7; padding: 3px 10px; border-radius: 6px; font-weight: 500; }
.order-dir-views { font-size: 12px; color: #bbb; margin-left: auto; }
.order-dir-status { font-size: 12px; padding: 3px 10px; border-radius: 6px; font-weight: 600; }
.order-dir-status.sdir-0 { color: #d48806; background: #fffbeb; }
.order-dir-status.sdir-1 { color: #096dd9; background: #eff6ff; }
.order-dir-status.sdir-2 { color: #389e0d; background: #f0fdf4; }
.order-dir-row2 {
  display: flex; align-items: center; gap: 16px;
  padding: 0 22px 16px 52px; font-size: 12px; color: #999;
  background: #fff;
}
.order-dir-orderno { color: #bbb; flex-shrink: 0; font-weight: 500; }
.order-dir-problem { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #666; }
.order-dir-contact { color: #999; flex-shrink: 0; }
.order-dir-time { white-space: nowrap; color: #bbb; flex-shrink: 0; }
.order-dir-pin { font-size: 11px; color: #d4380d; background: #fff1f0; padding: 2px 8px; border-radius: 4px; margin-left: 4px; flex-shrink: 0; font-weight: 600; }

/* 目录搜索框 */
.dir-search-wrap {
  display: none; margin-bottom: 16px;
}
.dir-search-wrap.show { display: flex; }
.dir-search-input {
  flex: 1; padding: 12px 18px; border: 2px solid #e5e7eb;
  border-radius: 10px; font-size: 14px; outline: none;
  transition: var(--transition);
  background: var(--white);
}
.dir-search-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.08); }
.dir-search-input::placeholder { color: #ccc; }
.dir-search-clear {
  margin-left: 10px; padding: 10px 18px; border: none; background: #f5f5f5;
  border-radius: 10px; cursor: pointer; font-size: 13px; color: #999;
  white-space: nowrap; font-weight: 500;
  transition: var(--transition);
}
.dir-search-clear:hover { background: #e8e8e8; }
.dir-search-result { font-size: 12px; color: #999; margin-top: 8px; }

.btn-load-more {
  padding: 12px 40px; border: 2px solid #d9d9d9; background: #fff;
  border-radius: 10px; cursor: pointer; font-size: 14px; color: #555;
  transition: var(--transition); font-weight: 500;
}
.btn-load-more:hover { border-color: #3b82f6; color: #3b82f6; background: #f0f7ff; }

.admin-order-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 18px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.admin-order-card:hover {
  box-shadow: var(--shadow-md);
}
.admin-order-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap; gap: 8px; cursor: pointer; user-select: none;
  background: linear-gradient(135deg, var(--white), var(--bg-warm));
}
.admin-order-header:hover { background: var(--primary-light); }
.admin-order-header .toggle-icon {
  font-size: 12px; color: #bbb; transition: transform 0.2s; margin-left: 8px;
}
.admin-order-card.collapsed .admin-order-body,
.admin-order-card.collapsed .admin-order-actions { display: none; }
.admin-order-card.collapsed .admin-order-header { border-bottom: none; }
.admin-order-card.collapsed .toggle-icon { transform: rotate(-90deg); }
.admin-order-body { padding: 22px; }
.admin-order-body .detail-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.detail-item .dl { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.detail-item .dv { font-size: 14px; color: var(--text); margin-top: 3px; font-weight: 500; }
.admin-order-actions {
  display: flex; gap: 10px; padding: 14px 22px;
  border-top: 1px solid var(--border-light); flex-wrap: wrap;
  background: var(--bg-warm);
}
.action-btn {
  padding: 8px 18px; border-radius: 8px;
  border: 2px solid var(--border); background: var(--white);
  font-size: 13px; cursor: pointer; transition: var(--transition);
  font-weight: 500;
}
.action-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.hide { display: none !important; }
.btn-pin { color: #d4380d; border-color: #ffa39e; background: #fff7e6; }

/* 编辑弹窗 */
.edit-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: flex-start; justify-content: center; z-index: 2000;
  overflow-y: auto; padding: 24px;
  backdrop-filter: blur(2px);
}
.edit-overlay.show { display: flex; }
.edit-modal {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; width: 540px; max-width: 95vw; box-shadow: var(--shadow-xl);
  margin-top: 24px;
  border: 1px solid var(--border-light);
}
.edit-modal h3 { font-size: 20px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.edit-modal .close-x { cursor: pointer; font-size: 22px; color: #bbb; transition: var(--transition); }
.edit-modal .close-x:hover { color: var(--primary); }
.edit-modal .form-group { margin-bottom: 16px; }
.edit-modal label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.edit-modal input, .edit-modal select, .edit-modal textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 15px; transition: var(--transition);
  background: var(--white);
}
.edit-modal input:focus, .edit-modal select:focus, .edit-modal textarea:focus {
  border-color: var(--primary); outline: none;
  box-shadow: 0 0 0 3px rgba(224,48,48,0.08);
}
.edit-modal textarea { resize: vertical; min-height: 70px; }
.edit-btn-row { display: flex; gap: 14px; margin-top: 20px; }
.edit-btn-row button { flex: 1; padding: 14px; border-radius: 10px; font-size: 15px; cursor: pointer; border: none; font-weight: 700; }
.edit-btn-save { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.edit-btn-save:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker)); }
.edit-btn-cancel { background: #f5f5f5; color: var(--text); }
@media (max-width: 768px) {
  .edit-modal { padding: 20px; margin-top: 12px; }
  .edit-modal input, .edit-modal select, .edit-modal textarea { font-size: 16px; }
}

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: center; justify-content: center; z-index: 2000;
  backdrop-filter: blur(2px);
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; width: 420px; max-width: 92vw; box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}
.modal h3 { font-size: 22px; margin-bottom: 24px; font-weight: 700; }

.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%);
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: var(--text); color: var(--white);
  font-size: 14px; z-index: 9999;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
  font-weight: 500; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; }
.toast.success { background: linear-gradient(135deg, #10b981, #059669); }
.toast.error { background: linear-gradient(135deg, #ef4444, #dc2626); }

.empty-state { text-align: center; padding: 72px 24px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 56px; margin-bottom: 20px; }
.empty-state p { font-size: 16px; }

/* 完工登记弹窗 */
.comp-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: center; justify-content: center; z-index: 3000;
  backdrop-filter: blur(2px);
}
.comp-modal-overlay.show { display: flex; }
.comp-modal {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; width: 500px; max-width: 92vw; max-height: 88vh;
  overflow-y: auto; box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}
.comp-modal h3 { font-size: 22px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.comp-modal .close-x { cursor: pointer; font-size: 22px; color: var(--text-muted); transition: var(--transition); }
.comp-modal .close-x:hover { color: var(--primary); }
.comp-order-info {
  background: linear-gradient(135deg, var(--primary-light), var(--bg-warm));
  border-radius: var(--radius-sm);
  padding: 18px; margin-bottom: 20px;
  border: 1px solid var(--primary-100);
}
.comp-order-info .info-row { display: flex; font-size: 13px; padding: 5px 0; }
.comp-order-info .info-label { width: 70px; color: var(--text-muted); flex-shrink: 0; font-weight: 500; }
.comp-order-info .info-value { color: var(--text); flex: 1; font-weight: 500; }
.comp-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.comp-form-group { margin-bottom: 20px; }
.comp-form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.comp-form-group label .required { color: var(--primary); }
.comp-form-group input, .comp-form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  transition: var(--transition); background: var(--white);
}
.comp-form-group input:focus, .comp-form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(224,48,48,0.08);
}
.comp-form-group textarea { resize: vertical; min-height: 90px; }
.comp-submit-btn {
  width: 100%; padding: 14px; 
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: var(--transition); margin-top: 10px;
  box-shadow: 0 4px 14px rgba(224,48,48,0.3);
}
.comp-submit-btn:hover { 
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,48,48,0.4);
}
.comp-submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }
.comp-record { margin-bottom: 18px; }
.comp-record-item { display: flex; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.comp-record-item:last-child { border-bottom: none; }
.comp-record-label { width: 80px; color: var(--text-muted); flex-shrink: 0; font-weight: 500; }
.comp-record-value { flex: 1; color: var(--text); }
.comp-record-value.cost { color: var(--primary); font-weight: 700; }
.btn-completion { border-color: #389e0d !important; color: #389e0d !important; }
.btn-completion:hover { background: #f0fff4 !important; }
.btn-view-record { border-color: #096dd9 !important; color: #096dd9 !important; }
.btn-view-record:hover { background: #e6f7ff !important; }

/* ===== 收据管理面板 ===== */
.receipt-panel {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); margin-top: 24px; overflow: visible;
  position: relative; z-index: 10;
  border: 1px solid var(--border-light);
}
.receipt-table-wrap {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.receipt-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #fffbe6, #fef3c7);
}
.receipt-panel-header h3 { font-size: 18px; margin: 0; font-weight: 700; }
.receipt-panel-header button {
  background: none; border: none; font-size: 22px;
  cursor: pointer; color: #999; padding: 4px 8px;
  transition: var(--transition);
}
.receipt-panel-header button:hover { color: var(--text); }
.receipt-search-wrap {
  padding: 16px 24px; display: flex; gap: 10px; flex-wrap: wrap;
  border-bottom: 1px solid #f5f5f5;
  background: var(--bg-warm);
}
.receipt-search-wrap input {
  flex: 1; min-width: 200px; padding: 10px 16px;
  border: 2px solid #d9d9d9; border-radius: 8px; font-size: 14px;
  outline: none; transition: var(--transition);
  background: var(--white);
}
.receipt-search-wrap input:focus { border-color: #d48806; box-shadow: 0 0 0 3px rgba(212,136,6,0.08); }
.receipt-search-wrap button {
  padding: 10px 18px; border: 2px solid #d9d9d9;
  border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px;
  transition: var(--transition); font-weight: 500;
}
.receipt-search-wrap button:hover { border-color: #d48806; color: #d48806; }
.receipt-search-wrap button.btn-primary-s {
  background: linear-gradient(135deg, #d48806, #b87304); color: #fff; border-color: #d48806;
}
.receipt-list-empty { text-align: center; padding: 40px; color: #bbb; font-size: 15px; }
.receipt-list-loading { text-align: center; padding: 28px; color: #999; }
.btn-new-receipt {
  display: inline-block; padding: 8px 16px; margin-right: 10px;
  background: linear-gradient(135deg, #d48806, #b87304); color: #fff; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  white-space: nowrap; transition: var(--transition);
  box-shadow: 0 2px 8px rgba(212,136,6,0.2);
}
.btn-new-receipt:hover { background: linear-gradient(135deg, #b87304, #a16207); transform: translateY(-1px); }
.receipt-table {
  min-width: 700px; border-collapse: collapse; font-size: 13px;
}
.receipt-table th {
  background: #fafafa; padding: 10px 8px; text-align: left;
  font-weight: 700; color: #555; border-bottom: 2px solid #e8e8e8;
  white-space: nowrap;
}
.receipt-table td {
  padding: 10px 8px; border-bottom: 1px solid #f5f5f5; color: #333;
  word-break: break-all; vertical-align: top;
}
.receipt-table td:nth-child(5),
.receipt-table td:nth-child(6),
.receipt-table td:nth-child(7) { white-space: nowrap; }
.receipt-table tr:hover td { background: #fffbe6; }
.receipt-link {
  color: #d48806; text-decoration: none; font-weight: 600;
  padding: 3px 8px; border: 1px solid #d48806; border-radius: 6px;
  font-size: 11px; display: inline-block; white-space: nowrap;
  transition: var(--transition);
}
.receipt-link:hover { background: #d48806; color: #fff; }
.receipt-del {
  color: #e03030; cursor: pointer; margin-left: 6px; font-size: 11px;
  white-space: nowrap; font-weight: 500;
}
.receipt-del:hover { text-decoration: underline; }

/* 浮动电话按钮 */
.float-phone {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0 6px 20px rgba(224,48,48,0.4);
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}
.float-phone:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(224,48,48,0.5);
  color: var(--white);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.show {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 16px;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.show a { color: var(--text); }
  .menu-btn { display: block; }
  .nav-phone { display: none; }
  .hero h1 { font-size: 28px; }
  .hero .hero-sub { font-size: 16px; }
  .hero { padding: 80px 20px 80px; }
  .contact-bar { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 24px 20px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-buttons .btn { justify-content: center; font-size: 16px; padding: 16px 20px; border-radius: 28px; }
  .hero-buttons .btn-white { font-size: 18px; padding: 18px 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
  .advantages { grid-template-columns: 1fr; }
  .admin-order-body .detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .promise-list { grid-template-columns: 1fr; }
  .recycle-banner { padding: 32px 24px; }
  .admin-order-card { margin-bottom: 12px; }
  .admin-order-header { padding: 14px 18px; }
  .admin-order-body { padding: 14px 18px; }
  .admin-order-actions { padding: 12px 14px; gap: 8px; }
  .action-btn { padding: 10px 14px; font-size: 13px; min-height: 40px; }
  .comp-modal { padding: 24px 20px; width: 100%; max-width: 100vw; max-height: 100vh; border-radius: 0; }
  .comp-modal h3 { font-size: 20px; }
  .comp-order-info { padding: 14px; }
  .comp-form-group label { font-size: 14px; }
  .comp-form-group input, .comp-form-group textarea { font-size: 16px; padding: 12px 14px; }
  .comp-submit-btn { padding: 16px; font-size: 16px; }
  .section { padding: 48px 20px; }
  .form-container { padding: 32px 16px 60px; }
  .query-container { padding: 32px 16px 60px; }
  .admin-container { padding: 32px 16px 60px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .service-card { padding: 20px 10px; }
  .service-card .icon { font-size: 28px; }
  .service-card .name { font-size: 12px; }
  .contact-bar { grid-template-columns: 1fr; }
  .action-btn { padding: 12px 16px; font-size: 14px; min-height: 44px; }
  .admin-order-actions { flex-direction: row; flex-wrap: wrap; }
}

/* 登录前统计预览 */
.public-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}
.public-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.public-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.public-stat-card .stat-num {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.public-stat-card .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.public-stat-card.pending {
  border: 2px solid #e03030;
  background: linear-gradient(135deg, #fff5f5, #fff1f1);
}
.public-stat-card.pending .stat-num {
  color: #e03030;
  font-size: 42px;
}
.public-stat-card.pending .stat-label {
  color: #e03030;
  font-weight: 700;
  font-size: 14px;
}
.public-stat-card.total .stat-num { color: var(--text); }
.public-stat-card.processing .stat-num { color: #096dd9; }
.public-stat-card.done .stat-num { color: #389e0d; }
@media (max-width: 768px) {
  .public-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
