/* ============================================
   项目详情页 · 共用样式
   延续首页商务极简暖色风
   ============================================ */

:root {
  --bg: #FBF7F0;
  --bg-soft: #F5F0E8;
  --bg-section: #EFE9E0;
  --ink: #2C2520;
  --ink-2: #4A4035;
  --ink-3: #7A6E62;
  --ink-4: #9E9285;
  --line: rgba(44, 37, 32, 0.10);
  --line-strong: rgba(44, 37, 32, 0.18);
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
    'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
    'Helvetica Neue', 'PingFang SC', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.003em;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: #FBF7F0; }

/* ---------- 顶部导航 ---------- */
.detail-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 44px;
  background: rgba(251, 247, 240, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.back-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.2s var(--ease);
}
.back-link:hover { color: var(--ink); }
.detail-logo {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- 封面大图 ---------- */
.detail-hero {
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.detail-hero svg {
  width: 120px;
  height: 120px;
  opacity: 0.35;
}

/* ---------- 内容区 ---------- */
.detail-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 44px 120px;
}

.detail-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 40px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 56px;
}
.detail-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ---------- 分区块 ---------- */
.detail-section {
  margin-bottom: 56px;
}
.detail-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--ink);
}
.detail-section-label h2 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-4);
}
.detail-section p,
.detail-section ul {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.detail-section ul {
  padding-left: 20px;
}
.detail-section li {
  margin-bottom: 8px;
}
.detail-section li::marker {
  color: var(--ink-4);
}

/* ---------- 引用块（项目评价） ---------- */
.detail-quote {
  padding: 28px 32px;
  background: var(--bg-soft);
  border-left: 3px solid var(--ink-4);
  border-radius: 0 8px 8px 0;
  margin-top: 8px;
}
.detail-quote p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  font-style: italic;
}
.detail-quote .quote-author {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}

/* ---------- 底部导航 ---------- */
.detail-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-footer a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.2s var(--ease);
}
.detail-footer a:hover { color: var(--ink); }

/* ---------- 页脚备案 ---------- */
.site-footer {
  text-align: center;
  padding: 32px 44px 36px;
  border-top: 1px solid var(--line);
}
.icp {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.01em;
}
.icp a {
  color: var(--ink-4);
  transition: color 0.2s var(--ease);
}
.icp a:hover {
  color: var(--ink-3);
  opacity: 1;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .detail-nav { padding: 14px 24px; }
  .detail-content { padding: 0 24px 80px; }
  .detail-hero { height: 300px; }
  .detail-title { font-size: 32px; margin-bottom: 28px; }
}
@media (max-width: 520px) {
  .detail-hero { height: 240px; }
  .detail-title { font-size: 26px; }
  .detail-section p,
  .detail-section ul { font-size: 16px; }
}
