/* ==========================================================================
   野外露营场景攻略 · 首页样式
   基准：1440px 设计宽，内容容器 1440（左右 34px 内边距）
   视觉基线：03-ui/home-ui-desktop.png（松绿 + 米白纸 + 亮草绿强调）
   ========================================================================== */

:root {
  /* 底色层级 */
  --bg: #f2f1e7;
  --bg-card: #fbfaf3;
  --bg-band: #f7f6ee;
  --bg-deep: #1d2a1c;

  /* 文字 */
  --ink: #2f382e;
  --ink-strong: #222c21;
  --ink-muted: #6d7368;
  --ink-faint: #949a8d;
  --ink-invert: #ffffff;

  /* 品牌绿系 */
  --green-deep: #284a2e;
  --green-mid: #4f7050;
  --green-soft: #6e8f6a;
  --green-wash: #dfe5d5;
  --accent: #619e2e;
  --accent-dark: #4d8123;

  /* 分隔 */
  --line: rgba(40, 74, 46, 0.14);
  --line-strong: rgba(40, 74, 46, 0.24);
  --line-table: #e0ddce;

  /* 排版 */
  --font-sans: 'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --container: 1440px;
  --gutter: 34px;
  --header-h: 64px;
  --radius: 5px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 13.5px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: #fdfdfa;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(32, 48, 32, 0.1); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-mark { width: 27px; height: 21px; color: var(--green-mid); flex: none; }

.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: var(--green-deep);
  white-space: nowrap;
}

.brand-tag {
  font-size: 10px;
  letter-spacing: 0.9px;
  color: var(--ink-faint);
  padding-left: 9px;
  border-left: 1px solid var(--line-strong);
  white-space: nowrap;
}

.brand-scene {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 2px;
  background: var(--green-wash);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  margin-left: 34px;
}

.site-nav a {
  font-size: 12.5px;
  color: #414b3f;
  white-space: nowrap;
  padding: 5px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--accent-dark); border-bottom-color: var(--accent); }

.header-cta {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-dark);
  border-bottom: 2px solid var(--accent);
  padding: 3px 0 2px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 36px;
  padding: 8px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--green-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  height: 426px;
  overflow: hidden;
  background: #22301f;
  color: #fff;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 58%;
  filter: brightness(1.12) saturate(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 26, 14, 0.8) 0%, rgba(16, 26, 14, 0.66) 32%, rgba(16, 26, 14, 0.22) 60%, rgba(16, 26, 14, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.hero-copy { max-width: 700px; padding-top: 44px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 1.6px;
  color: #eef0e6;
}

.eyebrow svg { width: 24px; height: 18px; color: #dfe6d6; flex: none; }

.eyebrow-line {
  display: inline-block;
  width: 74px;
  height: 1px;
  margin-left: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.hero h1 {
  margin: 18px 0 0;
  font-size: 68px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.24);
}

.hero-lead {
  margin-top: 7px;
  font-size: 46px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.hero-lead .accent { color: var(--accent); }

.hero-desc {
  max-width: 620px;
  margin-top: 15px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.86);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 16px 0 15px;
  font-size: 12.5px;
  color: #e6e9dd;
}

.hero-stats li { display: inline-flex; align-items: center; gap: 7px; }
.hero-stats svg { width: 16px; height: 16px; color: #cfd8c5; flex: none; }

.hero-actions { display: flex; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 19px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* --------------------------------------------------------------- section */
.section { position: relative; }

.section-head { display: flex; align-items: center; gap: 12px; }

.section-head h2 {
  position: relative;
  padding-left: 38px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--ink-strong);
}

.section-head h2::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 24px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.section-sub {
  margin-top: 5px;
  padding-left: 38px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* -------------------------------------------------------- scene-index */
.scene-section { padding: 40px 0 22px; }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.scene-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(38, 56, 36, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.scene-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(38, 56, 36, 0.12); }

.scene-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #dfe2d2; }
.scene-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.scene-card:hover .scene-thumb img { transform: scale(1.04); }

.scene-body { padding: 7px 9px 9px; }

.scene-top { display: flex; align-items: baseline; gap: 7px; }

.scene-num {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--accent-dark);
}

.scene-name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-strong);
}

.scene-desc {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.48;
  color: var(--ink-muted);
}

.scene-meta {
  display: inline-block;
  margin-top: 5px;
  padding: 0 5px;
  border-radius: 2px;
  background: var(--green-wash);
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 700;
}

/* --------------------------------------------------------- scene-table */
.table-section { padding: 16px 0 0; }

.scene-table-wrap { margin-top: 11px; }

.scene-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fbfaf2;
  font-size: 11px;
}

.scene-table thead th {
  height: 30px;
  padding: 0 11px;
  background: var(--green-mid);
  color: #f3f1e6;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left;
}

.scene-table thead th:first-child { padding-left: 18px; }

.scene-table tbody th,
.scene-table tbody td {
  padding: 3px 11px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-table);
  color: #3d4739;
  line-height: 1.45;
}

.scene-table tbody th { padding-left: 18px; font-weight: 800; color: var(--ink-strong); }
.scene-table tbody tr:nth-child(odd) { background: #f8f7ee; }
.scene-table tbody tr:nth-child(even) { background: #eeeee2; }
.scene-table tbody tr:last-child th,
.scene-table tbody tr:last-child td { border-bottom: 0; }

.scene-table a { color: var(--accent-dark); border-bottom: 1px solid rgba(97, 158, 46, 0.45); }

/* ------------------------------------------------------ featured picks */
.picks-section { padding: 22px 0 0; }

.picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.pick-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(38, 56, 36, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pick-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(38, 56, 36, 0.12); }

.pick-thumb { aspect-ratio: 5 / 2; overflow: hidden; background: #d9dccb; }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pick-body { display: flex; flex-direction: column; flex: 1; padding: 16px 14px 18px; }
.pick-body h3 { font-size: 15.5px; font-weight: 800; color: var(--ink-strong); }

.pick-body p {
  flex: 1;
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.pick-specs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 11px;
  color: #5b6455;
}

.pick-specs .dot { color: #b3b8a9; }

/* ------------------------------------------------------ decision steps */
.steps-section { padding: 30px 0 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.step { position: relative; padding-left: 50px; }

.step + .step::before {
  content: "→";
  position: absolute;
  left: -16px;
  top: 2px;
  color: #a9b0a0;
  font-size: 14px;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.step h3 { font-size: 15px; font-weight: 800; color: var(--ink-strong); line-height: 1.4; }
.step p { margin-top: 8px; font-size: 12px; line-height: 1.75; color: var(--ink-muted); }

/* -------------------------------------------------------- risk section */
.risk-section { padding: 30px 0 22px; }

.risk-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 58px;
  align-items: start;
  margin-top: 15px;
}

.risk-item { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.risk-item:first-child { padding-top: 0; }
.risk-item:last-child { border-bottom: 0; }

.risk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-wash);
  color: var(--green-deep);
}

.risk-icon svg { width: 16px; height: 16px; }

.risk-item h3 { font-size: 14.5px; font-weight: 800; color: var(--ink-strong); }
.risk-item p { margin-top: 4px; font-size: 12.5px; line-height: 1.65; color: var(--ink-muted); }

/* ---------------------------------------------------- editorial note */
.note-panel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--green-wash);
  border-radius: var(--radius);
}

.note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--green-deep);
  border-radius: 50%;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
}

.note-title { font-size: 14px; font-weight: 800; color: var(--ink-strong); margin-bottom: 4px; }
.note-panel p { font-size: 11.5px; line-height: 1.7; color: #4e5749; }

/* --------------------------------------------------------------- footer */
.site-footer {
  min-height: 208px;
  padding: 28px 0 24px;
  background: var(--green-deep);
  color: #dde4d5;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-top { display: flex; align-items: center; gap: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; }
.footer-brand .brand-mark { color: #dfe7d6; }
.footer-brand .brand-name { font-size: 18px; color: #f3f5ee; }
.footer-tag {
  font-size: 10px;
  letter-spacing: 0.9px;
  color: #aab5a0;
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  color: #c9d2c2;
}

.footer-label { color: #fff; font-weight: 800; letter-spacing: 1px; }
.footer-nav a { color: #c9d2c2; transition: color 0.15s ease; }
.footer-nav a:hover { color: #9ecb6a; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
}

.footer-note { font-size: 11.5px; line-height: 1.7; color: #b3bdaa; }
.copyright { font-size: 11.5px; color: #98a58e; white-space: nowrap; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .brand-tag, .brand-scene { display: none; }
  .site-nav { gap: 14px; margin-left: 20px; }
  .site-nav a { font-size: 12px; }
  .scene-grid { grid-template-columns: repeat(4, 1fr); }
  .risk-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 980px) {
  .header-inner { gap: 12px; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-left: 0;
    padding: 6px var(--gutter) 14px;
    background: #fdfdfa;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(32, 48, 32, 0.12);
  }
  .site-nav.is-open a { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .menu-toggle { display: block; }
  .hero { height: auto; min-height: 430px; padding: 42px 0; }
  .hero-inner { padding: 0 32px; }
  .hero h1 { font-size: 64px; }
  .hero-lead { font-size: 32px; }
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
  .picks-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px 26px; }
  .step { padding-left: 0; padding-top: 44px; }
  .step-num { left: 0; }
  .step + .step::before { content: ""; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 0 18px; }
  .brand-name { font-size: 17px; }
  .hero { padding: 34px 0 36px; }
  .hero-inner { padding: 0 18px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 25px; }
  .hero-desc { font-size: 13.5px; }
  .hero-stats { flex-wrap: wrap; gap: 8px 16px; font-size: 12px; margin: 14px 0 13px; }
  .hero-actions { flex-wrap: wrap; }
  .section-head h2 { font-size: 20px; padding-left: 38px; }
  .section-head h2::before { width: 26px; height: 24px; font-size: 11.5px; }
  .section-sub { font-size: 12.5px; padding-left: 38px; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .picks-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .scene-table { font-size: 11.5px; min-width: 720px; }
  .scene-table-wrap { overflow-x: auto; }
  .footer-nav { gap: 8px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* skip-link：无障碍跳转链接，默认移出视口，Tab 聚焦时归位 */
.skip-link{position:absolute;left:-9999px;top:0;z-index:200;padding:8px 14px;background:#fff;color:#111;border-radius:6px;font-size:14px;text-decoration:none}
.skip-link:focus{left:8px;top:8px;outline:2px solid currentColor}
