/* 首页专属样式：对齐参考站版式（浅底 / 黄色强调 / 小圆角 / 密集链接墙）
   仅作用于 body[data-page="home"]，不影响列表页、详情页与后台。 */
:root {
  --h-yellow: #FFC600;
  --h-blue: #1890ff;
  --h-ink: #4c4c4c;
  --h-dark: #2b2b2b;
  --h-muted: #9e9e9e;
  --h-line: #e7e7e7;
  --h-soft: #f8f8f6;
  --h-bg: #F7FAFC;
  --h-green: #35b37e;
  --h-orange: #f5a623;
}

body[data-page="home"] {
  background: #fff;
  color: var(--h-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
}
body[data-page="home"] a { color: inherit; text-decoration: none; }
body[data-page="home"] a:hover { color: var(--h-blue); }
body[data-page="home"] h1, body[data-page="home"] h2, body[data-page="home"] h3,
body[data-page="home"] h4, body[data-page="home"] p { margin: 0; }
body[data-page="home"] button, body[data-page="home"] input, body[data-page="home"] select {
  font-family: inherit; font-size: inherit; outline: none;
}
.h-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.h-header { background: #fff; border-bottom: 1px solid var(--h-line); position: relative; z-index: 20; }
.h-header-inner { height: 66px; display: flex; align-items: center; gap: 40px; }
.h-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; letter-spacing: .5px; color: var(--h-dark); flex: none; }
.h-logo-mark { width: 30px; height: 30px; border-radius: 6px; background: var(--h-yellow); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.h-nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.h-nav a { font-size: 14px; color: var(--h-ink); white-space: nowrap; }
.h-nav a:hover { color: var(--h-blue); }
.h-nav-cta { flex: none; background: var(--h-yellow); color: #2b2b2b; font-weight: 700;
  padding: 9px 20px; border-radius: 4px; font-size: 14px; }
.h-nav-cta:hover { color: #2b2b2b; filter: brightness(.96); }

/* ---------- Banner ---------- */
.h-banner { position: relative; min-height: 430px; background: var(--h-bg); overflow: hidden; }
.h-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image: linear-gradient(115deg, #eaf2fb 0%, #f7fafc 48%, #fff4d6 100%); }
.h-banner-bg.has-img { background-image: none; }
.h-banner-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 42%, rgba(255,255,255,.08) 100%); }
.h-banner-deco { position: absolute; right: max(24px, calc(50% - 610px)); top: 50%; transform: translateY(-50%);
  width: 330px; height: 300px; z-index: 1; }
.h-deco-card { position: absolute; width: 210px; height: 152px; background: #fff; border-radius: 8px;
  box-shadow: 0 14px 34px rgba(30, 50, 90, .16); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.h-deco-card b { display: block; height: 86px; border-radius: 5px; background: linear-gradient(135deg,#dbe7f7,#eef3fa); }
.h-deco-card i { display: block; height: 9px; width: 72%; border-radius: 3px; background: #e6ebf2; }
.h-deco-card u { display: block; height: 9px; width: 46%; border-radius: 3px; background: #eef1f6; text-decoration: none; }
.h-deco-card.d1 { left: 0; top: 6px; transform: rotate(-6deg); }
.h-deco-card.d2 { left: 100px; top: 62px; transform: rotate(3deg); z-index: 2; }
.h-deco-card.d3 { left: 36px; top: 150px; transform: rotate(-2deg); z-index: 3; }
.h-banner-inner { position: relative; z-index: 2; padding-top: 62px; padding-bottom: 64px; }
.h-help { display: inline-block; font-size: 13px; color: #7a6a3a; background: rgba(255,198,0,.2);
  border: 1px solid rgba(255,198,0,.5); border-radius: 999px; padding: 5px 16px; margin-bottom: 22px; }
.h-slogan { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.28; font-weight: 800; color: var(--h-dark); letter-spacing: .5px; }
.h-slogan em { font-style: normal; color: #d99b00; position: relative; }
.h-slogan em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 10px;
  background: rgba(255,198,0,.55); z-index: -1; border-radius: 2px; }
.h-sub-slogan { font-size: 17px; color: #5b5b5b; margin-top: 14px; }
.h-search { display: flex; align-items: stretch; max-width: 720px; margin-top: 30px;
  background: #fff; border: 1px solid var(--h-line); border-radius: 6px;
  box-shadow: 0 1px 10px 0 rgba(0,0,0,.05), 0 4px 5px 0 rgba(0,0,0,.05); overflow: hidden; }
.h-search-city { flex: none; width: 130px; border: 0; border-right: 1px solid var(--h-line);
  padding: 0 14px; color: var(--h-ink); background: #fff; cursor: pointer; }
.h-search input { flex: 1; min-width: 0; border: 0; padding: 15px 18px; color: var(--h-dark); }
.h-search button { flex: none; border: 0; background: var(--h-yellow); color: #2b2b2b;
  font-weight: 700; padding: 0 34px; cursor: pointer; }
.h-search button:hover { filter: brightness(.96); }
.h-search-note { font-size: 12px; color: var(--h-muted); margin-top: 12px; }

/* ---------- 通用区块 ---------- */
.h-section { padding: 54px 0; }
.h-sec-head { text-align: center; margin-bottom: 30px; }
.h-sec-head h2 { font-size: 28px; font-weight: 800; color: var(--h-dark); }
.h-sec-head h2 em { font-style: normal; color: #d99b00; }
.h-sec-head p { font-size: 14px; color: var(--h-muted); margin-top: 8px; }
.h-sec-head.left { text-align: left; margin-bottom: 24px; }

/* ---------- 三个入口卡 ---------- */
.h-tours { padding-top: 46px; padding-bottom: 12px; }
.h-tour-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-tour { background: #fff; border: 1px solid var(--h-line); border-radius: 6px;
  border-top: 4px solid var(--h-green); padding: 26px 24px 24px; min-height: 196px;
  display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.h-tour.orange { border-top-color: var(--h-orange); }
.h-tour.blue { border-top-color: var(--h-blue); }
.h-tour h3 { font-size: 19px; font-weight: 800; color: var(--h-dark); margin-bottom: 10px; }
.h-tour p { font-size: 13px; color: #777; line-height: 1.85; flex: 1; }
.h-tour-btn { align-self: flex-start; margin-top: 16px; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--h-green); padding: 9px 22px; border-radius: 4px; }
.h-tour.orange .h-tour-btn { background: var(--h-orange); }
.h-tour.blue .h-tour-btn { background: var(--h-blue); }
.h-tour-btn:hover { color: #fff; filter: brightness(.95); }

/* ---------- 热门城市 ---------- */
.h-cities { background: var(--h-soft); }
.h-city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-city { background: #fff; border: 1px solid var(--h-line); border-radius: 6px; overflow: hidden;
  display: block; transition: transform .18s ease, box-shadow .18s ease; }
.h-city:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.09); color: inherit; }
.h-city-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(140deg, #dfe9f5, #c9d8ec);
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.h-city-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-city-img .h-city-initial { font-size: 46px; font-weight: 800; color: rgba(255,255,255,.82); letter-spacing: 2px; }
.h-city-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(255,255,255,.92); }
.h-city-ph.g0 { background: linear-gradient(140deg,#9db9d6,#c8d8e8); }
.h-city-ph.g1 { background: linear-gradient(140deg,#c9b79a,#e0d2ba); }
.h-city-ph.g2 { background: linear-gradient(140deg,#93b6a8,#c3d8cc); }
.h-city-ph.g3 { background: linear-gradient(140deg,#b6a7c9,#d5cae2); }
.h-city-ph.g4 { background: linear-gradient(140deg,#d3a79b,#e8cbc1); }
.h-city-ph.g5 { background: linear-gradient(140deg,#9fb3c8,#c8d4e0); }
.h-city-ph.g6 { background: linear-gradient(140deg,#c2ae8c,#dccfb6); }
.h-city-ph.g7 { background: linear-gradient(140deg,#a8b8a0,#cdd9c6); }
.h-city-count { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 700;
  color: #fff; background: rgba(0,0,0,.55); border-radius: 3px; padding: 4px 10px; }
.h-city-name { padding: 13px 16px 15px; font-size: 16px; font-weight: 700; color: var(--h-dark); }
.h-city-more { text-align: center; margin-top: 22px; }
.h-city-more a { font-size: 13px; color: var(--h-blue); }

/* ---------- 评价 + 为什么选择 ---------- */
.h-why { padding: 62px 0; }
.h-why-inner { display: grid; grid-template-columns: 34% 1fr; gap: 54px; align-items: start; }
.h-quote { position: relative; background: #fffaf0; border: 1px solid #f5e5bd; border-radius: 6px;
  padding: 26px 24px; margin-bottom: 22px; }
.h-quote-mark { position: absolute; top: 4px; left: 16px; font-size: 46px; color: #f0d489; line-height: 1; }
.h-quote p { font-size: 16px; line-height: 1.8; color: var(--h-dark); font-weight: 600; padding-top: 22px; }
.h-quote small { display: block; margin-top: 12px; font-size: 13px; color: var(--h-muted); }
.h-proof { background: #fff; border: 1px solid var(--h-line); border-radius: 6px; padding: 22px 24px;
  display: flex; align-items: center; gap: 18px; }
.h-proof-num { font-size: 40px; font-weight: 800; color: var(--h-yellow); line-height: 1; }
.h-proof-label { font-size: 14px; color: var(--h-ink); font-weight: 600; }
.h-why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-why-card { background: #fff; border: 1px solid var(--h-line); border-radius: 6px; padding: 22px 20px; }
.h-why-card-ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,198,0,.2);
  color: #b88600; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.h-why-card h3 { font-size: 15px; font-weight: 800; color: var(--h-dark); line-height: 1.5; margin-bottom: 8px; }
.h-why-card p { font-size: 12.5px; color: #7b7b7b; line-height: 1.8; }

/* ---------- 页脚 ---------- */
.h-footer { background: var(--h-soft); border-top: 1px solid var(--h-line); padding-top: 48px; }
.h-footer-main { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding-bottom: 36px; }
.h-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-footer-col h4 { font-size: 15px; font-weight: 800; color: var(--h-dark); margin-bottom: 16px; }
.h-footer-col a { display: block; font-size: 13px; color: #777; padding: 5px 0; }
.h-footer-company { border-left: 1px solid var(--h-line); padding-left: 34px; }
.h-footer-company h4 { font-size: 15px; font-weight: 800; color: var(--h-dark); margin-bottom: 16px; }
.h-logo--footer { margin-bottom: 12px; }
.h-company-tip { font-size: 13px; color: #777; line-height: 1.7; margin-bottom: 14px; }
.h-qr { width: 132px; height: 132px; border: 1px solid var(--h-line); border-radius: 4px; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 12px; }
.h-qr img { width: 100%; height: 100%; object-fit: contain; }
.h-qr .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 11px; color: var(--h-muted); }
.h-wxid { font-size: 12px; color: #8a8a8a; margin-bottom: 8px; word-break: break-all; }
.h-copybtn { border: 0; background: var(--h-yellow); color: #2b2b2b; font-weight: 700; font-size: 13px;
  padding: 8px 18px; border-radius: 4px; cursor: pointer; }
.h-copybtn:hover { filter: brightness(.96); }
.h-company-note { font-size: 11px; color: #aaa; line-height: 1.7; margin-top: 12px; }

/* SEO 链接墙（tab 切换） */
.h-seo { border-top: 1px solid var(--h-line); padding-top: 24px; padding-bottom: 22px; }
.h-seo-nav { display: flex; flex-wrap: wrap; gap: 26px; border-bottom: 1px solid var(--h-line); margin-bottom: 16px; }
.h-seo-tab { position: relative; padding: 0 0 12px; font-size: 14px; font-weight: 700; color: #999; cursor: pointer; }
.h-seo-tab.on { color: var(--h-dark); }
.h-seo-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--h-yellow); }
.h-seo-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.h-seo-links a { font-size: 12.5px; color: #8a8a8a; }
.h-seo-links a:hover { color: var(--h-blue); }
.h-footer-bottom { border-top: 1px solid var(--h-line); padding-top: 18px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.h-copyright { font-size: 12px; color: #999; }
.h-policies { display: flex; flex-wrap: wrap; gap: 18px; }
.h-policies a { font-size: 12px; color: #999; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .h-banner-deco { display: none; }
  .h-why-inner { grid-template-columns: 1fr; gap: 32px; }
  .h-why-left { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .h-quote { margin-bottom: 0; }
  .h-footer-main { grid-template-columns: 1fr; gap: 30px; }
  .h-footer-company { border-left: 0; border-top: 1px solid var(--h-line); padding-left: 0; padding-top: 24px; }
}
@media (max-width: 760px) {
  .h-wrap { padding: 0 16px; }
  .h-header-inner { height: 58px; gap: 16px; }
  .h-nav { display: none; }
  .h-nav-cta { margin-left: auto; }
  .h-banner { min-height: 0; }
  .h-banner-inner { padding-top: 40px; padding-bottom: 44px; }
  .h-banner-shade { background: rgba(255,255,255,.86); }
  .h-slogan { font-size: 30px; }
  .h-sub-slogan { font-size: 15px; }
  .h-search { flex-wrap: wrap; border-radius: 6px; }
  .h-search-city { width: 100%; height: 44px; border-right: 0; border-bottom: 1px solid var(--h-line); }
  .h-search input { width: 100%; flex: 1 1 100%; }
  .h-search button { width: 100%; padding: 13px 0; }
  .h-tour-list, .h-why-cards { grid-template-columns: 1fr; }
  .h-city-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .h-section { padding: 38px 0; }
  .h-sec-head h2 { font-size: 23px; }
  .h-why-left { grid-template-columns: 1fr; }
  .h-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .h-seo-nav { gap: 16px; }
  .h-seo-tab { font-size: 13px; }
}
