/* ==========================================================================
   露营装备 · 首页样式
   基准：1440px 设计宽，内容容器 1440（左右 32px 内边距）
   ========================================================================== */

* { box-sizing: border-box; }

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

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: 16px;
  line-height: 1.6;
  -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: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(44, 60, 43, 0.09); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 62px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.brand-mark { width: 30px; height: 22px; color: var(--green-soft); flex: none; }

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

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

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

.site-nav a {
  font-size: 13px;
  color: #3a4437;
  white-space: nowrap;
  padding: 6px 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(--green); border-bottom-color: var(--accent); }

.nav-item { position: relative; }
.nav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  z-index: 40;
  min-width: 132px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(44, 60, 43, 0.16);
  max-height: 340px;
  overflow-y: auto;
}
.nav-item:hover .nav-drop { display: block; }
.nav-drop a {
  display: block;
  padding: 7px 16px;
  font-size: 12.5px;
  color: #3a4437;
  border-bottom: 0;
  white-space: nowrap;
}
.nav-drop a:hover { background: var(--bg); color: var(--green); border-bottom: 0; }

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

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 38px;
  padding: 9px 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);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  height: 422px;
  overflow: hidden;
  background: #1f2b1e;
  color: #fff;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 33, 20, 0.95) 0%, rgba(23, 33, 20, 0.9) 34%, rgba(23, 33, 20, 0.62) 58%, rgba(23, 33, 20, 0.18) 82%, rgba(23, 33, 20, 0.1) 100%);
}

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

.hero-copy { max-width: 940px; padding-top: 43px; }

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

.eyebrow svg { width: 24px; height: 17px; color: #dfe6d6; }

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

.hero h1 {
  margin: 22px 0 22px;
  font-size: 88px;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.22);
}

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

.hero-lead {
  font-size: 23px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.hero-desc {
  max-width: 780px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.84);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 18px 0 17px;
  font-size: 13px;
  color: #e6e9dd;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 4px;
  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: var(--accent-dark); }
.btn-primary:hover { background: #f6ca5c; }

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

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

.section-head h2 {
  position: relative;
  padding-left: 16px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--ink);
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 5px;
  border-radius: 1px;
  background: var(--green-soft);
}

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

/* -------------------------------------------------------- category-grid */
.cat-section { padding: 26px 0 0; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }

.cat-card {
  display: flex;
  flex-direction: column;
  min-height: 139px;
  padding: 13px 15px 12px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44, 60, 43, 0.12); }

.cat-top { display: flex; align-items: center; gap: 10px; }
.cat-top svg { width: 40px; height: 40px; color: var(--green-soft); flex: none; }

.cat-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: 0.1px;
}

.cat-num { font-size: 13px; font-weight: 700; color: var(--green-soft); margin-right: 4px; }

.cat-desc { flex: 1; margin: 7px 0 8px; font-size: 12px; line-height: 1.6; color: var(--ink-muted); }

.cat-meta {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 2px;
  background: #e4eadc;
  color: var(--green-soft);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.6;
}

/* ------------------------------------------------------------- loadout */
.table-section { padding: 30px 0 7px; }

.table-wrap { margin-top: 26px; overflow-x: auto; }

.loadout-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e0ddce;
  background: #fbfaf4;
  font-size: 13px;
}

.loadout-table thead th {
  height: 38px;
  padding: 0 10px;
  background: var(--green-mid);
  color: #f4f2e7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.loadout-table tbody th,
.loadout-table tbody td {
  height: 40px;
  padding: 0 10px;
  text-align: center;
  border-bottom: 1px solid #e6e3d6;
  font-weight: 400;
  color: #3f483c;
  white-space: nowrap;
}

.loadout-table tbody th { font-weight: 700; color: var(--ink-strong); }
.loadout-table tbody tr:nth-child(odd) th,
.loadout-table tbody tr:nth-child(odd) td { background: #fbf8ef; }
.loadout-table tbody tr:nth-child(even) th,
.loadout-table tbody tr:nth-child(even) td { background: #f4f1e6; }
.loadout-table tbody tr:last-child th,
.loadout-table tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------- featured */
.featured { padding: 26px 0 5px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2px; }

.feat-card {
  display: flex;
  flex-direction: column;
  min-height: 253px;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feat-media { display: block; aspect-ratio: 16 / 5; overflow: hidden; background: #d9d6c7; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feat-card:hover .feat-media img { transform: scale(1.03); }

.feat-body { display: flex; flex-direction: column; flex: 1; padding: 12px 15px 14px; }
.feat-body h3 { font-size: 16px; font-weight: 800; color: var(--ink-strong); margin-bottom: 6px; }
.feat-body p { flex: 1; font-size: 12px; line-height: 1.6; color: var(--ink-muted); }

.specs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #5f6659;
}

.specs .dot { color: #b3b8a9; }

/* ----------------------------------------------------------------- duo */
.duo { padding: 24px 0 21px; }

.duo-grid {
  display: grid;
  grid-template-columns: 1.47fr 1fr;
  gap: 60px;
  align-items: start;
}

.duo-col .section-head h2 { font-size: 25px; padding-left: 16px; }
.duo-col .section-head h2::before { width: 5px; }
.duo-col .section-sub { padding-left: 16px; font-size: 13px; }

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

.step { position: relative; }

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 6px;
  right: -11px;
  color: #a9b0a0;
  font-size: 13px;
}

.step { text-align: center; }

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green-soft);
  border: 2px solid #d7dfcc;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.step h3 { margin: 12px 0 6px; font-size: 14px; font-weight: 800; color: var(--ink-strong); line-height: 1.4; }
.step p { font-size: 12.5px; line-height: 1.7; color: var(--ink-muted); }

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.care-icon { width: 34px; height: 34px; color: var(--green-soft); }
.care-item h3 { margin: 10px 0 7px; font-size: 14px; font-weight: 800; color: var(--ink-strong); }
.care-item p { font-size: 12.5px; line-height: 1.7; color: var(--ink-muted); }

/* ----------------------------------------------------------- editorial */
.note-section { padding: 10px 0 1px; }

.note-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 113px;
  padding: 16px 22px;
  background: var(--bg-note);
  border-radius: 4px;
}

.note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 1.5px solid var(--green-soft);
  border-radius: 50%;
  color: var(--green-soft);
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
}

.note-title { font-size: 15px; font-weight: 800; color: var(--ink-strong); margin-bottom: 5px; }
.note-box p { font-size: 12.5px; line-height: 1.75; color: #5e6656; }

/* --------------------------------------------------------------- footer */
.site-footer {
  min-height: 206px;
  padding: 34px 0 0;
  background: var(--green);
  color: #dde4d5;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px 38px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 26px;
}

.footer-col { flex: 1 1 170px; min-width: 160px; }
.footer-col .footer-label { display: block; margin-bottom: 8px; font-size: 12px; }

.footer-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.footer-brand .brand-mark { color: #dfe7d6; }
.footer-brand .brand-name { font-size: 19px; color: #f3f5ee; }
.footer-tag {
  font-size: 10px;
  color: #aab5a0;
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 13px;
  padding-top: 5px;
  font-size: 11.5px;
  color: #c9d2c2;
}

.footer-label { color: #fff; font-weight: 700; }
.footer-nav a { color: #c9d2c2; transition: color 0.15s ease; }
.footer-nav a:hover { color: var(--accent); }

.footer-right { max-width: 400px; text-align: left; padding-top: 0; }
.footer-home { display: inline-block; font-size: 11.5px; color: #c9d2c2; margin-bottom: 6px; }
.footer-home:hover { color: var(--accent); }
.footer-note { font-size: 11.5px; line-height: 1.7; color: #c9d2c2; margin-bottom: 6px; }
.copyright { font-size: 11.5px; color: #9faa95; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .brand-tag { display: none; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 12px; }
  .cat-grid { gap: 14px; }
  .duo-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 980px) {
  .header-inner { gap: 14px; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(44, 60, 43, 0.12);
  }
  .site-nav.is-open a { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-nav.is-open .nav-item { width: 100%; }
  .site-nav.is-open .nav-drop {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 6px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    max-height: none;
    overflow: visible;
  }
  .site-nav.is-open .nav-drop a { padding: 6px 0; font-size: 13px; color: #5a6553; border-bottom: 0; }
  .menu-toggle { display: block; }
  .hero { height: auto; min-height: 430px; padding: 46px 0; }
  .hero-inner { padding: 0 32px; }
  .hero h1 { font-size: 66px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .care-grid { gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-right { text-align: left; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .brand-name { font-size: 17px; }
  .hero-inner { padding: 0 20px; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 19px; }
  .hero-desc { font-size: 14px; }
  .hero-stats { flex-wrap: wrap; gap: 10px 18px; font-size: 12px; }
  .section-head h2 { font-size: 21px; }
  .section-sub { font-size: 12.5px; }
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-card { min-height: 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card { min-height: 0; }
  .steps { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; }
  .step { padding-left: 46px; position: relative; }
  .step-num { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 0; }
  .step:not(:last-child)::after { content: ""; left: 16px; top: 40px; bottom: -16px; width: 1px; height: auto; background: #cad2bf; right: auto; }
  .care-grid { grid-template-columns: 1fr; gap: 18px; }
  .note-box { padding: 16px; }
  .footer-inner { padding: 0 20px; }
  .site-footer { min-height: 0; padding-bottom: 32px; }
}

/* 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}
