/* 方塘艺术 FineTone Art — 站点共用样式
   配色：墨黑 #2b2622 / 宣纸米 #faf7f2 / 金棕 #a8763e */

:root {
  --ink: #2b2622;
  --ink-soft: #4a423a;
  --muted: #8a8074;
  --paper: #faf7f2;
  --paper-2: #fffdf9;
  --line: #e6ded1;
  --gold: #a8763e;
  --gold-deep: #8c5f2c;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}
.brand {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
}
.brand span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-left: 8px;
}
.brand:hover { text-decoration: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}
.nav a { color: var(--ink-soft); letter-spacing: 1px; }
.nav a:hover { color: var(--gold-deep); text-decoration: none; }
.nav a.active {
  color: var(--gold-deep);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--gold);
}

/* ---------- 通用排版 ---------- */
.hero-pad { padding: 64px 0 40px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.4; }
h1 { font-size: 34px; letter-spacing: 2px; margin: 0 0 18px; }
h2 { font-size: 26px; letter-spacing: 1px; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 10px; }
p { margin: 0 0 16px; }

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 10px;
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
}

.section { padding: 56px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 30px; }
.section-head p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold); color: #fff; text-decoration: none; }
.btn.solid { background: var(--ink); border-color: var(--ink); color: #f7f4ef; }
.btn.solid:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- 首页首屏 ---------- */
.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: #241f1b;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
}
.hero-body {
  position: relative;
  height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.hero-body h1 { font-size: 40px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin-bottom: 26px;
  line-height: 1.9;
}
.hero-tags { font-size: 13px; letter-spacing: 4px; color: rgba(255,255,255,.7); margin-bottom: 26px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(43,38,34,.09); }
.card-img { height: 176px; overflow: hidden; background: #efe8dd; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.card-more { font-size: 14px; color: var(--gold-deep); letter-spacing: 1px; }

/* ---------- 服务条目 ---------- */
.service-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .imgbox { border-radius: 4px; overflow: hidden; }
.service-row h3 { font-size: 22px; margin-bottom: 6px; }
.service-row .tagline { color: var(--gold-deep); font-size: 14px; letter-spacing: 1px; margin-bottom: 14px; }
dl.spec { margin: 16px 0 0; font-size: 15px; }
dl.spec dt {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 12px;
}
dl.spec dd { margin: 2px 0 0; color: var(--ink-soft); }

/* ---------- 工艺步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 20px 24px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- 图库 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
figure { margin: 0; }
figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
}
figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
  text-align: center;
}

/* ---------- 征文长文版式 ---------- */
.article { max-width: 700px; margin: 0 auto; padding: 52px 0 20px; }
.article h2 { font-size: 24px; margin-top: 44px; }
.article h2 span.kicker { display: block; }
.article p { text-align: justify; }
.article figure { margin: 26px 0 30px; }
.article .punch {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.9;
  color: var(--gold-deep);
  text-align: center;
  padding: 18px 0;
}
.note-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 20px;
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 22px 0;
}
.note-box b { color: var(--gold-deep); }

/* ---------- 联系条 ---------- */
.cta {
  background: var(--ink);
  color: #f7f4ef;
  padding: 52px 0;
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: rgba(247,244,239,.78); margin-bottom: 22px; }
.cta .tel { font-size: 20px; letter-spacing: 2px; color: #fff; margin-bottom: 4px; }
.cta .btn { border-color: rgba(255,255,255,.5); color: #fff; margin-top: 8px; }
.cta .btn:hover { background: #fff; color: var(--ink); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #241f1b;
  color: #a49b90;
  padding: 44px 0 26px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 130px;
  gap: 30px;
  color: #a49b90;
  align-items: start;
}
.f-brand {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 3px;
  color: #f7f4ef;
  margin-bottom: 8px;
}
.site-footer a { color: #c9b6a0; }
.site-footer .f-qr img {
  width: 96px;
  border-radius: 5px;
  background: #fff;
  padding: 5px;
}
.site-footer .f-qr p { font-size: 12px; margin: 8px 0 0; text-align: center; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 12.5px;
  color: #7d736a;
  text-align: center;
}

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .grid, .grid.two, .gallery, .steps { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .header-inner { height: auto; padding: 12px 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav {
    gap: 18px;
    font-size: 14px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero, .hero-body { height: 380px; }
  .hero-body h1 { font-size: 28px; }
  .hero-sub { font-size: 15.5px; }
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  .grid, .grid.two, .gallery, .gallery.two, .steps { grid-template-columns: 1fr; }
  .card-img { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer .f-qr img { width: 82px; }
  .section { padding: 40px 0; }
  .article { padding: 34px 0 10px; }
}
