/* 春天花宠汇主题 v2.0 — 新版样式（叠加在 site.css/spring.css 之上）
   设计令牌（仅追加，不覆盖原 9 色）：
     --alert:#e07b50   寻回版块用告警橙红
     --sand:#f6efe1    婚配/温暖卡片底
     --ink-deep:#0e3322 深色文字（在 paper 底上）
     --radius-lg:36px / --radius-md:18px
     --shadow-soft:0 12px 28px #174b3214
*/
:root {
  --alert: #e07b50;
  --sand: #f6efe1;
  --ink-deep: #0e3322;
  --radius-lg: 36px;
  --radius-md: 18px;
  --shadow-soft: 0 12px 28px #174b3214;
}

/* ---------- Hero 升级 ---------- */
.hero-copy h1 {
  background: linear-gradient(120deg, var(--ink-deep), var(--accent) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-buttons { flex-wrap: wrap; gap: 14px; }
.hero-chips {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #ffffffb8;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.hero-chips svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- 愿景条 ---------- */
.vision-strip {
  margin: 60px auto 0;
  background: linear-gradient(120deg, #eaf6c9 0%, #f9fff1 60%, #fffbe6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.vision-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 36px;
  padding: 56px 64px;
}
.vision-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  margin: 6px 0 14px;
  color: var(--ink-deep);
}
.vision-copy p { color: var(--muted); max-width: 56ch; }
.vision-mascots {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  gap: 16px;
  filter: drop-shadow(0 12px 18px #174b3218);
}
.vision-mascots img { width: 120px; height: 120px; object-fit: contain; }
.vision-mascots img:nth-child(2) { transform: translateY(-10px); }

@media (max-width: 760px) {
  .vision-inner { grid-template-columns: 1fr; padding: 36px 24px; }
  .vision-mascots { justify-content: center; }
  .vision-mascots img { width: 86px; height: 86px; }
}

/* ---------- 身份三角 ---------- */
.section-lede {
  color: var(--muted);
  max-width: 60ch;
  margin: -8px 0 24px;
  font-size: 15px;
}
.triangle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.triangle-card {
  background: #ffffffcc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.triangle-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(closest-side, var(--mint) 0%, transparent 70%);
  opacity: .85;
}
.triangle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.triangle-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--mint);
  display: grid; place-items: center;
  color: var(--accent);
}
.triangle-icon svg { width: 28px; height: 28px; }
.triangle-card h3 { font-size: 1.2rem; color: var(--ink-deep); }
.triangle-card p { color: var(--muted); margin: 0; }
.triangle-step {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--accent);
  font-weight: 600;
}
.triangle-foot {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 760px) {
  .triangle-grid { grid-template-columns: 1fr; }
}

/* ---------- 寻回时间线 ---------- */
.alert-dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--alert);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 4px #e07b5022;
  animation: alert-pulse 1.8s ease-in-out infinite;
}
@keyframes alert-pulse {
  0%, 100% { box-shadow: 0 0 0 4px #e07b5022; }
  50%      { box-shadow: 0 0 0 8px #e07b500f; }
}
.reunion-timeline { background: linear-gradient(180deg, transparent 0, #fffbe9 100%); border-radius: var(--radius-lg); padding: 56px 48px; }
.reunion-timeline .section-heading { color: var(--ink-deep); }
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: tl;
}
.timeline-step {
  background: #ffffffd9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  position: relative;
}
.timeline-num {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--mint);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .04em;
}
.timeline-body h3 { color: var(--ink-deep); margin: 0 0 6px; }
.timeline-body p { color: var(--muted); margin: 0; font-size: 14.5px; }
.timeline-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; }
  .reunion-timeline { padding: 36px 22px; }
}

/* ---------- 用品网格（沿用 v1 风格，强化结构） ---------- */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.supply-card {
  background: #fffefbd9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}
.supply-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.supply-card-static { cursor: default; }
.supply-card-static:hover { transform: none; box-shadow: none; }
.supply-number { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.supply-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--accent);
  display: grid; place-items: center;
}
.supply-icon svg { width: 24px; height: 24px; }
.supply-card h3 { font-size: 1.1rem; color: var(--ink-deep); }
.supply-card p { color: var(--muted); margin: 0; font-size: 14.5px; }
.small-link { color: var(--accent); font-weight: 600; font-size: 13px; margin-top: auto; }
@media (max-width: 980px) { .supply-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .supply-grid { grid-template-columns: 1fr; } }

/* ---------- 婚配预览 ---------- */
.matchmaking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.match-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mating-card { background: linear-gradient(180deg, var(--sand) 0%, #ffffff 100%); }
.match-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.match-photo { aspect-ratio: 16/10; overflow: hidden; background: var(--mint); }
.match-photo img { width: 100%; height: 100%; object-fit: cover; }
.match-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.match-body h3 { color: var(--ink-deep); }
.match-body p { color: var(--muted); margin: 0; }
.match-callout { margin-top: 24px; text-align: center; color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .matchmaking-grid { grid-template-columns: 1fr; } }

/* ---------- 关于愿景页 ---------- */
.about-vision h2 { color: var(--ink-deep); margin: 8px 0 12px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.about-vision p { color: var(--muted); max-width: 70ch; }
.about-pillars {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.about-pillars li {
  background: #ffffffc9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.about-pillars strong { color: var(--accent); display: block; margin-bottom: 4px; }
.about-pillars span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .about-pillars { grid-template-columns: 1fr; } }

/* ---------- 数字身份详情 ---------- */
.identity-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.identity-row > div {
  background: #ffffffd9; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px;
}
.identity-row svg { color: var(--accent); width: 28px; height: 28px; }
.identity-row h2 { color: var(--ink-deep); font-size: 1.2rem; margin: 8px 0; }
.identity-row p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 760px) { .identity-row { grid-template-columns: 1fr; } }

/* ---------- 寻回详情页 ---------- */
.reunion-detail { margin-top: 12px; }
.timeline-full { grid-template-columns: 1fr; gap: 14px; max-width: 720px; margin: 12px 0 24px; }
.timeline-full .timeline-step { background: #ffffffd9; }
.reunion-privacy {
  background: #f4fbed;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 18px 0 24px;
}
.reunion-privacy h3 { color: var(--ink-deep); margin: 0 0 6px; }
.reunion-privacy p { color: var(--muted); margin: 0; }

/* ---------- 线索表单 ---------- */
.lost-found-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); margin-top: 24px; }
.lost-found-block h3 { color: var(--ink-deep); display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.lost-found-note { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.lost-found-form { display: flex; flex-direction: column; gap: 14px; }
.lost-found-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lost-found-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink); }
.lost-found-form input, .lost-found-form textarea {
  font: inherit;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafff5;
  color: var(--ink-deep);
}
.lost-found-form input:focus, .lost-found-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #269c5022;
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-tip { font-size: 12.5px; color: var(--muted); }
.lost-found-list { margin-top: 18px; }
.lost-found-list summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.lost-found-list ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.lost-found-list li { padding: 10px 14px; background: #fafff5; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.lost-found-list span { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .lost-found-form .form-row { grid-template-columns: 1fr; } .lost-found-block { padding: 22px 18px; } }

/* ---------- 用品详情 ---------- */
.supplies-detail .supply-grid { margin-top: 24px; }
.supplies-detail .service-cta { margin-top: 28px; }

/* ---------- 服务 CTA ---------- */
.service-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px;
  background: #fafff5;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 28px;
}
.service-cta h2 { color: var(--ink-deep); margin: 0 0 4px; font-size: 1.15rem; }
.service-cta p { color: var(--muted); margin: 0; }

/* ---------- 搜索表单 ---------- */
.search-form {
  display: inline-flex; gap: 8px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px;
}
.search-form input { border: 0; background: transparent; padding: 6px 8px; min-width: 220px; }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 16px; display: inline-flex; align-items: center; gap: 8px; }
.search-form button:hover { filter: brightness(.94); }

/* ---------- 移动 tabbar 适配 ---------- */
@media (max-width: 760px) {
  .mobile-bottom-nav a span { font-size: 11px; }
  .mobile-bottom-nav a svg { width: 22px; height: 22px; }
}

/* ---------- 通用：减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .alert-dot { animation: none; }
  .triangle-card, .match-card, .supply-card { transition: none; }
}