/* ============ 基础 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #f5f7fa;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 顶部 ============ */
.topbar { background: #00479D; color: #cdd9ea; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; padding: 6px 20px; }
.topbar a { color: #e8415f; }

/* ============ 导航 ============ */
.header { background: #fff; box-shadow: 0 2px 8px rgba(31,58,95,.08); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid #00AA5E; }
.header .container { display: flex; align-items: center; padding: 12px 20px; }
.logo-area { display: flex; align-items: center; gap: 12px; margin-right: 36px; flex-shrink: 0; }
.logo-box {
  width: 48px; height: 48px;            /* 正方形 */
  border-radius: 12px;                   /* 圆角矩形 */
  background: linear-gradient(135deg, #D80A32, #00479D);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; flex-shrink: 0;
}
.logo-name { font-size: 22px; font-weight: 700; color: #00479D; letter-spacing: 1px; }
.logo-name small { display: block; font-size: 11px; color: #999; font-weight: 400; letter-spacing: 3px; }
.nav { display: flex; gap: 8px; }
.nav a { padding: 8px 16px; border-radius: 6px; font-size: 15px; color: #444; }
.nav a:hover, .nav a.active { background: #0066CC; color: #fff; }
.hotline { margin-left: auto; text-align: right; font-size: 13px; color: #999; }
.hotline strong { display: block; font-size: 22px; color: #D80A32; }

/* ============ Banner：城市线条背景(模糊) + 服务场景图(电脑端居右) ============ */
.banner { position: relative; height: 420px; overflow: visible; background: url("../images/banner-bg.jpg") center / cover no-repeat; }
.banner-bg {
  position: absolute; inset: 0;
  background: none;
  filter: none;
}
.banner .scene {
  position: absolute; right: 8%; top: 50%;
  transform: translateY(-50%);   /* 垂直居中 */
  height: 82%; z-index: 2;
  width: auto;
  max-width: 45%;
  object-fit: contain;
  z-index: 1;
}
@media (max-width: 900px) {
  .banner { height: auto; padding: 16px 0; }
  .banner .scene {
    position: relative; top: auto; transform: none;
    display: block;
    width: 86%; height: auto; max-width: none;
    margin: 0 auto;   /* 手机端场景图居中完整显示 */
  }
}

/* ============ 通用板块 ============ */
.section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: 28px; color: #00479D; }
.section-title p { color: #999; font-size: 14px; margin-top: 6px; }
.section-title .bar { width: 48px; height: 4px; background: #D80A32; border-radius: 2px; margin: 12px auto 0; }

/* ============ 服务项目 ============ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-item {
  background: #fff; border-radius: 12px; padding: 28px 24px; text-align: center;
  box-shadow: 0 2px 10px rgba(31,58,95,.06); transition: transform .2s, box-shadow .2s;
}
.svc-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(31,58,95,.12); }
.svc-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px;
  background: #fdeef1; color: #0066CC; font-size: 32px;
  display: flex; align-items: center; justify-content: center;
}
.svc-item h3 { font-size: 18px; color: #00479D; margin-bottom: 8px; }
.svc-item p { font-size: 13px; color: #888; }

/* ============ 服务优势：两列三行 ============ */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.adv-item {
  background: #fff; border-radius: 12px; padding: 26px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: 0 2px 10px rgba(31,58,95,.06);
  transition: transform .2s;
}
.adv-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(31,58,95,.12); border: 1px solid #f6ccd5; }
.adv-icon {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  background: #fdeef1; color: #0066CC; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.adv-item h3 { font-size: 18px; color: #00479D; margin-bottom: 6px; }
.adv-item p { font-size: 14px; color: #777; }

/* ============ 关于我们 ============ */
.about-block {
  background: #fff; border-radius: 12px; padding: 30px;
  box-shadow: 0 2px 10px rgba(31,58,95,.06);
}
.about-text p { font-size: 14px; color: #666; margin-bottom: 12px; text-indent: 2em; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: #00479D; }

/* ============ 预约搬家表单 ============ */
.booking-form {
  max-width: 900px; margin: 0 auto; background: #fff; border-radius: 12px;
  padding: 30px; box-shadow: 0 2px 10px rgba(31,58,95,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-item label { display: block; font-size: 14px; color: #00479D; margin-bottom: 6px; font-weight: 600; }
.form-item input {
  width: 100%; padding: 11px 14px; font-size: 14px; color: #333;
  border: 1px solid #d5dee9; border-radius: 8px; background: #fef9fa;
  outline: none; transition: border .2s;
}
.form-item input:focus { border-color: #0066CC; background: #fff; }
.btn-submit {
  width: 100%; padding: 13px; font-size: 16px; font-weight: 600;
  color: #fff; background: linear-gradient(90deg, #D80A32, #00AA5E);
  border: 0; border-radius: 8px; cursor: pointer;
}
.btn-submit:hover { opacity: .92; }
.form-tip { text-align: center; font-size: 12px; color: #a0a8b3; margin-top: 12px; margin-bottom: 0; }
@media (max-width: 900px) { .form-row { grid-template-columns: 1fr; } }

/* ============ 双栏文字块（价格表 / 搬家攻略） ============ */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.text-block { background: #fff; border-radius: 12px; padding: 26px; box-shadow: 0 2px 10px rgba(31,58,95,.06); }
.text-block h3 {
  font-size: 20px; color: #00479D; padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 2px solid #f7ecee; display: flex; justify-content: space-between; align-items: center;
}
.text-block h3 a { font-size: 13px; color: #0066CC; font-weight: 400; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th { background: #00479D; color: #fff; padding: 9px 12px; text-align: left; font-weight: 500; }
.price-table td { padding: 9px 12px; border-bottom: 1px solid #f7ecee; color: #555; }
.price-table tr:nth-child(even) td { background: #fef9fa; }
.price-table td:last-child { color: #D80A32; font-weight: 600; }
.price-note { font-size: 12px; color: #a0a8b3; margin-top: 10px; }

/* 搬家攻略文章直接展示 */
.strategy-article h4 { font-size: 17px; color: #D80A32; margin-bottom: 12px; }
.strategy-article p { font-size: 14px; color: #666; margin-bottom: 12px; }

.strategy-list li {
  display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed #e5eaf0; font-size: 14px;
}
.strategy-list li:last-child { border-bottom: 0; }
.strategy-list .date { color: #a0a8b3; font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.strategy-list a { color: #444; }
.strategy-list a:hover { color: #0066CC; }

/* ============ 新闻列表 ============ */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(31,58,95,.06); transition: transform .2s; }
.news-card:hover { transform: translateY(-4px); }
.news-card .thumb { height: 170px; background: linear-gradient(135deg, #0066CC, #3385d6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.news-card .thumb.t2 { background: linear-gradient(135deg, #D80A32, #00AA5E); }
.news-card .thumb.t3 { background: linear-gradient(135deg, #2f9e6e, #6cc79a); }
.news-card .body { padding: 18px; }
.news-card time { font-size: 12px; color: #a0a8b3; }
.news-card h3 { font-size: 16px; margin: 8px 0; color: #00479D; }
.news-card p { font-size: 13px; color: #888; }

/* 新闻列表页 */
.page-news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.page-news-list .news-card { display: flex; }
.page-news-list .thumb { width: 220px; height: auto; flex-shrink: 0; }

/* ============ 常见问题（答案直接展示） ============ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; padding: 22px 26px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(31,58,95,.06); }
.faq-item h3 { font-size: 16px; color: #00479D; margin-bottom: 8px; text-align: left; }
.faq-item h3 .q { color: #D80A32; margin-right: 6px; }
.faq-item p { font-size: 14px; color: #666; }
.faq-item p .a { color: #2f9e6e; font-weight: 600; margin-right: 6px; }

/* ============ 文章详情 ============ */
.article { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 2px 10px rgba(31,58,95,.06); }
.article h1 { font-size: 26px; color: #00479D; margin-bottom: 10px; }
.article .meta { font-size: 13px; color: #a0a8b3; padding-bottom: 16px; border-bottom: 1px solid #f7ecee; margin-bottom: 20px; }
.article p { font-size: 15px; color: #555; margin-bottom: 16px; }

/* ============ 页脚 ============ */
.footer { background: #00479D; color: #b7c6da; padding: 44px 0 0; margin-top: 20px; }
.footer .main { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; }
.footer .logo-area { margin-bottom: 12px; }
.footer .logo-box { background: linear-gradient(135deg, #D80A32, #00AA5E); }
.footer .logo-name { color: #fff; }
.footer .logo-name small { color: #8fa3bd; }
.footer p { font-size: 13px; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-links dl dt { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer-links dd { font-size: 13px; margin-bottom: 6px; }
.footer-links dd a:hover { color: #fff; }
/* 页脚联系信息（带图标） */
.footer-contact { margin-top: 12px; }
.footer-contact li { font-size: 13px; color: #d7e2f0; margin-bottom: 6px; list-style: none; }
.footer-contact a { color: #e8415f; font-weight: 600; }

.copyright { text-align: center; padding: 12px 0 16px; font-size: 12px; color: #7e93b3; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .nav { display: none; }
  .adv-grid, .duo-grid, .news-list, .page-news-list, .svc-grid { grid-template-columns: 1fr; }
  .page-news-list .thumb { width: 100%; height: 170px; }
  .banner img { height: 240px; }
  .hotline { display: none; }
}

/* 新闻摘要与返回链接 */
.news-summary { font-size: 15px; color: #666; margin-bottom: 16px; padding: 10px 14px; background: #fdf5f6; border-left: 4px solid #0066CC; border-radius: 4px; }
.back-list { margin-top: 24px; }
.back-list a { color: #0066CC; font-size: 14px; }

/* ============ 联系方式页 ============ */
.contact-card { background:#fff; border-radius:12px; padding:34px; box-shadow:0 2px 10px rgba(31,58,95,.06); max-width:820px; margin:0 auto; }
.contact-list li { list-style:none; display:flex; gap:18px; padding:22px 0; border-bottom:1px solid #f7ecee; }
.contact-list li:last-child { border-bottom:0; }
.c-icon { width:56px; height:56px; border-radius:14px; background:#fdeef1; font-size:26px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-list h3 { font-size:16px; color:#00479D; margin-bottom:6px; }
.c-strong { font-size:20px; color:#D80A32; font-weight:600; margin-bottom:4px; }
.contact-list p { margin:0; }
.c-strong a { color:inherit; }
.c-sub { font-size:13px; color:#98a3b3; }
.contact-cta { margin-top:18px; padding:14px 18px; background:#fdf5f6; border-radius:8px; font-size:14px; color:#666; text-align:center; }
.contact-cta a { color:#0066CC; font-weight:600; }
@media (max-width:900px){ .contact-list li{ padding:16px 0; } }

/* 首页常见问题文字块 */
.faq-block { max-width: 900px; margin: 0 auto; }
.faq-flat li { list-style: none; padding: 18px 0; border-bottom: 1px dashed #e5eaf0; }
.faq-flat li:last-child { border-bottom: 0; }
.faq-flat h3 { font-size: 16px; color: #00479D; margin-bottom: 8px; text-align: left; display: block; padding: 0; border: 0; }
.faq-flat h3 .q { display: inline; }
.faq-flat h3 .q { color: #D80A32; margin-right: 6px; }
.faq-flat p { font-size: 14px; color: #666; margin: 0; }
.faq-flat p .a { color: #2f9e6e; font-weight: 600; margin-right: 6px; }
.faq-flat .more { text-align: right; padding-top: 12px; }
.faq-flat .more a { font-size: 13px; color: #0066CC; }

/* 后台 logo 图片在方块内展示 */
.logo-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* 站点地图页 */
.sitemap-block { max-width: 900px; margin: 0 auto; }
.sitemap-block h3 { font-size: 17px; color: #00479D; margin: 18px 0 10px; }
.map-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 20px; }
.map-list li { padding: 6px 0; border-bottom: 1px dashed #e5eaf0; }
.map-list a { font-size: 14px; color: #444; }
.map-list a:hover { color: #D80A32; }
@media (max-width: 900px) { .map-list { grid-template-columns: 1fr; } }

/* ============ 搬家现场 ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
  margin: 0; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(122,18,50,.07); transition: transform .2s;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img { width: 100%; height: 190px; object-fit: cover; display: block; }
.gallery-item figcaption {
  padding: 10px 12px; font-size: 14px; color: #444; text-align: center;
  border-top: 1px solid #f2e6e9;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============ 覆盖商圈 ============ */
.area-block { max-width: 1000px; margin: 0 auto; }
.area-row { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #f0dde2; }
.area-row:last-child { border-bottom: 0; }
.area-row h3 {
  flex-shrink: 0; width: 84px; text-align: center; margin: 0;
  font-size: 14px; color: #fff; background: #D80A32; border-radius: 6px; padding: 6px 0;
}
.area-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.area-row li { font-size: 14px; color: #444; background: #fdf0f3; border: 1px solid #f6d3da; border-radius: 6px; padding: 5px 14px; }
@media (max-width: 700px) {
  .area-row { flex-direction: column; gap: 8px; }
  .area-row h3 { width: 100%; }
}

/* ============ 头部尾部喜庆红 ============ */
.header { background: #d80a32; border-bottom: 2px solid #ffd166; box-shadow: 0 2px 10px rgba(216,10,50,.25); }
.logo-name { color: #fff; }
.logo-name small { color: #ffd7de; }
.nav a { color: #fff; }
.nav a:hover, .nav a.active { background: #ffd166; color: #b40728; }
.hotline { color: #ffd7de; }
.hotline strong { color: #ffd166; }

.footer { background: #b40728; }
.footer .logo-box { background: linear-gradient(135deg, #ffd166, #ffb347); }
.footer .logo-name { color: #fff; }
.footer .logo-name small { color: #ffd7de; }
.footer-contact li { color: #fff; }
.footer-contact a { color: #ffd166; }
.footer p { color: #ffe4ea; }
.footer-links dl dt { color: #ffd166; }
.footer-links dd a { color: #ffe4ea; }
.footer-links dd a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.2); color: #ffd7de; }
