/* ============================================================
   筑站科技 ZHUSTATION — 官网设计稿 共享样式
   视觉方向：数字工匠 / 编辑网格 / 深墨绿 + 橙铜
   ============================================================ */

:root {
  /* 色彩 Tokens（全部非纯黑纯白，中性色带品牌色相） */
  --bg-ink: #0e1d18;
  --bg-ink-2: #152721;
  --bg-ink-3: #1c332b;
  --bg-paper: #f6f2e9;
  --bg-paper-2: #ece5d6;
  --bg-paper-3: #e3dac8;
  --brand: #e0703c;
  --brand-deep: #b6532a;
  --brand-soft: #f3cba7;
  --teal: #3f6b5b;
  --teal-deep: #2c4d41;
  --teal-soft: #cddbd2;
  --text-dark: #1d2b25;
  --text-muted-dark: #5c6b63;
  --text-light: #e9e5da;
  --text-muted-light: #9aa79e;
  --line-dark: rgba(233, 229, 218, 0.14);
  --line-light: rgba(29, 43, 37, 0.12);
  --shadow-ink: 0 24px 60px -24px rgba(9, 20, 16, 0.55);
  --shadow-paper: 0 18px 44px -20px rgba(61, 48, 34, 0.28);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  /* 间距（4pt 体系） */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* 圆角 */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-full: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-paper);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }

/* 焦点可见性（键盘可达） */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: var(--r-sm); }

/* ---------- Typography improvements ---------- */
html { font-size: 16px; }
p { max-width: 65ch; margin-top: var(--s4); color: var(--text-muted-dark); }
.lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.6; color: var(--text-dark); }
h1 { font-family: var(--font-serif); font-size: clamp(34px, 5.6vw, 76px); line-height: 1.08; margin-bottom: var(--s4); }
h2 { font-family: var(--font-serif); font-size: clamp(22px, 3.6vw, 44px); line-height: 1.12; margin-bottom: var(--s3); }
h3 { font-family: var(--font-serif); font-size: clamp(18px, 2.6vw, 28px); margin-bottom: var(--s2); }
h4 { font-size: 16px; margin-bottom: var(--s2); }
.sec-sub { max-width: 54ch; color: var(--text-muted-dark); }
.container { width: min(1100px, 92%); }

@media (max-width: 720px) {
  p, .lead { max-width: 100%; }
  h1 { font-size: clamp(28px, 7vw, 40px); }
}

html[lang="zh-HK"], html[lang="zh-TW"] {
  --font-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", sans-serif;
}

html[lang^="en"] {
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

/* ============================================================
   WordPress data and interaction layer
   ============================================================ */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; top: 10px; left: 10px; z-index: 9999; width: auto; height: auto;
  padding: 10px 16px; clip: auto; background: var(--bg-paper); color: var(--text-dark);
}
.nav-links > ul { display: flex; align-items: center; gap: var(--s6); }
.nav-links li { position: relative; }
.nav-links .current-menu-item > a,
.nav-links .current-menu-ancestor > a { color: var(--text-light); }
.nav-links .current-menu-item > a::after,
.nav-links .current-menu-ancestor > a::after { width: 100%; }
.nav-links .sub-menu {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 190px; padding: 10px;
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  background: var(--bg-ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-md);
  box-shadow: var(--shadow-ink); transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .sub-menu a { display: block; padding: 8px 10px; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: 40px; height: 40px; object-fit: contain; }
.footer .custom-logo { width: 48px; height: 48px; }
.footer-title { color: var(--text-light); font-family: var(--font-serif); font-size: 15px; margin-bottom: var(--s4); letter-spacing: .08em; }
.footer .menu { display: grid; gap: 10px; }
.footer a:focus-visible { outline-color: var(--brand-soft); }
.language-switcher { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-dark); border-radius: var(--r-full); }
.language-link { display: grid; place-items: center; min-width: 32px; min-height: 30px; padding: 2px 7px; border-radius: var(--r-full); color: var(--text-muted-light); font-size: 12px; font-weight: 700; line-height: 1; }
.language-link:hover, .language-link:focus-visible { color: var(--text-light); }
.language-link.is-current { background: var(--brand); color: #fff; }

.sec-action { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s4); }
.sec-action .sec-sub { margin: 0; }
.section-more { max-width: none; margin-top: var(--s6); text-align: right; }
.on-dark-link { color: var(--brand-soft); }
.case-thumb { overflow: hidden; }
.case-thumb img, .nf-visual img { width: 100%; height: 100%; object-fit: cover; }
.nf-visual.v3 { background: linear-gradient(135deg, #22323d, #34586b 62%, #3d6c85); }
.case-card h3 a, .news-item h2 a, .nf-body h2 a, .service-item h2 a, .service-item h3 a { color: inherit; }
.news-item h2 { font-family: var(--font-serif); font-size: 18px; line-height: 1.4; margin: 0; }
.page-btn.current { background: var(--bg-ink); border-color: var(--bg-ink); color: var(--text-light); }
.cases .pagination .page-btn { border-color: var(--line-dark); color: var(--text-muted-light); }
.cases .pagination .page-btn.current { background: var(--brand); border-color: var(--brand); color: #fff; }

.archive-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s7); }
.archive-tools .filter-bar { margin-bottom: 0; }
.archive-search { display: flex; gap: var(--s2); align-items: stretch; }
.archive-search input[type="search"] {
  min-height: 46px; width: min(280px, 52vw); padding: 9px 14px; border: 1.5px solid var(--line-light);
  border-radius: var(--r-full); background: var(--bg-paper); color: var(--text-dark); font: inherit;
}
.archive-search input[type="search"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(224,112,60,.16); }
.search-page-form { margin-bottom: var(--s7); }
.on-dark-filter .chip { border-color: var(--line-dark); color: var(--text-muted-light); }
.on-dark-filter .chip:hover { border-color: var(--brand); color: var(--brand-soft); }
.on-dark-filter .chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.form-title, .contact-title { font-size: 26px; margin-bottom: var(--s5); }
.form-submit { width: 100%; margin-top: var(--s2); }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 28px; margin-top: var(--s4); padding: 0; font-size: 14px; }
.form-status.is-success, .form-status.is-error { padding: 10px 14px; border-radius: var(--r-sm); }
.form-status.is-success { color: #1d5c3c; background: #dcebdd; border: 1px solid #b5d5ba; }
.form-status.is-error { color: #8d2d23; background: #f8e4df; border: 1px solid #e4b6aa; }
.map-link { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px dashed var(--line-light); border-radius: var(--r-md); color: var(--brand-deep); font-weight: 600; }
.info-card h3 { font-family: var(--font-serif); font-size: 16px; margin-bottom: 4px; }
.info-card p, .faq-a p { margin-top: 0; }

.narrow-container { width: min(820px, 92%); }
.single-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-top: var(--s4); }
.single-cover { margin: 0 0 var(--s7); overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-paper); }
.single-cover img { width: 100%; height: auto; }
.entry-content { font-size: 16px; }
.entry-content > * + * { margin-top: var(--s5); }
.entry-content h2 { margin-top: var(--s7); font-size: clamp(25px, 3vw, 34px); }
.entry-content h3 { margin-top: var(--s6); font-size: clamp(20px, 2.5vw, 26px); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { padding: var(--s5); border-left: 4px solid var(--brand); background: var(--bg-paper-2); }
.entry-content img { height: auto; border-radius: var(--r-md); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line-light); text-align: left; }
.entry-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line-light); }
.entry-navigation > div:last-child { text-align: right; }
.entry-navigation span { display: block; margin-bottom: 6px; color: var(--text-muted-dark); font-size: 12px; }
.entry-navigation a { color: var(--teal-deep); font-family: var(--font-serif); font-weight: 700; }
.hero-metric { display: inline-flex; gap: var(--s3); align-items: baseline; margin-top: var(--s5); padding: 12px 18px; border: 1px solid var(--line-dark); border-radius: var(--r-md); }
.hero-metric b { color: var(--text-muted-light); font-size: 13px; }
.hero-metric span { color: var(--brand-soft); font-family: var(--font-serif); font-size: 23px; }
.service-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s8); align-items: start; }
.service-summary { position: sticky; top: 96px; padding: var(--s5); background: var(--bg-paper-2); border-radius: var(--r-lg); }
.service-summary h2 { font-size: 24px; }
.service-summary .btn { margin-top: var(--s5); width: 100%; }
.single-action { margin-top: var(--s7); }

.empty-state { padding: var(--s8) var(--s5); text-align: center; border: 1px dashed var(--line-light); border-radius: var(--r-lg); }
.empty-state p { margin: var(--s3) auto var(--s5); }
.on-dark-empty { border-color: var(--line-dark); color: var(--text-light); }
.on-dark-empty p { color: var(--text-muted-light); }
.error-hero { min-height: 62vh; display: grid; align-items: center; }
.error-search { margin-top: var(--s6); }
.error-search input[type="search"] { color: var(--text-light); background: var(--bg-ink-2); border-color: var(--line-dark); }

@media (max-width: 900px) {
  .archive-tools { flex-direction: column; }
  .archive-search { width: 100%; }
  .archive-search input[type="search"] { width: 100%; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-summary { position: static; }
}

@media (max-width: 720px) {
  .nav-inner { position: relative; }
  .nav-links {
    position: absolute; top: 72px; left: -4.35%; right: -4.35%; display: none;
    max-height: calc(100vh - 72px); overflow-y: auto; padding: var(--s4) 4.35% var(--s5);
    background: rgba(14,29,24,.98); border-top: 1px solid var(--line-dark); box-shadow: var(--shadow-ink);
  }
  .nav-open .nav-links { display: block; }
  .nav-links > ul { display: grid; gap: 2px; }
  .nav-links a { display: block; min-height: 48px; padding: 12px 4px; }
  .nav-links .sub-menu { position: static; display: grid; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 var(--s4); background: transparent; border: 0; box-shadow: none; }
  .sec-head { align-items: flex-start; flex-direction: column; }
  .sec-action { align-items: flex-start; }
  .archive-search { flex-wrap: wrap; }
  .archive-search input[type="search"] { min-width: 0; flex: 1 1 180px; }
  .entry-navigation { grid-template-columns: 1fr; }
  .entry-navigation > div:last-child { text-align: left; }
  .nf-meta { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 布局容器 ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding-block: var(--s9); }
.section-tight { padding-block: var(--s7); }

/* ---------- 章节标头 ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s7); }
.sec-no { font-family: var(--font-serif); font-size: 14px; letter-spacing: 0.28em; color: var(--brand); text-transform: uppercase; margin-bottom: var(--s2); }
.sec-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 44px); line-height: 1.22; font-weight: 700; letter-spacing: 0.01em; }
.sec-sub { max-width: 34em; color: var(--text-muted-dark); font-size: 15px; }

/* 深底章节微调 */
.on-dark .sec-title { color: var(--text-light); }
.on-dark .sec-sub { color: var(--text-muted-light); }
.on-dark .sec-no { color: var(--brand-soft); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 10px 26px;
  border-radius: var(--r-full);
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(230, 112, 60, 0.6); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #b9a893; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost { border-color: rgba(233, 229, 218, 0.5); color: var(--text-light); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-soft); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn-dark { background: var(--bg-ink); color: var(--text-light); }
.btn-dark:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-ink); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 29, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: #000;
  border: 1px solid rgba(233, 229, 218, 0.16);
  display: grid; place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.root-nav-bg { }
/* unify nav/logo background and border for exact match */
:root { --nav-bg: rgba(14,29,24,0.88); --nav-border: rgba(255,255,255,0.06); }
.logo-mark { display: inline-block; width: 40px; height: 40px; padding: 0; border-radius: 0; background: transparent; border: none; display: grid; place-items: center; }

header.nav { background: var(--nav-bg); border-bottom: 1px solid rgba(0,0,0,0.06); }
header.nav .nav-inner, header.nav .nav-links a, header.nav .logo-text, header.nav .nav-cta { color: #fff; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text { color: var(--text-light); font-family: var(--font-serif); font-size: 19px; font-weight: 700; letter-spacing: 0.04em; }
.logo-text small { display: block; font-family: var(--font-sans); font-size: 10px; font-weight: 400; letter-spacing: 0.42em; color: var(--text-muted-light); }
.nav-links { display: flex; gap: var(--s6); }
.nav-links a { color: var(--text-muted-light); font-size: 15px; position: relative; padding: 6px 2px; transition: color 0.18s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--text-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text-light); }
.nav-cta { display: flex; align-items: center; gap: var(--s4); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text-light); font-size: 22px; min-height: 44px; min-width: 44px; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-ink); color: var(--text-light); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 380px at 82% 12%, rgba(224, 112, 60, 0.16), transparent 65%),
    radial-gradient(520px 420px at 8% 88%, rgba(63, 107, 91, 0.28), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  pointer-events: none;
}
.hero-inner { position: relative; padding-block: clamp(72px, 10vw, 128px) clamp(56px, 8vw, 96px); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(243, 203, 167, 0.35); color: var(--brand-soft);
  font-size: 13px; letter-spacing: 0.14em; padding: 6px 16px; border-radius: var(--r-full);
  margin-bottom: var(--s5);
}
.hero-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.12; font-weight: 700;
  max-width: 12em; letter-spacing: 0.01em;
}
.hero-title em { font-style: normal; color: var(--brand-soft); position: relative; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.16em;
  background: rgba(224, 112, 60, 0.42); z-index: -1;
}
.hero-lead { margin-top: var(--s5); max-width: 30em; color: var(--text-muted-light); font-size: 17px; }
.hero-actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s4); }

/* 数据条 已移除 */

/* ---------- 服务板块 ---------- */
.services { background: var(--bg-paper); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--text-dark); }
.service-item { padding: var(--s7) var(--s5) var(--s6) 0; border-bottom: 1px solid var(--line-light); }
.service-item + .service-item { padding-left: var(--s5); border-left: 1px solid var(--line-light); }
.service-num { font-family: var(--font-serif); color: var(--brand); font-size: 14px; letter-spacing: 0.24em; }
.service-item h3 { font-family: var(--font-serif); font-size: 24px; margin: var(--s3) 0 var(--s2); }
.service-item p { font-size: 14.5px; color: var(--text-muted-dark); }
.service-feats { margin-top: var(--s4); display: grid; gap: 8px; }
.service-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--text-dark); align-items: baseline; }
.service-feats li::before { content: "—"; color: var(--brand); font-weight: 700; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s5); font-weight: 600; font-size: 14.5px; color: var(--teal-deep); border-bottom: 1px solid transparent; transition: border-color 0.18s ease; }
.service-link:hover { border-color: var(--brand); color: var(--brand-deep); }

/* ---------- 案例 ---------- */
.cases { background: var(--bg-ink); color: var(--text-light); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.case-card { background: var(--bg-ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-md); overflow: hidden; transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-ink); }
.case-thumb { height: 190px; display: grid; place-items: center; font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.2em; color: rgba(233, 229, 218, 0.75); }
.case-thumb.t1 { background: linear-gradient(135deg, #2c4d41, #3f6b5b 62%, #4e7f6b); }
.case-thumb.t2 { background: linear-gradient(135deg, #4a2f1f, #8a4b24 60%, #b6532a); }
.case-thumb.t3 { background: linear-gradient(135deg, #22323d, #34586b 62%, #3d6c85); }
.case-body { padding: var(--s5); }
.case-body .case-cat { font-size: 12px; letter-spacing: 0.18em; color: var(--brand-soft); text-transform: uppercase; }
.case-body h3 { font-family: var(--font-serif); font-size: 20px; margin: 6px 0 10px; color: var(--text-light); }
.case-body p { font-size: 13.5px; color: var(--text-muted-light); }
.case-metrics { margin-top: var(--s4); display: flex; gap: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-dark); }
.case-metrics b { font-family: var(--font-serif); font-size: 20px; color: var(--brand-soft); display: block; }
.case-metrics span { font-size: 12px; color: var(--text-muted-light); }

/* ---------- 流程 ---------- */
.process { background: var(--bg-paper); }
.process-row { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step { position: relative; padding: var(--s5) var(--s4) var(--s5) 0; }
.step + .step { border-left: 1px dashed var(--line-light); padding-left: var(--s5); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-serif); font-size: 13px; letter-spacing: 0.2em; color: var(--brand);
  display: block; margin-bottom: var(--s3);
}
.step h4 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-muted-dark); }

/* ---------- CTA 区 ---------- */
.cta { background: var(--teal-deep); color: var(--text-light); position: relative; overflow: hidden; }
.cta::after {
  content: "OVERSEAS WEB / GOOGLE SEO / GROWTH"; position: absolute; right: -2%; bottom: -8%;
  font-family: var(--font-serif); font-size: clamp(40px, 8vw, 120px); font-weight: 700;
  color: rgba(233, 229, 218, 0.05); white-space: nowrap; letter-spacing: 0.02em; pointer-events: none;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.cta h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 42px); line-height: 1.25; max-width: 16em; }
.cta p { margin-top: var(--s3); color: var(--teal-soft); max-width: 34em; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-ink); color: var(--text-muted-light); padding: var(--s8) 0 var(--s6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--s7); }
.footer h4 { color: var(--text-light); font-family: var(--font-serif); font-size: 15px; margin-bottom: var(--s4); letter-spacing: 0.08em; }
.footer ul { display: grid; gap: 10px; font-size: 14px; }
.footer ul a { transition: color 0.18s ease; }
.footer ul a:hover { color: var(--brand-soft); }
.footer-brand p { font-size: 14px; margin-top: var(--s4); max-width: 30em; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: 13px; }

/* ---------- 内页 Hero ---------- */
.page-hero { background: var(--bg-ink); color: var(--text-light); position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 320px at 88% 20%, rgba(224, 112, 60, 0.16), transparent 66%);
  pointer-events: none;
}
.page-hero .crumbs { font-size: 13px; letter-spacing: 0.12em; color: var(--text-muted-light); margin-bottom: var(--s5); }
.page-hero .crumbs b { color: var(--brand-soft); font-weight: 500; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(34px, 5vw, 60px); line-height: 1.15; }
.page-hero p { margin-top: var(--s4); max-width: 32em; color: var(--text-muted-light); font-size: 16px; }

/* ---------- 公司介绍页 ---------- */
.about-story { background: var(--bg-paper); }
.story-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s8); align-items: start; }
.story-cols .lead { font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; color: var(--text-dark); }
.story-cols .lead em { font-style: normal; color: var(--brand-deep); }
.story-body p { margin-top: var(--s4); color: var(--text-muted-dark); font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s7); }
.value { border-top: 2px solid var(--text-dark); padding-top: var(--s4); }
.value b { font-family: var(--font-serif); font-size: 20px; display: block; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--text-muted-dark); }

/* timeline styles removed */

.team { background: var(--bg-paper); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.member { background: var(--bg-paper-2); border-radius: var(--r-md); padding: var(--s5); text-align: center; transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1); }
.member:hover { transform: translateY(-5px); }
.avatar { width: 84px; height: 84px; margin: 0 auto var(--s4); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-size: 28px; color: #fff; }
.av-1 { background: var(--teal); } .av-2 { background: var(--brand); } .av-3 { background: #5c7a8c; } .av-4 { background: #8c6f4a; }
.member h4 { font-family: var(--font-serif); font-size: 17px; }
.member .role { font-size: 12.5px; color: var(--brand-deep); letter-spacing: 0.1em; margin: 4px 0 10px; }
.member p { font-size: 13px; color: var(--text-muted-dark); }

/* ---------- 新闻页 ---------- */
.news { background: var(--bg-paper); }
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s7); }
.chip {
  min-height: 40px; padding: 6px 20px; border-radius: var(--r-full);
  border: 1px solid var(--line-light); background: transparent; color: var(--text-muted-dark);
  font-size: 14px; transition: all 0.18s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.chip.active { background: var(--bg-ink); border-color: var(--bg-ink); color: var(--text-light); }
.news-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s6); background: var(--bg-ink); color: var(--text-light); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s7); }
.news-feature .nf-visual { min-height: 300px; display: grid; place-items: center; font-family: var(--font-serif); letter-spacing: 0.18em; font-size: 15px; color: rgba(233,229,218,.7); }
.nf-visual.v1 { background: linear-gradient(135deg, #2c4d41, #3f6b5b 64%, #58876f); }
.nf-visual.v2 { background: linear-gradient(135deg, #4a2f1f, #8a4b24 60%, #b6532a); }
.nf-body { padding: var(--s6); display: flex; flex-direction: column; justify-content: center; }
.nf-body .nf-tag { align-self: flex-start; font-size: 12px; letter-spacing: 0.16em; color: var(--brand-soft); border: 1px solid rgba(243,203,167,.4); padding: 4px 12px; border-radius: var(--r-full); }
.nf-body h2 { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 32px); margin: var(--s4) 0 var(--s3); line-height: 1.3; }
.nf-body p { color: var(--text-muted-light); font-size: 14.5px; }
.nf-meta { margin-top: var(--s5); display: flex; gap: var(--s4); font-size: 13px; color: var(--text-muted-light); }
.news-list { display: grid; gap: 0; border-top: 2px solid var(--text-dark); }
.news-item { display: grid; grid-template-columns: 88px 1fr auto; gap: var(--s5); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--line-light); transition: background-color 0.2s ease; }
.news-item:hover { background: var(--bg-paper-2); }
.news-item .nd { font-family: var(--font-serif); font-size: 15px; color: var(--brand-deep); font-weight: 700; }
.news-item .nd small { display: block; font-weight: 400; color: var(--text-muted-dark); font-size: 12px; letter-spacing: 0.1em; }
.news-item h3 { font-family: var(--font-serif); font-size: 18px; line-height: 1.4; transition: color 0.18s ease; }
.news-item:hover h3 { color: var(--brand-deep); }
.news-item .ni-cat { font-size: 12.5px; color: var(--text-muted-light); }
.pagination { display: flex; gap: var(--s2); margin-top: var(--s7); justify-content: center; }
.page-btn { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line-light); background: transparent; font-size: 14.5px; color: var(--text-muted-dark); transition: all 0.18s ease; }
.page-btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.page-btn.active { background: var(--bg-ink); border-color: var(--bg-ink); color: var(--text-light); }
.page-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- 联系页 ---------- */
.contact { background: var(--bg-paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: var(--s6); align-items: start; }
.form-card { background: var(--bg-paper-2); border-radius: var(--r-lg); padding: clamp(18px, 3.2vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: grid; gap: 6px; margin-bottom: var(--s4); }
.field label { font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; }
.field label i { color: var(--brand-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--line-light); border-radius: var(--r-sm);
  background: var(--bg-paper); font-family: inherit; font-size: 15px; color: var(--text-dark);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a49a88; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b3a68e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(224, 112, 60, 0.16); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }
.field .err-msg { display: none; font-size: 12.5px; color: #b23a2b; }
.field.has-error .err-msg { display: block; }
.form-note { font-size: 12.5px; color: var(--text-muted-dark); margin-top: var(--s3); }
.contact-info { display: grid; gap: var(--s5); }
.info-card { display: flex; gap: var(--s4); padding: var(--s5); background: var(--bg-paper-2); border-radius: var(--r-md); }
.info-ico { flex: 0 0 46px; height: 46px; border-radius: var(--r-sm); background: var(--bg-ink); color: var(--brand-soft); display: grid; place-items: center; font-size: 18px; }
.info-card h4 { font-family: var(--font-serif); font-size: 16px; margin-bottom: 4px; }
.info-card p { font-size: 14px; color: var(--text-muted-dark); }

.contact-info .sec-no { margin-top: 0; }
.contact-info .sec-title { margin-bottom: var(--s4); }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .form-row { grid-template-columns: 1fr; }
}
.faq { background: var(--bg-paper-2); }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5) 0; cursor: pointer; font-family: var(--font-serif); font-size: 17px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-sans); font-size: 22px; color: var(--brand); transition: transform 0.24s ease; flex: 0 0 auto; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 var(--s5); color: var(--text-muted-dark); font-size: 14.5px; max-width: 46em; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .service-list { grid-template-columns: 1fr; border-top: 0; }
  .service-item + .service-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .service-item { padding: var(--s5) 0; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .step + .step { border-left: 0; padding-left: 0; }
  .story-cols, .contact-grid, .news-feature { grid-template-columns: 1fr; gap: var(--s6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .language-switcher { margin-left: auto; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .case-grid, .team-grid, .values { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 70px 1fr; }
  .news-item .ni-cat { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Final cascade corrections for rules layered onto the prototype stylesheet. */
.narrow-container { width: min(820px, 92%); }
.cases .case-card.news { background: var(--bg-ink-2); }
.service-link.on-dark-link { color: var(--brand-soft); }
@media (max-width: 720px) {
  .sec-head { align-items: flex-start; flex-direction: column; }
}
