/* guide.css - 家电维修指南通用样式 */

/* ===== 重置 & 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.8; background: #f5f7fa; }

/* ===== 顶部导航 ===== */
.top-bar {
  background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.top-bar-inner {
  max-width: 820px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; height: 48px;
}
.top-bar .logo { font-size: 15px; font-weight: 700; color: #1a3a5c; text-decoration: none; }
.top-bar .nav-links { display: flex; gap: 16px; font-size: 13px; }
.top-bar .nav-links a { color: #555; text-decoration: none; transition: color 0.2s; }
.top-bar .nav-links a:hover { color: #2c5f8a; }
.top-bar .nav-links .recruit-link { color: #10b981; font-weight: 600; }

.breadcrumb {
  max-width: 820px; margin: 0 auto; padding: 10px 16px;
  font-size: 13px; color: #888;
}
.breadcrumb a { color: #2c5f8a; text-decoration: none; }
.breadcrumb span { color: #ccc; }

/* ===== 顶部横幅 ===== */
.hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
  color: #fff; text-align: center; padding: 44px 20px 32px;
}
.hero .hotline { font-size: 34px; font-weight: 800; color: #ffd700; letter-spacing: 2px; margin-bottom: 4px; }
.hero .hotline-label { font-size: 13px; opacity: 0.7; margin-bottom: 12px; }
.hero h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.hero .subtitle { font-size: 15px; opacity: 0.85; margin-bottom: 18px; }
.hero .btn-group { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero .btn-call {
  display: inline-block; background: #ff6b35; color: #fff; text-decoration: none;
  padding: 12px 28px; border-radius: 8px; font-size: 17px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(255,107,53,0.35); transition: transform 0.2s;
}
.hero .btn-call:hover { transform: scale(1.05); }
.hero .btn-recruit {
  display: inline-block; background: rgba(255,255,255,0.15); color: #fff; text-decoration: none;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.hero .btn-recruit:hover { background: rgba(255,255,255,0.25); border-color: #fff; }

/* ===== 通用容器 ===== */
.container { max-width: 820px; margin: 0 auto; padding: 0 16px; }

/* ===== 内容卡片 ===== */
.content { padding: 24px 0 20px; }
.card {
  background: #fff; border-radius: 12px; padding: 28px 24px; margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.card h2 { font-size: 20px; color: #1a3a5c; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid #2c5f8a; }
.card h3 { font-size: 17px; color: #2c5f8a; margin: 16px 0 10px; }
.card p { margin-bottom: 10px; font-size: 15px; color: #555; }
.card ul { margin: 6px 0 12px 20px; }
.card li { margin-bottom: 5px; font-size: 15px; color: #555; }

.highlight-box {
  background: #fef9e7; border-left: 4px solid #f39c12; padding: 14px 18px;
  border-radius: 6px; margin: 14px 0; font-size: 14px; color: #7f6000;
}

/* ===== 故障网格 ===== */
.fault-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.fault-item {
  background: #f8f9fb; border: 1px solid #eee; border-radius: 8px; padding: 12px 14px;
  font-size: 14px; color: #444; display: flex; align-items: flex-start; gap: 8px;
}
.fault-item .icon { color: #c0392b; font-weight: 700; flex-shrink: 0; }

/* ===== 流程步骤 ===== */
.steps { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.step {
  display: flex; align-items: flex-start; gap: 12px;
  background: #f8f9fb; padding: 14px 16px; border-radius: 8px;
}
.step .num {
  width: 28px; height: 28px; border-radius: 50%; background: #2c5f8a; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0;
}

/* ===== 表单 ===== */
.form-section {
  background: #fff; border-radius: 12px; padding: 28px 24px; margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.form-section h2 { font-size: 20px; color: #1a3a5c; margin-bottom: 6px; border: none; padding: 0; }
.form-intro { font-size: 14px; color: #888; margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #444; margin-bottom: 4px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 15px; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: #2c5f8a;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group .checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.form-group .checkbox-group label {
  display: flex; align-items: center; gap: 4px; font-weight: 400; font-size: 14px;
  background: #f8f9fb; padding: 6px 12px; border-radius: 6px; border: 1px solid #eee; cursor: pointer;
}
.form-group .checkbox-group input { width: auto; }
.btn-submit {
  width: 100%; padding: 14px; background: linear-gradient(135deg, #2c5f8a, #1a3a5c); color: #fff;
  border: none; border-radius: 8px; font-size: 17px; font-weight: 700; cursor: pointer;
  transition: transform 0.2s;
}
.btn-submit:hover { transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid #eee; padding: 14px 0; }
.faq-item:last-child { border: none; }
.faq-q { font-weight: 600; color: #1a3a5c; margin-bottom: 6px; font-size: 15px; cursor: pointer; }
.faq-q::before { content: "Q: "; color: #2c5f8a; }
.faq-a { font-size: 14px; color: #666; padding-left: 24px; display: none; }
.faq-a.open { display: block; }

/* ===== 相关链接 ===== */
.related-tags { margin-top: 10px; }
.related-tags a {
  display: inline-block; background: #eff6ff; color: #2c5f8a; text-decoration: none;
  padding: 7px 15px; border-radius: 18px; font-size: 13px; margin: 3px 5px 3px 0;
  transition: background 0.2s;
}
.related-tags a:hover { background: #dbeafe; }

/* ===== 品牌服务指南内链 ===== */
.brand-links a {
  display: inline-block; background: #f1f5f9; color: #1a3a5c; text-decoration: none;
  padding: 6px 14px; border-radius: 16px; font-size: 13px;
  transition: background 0.2s;
}
.brand-links a:hover { background: #dbeafe; color: #1e40af; }

/* ===== 招募 CTA 区 ===== */
.recruit-cta {
  background: linear-gradient(135deg, #1a3a5c 0%, #ff6b35 100%);
  color: #fff; text-align: center; padding: 28px 20px; border-radius: 12px; margin-bottom: 18px;
}
.recruit-cta h3 { font-size: 18px; margin-bottom: 6px; color: #fff; }
.recruit-cta p { font-size: 14px; opacity: 0.9; margin-bottom: 14px; color: rgba(255,255,255,0.9); }
.recruit-cta a {
  display: inline-block; background: #fff; color: #1a3a5c; text-decoration: none;
  padding: 10px 28px; border-radius: 8px; font-size: 15px; font-weight: 700;
  transition: transform 0.2s;
}
.recruit-cta a:hover { transform: scale(1.05); }

/* ===== 页脚 ===== */
.footer {
  background: #1a3a5c; color: rgba(255,255,255,0.6); text-align: center;
  padding: 24px 16px 72px; font-size: 12px; line-height: 1.8;
}
.footer .disclaimer { color: #ffd700; font-size: 13px; margin-bottom: 6px; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer .footer-links { margin: 8px 0; }
.footer .footer-links a { font-size: 13px; margin: 0 8px; }

/* ===== 底部悬浮条 ===== */
.float-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 8px 12px; display: flex; gap: 8px; z-index: 100;
}
.float-bar a { flex: 1; text-align: center; padding: 12px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; }
.float-bar .call { background: #ff6b35; color: #fff; }
.float-bar .form-link { background: #2c5f8a; color: #fff; cursor: pointer; }

/* ===== 预约弹窗 ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-box {
  background: #fff; border-radius: 14px; padding: 28px 24px; width: 100%; max-width: 440px;
  max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.modal-box .modal-close {
  position: absolute; top: 12px; right: 16px; font-size: 22px; color: #999;
  cursor: pointer; background: none; border: none; line-height: 1;
}
.modal-box .modal-close:hover { color: #333; }
.modal-box h3 { font-size: 18px; font-weight: 700; color: #1a3a5c; margin-bottom: 4px; }
.modal-box .modal-intro { font-size: 13px; color: #888; margin-bottom: 16px; }

/* ===== 响应式 ===== */
@media (max-width: 600px) {
  .hero h1 { font-size: 20px; }
  .hero .hotline { font-size: 26px; }
  .hero .btn-call { padding: 10px 20px; font-size: 15px; }
  .card { padding: 20px 16px; }
  .form-section { padding: 20px 16px; }
  .fault-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 76px; }

}

/* 热门搜索 */
.hot-searches {
  background: #f8f9fa;
  border-top: 1px solid #eee;
  padding: 24px 16px;
}
/* ===== 价格表 ===== */
.price-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.price-table th {
  background: #f0f4f9; color: #1a3a5c; padding: 10px 14px;
  text-align: left; font-weight: 600; border-bottom: 2px solid #d0dbe8;
}
.price-table td {
  padding: 10px 14px; border-bottom: 1px solid #eee; color: #555;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: #fafbfc; }

.hot-searches-inner {
  max-width: 960px;
  margin: 0 auto;
}
.hot-searches h3 {
  font-size: 16px;
  color: #333;
  margin: 0 0 12px;
}
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-tags .tag {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

/* 分成比例输入框 */
.split-inputs {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.split-inputs span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #333;
}
.split-inputs input {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
