/* ============================================================
   二月莺歌影业 · 主站样式
   与“爱书人写作”站、爱书人独立博客使用同一套设计（颜色值完全相同）：
   暖米纸底 · 深墨绿 · 细暖线 · 思源宋体 · 胶囊按钮 · 圆角卡片 · 深墨绿页脚
   只有“下载”按钮是红色（.btn-download）。
   ============================================================ */
:root {
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --paper-bg: #f5f2eb;
  --paper-pane: #f8f5ef;
  --paper-card: #faf7f1;
  --paper-row: #f1ede5;
  --paper-field: #eeebe6;
  --ink: #2f3033;
  --ink-soft: #5f5f61;
  --ink-mute: #8a857c;
  --line: #e2dcd1;
  --brand: #466356;
  --brand-deep: #354d42;
  --brand-tint: #dce8e0;
  --brand-wash: #eef3ef;
  --download: #d9483b;
  --download-deep: #b9392e;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 30px rgba(51, 52, 56, .045);
  --shadow-lg: 0 20px 40px -15px rgba(51, 52, 56, .14);
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 12px); }
body {
  margin: 0;
  background: var(--paper-bg);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--brand); color: var(--paper-card); }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- 顶部导航：与爱书人站同一款（暖白底 + 细线 + 胶囊链接） ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: color-mix(in srgb, var(--paper-card) 94%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(51, 52, 56, .035);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { display: block; height: 40px; width: auto; flex: none; }
.brand-text strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; }
.brand-text span { display: block; font-size: 10px; letter-spacing: .22em; color: var(--ink-mute); line-height: 1.4; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--paper-row); color: var(--ink); }

/* ---------- 首屏：保留影像，做成和爱书人站一样的大圆角卡片 ---------- */
.hero-shell { padding: 28px 0 0; }
.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(26, 38, 33, .86) 0%, rgba(26, 38, 33, .58) 46%, rgba(26, 38, 33, .12) 100%),
    url('../images/hero.jpg') center/cover;
}
.hero-content { position: relative; z-index: 1; padding: 64px clamp(28px, 6vw, 72px); max-width: 760px; }
.hero .eyebrow { color: #e9dcc2; }
.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: .06em;
}
.hero p { margin: 0 0 32px; max-width: 560px; font-size: clamp(15px, 1.7vw, 19px); color: rgba(255, 255, 255, .86); }

/* ---------- 小标签：全站统一（细字距、墨绿） ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--brand);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 按钮：胶囊形 ---------- */
.cta, .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--paper-card);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cta:hover, .btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }
.hero .cta { background: rgba(250, 247, 241, .96); border-color: transparent; color: var(--brand-deep); }
.hero .cta:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-wash); color: var(--brand-deep); }
.btn-download {
  background: var(--download);
  border-color: var(--download);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(217, 72, 59, .55);
}
.btn-download:hover { background: var(--download-deep); border-color: var(--download-deep); }

/* ---------- 区块 ---------- */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.section h2 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--ink);
}
.section-lead { color: var(--ink-soft); max-width: 470px; font-size: 15px; margin: 0; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-copy p { font-size: 16px; color: var(--ink-soft); }
.quote {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-row);
  font-size: 22px;
  line-height: 1.6;
  color: var(--brand-deep);
}
.intro-image, .process-image {
  min-height: 440px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: url('../images/studio.jpg') center/cover;
  position: relative;
}
.intro-image::before {
  content: "二月莺歌";
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(250, 247, 241, .9);
  color: var(--brand-deep);
  font-size: 13px;
  letter-spacing: .2em;
}
.process-image { min-height: 500px; background-image: url('../images/writing.jpg'); }

/* 服务卡片：与爱书人站功能卡片一致 */
.services { background: var(--paper-pane); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  padding: 26px 24px;
  min-height: 230px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.num {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-wash);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* 线条图标：与爱书人站同一组路径、同样的浅墨绿圆底 */
.service-icon, .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand);
  font-size: 19px;
}
.line-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; flex: none; }
.btn .line-icon { font-size: 17px; }
.service h3 { margin: 22px 0 10px; font-size: 19px; font-weight: 700; }
.service p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* 创作辅助（爱书人）推广卡：与爱书人站首屏同色 */
.ishuren-promo { background: var(--paper-pane); }
.promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.promo-card h2 { margin-top: 12px; }
.promo-card p { color: var(--ink-soft); margin: 0 0 24px; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.promo-visual {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--paper-row);
}
.promo-visual img { display: block; width: 100%; }

/* 合作流程 */
.process { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.steps { margin-top: 8px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.step h3 { margin: 0 0 2px; font-size: 17px; font-weight: 700; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* 联系我们：与爱书人站的联系卡同款 */
.contact { padding: 96px 0; border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact h2 { margin: 14px 0 12px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; font-weight: 700; }
.contact p { margin: 0; color: var(--ink-soft); max-width: 520px; }
.contact-note {
  padding: 26px 28px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.1;
}
.contact-note strong { color: var(--ink); font-size: 17px; }
.contact-note a { color: var(--brand); border-bottom: 1px solid var(--brand-tint); }
.contact-note a:hover { color: var(--brand-deep); border-bottom-color: var(--brand); }

/* ---------- 页脚：三站同一款深墨绿页脚 ---------- */
.footer { background: var(--brand-deep); color: rgba(250, 247, 241, .72); font-size: 13px; padding: 34px 0 28px; }
.footer-about { margin: 0 0 14px; line-height: 1.9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 16px; }
.footer-links a { color: rgba(250, 247, 241, .88); text-decoration: none; border-bottom: 0; }
.footer-links a:hover { color: #fff; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 247, 241, .14);
}

.reveal { animation: rise .8s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 平板 / 手机 ---------- */
@media (max-width: 900px) {
  :root { --nav-height: auto; }
  .nav { height: auto; padding: 10px 0; }
  .nav-inner { flex-wrap: wrap; row-gap: 8px; }
  .nav-links { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 2px; font-size: 13px; }
  .nav-links a { padding: 5px 9px; }
  .hero { min-height: 520px; }
  .section, .contact { padding: 68px 0; }
  .section-head { display: block; }
  .section-lead { margin-top: 16px; }
  .intro, .process, .promo-card, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .intro-image { min-height: 320px; order: -1; }
  .process-image { min-height: 340px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { display: block; }
  .footer-inner span { display: block; margin-top: 6px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .hero-shell { padding-top: 14px; }
  .hero { min-height: 480px; }
  .hero-content { padding: 40px 22px; }
  .hero h1 { font-size: 40px; }
  .quote { font-size: 19px; }
  .service-grid { grid-template-columns: 1fr; }
  .nav-links { font-size: 12px; }
}
