/* ============================================================
   Nekoholic · 免费宠物行为自查问卷站
   品牌色：主 #d29426 / 深棕 #7b5332 / 背景 #f6f3ee
          辅助 #c6c49d / 绿 #717a5c / 红 #9e5154
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  --paper: #f6f3ee;
  --paper-deep: #eee8de;
  --ink: #7b5332;
  --ink-soft: #94745b;
  --gold: #d29426;
  --olive: #717a5c;
  --line: #d9d0c2;
  --white: #fffdf9;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --display: "Fraunces", "Noto Serif SC", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  background-image: radial-gradient(rgba(123, 83, 50, .04) .7px, transparent .7px);
  background-size: 7px 7px;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: #b87d1a; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* ===== 顶部导航 ===== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 243, 238, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1040px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink);
  letter-spacing: .2px; text-decoration: none; flex: 0 0 auto;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand .word { line-height: 1.1; }
.brand .word small { display: block; font-family: Arial, sans-serif; font-size: 9px; color: var(--ink-soft); font-weight: 600; letter-spacing: 1.6px; margin-top: 4px; }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--ink); font-size: 13px; font-weight: 600; position: relative;
  padding: 5px 0; transition: color .15s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.current { color: var(--gold); }
.nav-links a.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--gold);
}
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }

/* ===== 通用页头 ===== */
.page-header {
  text-align: center; padding: 56px 0 30px;
}
.page-header .eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: #d29426; background: #f5f0e6; padding: 4px 14px; border-radius: 99px;
  margin-bottom: 12px; text-transform: uppercase;
}
.page-header h1 { font-size: 30px; font-weight: 800; margin-bottom: 10px; letter-spacing: .3px; }
.page-header .lead { color: #a0957a; font-size: 15px; max-width: 560px; margin: 0 auto; line-height: 1.85; }

/* ===== Hero / 行为观察档案 ===== */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: clamp(42px, 8vw, 100px); align-items: center;
  padding: 92px 0 82px; min-height: 520px;
}
.hero-copy { position: relative; padding-left: 34px; }
.hero-copy::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 0; width: 1px;
  background: var(--gold);
}
.archive-kicker {
  display: flex; justify-content: space-between; gap: 18px; max-width: 410px;
  margin-bottom: 34px; color: var(--olive); font: 600 10px/1.2 "Helvetica Neue", sans-serif;
  letter-spacing: 1.8px;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(40px, 5vw, 66px); font-weight: 600;
  letter-spacing: 0; line-height: 1.2; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--gold); }
.hero .sub {
  font-size: 16px; color: var(--ink-soft); line-height: 1.9; max-width: 540px;
  margin: 0 0 36px;
}
.hero-identity {
  display: flex; flex-direction: column; gap: 5px; color: var(--ink-soft);
  font-size: 12px; letter-spacing: .2px;
}
.hero-identity strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.archive-sheet {
  position: relative; padding: 26px 26px 22px; background: rgba(255, 253, 249, .72);
  border: 1px solid var(--line); min-height: 300px;
  transform: rotate(1.2deg); box-shadow: 8px 10px 0 rgba(123, 83, 50, .035);
}
.archive-sheet::before, .archive-sheet::after {
  content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--gold);
  border-radius: 50%; background: var(--paper); top: 20px;
}
.archive-sheet::before { left: 20px; }
.archive-sheet::after { right: 20px; }
.archive-sheet__top, .archive-sheet__footer {
  display: flex; justify-content: space-between; align-items: center;
  font: 600 10px/1.2 "Helvetica Neue", sans-serif; letter-spacing: 1.3px; color: var(--olive);
}
.archive-stamp { color: var(--gold); border: 1px solid var(--gold); padding: 5px 8px; }
.archive-index { font-size: 9px; }
.archive-sheet__rule { height: 1px; background: var(--line); margin: 24px 0 8px; }
.archive-sheet__row { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.archive-sheet__row span { color: var(--gold); font: 600 11px/1 Arial, sans-serif; }
.archive-sheet__row p { font-size: 16px; color: var(--ink); }
.archive-sheet__note { padding: 30px 0 38px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.archive-sheet__footer { color: var(--ink-soft); font-size: 9px; }

/* ===== 区块标题 ===== */
.section { padding: 66px 0 12px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-head h2 { font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.section-kicker { display: block; margin-bottom: 9px; color: var(--olive); font: 600 10px/1.2 "Helvetica Neue", sans-serif; letter-spacing: 1.5px; }
.section-prompt { max-width: 220px; padding-bottom: 3px; color: var(--ink-soft); font-size: 13px; text-align: right; }
.section-intro { margin-bottom: 24px; color: var(--ink-soft); font-size: 14px; }
.section-head .count {
  font-size: 12px; color: var(--ink-soft); font-weight: 600;
  background: var(--paper-deep); border-radius: 0; padding: 3px 10px;
}
.section-head .more { margin-left: auto; font-size: 13px; color: var(--gold); font-weight: 600; }
.section-head .more:hover { color: #b87d1a; }
.section-action { padding-bottom: 72px; }
.action-sheet { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 26px 0 0; }
.action-sheet > p { font-size: 16px; color: var(--ink); }
.action-links { display: flex; gap: 12px; align-items: center; }
.action-link { display: inline-flex; align-items: center; gap: 20px; padding: 10px 0 10px 16px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.action-link span { padding-right: 12px; color: var(--gold); }
.action-link--primary { border-color: var(--gold); background: var(--gold); color: var(--white); }
.action-link--primary span { color: var(--white); }

/* ===== 入口卡片（四个区块） ===== */
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry-card {
  background: #fff; border-radius: 14px; padding: 24px 22px;
  box-shadow: 0 1px 8px rgba(123, 83, 50, 0.05);
  border: 1px solid rgba(229, 226, 216, 0.6);
  display: flex; align-items: flex-start; gap: 14px; text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123, 83, 50, 0.12);
}
.entry-card .icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: #f5f0e6; display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.entry-card.about .icon { background: #f0ede6; }
.entry-card.contact .icon { background: #f0f1ec; }
.entry-card.quiz .icon { background: #f5f0e6; }
.entry-card.blog .icon { background: #f5ecec; }
.entry-card .body h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.entry-card .body p { font-size: 12.5px; color: #a0957a; line-height: 1.7; }

/* ===== 问卷与观察记录 ===== */
.quiz-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); gap: 18px; }
.quiz-card {
  background: rgba(255, 253, 249, .8); border-radius: 0; padding: 24px 26px 22px;
  box-shadow: none; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: border-color .18s, background .18s;
  position: relative; overflow: hidden;
}
.quiz-card:hover { border-color: var(--gold); background: var(--white); }
.record-top { display: flex; justify-content: space-between; color: var(--olive); font: 600 9px/1.2 Arial, sans-serif; letter-spacing: 1.5px; margin-bottom: 30px; }
.quiz-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-deep); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; color: var(--gold); }
.quiz-card h3 { font-size: 19px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; color: var(--ink); }
.quiz-card .desc { font-size: 13px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 18px; flex: 1; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: 10px; font-weight: 600; padding: 4px 9px; border-radius: 0; }
.tag.time { background: var(--paper-deep); color: var(--ink-soft); }
.tag.free { background: #e8ecdf; color: var(--olive); }
.tag.part { background: var(--paper-deep); color: var(--gold); }
.quiz-card .go { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--gold); font-weight: 600; font-size: 13px; text-decoration: none; border-top: 1px solid var(--line); padding-top: 14px; }
.quiz-card .go::after { content: "↗"; font-family: Arial, sans-serif; font-size: 16px; }
.quiz-card .go:hover { color: #b87d1a; }
.quiz-card.ghost { border: 1px dashed var(--line); background: transparent; box-shadow: none; align-items: center; justify-content: center; text-align: center; min-height: 260px; }
.quiz-card.ghost:hover { transform: none; box-shadow: none; border-color: var(--line); }
.quiz-card.ghost::before { display: none; }
.quiz-card.ghost .ghost-icon { font-size: 26px; margin-bottom: 12px; color: var(--gold); opacity: .7; }
.quiz-card.ghost p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* ===== 三步理念 ===== */
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.step {
  background: #fff; border-radius: 14px; padding: 22px 18px;
  box-shadow: 0 1px 8px rgba(123, 83, 50, 0.05);
  border-top: 1px solid;
}
.step.s1 { border-top-color: #717a5c; }
.step.s2 { border-top-color: #d29426; }
.step.s3 { border-top-color: #9e5154; }
.step .no { font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.step.s1 .no { color: #717a5c; }
.step.s2 .no { color: #d29426; }
.step.s3 .no { color: #9e5154; }
.step .icon { font-size: 26px; margin-bottom: 10px; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 12.5px; color: #a0957a; line-height: 1.75; }

/* ===== 理念引言 ===== */
.quote-block { border-left: 1px solid var(--olive); background: rgba(255, 253, 249, .58); border-radius: 0; padding: 24px 28px; margin: 24px 0 8px; }
.quote-block p { font-size: 15px; color: var(--ink-soft); line-height: 2; }
.quote-block p b { color: var(--ink); }
.quote-block .from { font-size: 12px; color: var(--olive); margin-top: 10px; font-weight: 600; }

/* ===== About 页 ===== */
.about-content {
  background: #fff; border-radius: 16px; padding: 36px 32px;
  box-shadow: 0 1px 8px rgba(123, 83, 50, 0.05);
  display: grid; grid-template-columns: 220px 1fr; gap: 36px;
  align-items: start;
  margin-bottom: 20px;
}
.about-logo img { width: 100%; max-width: 220px; }
.about-logo .caption { font-size: 11.5px; color: #a0957a; margin-top: 8px; line-height: 1.7; text-align: center; }
.about-text h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.about-text p { font-size: 14.5px; color: #7b5332; line-height: 2; margin-bottom: 12px; }
.about-text p b { color: #d29426; }
.about-text h3 { font-size: 15px; font-weight: 700; margin: 22px 0 10px; color: #7b5332; }
.about-text ul { padding-left: 22px; }
.about-text li { font-size: 14px; line-height: 1.9; color: #7b5332; }
.about-text li::marker { color: #d29426; }

/* ===== Contact 页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.channel-card {
  background: #fff; border-radius: 14px; padding: 20px;
  box-shadow: 0 1px 8px rgba(123, 83, 50, 0.05);
  display: flex; align-items: center; gap: 14px;
  border: 1px solid rgba(229, 226, 216, 0.6);
  transition: transform .18s, box-shadow .18s;
}
.channel-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(123, 83, 50, 0.1); }
.channel-card-qr { display: grid; grid-template-columns: 44px 1fr 112px; align-items: center; }
.channel-card .ci {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800;
}
.channel-card .ci-wechat { background: #f0f1ec; color: #717a5c; }
.channel-card .ci-red { background: #f5ecec; color: #9e5154; }
.channel-card .ci-brown { background: #f0ede6; color: #7b5332; }
.channel-card .name { font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }
.channel-card .id { font-size: 12px; color: #a0957a; }
.channel-card .channel-copy p { margin-top: 6px; font-size: 12px; color: #a0957a; line-height: 1.6; }
.channel-card .channel-qr { width: 112px; height: 112px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e2d8; background: #fff; }
.channel-card .id.placeholder { color: #c6c49d; font-style: italic; }
.contact-note {
  background: #f5f0e6; border: 1px solid #e5e0cc; border-radius: 12px;
  padding: 14px 18px; font-size: 13px; color: #8a7b5a; line-height: 1.8;
  margin-top: 18px;
}

/* ===== Blog 列表 ===== */
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-card {
  background: #fff; border-radius: 14px; padding: 22px 24px;
  box-shadow: 0 1px 8px rgba(123, 83, 50, 0.05);
  border: 1px solid rgba(229, 226, 216, 0.6);
  display: block; color: inherit; text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(123, 83, 50, 0.1); color: inherit; }
.article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 11.5px; color: #a0957a; }
.article-meta .cat { background: #f5f0e6; color: #a07826; font-weight: 600; padding: 2px 10px; border-radius: 5px; }
.article-meta .cat.tg2 { background: #f0f1ec; color: #5a6348; }
.article-meta .cat.tg3 { background: #f5ecec; color: #8a4a4a; }
.article-card h3 { font-size: 17px; font-weight: 700; color: #7b5332; margin-bottom: 6px; line-height: 1.5; }
.article-card p { font-size: 13.5px; color: #a0957a; line-height: 1.75; }
.article-empty {
  text-align: center; padding: 40px 20px; color: #c6c49d;
  font-size: 13px; background: #f5f0e6; border-radius: 12px; border: 1px dashed #ddd8cc;
}

/* ===== Article 页 ===== */
.article-page {
  background: #fff; border-radius: 16px; padding: 40px 36px;
  box-shadow: 0 1px 8px rgba(123, 83, 50, 0.05);
  margin-bottom: 20px;
}
.article-header { border-bottom: 1px solid #e5e2d8; padding-bottom: 22px; margin-bottom: 24px; }
.article-header .crumbs { font-size: 12px; color: #a0957a; margin-bottom: 10px; }
.article-header .crumbs a { color: #a0957a; }
.article-header h1 { font-size: 26px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.article-header .meta { font-size: 12.5px; color: #a0957a; display: flex; gap: 12px; flex-wrap: wrap; }
.article-body { font-size: 15px; line-height: 1.95; color: #7b5332; }
.article-body h2 { font-size: 20px; font-weight: 700; margin: 30px 0 12px; padding-left: 12px; border-left: 1px solid #d29426; }
.article-body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 14px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: #d29426; }
.article-body blockquote {
  border-left: 1px solid #c6c49d; background: #faf7f0;
  padding: 14px 18px; margin: 16px 0; border-radius: 0 10px 10px 0;
  color: #8a7b5a; font-size: 14px; line-height: 1.85;
}
.article-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e5e2d8; }
.source-note { font-size: 12px; color: #a0957a; margin-top: 24px; }
.source-note a { color: #a07826; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #d29426; font-weight: 600; font-size: 14px; }
.back-link:hover { color: #b87d1a; }

/* ===== 页脚 ===== */
footer {
  margin-top: 24px; padding: 32px 0 42px;
  border-top: 1px solid var(--line); text-align: center;
}
footer .footer-logo { width: 52px; opacity: .7; margin-bottom: 12px; }
footer .disclaimer { font-size: 11.5px; color: #9e5154; line-height: 1.8; max-width: 600px; margin: 0 auto 10px; }
footer .copyright { font-size: 11.5px; color: var(--ink-soft); }
footer .copyright b { color: var(--ink); }
footer .footer-nav { margin-bottom: 14px; }
footer .footer-nav a { color: var(--ink-soft); font-size: 12.5px; margin: 0 8px; font-weight: 600; }
footer .footer-nav a:hover { color: var(--gold); }

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(246, 243, 238, .98); backdrop-filter: blur(12px);
    flex-direction: column; gap: 0; padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 12px 20px; border-bottom: 1px solid rgba(217, 208, 194, .55); }
  .nav-links.open a.current::after { display: none; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 58px 0 52px; min-height: 0; }
  .hero-copy { padding-left: 24px; }
  .archive-kicker { margin-bottom: 26px; }
  .hero h1 { font-size: 43px; }
  .hero .sub { font-size: 14px; margin-bottom: 26px; }
  .archive-sheet { transform: rotate(.7deg); min-height: 270px; }
  .section { padding: 52px 0 10px; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 28px; }
  .section-prompt { max-width: 150px; font-size: 12px; }
  .section-intro { font-size: 13px; }
  .entry-grid, .quiz-grid, .contact-grid { grid-template-columns: 1fr; }
  .observation-list { gap: 12px; }
  .quiz-card.ghost { min-height: 150px; }
  .steps { grid-template-columns: 1fr; }
  .channel-card-qr { grid-template-columns: 44px 1fr 92px; gap: 12px; }
  .channel-card .channel-qr { width: 92px; height: 92px; }
  .about-content { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; text-align: center; }
  .about-text { text-align: left; }
  .article-page { padding: 26px 22px; }
  .article-header h1 { font-size: 22px; }
  .article-body { font-size: 14.5px; }
  .action-sheet { align-items: flex-start; flex-direction: column; }
  .action-links { width: 100%; flex-wrap: wrap; }
}
footer .beian { margin-top: 9px; font-size: 11.5px; color: var(--ink-soft); }
footer .beian a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px dotted rgba(0,0,0,.18); padding-bottom: 1px; }
footer .beian a:hover { color: var(--gold); border-bottom-color: var(--gold); }
