/*
Theme Name: 妙飞销能 MFXN
Theme URI: https://www.mfxn.com/
Author: MFXN Consulting
Author URI: https://www.mfxn.com/
Description: 妙飞营销能量搭档企业咨询主题：深蓝 × 金配色、衬线大标题、自适应布局与滚动动效。内置首页 / 关于我们 / 联系我们页面模板，妙飞专栏与文章详情为动态内容，头部尾部全站共用。
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mfxn
Tags: business, consulting, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   妙飞销能 MFXN — 企业战略咨询主题
   Design System: tokens / base / layout / components / pages
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@500;600;700;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* brand */
  --navy-950: #071322;
  --navy-900: #0b1d36;
  --navy-800: #102944;
  --navy-700: #1b3a5c;
  --navy-600: #2a4d72;
  --gold-600: #a8884f;
  --gold-500: #bd9d68;
  --gold-400: #cdb283;
  --gold-300: #ddc89d;

  /* neutrals */
  --white: #ffffff;
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --ink: #1b2530;
  --ink-2: #38434f;
  --muted: #697586;
  --muted-light: #9aa3af;
  --line: #e2ded3;
  --line-soft: #ece9e0;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-dark-2: rgba(255, 255, 255, 0.22);

  /* type */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 2px;
  --radius-lg: 4px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(11, 29, 54, 0.05);
  --shadow-md: 0 18px 48px -24px rgba(11, 29, 54, 0.22);
  --shadow-lg: 0 40px 90px -40px rgba(7, 19, 34, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--gold-500); color: var(--navy-950); }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--font-serif); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow.on-dark { color: var(--gold-400); }
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--navy-900);
}
.on-dark .section-title,
.section-title.on-dark { color: var(--white); }
.lead { font-size: 16px; color: var(--muted); line-height: 1.95; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,.78); }
.section--navy-950 { background: var(--navy-950); color: rgba(255,255,255,.78); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head__main { max-width: 720px; display: grid; gap: 18px; }
.section-head--center { text-align: center; flex-direction: column; align-items: center; }
.section-head--center .eyebrow::after {
  content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.btn--gold:hover { background: var(--gold-400); border-color: var(--gold-400); }
.btn--outline-light { border-color: var(--line-dark-2); color: var(--white); }
.btn--outline-light:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn--outline-dark { border-color: rgba(11,29,54,.3); color: var(--navy-900); }
.btn--outline-dark:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.btn--lg { padding: 18px 40px; font-size: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--gold-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.on-dark .link-arrow { color: var(--gold-400); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.header--transparent .nav-link,
.header--transparent .logo,
.header--transparent .header-phone { color: #fff; }
.header--transparent .header-phone { border-color: var(--line-dark-2); }
.header--transparent .nav-toggle span { background: #fff; }

.header--solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.header--solid .nav-link,
.header--solid .logo,
.header--solid .header-phone { color: var(--navy-900); }
.header--solid .header-phone { border-color: rgba(11,29,54,.25); }
.header--solid .nav-toggle span { background: var(--navy-900); }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.logo__mark {
  width: 34px; height: 34px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  position: relative;
  flex: none;
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold-500);
  opacity: .55;
}
.logo__txt { display: grid; line-height: 1.2; }
.logo__cn {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .12em;
}
.logo__en {
  font-size: 9.5px;
  letter-spacing: .38em;
  opacity: .65;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  position: relative;
  font-size: 14px;
  letter-spacing: .14em;
  color: #fff;
  padding-block: 6px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--gold-500); }
.header--solid .nav-link.is-active { color: var(--gold-600); }
.header--transparent .nav-link.is-active { color: var(--gold-400); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
}
.header-phone svg { width: 15px; height: 15px; color: var(--gold-400); }
.header-phone:hover { border-color: var(--gold-400); color: var(--gold-400); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--gutter) 40px;
  overflow-y: auto; /* 矮屏/横屏时允许滚动，避免菜单项被固定头部遮挡 */
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-serif);
  font-size: 26px;
  color: #fff;
  letter-spacing: .08em;
}
.mobile-menu__link small {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold-400);
}
.mobile-menu__foot { margin-top: 40px; display: grid; gap: 10px; color: rgba(255,255,255,.6); font-size: 14px; }
.mobile-menu__foot a:hover { color: var(--gold-400); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(42,77,114,.65), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(189,157,104,.12), transparent 55%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 70%);
  color: #fff;
  overflow: hidden;
}
.hero::before { /* fine grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(120% 90% at 80% 20%, #000 0%, transparent 75%);
}
.hero__art {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .9;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 140px;
  width: 100%;
}
.hero__content { max-width: 760px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .4em;
  color: var(--gold-400);
  margin-bottom: 30px;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold-400); }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.28;
  letter-spacing: .02em;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--gold-300);
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: var(--gold-500);
  opacity: .5;
}
.hero__sub {
  margin-top: 30px;
  max-width: 560px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2;
  color: rgba(255,255,255,.72);
}
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 44px;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero__stat {
  padding: 24px 8px 4px;
}
.hero__stat + .hero__stat { border-left: 1px solid var(--line-dark); padding-left: 32px; }
.hero__stat b {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.hero__stat b i { font-style: normal; color: var(--gold-400); }
.hero__stat span { font-size: 12.5px; letter-spacing: .18em; color: rgba(255,255,255,.55); }

/* ============================================================
   INTRO / SPLIT
   ============================================================ */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro__aside { display: grid; gap: 22px; }
.intro__main { font-size: 17px; line-height: 2.1; color: var(--ink-2); display: grid; gap: 24px; }
.intro__main p:first-child::first-letter {
  font-family: var(--font-serif);
  font-size: 3.2em;
  float: left;
  line-height: .9;
  padding: 6px 14px 0 0;
  color: var(--gold-600);
}

.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse { grid-template-columns: 6fr 5fr; }
.split__art {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.split__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.split__body { display: grid; gap: 22px; }
.split__body p { color: var(--ink-2); line-height: 2; }

/* framed index card inside dark sections */
.visual-frame {
  position: relative;
  aspect-ratio: 4/3.6;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
.visual-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual-frame::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid var(--line-dark);
  pointer-events: none;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  position: relative;
  padding: 44px 38px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: grid;
  align-content: start;
  gap: 16px;
  transition: background .4s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover { background: var(--navy-900); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-card__num { color: rgba(255,255,255,.35); }
.service-card:hover .service-card__icon { border-color: var(--gold-400); color: var(--gold-400); }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.66); }
.service-card__head { display: flex; align-items: center; justify-content: space-between; }
.service-card__num {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--muted-light);
  transition: color .4s;
}
.service-card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-600);
  transition: all .4s var(--ease);
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: .04em;
  transition: color .4s;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
  transition: color .4s;
}

/* ============================================================
   PARTNER DEFINITION (dark)
   ============================================================ */
.partner-section .container { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.partner-section .section-title { margin-bottom: 24px; }
.partner-section p { color: rgba(255,255,255,.68); line-height: 2.1; }
.definition { border-top: 1px solid var(--line-dark); }
.definition li {
  display: grid;
  grid-template-columns: 56px 130px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-dark);
}
.definition b {
  font-family: var(--font-serif);
  color: var(--gold-400);
  font-size: 14px;
  letter-spacing: .1em;
  font-weight: 600;
}
.definition h4 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
}
.definition span { font-size: 14.5px; color: rgba(255,255,255,.6); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 90px); align-items: center; }
.testimonial__copy { display: grid; gap: 22px; align-content: start; }
.testimonial__copy p { color: var(--ink-2); line-height: 2.05; font-size: 15.5px; }
.testimonial__quote {
  position: relative;
  border-left: 2px solid var(--gold-500);
  padding-left: clamp(28px, 3vw, 44px);
}
.testimonial__quote .mark {
  font-family: var(--font-serif);
  font-size: 90px;
  line-height: .4;
  color: var(--gold-500);
  opacity: .5;
  display: block;
  height: 34px;
}
.testimonial__quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy-900);
}
.testimonial__quote p { margin-top: 22px; font-size: 14.5px; color: var(--muted); line-height: 2; }
.testimonial__author { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 17px;
}
.testimonial__author b { display: block; font-size: 15px; color: var(--navy-900); }
.testimonial__author span { font-size: 13px; color: var(--muted); letter-spacing: .08em; }

/* ============================================================
   ARTICLE LIST (shared)
   ============================================================ */
.article-list { border-top: 1px solid var(--line); }
.article-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.article-row:hover { background: var(--paper); padding-left: 20px; }
.article-row__no {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--muted-light);
  letter-spacing: .1em;
}
.article-row__body h3 {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.55;
  transition: color .3s;
}
.article-row:hover h3 { color: var(--gold-600); }
.article-row__body p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-row__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}
.article-row__more svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.article-row:hover .article-row__more { color: var(--gold-600); }
.article-row:hover .article-row__more svg { transform: translateX(5px); }

.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold-600);
  border: 1px solid rgba(168,136,79,.4);
  padding: 3px 10px;
  margin-bottom: 12px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(189,157,104,.16), transparent 60%),
    var(--navy-950);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 64px;
  background: linear-gradient(var(--gold-500), transparent);
  transform: translateX(-50%);
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: .02em;
}
.cta-band p {
  max-width: 620px;
  margin: 20px auto 38px;
  color: rgba(255,255,255,.66);
  line-height: 2;
}
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.62);
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.3fr 1.5fr;
  gap: clamp(32px, 4vw, 60px);
  padding-block: 72px 56px;
}
.footer-grid h4 {
  font-size: 12px;
  letter-spacing: .3em;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-grid li { margin-bottom: 12px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand .logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 2; max-width: 300px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; color: var(--gold-400); margin-top: 6px; flex: none; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,.42);
}
.footer-bottom a:hover { color: var(--gold-400); }
.footer-friends { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-friends span { letter-spacing: .15em; }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(42,77,114,.7), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: 180px 0 90px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(90% 120% at 80% 0%, #000, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  margin: 22px 0 20px;
  letter-spacing: .03em;
}
.page-hero__lead { max-width: 640px; color: rgba(255,255,255,.7); line-height: 2; font-size: 15.5px; }
.breadcrumb { font-size: 12.5px; letter-spacing: .2em; color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { color: var(--gold-400); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.focus-item {
  background: #fff;
  padding: 34px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background .35s var(--ease);
}
.focus-item:hover { background: var(--paper); }
.focus-item .service-card__icon { width: 42px; height: 42px; flex: none; }
.focus-item h4 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--navy-900); letter-spacing: .05em; }
.focus-item small { display: block; font-size: 11px; letter-spacing: .25em; color: var(--muted-light); margin-top: 2px; }

/* framework timeline */
.framework { background: var(--navy-950); }
.framework .section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 27px; left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-2) 8%, var(--line-dark-2) 92%, transparent);
}
.timeline__step { padding: 0 14px; text-align: center; position: relative; }
.timeline__dot {
  width: 54px; height: 54px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-2);
  background: var(--navy-950);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  color: var(--gold-400);
  font-size: 15px;
  letter-spacing: .05em;
  position: relative;
  transition: all .4s var(--ease);
}
.timeline__step:hover .timeline__dot {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 6px rgba(189,157,104,.12);
}
.timeline__step h4 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.timeline__step p { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,.52); min-height: 3.8em; }

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */
.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.featured-post__art {
  position: relative;
  min-height: 340px;
  background: var(--navy-900);
  overflow: hidden;
}
.featured-post__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured-post__body { padding: clamp(32px, 4vw, 56px); display: grid; align-content: center; gap: 18px; }
.featured-post__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-900);
}
.featured-post__body p { color: var(--muted); font-size: 14.5px; line-height: 2; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all .3s var(--ease);
}
.pagination a:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.pagination .current { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); }
.pagination .gap { border-color: transparent; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.process-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: #fff; }
.process-item { padding: 36px 34px; position: relative; }
.process-item + .process-item { border-left: 1px solid var(--line); }
.process-item b {
  font-family: var(--font-serif);
  color: var(--gold-600);
  font-size: 13px;
  letter-spacing: .25em;
}
.process-item h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy-900);
  margin: 12px 0 10px;
  font-weight: 600;
}
.process-item p { font-size: 14px; color: var(--muted); line-height: 1.9; }

.contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(32px, 4vw, 52px); }
.form-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 6px;
}
.form-card > p { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.form-row { display: grid; gap: 22px; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field label em { color: var(--gold-600); font-style: normal; }
.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 2px;
  font-size: 15px;
  transition: border-color .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy-900); }
.form-card .btn { margin-top: 30px; width: 100%; }
.form-note { margin-top: 16px; font-size: 13px; text-align: center; min-height: 20px; }
.form-note.ok { color: #2f7d57; }
.form-note.err { color: #b0403a; }

.contact-info { display: grid; gap: 14px; }
.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 8px;
}
.info-block {
  border: 1px solid var(--line);
  background: #fff;
  padding: 26px 28px;
  display: grid;
  gap: 18px;
}
.info-line { display: flex; gap: 14px; align-items: flex-start; }
.info-line .ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-600);
}
.info-line .ico svg { width: 18px; height: 18px; }
.info-line b { display: block; font-size: 12px; letter-spacing: .2em; color: var(--muted); margin-bottom: 2px; }
.info-line span, .info-line a { font-size: 15px; color: var(--navy-900); }
.info-line a:hover { color: var(--gold-600); }
.call-block {
  background: var(--navy-900);
  color: #fff;
  padding: 30px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.call-block small { font-size: 11px; letter-spacing: .3em; color: var(--gold-400); display: block; margin-bottom: 6px; }
.call-block a {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 28px);
  color: #fff;
  letter-spacing: .04em;
}
.call-block a:hover { color: var(--gold-400); }
.call-block .ico {
  width: 52px; height: 52px;
  border: 1px solid var(--line-dark-2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-400);
}
.call-block .ico svg { width: 22px; height: 22px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: block; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .partner-section .container,
  .testimonial,
  .intro,
  .split,
  .split--reverse,
  .contact-layout { grid-template-columns: 1fr; }
  .split__art, .visual-frame { max-width: 620px; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .timeline::before { display: none; }
  .timeline__step p { min-height: 0; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__art { min-height: 260px; }
}

@media (max-width: 720px) {
  .site-header .container { height: 66px; }

  /* 修复移动端 hero 重叠：统计条从绝对定位改为文档流，
     避免小屏下压住 hero 正文（原 padding-bottom 预留高度不足） */
  .hero { flex-direction: column; justify-content: center; }
  .hero__inner { padding-top: 118px; padding-bottom: 48px; }
  .hero__stats {
    position: static;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 var(--gutter) 40px;
    grid-template-columns: 1fr;
  }
  .hero__stat { padding: 12px 0 !important; border-left: none !important; }
  .hero__stat + .hero__stat { border-top: 1px solid var(--line-dark); }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .process-strip { grid-template-columns: 1fr; }
  .process-item + .process-item { border-left: none; border-top: 1px solid var(--line); }

  .definition li { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
  .definition h4 { font-size: 17px; }

  .article-row { grid-template-columns: 1fr; gap: 10px; }
  .article-row__no { order: 1; }
  .article-row__body { order: 2; }
  .article-row__more { order: 3; justify-self: start; }

  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline__step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0 20px;
    text-align: left;
    padding: 0 0 28px;
  }
  .timeline__dot { grid-row: span 2; margin: 0; }
  .timeline__step h4 { margin: 6px 0 4px; }
  .timeline__step::after {
    content: "";
    position: absolute;
    left: 27px; top: 54px; bottom: -2px;
    width: 1px;
    background: var(--line-dark-2);
  }
  .timeline__step:last-child::after { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 56px 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .page-hero { padding: 140px 0 64px; }
  .call-block { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .focus-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================================
   WordPress 动态内容适配（由主题追加，请勿删除）
   ============================================================ */

/* --- 文章 / 页面正文排版 --- */
.post-single { max-width: 780px; margin: 0 auto; }
.post-single .post-thumbnail img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 36px; display: block; }
.post-content { font-size: 16.5px; line-height: 2.1; color: var(--ink-2); }
.post-content > * { margin: 0 0 1.2em; }
.post-content h2, .post-content h3, .post-content h4 {
  font-family: var(--font-serif); color: var(--navy-900); line-height: 1.5; margin: 1.8em 0 .7em;
}
.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 21px; }
.post-content h4 { font-size: 18px; }
.post-content a { color: var(--gold-500); }
.post-content a:hover { color: var(--gold-400); }
.post-content blockquote {
  margin: 1.6em 0; padding: 18px 26px; border-left: 3px solid var(--gold-500);
  background: var(--paper); color: var(--navy-900);
  font-family: var(--font-serif); font-size: 17px;
}
.post-content ul, .post-content ol { padding-left: 1.6em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content img { max-width: 100%; height: auto; }
.post-content figcaption, .wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }
.post-content table { width: 100%; border-collapse: collapse; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14.5px; }
.post-pages a { color: var(--gold-500); }

/* --- 文章页上一篇 / 下一篇与返回 --- */
.post-nav {
  max-width: 780px; margin: 52px auto 0; padding-top: 30px; border-top: 1px solid var(--line);
  display: grid; gap: 12px;
}
.post-nav a { font-size: 15px; color: var(--navy-900); transition: color .3s var(--ease); }
.post-nav a:hover { color: var(--gold-500); }
.post-nav .post-nav-next { text-align: right; }
.post-back { max-width: 780px; margin: 40px auto 0; display: flex; justify-content: center; }

/* --- WordPress 分页适配（the_posts_pagination 输出结构） --- */
nav.pagination { display: flex; justify-content: center; margin-top: 56px; }
nav.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
nav.pagination .page-numbers {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  transition: all .3s var(--ease);
}
nav.pagination a.page-numbers:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
nav.pagination .page-numbers.current { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); }
nav.pagination .page-numbers.prev, nav.pagination .page-numbers.next { padding: 0 18px; }

/* --- 头条特色图与页脚菜单适配 --- */
.featured-post__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-grid ul.menu { list-style: none; margin: 0; padding: 0; }
