/* ==========================================================
   武夷山市时拓文化传媒有限公司 — 站点样式
   ========================================================== */

:root {
  --ink: #14161c;
  --ink-2: #333845;
  --ink-3: #6b7280;
  --paper: #f8f5ef;
  --paper-2: #efe9df;
  --white: #ffffff;
  --accent: #1b5e57;
  --accent-dark: #124541;
  --gold: #b58a4b;
  --line: rgba(20, 22, 28, 0.10);
  --line-strong: rgba(20, 22, 28, 0.18);
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(20, 22, 28, .05);
  --shadow: 0 18px 50px -20px rgba(20, 22, 28, .25);
  --maxw: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-num: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(248, 245, 239, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-size: 17px; font-weight: 700; letter-spacing: .04em;
  font-family: var(--font);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: .16em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(20, 22, 28, .05); }
.nav-links a.is-active { color: var(--ink); font-weight: 600; }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 14px;
  background: var(--ink); color: #fff !important;
  padding: 10px 18px !important; border-radius: 999px;
  font-size: 14px !important; font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--ink);
  transition: transform .25s, top .25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 68px 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #f2efe9; }
.section--ink .eyebrow { color: var(--gold); }
.section--ink p { color: rgba(242, 239, 233, .72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
.section-head p { margin-top: 16px; color: var(--ink-3); font-size: 16px; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 92px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(192, 64, 46, .13), transparent 62%),
    radial-gradient(700px 420px at 8% 108%, rgba(181, 138, 75, .16), transparent 64%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.035em; }
.hero h1 .hl { color: var(--accent); }
.hero-lead { margin-top: 24px; font-size: 17px; color: var(--ink-2); max-width: 520px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  background: rgba(20, 22, 28, .05); color: var(--ink-2); border: 1px solid var(--line);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .22s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(192, 64, 46, .8); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }

/* Hero 视觉卡 */
.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  aspect-ratio: 900 / 990;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 28, .05) 0%, rgba(20, 22, 28, .72) 100%);
}
.hero-card-info {
  position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: #fff;
}
.hero-card-info .t { font-size: 19px; font-weight: 700; }
.hero-card-info .d { font-size: 13px; color: rgba(255, 255, 255, .72); margin-top: 4px; letter-spacing: .04em; }

.hero-badge {
  position: absolute; top: -18px; left: -18px; z-index: 3;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-size: 12px; line-height: 1.45; font-weight: 600; letter-spacing: .06em;
  box-shadow: 0 16px 34px -14px rgba(192, 64, 46, .9);
}

/* ---------- 数据条 ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .45); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 10px 34px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat .n { font-family: var(--font-num); font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.stat .n em { font-style: normal; font-size: 18px; color: var(--accent); margin-left: 2px; }
.stat .l { font-size: 13px; color: var(--ink-3); margin-top: 2px; letter-spacing: .02em; }

/* ---------- 服务 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 32px;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(192, 64, 46, .09); color: var(--accent); margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.card .tags span {
  font-size: 12px; padding: 4px 10px; border-radius: 6px;
  background: rgba(20, 22, 28, .045); color: var(--ink-2);
}
.card-num {
  position: absolute; right: 22px; top: 20px;
  font-family: var(--font-num); font-size: 13px; color: var(--ink-3); opacity: .45; letter-spacing: .05em;
}

/* 服务页明细行 */
.svc-row { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.svc-row > div:last-child { flex: 1; min-width: 260px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step {
  position: relative; padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); background: rgba(255, 255, 255, .04);
}
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--font-num); font-size: 13px; color: var(--gold); letter-spacing: .1em;
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 17px; color: #fff; }
.step p { margin-top: 8px; font-size: 14px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case:hover .case-thumb img { transform: scale(1.045); }
.case-body { padding: 20px 22px 24px; }
.case-body .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.case-body h3 { font-size: 17px; margin-top: 8px; }
.case-body p { font-size: 14px; color: var(--ink-3); margin-top: 8px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-copy p + p { margin-top: 18px; }
.about-copy p { color: var(--ink-2); font-size: 16px; }
.pull {
  margin-top: 32px; padding: 22px 26px; border-left: 3px solid var(--accent);
  background: rgba(192, 64, 46, .05); border-radius: 0 10px 10px 0;
  font-size: 15.5px; color: var(--ink); font-weight: 500;
}

.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-card-head {
  padding: 20px 26px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.info-card-head .t { font-size: 15px; font-weight: 700; }
.info-card-head .b {
  font-size: 12px; color: var(--gold); border: 1px solid rgba(181, 138, 75, .4);
  padding: 2px 9px; border-radius: 999px;
}
.info-list { padding: 8px 26px 22px; }
.info-list li {
  display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.info-list li:last-child { border-bottom: 0; }
.info-list .k { width: 116px; flex-shrink: 0; color: var(--ink-3); font-size: 13.5px; }
.info-list .v { color: var(--ink); word-break: break-all; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { margin-top: 30px; display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
}
.contact-item .ic {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  display: grid; place-items: center; background: rgba(181, 138, 75, .18); color: var(--gold);
}
.contact-item .ic svg { width: 19px; height: 19px; }
.contact-item .k { font-size: 12.5px; color: rgba(242, 239, 233, .55); letter-spacing: .1em; text-transform: uppercase; }
.contact-item .v { font-size: 17px; color: #fff; font-weight: 600; margin-top: 1px; }
.contact-item .v.small { font-size: 15px; font-weight: 500; line-height: 1.6; }

.contact-panel {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px; padding: 34px 32px;
}
.contact-panel h3 { font-size: 20px; color: #fff; }
.contact-panel p { margin-top: 10px; font-size: 14.5px; }
.form-row { margin-top: 20px; }
.form-row label { display: block; font-size: 13px; color: rgba(242, 239, 233, .6); margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .18); color: #fff; font-family: var(--font); font-size: 14.5px;
  outline: none; transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); }
.form-row textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 12.5px; color: rgba(242, 239, 233, .45); margin-top: 14px; }

/* ---------- 页面头 ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: 72px 0 64px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(192, 64, 46, .06), transparent 70%);
}
.page-head .crumb { font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.page-head .crumb a:hover { color: var(--accent); }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; letter-spacing: -.03em; }
.page-head p { margin-top: 16px; max-width: 640px; color: var(--ink-2); font-size: 16px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff; border-radius: 22px;
  padding: 60px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(192, 64, 46, .45), transparent 68%);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); position: relative; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .68); font-size: 15.5px; position: relative; }
.cta .btn { position: relative; flex-shrink: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(242, 239, 233, .7); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(242, 239, 233, .45); }
.footer-brand p { margin-top: 18px; font-size: 13.5px; line-height: 1.8; max-width: 300px; }
.footer-col h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between; font-size: 12.5px; color: rgba(242, 239, 233, .42);
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 动效（仅过渡，不影响可见性） ---------- */
.reveal { transition: transform .5s cubic-bezier(.22,.7,.3,1); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; }
  .cards, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 44px 34px; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav { height: 62px; }
  .nav-links {
    position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; display: none;
    box-shadow: 0 20px 30px -20px rgba(20, 22, 28, .3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .nav-links a.is-active::after { display: none; }
  .nav-cta { margin: 12px 0 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .brand-sub { display: none; }

  .hero { padding: 48px 0 60px; }
  .hero-badge { display: none; }
  .svc-row { gap: 16px; }
  .svc-row .card-icon { margin-bottom: 0; }
  .cards, .case-grid, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat .n { font-size: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
  .page-head { padding: 44px 0 40px; }
  .info-list .k { width: 92px; }
  .contact-panel { padding: 26px 22px; }
}
