/* ========== 有师傅 IT运维平台 ========== */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --green: #10B981;
  --orange: #F59E0B;
  --red: #EF4444;
  --dark: #0F172A;
  --text: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --nav-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; outline: none; border: none; background: none; }

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

/* ========== 顶部公告栏 ========== */
.top-notice {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 36px;
  text-align: center;
}
.top-notice a { color: rgba(255,255,255,.9); border-bottom: 1px dashed rgba(255,255,255,.3); }
.top-notice a:hover { color: #fff; }

/* ========== 主导航 ========== */
.main-nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.main-nav .container {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), #3B82F6);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 900;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-menu a {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text);
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--primary); background: var(--primary-light); }
.nav-menu a.active { color: var(--primary); font-weight: 600; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
.nav-phone svg { width: 16px; height: 16px; }

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

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E40AF 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-actions .btn-primary {
  background: #2563EB;
  border-color: #2563EB;
}
.hero-actions .btn-outline {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.hero-metrics {
  display: flex;
  gap: 48px;
}
.hero-metrics .metric {
  display: flex;
  flex-direction: column;
}
.hero-metrics .val {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.hero-metrics .lbl {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

/* ========== 通用区块 ========== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-light);
}

/* ========== 服务能力卡片 ========== */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: var(--text);
}
.cap-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cap-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========== 服务卡片 ========== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  text-decoration: none;
  color: var(--text);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: var(--text);
}
.svc-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--primary-light), #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}
.svc-thumb .tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.svc-body {
  padding: 16px 20px 20px;
}
.svc-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.svc-body .desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.svc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.svc-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.svc-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-lighter);
}
.svc-orders {
  font-size: 12px;
  color: var(--text-lighter);
}

/* ========== 为什么选择我们 ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
}
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.why-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== 合作案例 ========== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.case-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.case-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.case-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-client {
  font-size: 13px;
  color: var(--text-lighter);
}

/* ========== 维修知识 ========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all .3s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.article-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.article-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-lighter);
}

/* ========== 服务流程 ========== */
.process-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.process-step {
  text-align: center;
  flex: 1;
  max-width: 220px;
}
.process-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.process-arrow {
  font-size: 24px;
  color: var(--text-lighter);
}

/* ========== 联系表单 ========== */
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  transition: border-color .2s;
  background: var(--white);
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea {
  resize: vertical;
}

/* ========== 页脚 ========== */
.main-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  padding: 4px 0;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.footer-phone {
  color: #60A5FA;
  font-weight: 700;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.qr-placeholder {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-align: center;
}

/* ========== 悬浮按钮 ========== */
.float-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: all .3s;
  color: #fff;
}
.float-btn:hover { transform: scale(1.05); color: #fff; }
.float-phone { background: var(--primary); }
.float-msg { background: var(--green); }

/* ========== 搜索框 ========== */
.search-box {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--primary); }
.search-box input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  border: none;
}
.search-box button {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
.search-box button:hover { background: var(--primary-dark); }

/* ========== 列表页 ========== */
.page-header {
  background: linear-gradient(135deg, #0F172A, #1E3A5F);
  color: #fff;
  padding: 32px 0;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; }
.page-header h1 {
  font-size: 28px;
  font-weight: 700;
}

.list-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 32px 0;
}
.side-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.side-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 12px;
  margin-bottom: 8px;
}
.side-nav a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-light);
  border-radius: 6px;
  transition: all .2s;
  margin-bottom: 2px;
}
.side-nav a:hover { background: var(--primary-light); color: var(--primary); }
.side-nav a.active { background: var(--primary); color: #fff; }

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.count { font-size: 14px; color: var(--text-light); }
.sort-group {
  display: flex;
  gap: 4px;
}
.sort-btn {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-light);
  border: 1px solid var(--border);
  background: var(--white);
}
.sort-btn:hover { color: var(--primary); border-color: var(--primary); }
.sort-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== 分页 ========== */
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid var(--border);
  color: var(--text);
}
.pager a:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.pager .cur { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== 详情页 ========== */
.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 32px 0;
}
.detail-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.detail-gallery {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.detail-body {
  padding: 28px;
}
.detail-body h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.detail-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.detail-meta strong { color: var(--text); }

.detail-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
}
.tab {
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.detail-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.detail-desc h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 16px;
  color: var(--text);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.step {
  text-align: center;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
}
.step-num {
  font-size: 24px;
  margin-bottom: 8px;
}
.step h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.step p {
  font-size: 13px;
  color: var(--text-light);
}

/* 侧边订购卡 */
.detail-side {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.order-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.order-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.order-svc {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.order-svc .thumb {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.order-svc h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.order-svc p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}
.price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}
.price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-lighter);
}

/* ========== 地址选择 ========== */
.addr-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.addr-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
}
.addr-item:hover { border-color: var(--primary-light); }
.addr-item.selected { border-color: var(--primary); background: var(--primary-light); }
.addr-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.addr-item.selected .addr-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 12px;
}
.addr-detail .name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.addr-detail .addr {
  font-size: 13px;
  color: var(--text-light);
}

/* ========== 订单汇总 ========== */
.order-summary {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}
.summary-row:last-child { margin-bottom: 0; }
.summary-row.total {
  font-weight: 600;
  font-size: 16px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
}
.summary-row.total .val { color: var(--primary); font-size: 20px; }

/* ========== 登录页 ========== */
.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-left {
  background: linear-gradient(135deg, #0F172A, #1E3A5F);
  color: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-left h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}
.login-left p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 32px;
}
.metrics {
  display: flex;
  gap: 32px;
}
.metrics .metric { text-align: center; }
.metrics .val { display: block; font-size: 24px; font-weight: 700; }
.metrics .lbl { font-size: 13px; color: rgba(255,255,255,.6); }

.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form {
  width: 100%;
  max-width: 400px;
}
.login-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.login-form .sub {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.fg {
  margin-bottom: 20px;
}
.fg label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.input-wrap {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s;
}
.input-wrap:focus-within { border-color: var(--primary); }
.input-wrap .prefix {
  padding: 10px 12px;
  background: var(--bg);
  font-size: 14px;
  color: var(--text-light);
  border-right: 1px solid var(--border);
}
.input-wrap input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
}
.code-btn {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
  border-left: 1px solid var(--border);
}
.code-btn:hover { background: var(--primary-light); }
.code-btn:disabled { color: var(--text-lighter); cursor: not-allowed; }

.agree-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.agree-check input[type="checkbox"] {
  accent-color: var(--primary);
}
.agree-check a { color: var(--primary); }

.login-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}
.login-foot {
  text-align: center;
  font-size: 13px;
  color: var(--text-lighter);
  margin-top: 16px;
}
.login-copyright {
  text-align: center;
  font-size: 12px;
  color: var(--text-lighter);
  margin-top: 40px;
}

/* ========== 用户中心 ========== */
.user-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 32px 0;
}
.user-side {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.user-profile {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.user-av {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}
.user-side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-light);
  border-radius: 6px;
  transition: all .2s;
  margin-bottom: 4px;
}
.user-side-nav a:hover { background: var(--primary-light); color: var(--primary); }
.user-side-nav a.active { background: var(--primary); color: #fff; }
.user-side-nav .ic { font-size: 16px; }

.user-content {
  min-height: 400px;
}
.user-panel { display: none; }
.user-panel.active { display: block; }

.ucard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.ucard h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.status-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.stab {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 20px;
  cursor: pointer;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--border);
}
.stab:hover { color: var(--primary); }
.stab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: none; }
.order-row .left {
  display: flex;
  gap: 16px;
  align-items: center;
}
.order-row .ico {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.order-row .info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.order-row .info p {
  font-size: 12px;
  color: var(--text-light);
}
.order-row .right { text-align: right; }
.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}
.st-pending { background: #FEF3C7; color: #92400E; }
.st-confirmed { background: #DBEAFE; color: #1E40AF; }
.st-processing { background: #E0E7FF; color: #3730A3; }
.st-completed { background: #D1FAE5; color: #065F46; }
.st-cancelled { background: #FEE2E2; color: #991B1B; }
.amt { font-size: 16px; font-weight: 600; color: var(--text); }

.addr-mgr-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.addr-mgr-item:last-child { border-bottom: none; }
.addr-mgr-item .name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.addr-mgr-item .addr {
  font-size: 13px;
  color: var(--text-light);
}
.addr-mgr-item .actions {
  display: flex;
  gap: 8px;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.info { background: var(--primary); color: #fff; }
.toast.success { background: var(--green); color: #fff; }
.toast.error { background: var(--red); color: #fff; }

/* ========== 空状态 ========== */
.empty {
  text-align: center;
  padding: 60px 20px;
}
.empty .ic {
  font-size: 48px;
  margin-bottom: 16px;
}
.empty h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.empty p {
  font-size: 14px;
  color: var(--text-light);
}

/* ========== 评价卡片 ========== */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.review-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}
.review-meta .name {
  font-size: 14px;
  font-weight: 600;
}
.review-meta .loc {
  font-size: 12px;
  color: var(--text-lighter);
}
.review-stars {
  color: #FFB800;
  font-size: 14px;
  margin-bottom: 8px;
}
.review-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.review-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.review-tag {
  font-size: 12px;
  padding: 2px 8px;
  background: var(--bg);
  border-radius: 4px;
  color: var(--text-light);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-metrics { gap: 24px; flex-wrap: wrap; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-grid { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .list-wrap { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .detail-wrap { grid-template-columns: 1fr; }
  .user-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}

@media (max-width: 480px) {
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
/* ===================== 首页轮播图 ===================== */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: var(--bg, #f1f5f9);
}
.banner-track { position: absolute; inset: 0; }
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide a { display: block; width: 100%; height: 100%; }
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 0 34px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6));
  color: #fff;
}
.banner-caption h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .32);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background .2s;
}
.banner-arrow:hover { background: rgba(0, 0, 0, .55); }
.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }
.banner-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 3;
}
.banner-dots span {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.banner-dots span.active { background: #fff; width: 36px; }

@media (max-width: 768px) {
  .banner-carousel { height: 220px; }
  .banner-caption h3 { font-size: 16px; }
  .banner-arrow { width: 34px; height: 34px; font-size: 18px; }
  .banner-arrow.prev { left: 10px; }
  .banner-arrow.next { right: 10px; }
}

/* ===================== 图文内容展示 ===================== */
.rich-plain img,
.article-content img,
.detail-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0;
  display: block;
}
.rich-plain { line-height: 1.8; }
.rich-plain h2, .article-content h2, .detail-desc h2 { font-size: 21px; margin: 16px 0 8px; color: var(--dark, #0F172A); }
.rich-plain h3, .article-content h3, .detail-desc h3 { font-size: 18px; margin: 14px 0 6px; color: var(--dark, #0F172A); }
.rich-plain h4, .article-content h4, .detail-desc h4 { font-size: 16px; margin: 12px 0 6px; color: var(--dark, #0F172A); }
.rich-plain p, .detail-desc p { margin: 8px 0; }
.rich-plain ul, .rich-plain ol, .detail-desc ul, .detail-desc ol { padding-left: 24px; margin: 8px 0; }
.rich-plain li, .detail-desc li { margin: 4px 0; }
.rich-plain blockquote, .article-content blockquote, .detail-desc blockquote {
  border-left: 3px solid var(--primary, #2563EB);
  padding: 6px 14px; margin: 10px 0;
  background: var(--bg, #F1F5F9);
  color: var(--text-light, #64748B);
}
.rich-plain a, .article-content a, .detail-desc a { color: var(--primary, #2563EB); text-decoration: underline; }
.rich-plain table, .article-content table, .detail-desc table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.rich-plain td, .rich-plain th, .article-content td, .article-content th,
.detail-desc td, .detail-desc th { border: 1px solid var(--border, #E2E8F0); padding: 6px 10px; }
/* 卡片内的图文简介限制高度，避免破坏卡片布局 */
.svc-card .desc.rich-plain, .cap-card .rich-plain, .case-card .rich-plain, .article-card .rich-plain {
  max-height: 5.4em;
  overflow: hidden;
}
.svc-card .desc.rich-plain img, .cap-card .rich-plain img,
.case-card .rich-plain img, .article-card .rich-plain img { max-height: 90px; object-fit: cover; width: auto; }

/* ===================== 立即预约：下单小程序二维码弹窗 ===================== */
.qr-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.qr-modal.show { display: flex; }
.qr-modal .qr-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.qr-modal .qr-panel {
  position: relative; background: #fff; border-radius: 16px; padding: 28px 32px 24px;
  width: 320px; max-width: 90vw; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  animation: qrPop .22s ease;
}
@keyframes qrPop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-modal .qr-close {
  position: absolute; top: 10px; right: 14px; width: 30px; height: 30px;
  border: none; background: transparent; font-size: 24px; line-height: 1;
  color: var(--text-light, #64748B); cursor: pointer; border-radius: 50%;
}
.qr-modal .qr-close:hover { background: var(--bg, #F1F5F9); color: var(--text, #1E293B); }
.qr-modal h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; color: var(--dark, #0F172A); }
.qr-modal .qr-img img {
  width: 220px; height: 220px; object-fit: contain;
  border: 1px solid var(--border, #E2E8F0); border-radius: 10px; padding: 6px; background: #fff;
}
.qr-modal .qr-empty {
  width: 220px; height: 220px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--border, #E2E8F0); border-radius: 10px;
  color: var(--text-light, #64748B); font-size: 13px; background: var(--bg, #F1F5F9);
}
.qr-modal .qr-tip { margin: 14px 0 0; font-size: 13px; color: var(--text-light, #64748B); line-height: 1.7; }

/* 首页头部：商标与网站名二选一 */
.logo img.js-site-logo { display: block; }

/* ===================== 白底实物小图标 ===================== */
.ico-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  min-width: 42px;
  min-height: 42px;
  font-size: 24px;
  background: #fff;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  line-height: 1;
}
.ico-tile img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}
.cap-icon .ico-tile { width: 56px; height: 56px; font-size: 28px; border-radius: 12px; }
.svc-thumb .ico-tile { width: 48px; height: 48px; font-size: 24px; }
