/* ============================================
   估价页面公共样式 (gujia / gujia-mac)
   ============================================ */

/* ========== 全局重置 ========== */
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.8;
}
a { color: #2564ff; }
a:hover { text-decoration: none; color: #1a4fd0; }

/* ========== 顶栏导航 ========== */
.site-header {
  background: #1a1a2e;
  padding: 12px 0;
}
.site-header .navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.site-header .navbar-brand span { color: #ffc107; }
.site-header .nav-link {
  color: rgba(255,255,255,.7) !important;
  font-size: .95rem;
}
.site-header .nav-link:hover { color: #fff !important; }

/* ========== 页面标题区 ========== */
.page-banner {
  padding: 60px 0 50px;
  text-align: center;
  color: #fff;
}
.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.page-banner h1 span { color: #ffc107; }
.page-banner p {
  font-size: 1.1rem;
  opacity: .85;
  margin-bottom: 0;
}
.page-banner .badge-group { margin-top: 18px; }
.page-banner .badge-group .badge {
  font-size: .85rem;
  padding: 6px 14px;
  margin: 0 4px 8px;
  border-radius: 50px;
}

/* ========== 区块标题 ========== */
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.section-title p {
  color: #888;
  font-size: .95rem;
  margin-bottom: 0;
}
.section-title .hr-bar {
  display: block;
  width: 60px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto 0;
  border: none;
  border-radius: 2px;
}

/* ========== 小建介绍卡片 ========== */
.intro-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding: 40px 30px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.intro-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2564ff;
  margin-right: 20px;
  flex-shrink: 0;
}
.intro-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.intro-card .wechat-info {
  display: inline-flex;
  align-items: center;
  background: #fff8e1;
  border: 1px dashed #ffc107;
  border-radius: 8px;
  padding: 8px 16px;
  margin-top: 10px;
  font-size: .95rem;
}
.intro-card .wechat-info .label { color: #888; margin-right: 8px; }
.intro-card .wechat-info .value {
  color: #d32f2f;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

/* ========== 快速估价入口 ========== */
.fast-estimate {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #333;
  margin-top: 30px;
}
.fast-estimate h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.fast-estimate p { margin-bottom: 16px; opacity: .85; }
.fast-estimate .btn-estimate {
  background: #1a1a2e;
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all .3s;
}
.fast-estimate .btn-estimate:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.fast-estimate .btn-estimate .icon { margin-right: 6px; }

/* ========== 价格表 ========== */
.price-section { padding: 50px 0; }
.price-section.bg-white { background: #fff; }
.price-section.bg-gray { background: #f8f9fa; }

.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(0,0,0,.06);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .9rem;
  min-width: 600px;
}
.price-table thead th {
  background: #1a1a2e;
  color: #fff;
  padding: 12px 14px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  border: none;
}
.price-table thead th:first-child {
  text-align: left;
  border-radius: 10px 0 0 0;
}
.price-table thead th:last-child { border-radius: 0 10px 0 0; }
.price-table tbody td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.price-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
}
.price-table tbody tr:hover { background: #f5f8ff; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .model-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-table .model-name .badge-new {
  background: #ff4757;
  color: #fff;
  font-size: .65rem;
  padding: 1px 8px;
  border-radius: 50px;
  font-weight: 600;
}
.price-table .price-highlight {
  color: #2564ff;
  font-weight: 700;
}
.price-table .price-note {
  font-size: .75rem;
  color: #999;
}
.price-table .price-range {
  color: #2564ff;
  font-weight: 600;
}
.price-table .config-note {
  font-size: .75rem;
  color: #999;
  display: block;
  margin-top: 2px;
}
.price-table .row-split td {
  border-top: 2px dashed #e0e0e0;
}

.data-source-note {
  text-align: right;
  font-size: .78rem;
  color: #999;
  margin-top: 8px;
}

/* ========== 回收流程 ========== */
.step-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 2px 15px rgba(0,0,0,.05);
  transition: all .3s;
  height: 100%;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,.1); }
.step-card .step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  font-weight: 700;
  color: #fff;
}
.step-card .step-icon.step-1 { background: #2564ff; }
.step-card .step-icon.step-2 { background: #ff9800; }
.step-card .step-icon.step-3 { background: #4caf50; }
.step-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: .88rem; color: #888; margin-bottom: 0; }

/* ========== 联系我们底部 ========== */
.contact-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 50px 0;
  text-align: center;
  color: #fff;
}
.contact-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-section .sub {
  opacity: .75;
  margin-bottom: 30px;
}
.contact-section .qr-img {
  max-width: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.contact-section .wechat-row {
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  display: inline-block;
}
.contact-section .wechat-row .label { opacity: .7; }
.contact-section .wechat-row .value {
  color: #ffc107;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.contact-section .btn-copy-wechat {
  background: #ffc107;
  color: #1a1a2e;
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  margin-top: 10px;
  transition: all .3s;
}
.contact-section .btn-copy-wechat:hover {
  background: #ffca28;
  transform: translateY(-2px);
}
.contact-section .phone-info {
  margin-top: 14px;
  font-size: .9rem;
  opacity: .65;
}

/* ========== 底部 ========== */
.site-footer {
  background: #0f0f1a;
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 20px 0;
  font-size: .8rem;
}
.site-footer a { color: rgba(255,255,255,.5); }
.site-footer a:hover { color: #fff; }

/* ========== 返回顶部 ========== */
.gotop {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  display: none;
  z-index: 999;
  transition: all .3s;
}
.gotop:hover { background: #2564ff; }

/* ========== Toast 提示 ========== */
.toast-tip {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.8);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem;
  z-index: 9999;
  display: none;
  pointer-events: none;
}

/* ========== 响应式 ========== */
@media (max-width: 767px) {
  .page-banner { padding: 40px 0 36px; }
  .page-banner h1 { font-size: 1.5rem; }
  .page-banner p { font-size: .95rem; }
  .intro-card { padding: 24px 18px; margin-top: -30px; }
  .intro-card .d-flex { flex-direction: column; text-align: center; }
  .intro-card .avatar { margin: 0 auto 12px; }
  .section-title h2 { font-size: 1.3rem; }
  .price-table { font-size: .8rem; min-width: auto; }
  .price-table thead th,
  .price-table tbody td { padding: 8px 10px; }
  .fast-estimate { padding: 24px 16px; }
  .contact-section h2 { font-size: 1.3rem; }
}

@media (max-width: 575px) {
  .price-table thead th,
  .price-table tbody td { padding: 6px 8px; font-size: .75rem; }
  .price-table .model-name .badge-new { display: none; }
}
