/* =========================================================
   巴中百年建筑设计有限公司 · 全站样式
   ========================================================= */
:root {
  --ink: #22201d;
  --ink-soft: #4a463f;
  --muted: #817a70;
  --paper: #faf8f4;
  --cream: #f1ede6;
  --cream-deep: #e8e2d8;
  --line: #e3ddd3;
  --accent: #ad7550;
  --accent-dark: #8d5939;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(34, 32, 29, .09);
  --radius: 4px;
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.container-narrow { width: min(calc(100% - 48px), 860px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 通用组件 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-title {
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.28; letter-spacing: -.02em;
  font-weight: 600;
}
.section-title span { color: var(--accent); }
.section-sub { color: var(--muted); margin-top: 18px; font-size: 16px; }
.lead { font-size: 18px; color: var(--ink-soft); line-height: 1.9; }
.text-muted { color: var(--muted); }
.divider-line { height: 1px; background: var(--line); border: 0; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid transparent;
  border-radius: var(--radius); font-size: 14px; font-weight: 600;
  letter-spacing: .04em; transition: all .3s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(141, 89, 57, .22); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
  font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(173,117,80,.4);
  padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s;
}
.text-link:hover { gap: 14px; border-color: var(--accent); }

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-h);
  z-index: 100; display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(250,248,244,.96); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line); height: 72px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; transition: color .35s; }
.site-header.is-solid .brand { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 18px; letter-spacing: .18em; font-weight: 600; }
.brand-text small { font-size: 8px; letter-spacing: .28em; opacity: .72; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.main-nav a { position: relative; font-size: 14px; color: rgba(255,255,255,.86); padding: 8px 0; transition: color .3s; }
.site-header.is-solid .main-nav a { color: var(--ink-soft); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.header-cta { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,.5); padding: 11px 20px; border-radius: var(--radius); transition: all .3s; }
.site-header.is-solid .header-cta { color: var(--ink); border-color: var(--ink); }
.header-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.site-header.is-solid .menu-toggle { border-color: var(--line); }
.menu-toggle span { display: block; width: 18px; height: 1px; background: #fff; transition: transform .3s, opacity .3s; }
.site-header.is-solid .menu-toggle span { background: var(--ink); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: 760px; height: 100vh; max-height: 980px; display: flex; align-items: center; overflow: hidden; background: #3a352f; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.76) 0%, rgba(20,18,16,.48) 46%, rgba(20,18,16,.12) 100%), linear-gradient(0deg, rgba(20,18,16,.45), transparent 40%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 760px; padding-top: var(--header-h); }
.hero .eyebrow { color: #e5b99a; }
.hero-title { font-size: clamp(44px, 5.8vw, 82px); line-height: 1.14; letter-spacing: -.035em; font-weight: 600; margin-bottom: 28px; }
.hero-title em { font-style: normal; color: #e5b99a; }
.hero-desc { max-width: 520px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.9; margin-bottom: 42px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: 26px 0 30px; color: #fff; border-right: 1px solid rgba(255,255,255,.14); padding-left: 28px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.hero-stat span { font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.66); }
.scroll-cue { position: absolute; z-index: 3; right: 32px; bottom: 132px; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .24em; }
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: rgba(255,255,255,.5); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ---------- 简介 / 服务概览 ---------- */
.intro-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-visual { position: relative; }
.intro-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.intro-visual::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--cream-deep); z-index: -1; }
.intro-badge { position: absolute; right: -30px; bottom: -30px; background: var(--accent); color: #fff; padding: 26px 30px; max-width: 230px; }
.intro-badge strong { display: block; font-size: 42px; line-height: 1; }
.intro-badge span { font-size: 13px; letter-spacing: .08em; }
.intro-copy .section-title { margin-bottom: 24px; }
.intro-copy p + p { margin-top: 18px; }
.feature-list { margin-top: 36px; display: grid; gap: 0; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .num { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; padding-top: 5px; }
.feature-list strong { display: block; font-size: 16px; font-weight: 600; }
.feature-list span { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border: 1px solid var(--line); padding: 40px 34px; position: relative; overflow: hidden; transition: all .4s var(--ease); }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; color: var(--accent); margin-bottom: 30px; }
.service-icon svg { width: 100%; height: 100%; stroke-width: 1.2; }
.service-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.service-card .text-link { margin-top: 24px; }
.service-num { position: absolute; right: 28px; top: 26px; font-size: 44px; color: var(--cream-deep); font-weight: 700; line-height: 1; }

/* ---------- 案例 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-btn { border: 1px solid var(--line); background: transparent; color: var(--ink-soft); padding: 9px 20px; border-radius: 100px; font-size: 13px; transition: all .3s; }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card { position: relative; display: block; overflow: hidden; background: var(--cream); }
.work-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover img { transform: scale(1.05); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,16,.78), rgba(20,18,16,0) 55%); opacity: .92; }
.work-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 28px 32px; color: #fff; transform: translateY(6px); transition: transform .4s var(--ease); }
.work-card:hover .work-info { transform: translateY(0); }
.work-info .meta { font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.72); text-transform: uppercase; }
.work-info h3 { font-size: 24px; font-weight: 600; margin-top: 6px; }
.work-info .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.78); }
.work-info .tags span + span::before { content: "·"; margin-right: 8px; opacity: .6; }
.work-card .view-icon { position: absolute; z-index: 3; right: 24px; bottom: 30px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; color: #fff; opacity: 0; transform: translateY(10px); transition: all .35s var(--ease); }
.work-card:hover .view-icon { opacity: 1; transform: translateY(0); }
.work-card[hidden] { display: none; }
.works-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; }
.works-feature .work-card:first-child { grid-row: span 2; }
.works-feature .work-card:first-child img { aspect-ratio: auto; height: 100%; min-height: 620px; }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18,16,14,.94); display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.is-open { display: flex; }
.lightbox-inner { position: relative; width: min(1100px, 100%); }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; }
.lightbox-caption { color: #fff; margin-top: 16px; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.lightbox-caption h3 { font-size: 22px; font-weight: 500; }
.lightbox-caption p { color: rgba(255,255,255,.6); font-size: 13px; }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.lightbox-close { top: -18px; right: -18px; width: 44px; height: 44px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
body.lightbox-open { overflow: hidden; }

/* ---------- 数据 / 流程 ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-band .stat { padding: 12px 0; border-left: 1px solid rgba(255,255,255,.2); padding-left: 28px; }
.stats-band .stat:first-child { border-left: 0; padding-left: 0; }
.stats-band strong { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.1; }
.stats-band span { color: rgba(255,255,255,.65); font-size: 13px; letter-spacing: .08em; }
.dark-band { background: var(--ink); color: #fff; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 28px 0 0; }
.process-step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 46px; line-height: 1; color: var(--cream-deep); font-weight: 700; margin-bottom: 22px; transition: color .3s; }
.process-step:hover::before { color: var(--accent); }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 8px; right: 28px; width: calc(100% - 100px); height: 1px; background: var(--line); }
.process-step h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ---------- 评价 ---------- */
.testimonials { position: relative; }
.testimonial-stage { position: relative; min-height: 240px; }
.testimonial { display: none; text-align: center; max-width: 820px; margin-inline: auto; }
.testimonial.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quote-mark { font-size: 68px; color: var(--cream-deep); line-height: .6; font-family: Georgia, serif; }
.stars { color: var(--accent); letter-spacing: .3em; font-size: 14px; margin: 18px 0; }
.testimonial blockquote { font-size: clamp(19px, 2.2vw, 27px); line-height: 1.75; color: var(--ink); }
.testimonial cite { display: block; margin-top: 24px; font-size: 14px; color: var(--muted); font-style: normal; }
.testimonial cite strong { color: var(--ink); font-weight: 600; }
.slider-dots { display: flex; justify-content: center; gap: 9px; margin-top: 36px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--cream-deep); padding: 0; transition: all .3s; }
.slider-dots button.is-active { background: var(--accent); width: 24px; border-radius: 10px; }

/* ---------- 文章卡片 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { display: block; background: var(--white); border: 1px solid var(--line); transition: all .35s var(--ease); }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.article-body { padding: 26px 26px 30px; }
.article-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.article-meta span:first-child { color: var(--accent); }
.article-body h3 { font-size: 19px; font-weight: 600; line-height: 1.55; margin: 12px 0 10px; }
.article-body p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ---------- CTA / 页脚 ---------- */
.cta-banner { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: url('../images/cta-interior.jpg') center/cover; opacity: .16; }
.cta-inner { position: relative; text-align: center; padding: clamp(70px, 8vw, 110px) 0; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 600; letter-spacing: -.02em; }
.cta-inner p { color: rgba(255,255,255,.7); margin: 18px auto 34px; max-width: 560px; }
.cta-inner .btn { background: #fff; color: var(--ink); }
.cta-inner .btn:hover { background: var(--accent); color: #fff; }

.site-footer { background: #191713; color: rgba(255,255,255,.66); padding: 78px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 46px; padding-bottom: 62px; }
.footer-brand .brand { color: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 280px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .08em; margin-bottom: 22px; font-weight: 600; }
.footer-col li + li { margin-top: 12px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 内页横幅 ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 74px) 0 74px; background: var(--cream); overflow: hidden; }
.page-hero::after { content: attr(data-label); position: absolute; right: -2%; bottom: -34px; font-size: clamp(110px, 17vw, 240px); font-weight: 700; color: rgba(34,32,29,.035); letter-spacing: -.06em; line-height: 1; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.page-hero p { color: var(--muted); margin-top: 18px; max-width: 620px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: .5; }

/* ---------- 服务详情页 ---------- */
.service-detail-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.service-detail-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.service-list-detail { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger { width: 100%; background: transparent; border: 0; text-align: left; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--ink); font-size: 18px; font-weight: 600; }
.accordion-trigger:hover { color: var(--accent); }
.accordion-icon { position: relative; width: 18px; height: 18px; flex: none; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; background: currentColor; transition: transform .3s; }
.accordion-icon::before { top: 8px; left: 0; width: 18px; height: 1px; }
.accordion-icon::after { left: 8px; top: 0; width: 1px; height: 18px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: scaleY(0); }
.accordion-panel { display: none; padding: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.accordion-panel.is-open { display: block; animation: fadeUp .3s var(--ease); }
.accordion-panel ul { margin-top: 12px; display: grid; gap: 8px; }
.accordion-panel li::before { content: "—"; color: var(--accent); margin-right: 10px; }
.price-note { margin-top: 30px; padding: 22px 26px; background: var(--cream); border-left: 3px solid var(--accent); font-size: 14px; color: var(--ink-soft); }

/* ---------- 关于页 ---------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-story .image-pair { position: relative; }
.about-story .image-pair img:first-child { width: 78%; aspect-ratio: 3/4; object-fit: cover; }
.about-story .image-pair img:last-child { position: absolute; right: 0; bottom: -30px; width: 48%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--paper); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 34px; background: var(--white); border: 1px solid var(--line); }
.value-card .value-icon { width: 42px; height: 42px; color: var(--accent); margin-bottom: 22px; }
.value-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--muted); }
.timeline { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline-row strong { color: var(--accent); font-size: 18px; }
.timeline-row p { color: var(--ink-soft); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-card .avatar { width: 92px; height: 92px; border-radius: 50%; background: var(--cream-deep); color: var(--accent); display: grid; place-items: center; font-size: 30px; font-weight: 600; margin: 0 auto 20px; }
.team-card h3 { font-size: 18px; font-weight: 600; }
.team-card span { display: block; color: var(--accent); font-size: 12px; letter-spacing: .12em; margin: 6px 0 10px; }
.team-card p { color: var(--muted); font-size: 14px; }

/* ---------- 文章详情 ---------- */
.article-hero { padding: calc(var(--header-h) + 66px) 0 48px; }
.article-hero h1 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 600; max-width: 900px; line-height: 1.3; }
.article-hero .article-meta { margin-top: 22px; }
.article-cover { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 80px; justify-content: center; padding: 56px 0 100px; }
.article-content { font-size: 17px; line-height: 2; color: var(--ink-soft); }
.article-content h2 { font-size: 27px; color: var(--ink); margin: 48px 0 18px; font-weight: 600; }
.article-content h3 { font-size: 20px; color: var(--ink); margin: 34px 0 12px; font-weight: 600; }
.article-content p { margin-bottom: 20px; }
.article-content ul { margin: 0 0 24px; display: grid; gap: 10px; }
.article-content li { padding-left: 22px; position: relative; }
.article-content li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.article-content blockquote { margin: 34px 0; padding: 22px 28px; background: var(--cream); border-left: 3px solid var(--accent); color: var(--ink); font-size: 19px; }
.article-sidebar h4 { font-size: 15px; margin-bottom: 18px; }
.article-sidebar ul { display: grid; gap: 12px; }
.article-sidebar a { font-size: 14px; color: var(--muted); line-height: 1.6; }
.article-sidebar a:hover { color: var(--accent); }
.article-nav { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.field label .req { color: var(--accent); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 16px; color: var(--ink); font-size: 14px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(173,117,80,.1); }
.field .error-msg { display: none; color: #b3402f; font-size: 12px; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3402f; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-success { display: none; padding: 16px 20px; background: #eef5ef; border-left: 3px solid #5b8c62; color: #3d6542; font-size: 14px; margin-bottom: 24px; }
.form-success.is-visible { display: block; }
.form-error { display: none; padding: 16px 20px; background: #fdeeeb; border-left: 3px solid #a33a2b; color: #8f3022; font-size: 14px; margin-bottom: 24px; }
.form-error.is-visible { display: block; }
.contact-info-card { background: var(--ink); color: #fff; padding: clamp(28px, 3.5vw, 44px); margin-bottom: 22px; }
.contact-info-card h3 { font-size: 20px; margin-bottom: 22px; }
.contact-info-card .info-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-info-card .info-item:last-child { border-bottom: 0; }
.contact-info-card .info-item span { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 5px; }
.contact-info-card .info-item strong { font-weight: 500; font-size: 15px; }
.contact-info-card a:hover { color: #e5b99a; }
.hours-card { border: 1px solid var(--line); padding: 28px 32px; background: var(--white); }
.hours-card h3 { font-size: 18px; margin-bottom: 12px; }
.hours-card p { color: var(--muted); font-size: 14px; }
.faq-wrap { max-width: 860px; margin-inline: auto; }

/* ---------- 浮动按钮 / 动效 ---------- */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 50%; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .hero { min-height: 660px; }
  .hero-stat { padding-left: 18px; }
  .hero-stat strong { font-size: 26px; }
  .services-grid, .article-grid, .value-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 760px; }
  .article-sidebar { border-top: 1px solid var(--line); padding-top: 26px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 42px; }
  .process-step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--paper); padding: 12px 24px 24px;
    box-shadow: 0 18px 30px rgba(0,0,0,.1); transform: translateY(-120%);
    transition: transform .35s var(--ease); visibility: hidden;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav a { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site-header:not(.is-solid) .menu-toggle span { background: #fff; }
  .hero { height: auto; min-height: 680px; flex-direction: column; align-items: stretch; }
  .hero-content { padding-block: 130px 90px; }
  .hero::after { background: linear-gradient(90deg, rgba(20,18,16,.8), rgba(20,18,16,.36)); }
  .scroll-cue { display: none; }
  .hero-bottom { position: relative; width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 20px 0 22px 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-stat:nth-child(2n) { border-right: 0; }
  .hero-stat:nth-child(n+3) { border-bottom: 0; }
  .intro-grid, .service-detail-grid, .about-story, .contact-grid { grid-template-columns: 1fr; }
  .intro-visual img { aspect-ratio: 4/3; }
  .intro-badge { right: 18px; bottom: -22px; }
  .works-feature { grid-template-columns: 1fr; }
  .works-feature .work-card:first-child { grid-row: auto; }
  .works-feature .work-card:first-child img { min-height: 0; aspect-ratio: 4/3; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stats-band .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 620px) {
  .container, .container-narrow, .header-inner { width: min(calc(100% - 36px), var(--container)); }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { min-height: 620px; }
  .hero-content { padding-block: 116px 130px; }
  .hero-title { font-size: 42px; }
  .hero-desc { font-size: 15px; }
  .hero-actions .btn { min-height: 48px; padding-inline: 22px; }
  .hero-stat strong { font-size: 23px; }
  .hero-stat span { font-size: 11px; }
  .services-grid, .article-grid, .value-grid, .team-grid, .works-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px 26px; }
  .process-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .process-step::after { display: none !important; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .article-content { font-size: 16px; }
  .timeline-row { grid-template-columns: 90px 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .lightbox { padding: 16px; }
  .lightbox-inner { width: 100%; }
  .lightbox-caption { flex-direction: column; gap: 4px; }
  .lightbox-nav { top: auto; bottom: -62px; transform: none; }
  .lightbox-close { top: -52px; right: 0; }
}
