/* ==========================================================
   财律值控股（广州）有限公司 · 官网样式
   主色：深咖棕 + 香槟金，延续宣传册视觉
   ========================================================== */
:root {
  --brown-950: #1f120d;
  --brown-900: #2b1912;
  --brown-800: #3a2219;
  --brown-700: #4d2f23;
  --brown-600: #6b4434;
  --gold: #c9975a;
  --gold-light: #e4bf86;
  --gold-dark: #a47538;
  --cream: #f8f3ec;
  --cream-2: #efe6da;
  --ink: #2b211c;
  --muted: #7d6c61;
  --line: rgba(201, 151, 90, .18);
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(43, 25, 18, .35);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* ---------- 通用组件 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); letter-spacing: .18em; text-transform: uppercase;
  font-size: 13px; color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.stars { color: var(--gold); letter-spacing: 4px; font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .3s ease;
  font-family: var(--sans);
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: var(--brown-900); box-shadow: 0 10px 26px -10px rgba(201,151,90,.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(201,151,90,.85); }
.btn-ghost { border-color: rgba(228,191,134,.5); color: var(--gold-light); }
.btn-ghost:hover { background: rgba(228,191,134,.1); border-color: var(--gold-light); }
.btn svg { width: 18px; height: 18px; }

.tag {
  display: inline-block; background: var(--brown-800); color: #fff;
  font-family: var(--serif); padding: 4px 14px; font-size: 17px; letter-spacing: .04em;
}

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 18px 0;
}
.header.scrolled { background: rgba(43, 25, 18, .94); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.5); padding: 10px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--gold-light); }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 24px; letter-spacing: .12em; line-height: 1.1; }
.brand-text span { display: block; font-size: 12px; letter-spacing: .2em; color: rgba(228,191,134,.8); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: rgba(255,255,255,.82); font-size: 15px; position: relative; padding: 6px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.nav a:hover, .nav a.active { color: var(--gold-light); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 10px 22px; font-size: 14px; color: var(--brown-900); }
.nav .btn::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 8px; width: 24px; height: 2px; background: var(--gold-light); transition: .3s; content: "";
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(1000px 600px at 78% 40%, rgba(201,151,90,.22), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(107,68,52,.5), transparent 60%),
    linear-gradient(160deg, var(--brown-950), var(--brown-800));
  color: #fff; overflow: hidden; padding: 140px 0 100px;
}
.hero::before { /* 宣传册中的竖向细线网格 */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(0deg, rgba(201,151,90,.08) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { color: var(--gold-light); }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); margin: 22px 0 10px; letter-spacing: .04em; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); color: var(--gold-light); letter-spacing: .1em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-sub .stars { font-size: 12px; }
.hero-desc { margin-top: 22px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-pillars { display: flex; gap: 28px; margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-pillars div { font-family: var(--serif); color: rgba(255,255,255,.85); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.hero-pillars i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); display: inline-block; }

.hero-visual { position: relative; aspect-ratio: 1 / .9; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.hero-visual .bar { transform-origin: bottom; transform-box: fill-box; animation: grow 1.4s cubic-bezier(.2,.8,.2,1) both; }
.hero-visual .curve { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.2s .6s ease forwards; }
.hero-visual .arrow-head { opacity: 0; animation: fadeIn .4s 2.6s forwards; }
.hero-visual .float { animation: floaty 6s ease-in-out infinite; }
.hero-card {
  position: absolute; background: rgba(43,25,18,.72); border: 1px solid rgba(228,191,134,.3);
  backdrop-filter: blur(8px); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow);
  animation: floaty 7s ease-in-out infinite;
}
.hero-card b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold-light); line-height: 1.2; }
.hero-card small { color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .08em; }
.hero-card.c1 { top: 6%; left: -2%; }
.hero-card.c2 { bottom: 8%; right: -2%; animation-delay: -3s; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: rgba(228,191,134,.7); font-size: 12px; letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: pulse 2s infinite; }

@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- 数据条 ---------- */
.stats { background: var(--brown-900); color: #fff; border-top: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat { padding: 40px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--gold-light); font-weight: 600; }
.stat b sup { font-size: .5em; margin-left: 2px; vertical-align: super; }
.stat span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .08em; }

/* ---------- 困境与解法 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pain-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .4s ease, box-shadow .4s ease; display: flex; flex-direction: column;
}
.pain-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -22px rgba(43,25,18,.45); }
.pain-visual { height: 170px; position: relative; background: linear-gradient(135deg, var(--brown-800), var(--brown-600)); display: grid; place-items: center; overflow: hidden; }
.pain-visual svg { width: 120px; height: 120px; color: var(--gold-light); position: relative; z-index: 1; }
.pain-visual::after { content: attr(data-no); position: absolute; right: 18px; bottom: -18px; font-family: var(--serif); font-size: 110px; color: rgba(228,191,134,.1); line-height: 1; }
.pain-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.pain-q { font-family: var(--serif); font-size: 19px; color: #fff; background: var(--brown-800); padding: 8px 16px; align-self: flex-start; }
.pain-label { margin-top: 22px; font-size: 13px; color: var(--gold-dark); letter-spacing: .14em; font-weight: 600; }
.pain-a { margin-top: 8px; color: var(--muted); font-size: 15px; }
.pain-a strong { color: var(--brown-700); }

/* ---------- 关于我们 ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); background: linear-gradient(180deg, #1a1411, #3a2a22 70%, #5b4235); }
.about-visual img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; object-position: 50% 40%; display: block; }
.about-badge { position: absolute; left: 24px; bottom: 24px; background: rgba(43,25,18,.85); border: 1px solid rgba(228,191,134,.35); color: #fff; padding: 16px 22px; border-radius: 10px; backdrop-filter: blur(6px); }
.about-badge b { font-family: var(--serif); font-size: 30px; color: var(--gold-light); display: block; line-height: 1.1; }
.about-badge small { font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.75); }
.about-text p.lead { font-size: 17px; color: var(--muted); margin-top: 18px; }
.about-list { margin-top: 30px; display: grid; gap: 16px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; background: var(--cream); border-left: 4px solid var(--brown-800); border-radius: 0 10px 10px 0; transition: background .3s, transform .3s; }
.about-list li:hover { background: var(--cream-2); transform: translateX(4px); }
.about-list b { font-family: var(--serif); color: var(--brown-800); min-width: 92px; font-size: 16px; }
.about-list span { color: var(--muted); font-size: 15px; }

/* ---------- 核心服务 ---------- */
.services { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 40px 32px 36px;
  border: 1px solid rgba(58,34,25,.08); transition: all .4s ease; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--brown-800), var(--brown-950)); opacity: 0; transition: opacity .4s; }
.service-card > * { position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card:hover h3, .service-card:hover .service-en { color: var(--gold-light); }
.service-card:hover p, .service-card:hover li { color: rgba(255,255,255,.78); }
.service-card:hover li { border-color: rgba(228,191,134,.25); }
.service-card:hover .service-icon { background: var(--gold); color: var(--brown-900); }
.service-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--brown-800); color: var(--gold-light); display: grid; place-items: center; transition: .4s; }
.service-icon svg { width: 30px; height: 30px; }
.service-no { position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-size: 52px; color: rgba(201,151,90,.2); line-height: 1; }
.service-card h3 { font-size: 26px; margin-top: 26px; color: var(--brown-800); transition: color .4s; }
.service-en { font-size: 12px; letter-spacing: .2em; color: var(--gold-dark); text-transform: uppercase; margin-top: 4px; transition: color .4s; }
.service-card p { margin-top: 16px; color: var(--muted); font-size: 15px; transition: color .4s; }
.service-card ul { margin-top: 22px; display: grid; gap: 0; }
.service-card li { padding: 11px 0; border-top: 1px dashed rgba(58,34,25,.15); font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 10px; transition: color .4s, border-color .4s; }
.service-card li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* ---------- 四大理由 ---------- */
.why { background: var(--brown-900); color: #fff; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 160px 100%; opacity: .6; pointer-events: none; }
.why .container { position: relative; }
.why .eyebrow { color: var(--gold-light); }
.why .section-head p { color: rgba(255,255,255,.65); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.why-item { display: flex; gap: 24px; padding: 32px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: all .35s ease; }
.why-item:hover { background: rgba(201,151,90,.08); border-color: rgba(228,191,134,.45); transform: translateY(-4px); }
.why-icon { flex: none; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: var(--brown-900); display: grid; place-items: center; }
.why-icon svg { width: 34px; height: 34px; }
.why-item h3 { display: inline-block; font-size: 20px; color: var(--brown-900); background: var(--gold-light); padding: 3px 14px; }
.why-item p { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 15px; }

/* ---------- 理念 ---------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mission-text blockquote { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.7; color: var(--brown-800); position: relative; padding-left: 28px; border-left: 3px solid var(--gold); }
.mission-text p { margin-top: 22px; color: var(--muted); }
.triad { position: relative; width: min(460px, 100%); aspect-ratio: 1 / .92; margin-inline: auto; }
.triad svg { width: 100%; height: 100%; overflow: visible; }
.triad .tri { transition: transform .4s ease; transform-box: fill-box; transform-origin: center; cursor: default; }
.triad .tri:hover { transform: scale(1.06); }
.triad text { font-family: var(--serif); font-weight: 600; }

/* ---------- 联系我们 ---------- */
.contact { background: linear-gradient(160deg, var(--brown-950), var(--brown-800)); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 120px 100%; pointer-events: none; }
.contact .container { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact .eyebrow { color: var(--gold-light); }
.contact h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; color: var(--gold-light); }
.contact-company { margin-top: 18px; font-family: var(--serif); font-size: 20px; color: rgba(255,255,255,.92); }
.contact-company small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: .1em; color: var(--gold); margin-top: 4px; }
.contact-info { margin-top: 34px; display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,.82); }
.contact-info .ci { width: 42px; height: 42px; border-radius: 50%; background: rgba(228,191,134,.12); border: 1px solid rgba(228,191,134,.35); display: grid; place-items: center; color: var(--gold-light); flex: none; }
.contact-info .ci svg { width: 20px; height: 20px; }
.qr-wrap { margin-top: 36px; display: flex; gap: 22px; align-items: center; }
.qr { width: 132px; height: 132px; background: #fff; border-radius: 10px; padding: 10px; flex: none; }
.qr img, .qr svg { width: 100%; height: 100%; }
.qr-wrap p { font-family: var(--serif); font-size: 22px; color: var(--gold-light); display: flex; align-items: center; gap: 10px; }
.qr-wrap p::before { content: "‹"; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--brown-900); display: grid; place-items: center; font-size: 26px; line-height: 1; padding-bottom: 4px; }
.qr-wrap small { display: block; color: rgba(255,255,255,.6); font-size: 13px; margin-top: 6px; }

.form { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 40px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.form h3 { font-size: 24px; color: var(--brown-800); }
.form > p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--brown-700); }
.field label i { color: #c0553a; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid rgba(58,34,25,.18); border-radius: 10px;
  background: #fff; color: var(--ink); transition: border-color .25s, box-shadow .25s; outline: none; width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,151,90,.18); }
.field.error input, .field.error select { border-color: #c0553a; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { display: none; }
.chip span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(58,34,25,.2); font-size: 14px; cursor: pointer; transition: .25s; background: #fff; }
.chip input:checked + span { background: var(--brown-800); color: var(--gold-light); border-color: var(--brown-800); }
.form .btn { margin-top: 26px; width: 100%; justify-content: center; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- 页脚 ---------- */
.footer { background: var(--brown-950); color: rgba(255,255,255,.6); padding: 56px 0 30px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-slogan { font-family: var(--serif); color: var(--gold); letter-spacing: .2em; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }

/* ---------- 回到顶部 & 提示 ---------- */
.to-top { position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--brown-900); cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: .35s; z-index: 90; display: grid; place-items: center; }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.toast { position: fixed; left: 50%; top: 100px; transform: translate(-50%, -20px); background: var(--brown-800); color: var(--gold-light); padding: 14px 26px; border-radius: 999px; border: 1px solid rgba(228,191,134,.4); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .4s; z-index: 200; font-size: 15px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-visual .curve { stroke-dashoffset: 0; }
  .hero-visual .arrow-head { opacity: 1; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero .container, .about-grid, .mission-grid, .contact .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .stats .container { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .pain-grid, .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw); flex-direction: column; align-items: flex-start;
    background: var(--brown-900); padding: 100px 34px 40px; gap: 22px; transform: translateX(100%); transition: transform .4s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,.4);
  }
  .nav-open .nav { transform: none; }
  .nav-toggle { z-index: 110; }
  .nav a { font-size: 17px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .pain-grid, .service-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .form { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .why-item { flex-direction: column; gap: 18px; padding: 26px; }
  .brand-text strong { font-size: 20px; }
  .qr-wrap { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   二维码预留位（视频号 / 公众号 / 微信咨询）
   ========================================================== */
.qr-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 480px; }
.qr-slot { margin: 0; text-align: center; }
.qr-box {
  position: relative; aspect-ratio: 1; background: #fff; border-radius: 12px; padding: 8px;
  box-shadow: 0 12px 26px -14px rgba(0,0,0,.6); overflow: hidden;
}
.qr-box img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-ph {
  position: absolute; inset: 8px; border: 2px dashed rgba(164,117,56,.55); border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--gold-dark); font-size: 12px; line-height: 1.4; background: repeating-linear-gradient(45deg, #fbf6ef 0 8px, #f4ebdf 8px 16px);
}
.qr-ph svg { width: 28px; height: 28px; }
.qr-slot figcaption { margin-top: 10px; font-family: var(--serif); font-size: 15px; color: var(--gold-light); letter-spacing: .06em; }
.qr-tip { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.55); }
.contact-info a { color: rgba(255,255,255,.88); }
.contact-info a:hover { color: var(--gold-light); }

/* ---------- 手机端底部快捷栏 ---------- */
.mbar { display: none; }
.qr-modal {
  position: fixed; inset: 0; z-index: 300; background: rgba(15,9,6,.72); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.qr-modal.show { opacity: 1; pointer-events: auto; }
.qr-modal-card { position: relative; width: min(320px, 100%); background: var(--cream); border-radius: 18px; padding: 30px 26px 24px; text-align: center; transform: translateY(20px); transition: transform .3s; }
.qr-modal.show .qr-modal-card { transform: none; }
.qr-modal-card h3 { color: var(--brown-800); font-size: 20px; margin-bottom: 18px; }
.qr-modal-card .qr-box.big { width: 200px; margin-inline: auto; box-shadow: 0 0 0 1px rgba(58,34,25,.1); }
.qr-modal-card p { margin-top: 16px; font-size: 13px; color: var(--muted); }
.qr-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; color: var(--muted); cursor: pointer; line-height: 1; }

/* ==========================================================
   手机端优先优化（≤ 860px）
   ========================================================== */
@media (max-width: 860px) {
  html { scroll-padding-top: 64px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .header { padding: 12px 0; background: rgba(43,25,18,.92); backdrop-filter: blur(10px); }
  .header.scrolled { padding: 8px 0; }
  .brand-logo { width: 38px; height: 38px; }
  .container { width: calc(100% - 36px); }

  .hero { min-height: auto; padding: 108px 0 56px; }
  .hero .container { gap: 36px; }
  .hero h1 { font-size: 36px; margin-top: 16px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { flex: 1; justify-content: center; padding: 13px 18px; }
  .hero-pillars { margin-top: 32px; gap: 16px 22px; }
  .hero-visual { max-width: 400px; }
  .scroll-hint { display: none; }

  .stat { padding: 24px 10px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 28px; }
  .pain-visual { height: 130px; }
  .pain-visual svg { width: 90px; height: 90px; }
  .pain-body { padding: 22px 20px 26px; }
  .pain-q { font-size: 17px; }
  .about-list li { flex-direction: column; gap: 2px; padding: 14px 16px; }
  .service-card { padding: 30px 24px 28px; }
  .service-card h3 { font-size: 22px; }
  .mission-text blockquote { font-size: 20px; padding-left: 18px; }
  .contact h2 { font-size: 28px; }
  .qr-grid { gap: 12px; max-width: none; }
  .qr-slot figcaption { font-size: 13px; }
  .footer { padding: 40px 0 24px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 14px 22px; }

  .to-top { bottom: calc(80px + env(safe-area-inset-bottom)); right: 16px; width: 42px; height: 42px; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(31,18,13,.97); border-top: 1px solid rgba(228,191,134,.25);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mbar-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: var(--gold-light); font-size: 12px; background: none; border: 0; font-family: var(--sans); cursor: pointer; padding: 4px 0;
  }
  .mbar-item svg { width: 22px; height: 22px; }
  .mbar-main { flex-direction: row; gap: 6px; font-size: 15px; font-weight: 600; border-radius: 999px; color: var(--brown-900); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
  .mbar-main svg { width: 18px; height: 18px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 31px; }
  .stat b { font-size: 26px; }
  .qr-ph { font-size: 11px; }
}

/* ---------- 财税观察（公众号 / 视频号）：横向滑动列表 ---------- */
.media-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.media-head .section-head { margin-bottom: 0; }
.media-nav { display: flex; gap: 10px; flex: none; }
.media-nav[hidden] { display: none; }
.media-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(164,117,56,.45); background: #fff; color: var(--gold-dark); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, opacity .3s, border-color .3s; }
.media-arrow svg { width: 18px; height: 18px; }
.media-arrow.prev svg { transform: rotate(180deg); }
.media-arrow:hover:not(:disabled) { background: var(--brown-900); border-color: var(--brown-900); color: var(--gold-light); }
.media-arrow:disabled { opacity: .35; cursor: default; }

.media-track {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 4px 0 28px; margin-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none;
}
.media-track::-webkit-scrollbar { display: none; }
.media-card { flex: 0 0 clamp(300px, 31%, 380px); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: inherit; transition: transform .3s ease, box-shadow .3s ease; }
.media-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(43,25,18,.35); }
.media-cover { background: var(--brown-800); aspect-ratio: 2.35 / 1; overflow: hidden; }
.media-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.media-card:hover .media-cover img { transform: scale(1.04); }
.media-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.media-tag { font-size: 13px; color: var(--gold-dark); letter-spacing: .06em; }
.media-body h3 { font-size: 19px; line-height: 1.45; color: var(--brown-900); }
.media-body p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.media-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-dark); font-size: 14px; }
.media-more svg, .media-go { width: 16px; height: 16px; }

.media-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-follow { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--brown-900); transition: border-color .3s ease, transform .3s ease; }
.media-follow:hover { border-color: var(--gold); transform: translateY(-2px); }
.media-follow b { display: block; font-family: var(--serif); font-size: 16px; }
.media-follow small { color: var(--muted); font-size: 13px; }
.media-follow > div { flex: 1; min-width: 0; }
.media-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brown-900); color: var(--gold-light); }
.media-ico svg { width: 22px; height: 22px; }
.media-go { color: var(--gold-dark); flex: none; }
@media (max-width: 860px) {
  .media-head { margin-bottom: 28px; }
  .media-nav { display: none; }
  /* 手机：卡片出血到屏幕边，露出下一张的一角，提示可以滑 */
  .media-track { gap: 14px; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; padding-bottom: 20px; scrollbar-width: none; }
  .media-track::-webkit-scrollbar { display: none; }
  .media-card { flex-basis: 82%; }
  .media-card:hover { transform: none; }
  .media-body { padding: 18px 20px 20px; }
  .media-body h3 { font-size: 18px; }
  .media-side { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- 二维码修正：防止图片撑破格子，手机端居中 ---------- */
.qr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qr-slot { min-width: 0; }
.qr-box { box-sizing: border-box; width: 100%; }
.qr-box img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; object-fit: contain; }
.qr-modal-card .qr-box.big { width: min(200px, 70vw); }
@media (max-width: 860px) {
  .qr-grid { max-width: 360px; margin-inline: auto; justify-content: center; }
  .qr-tip { text-align: center; }
}

/* ---------- 手机端：首页图表上的浮动指标卡片缩小后保留在图内 ---------- */
@media (max-width: 640px) {
  .hero-card { padding: 10px 12px; border-radius: 10px; }
  .hero-card b { font-size: 20px; }
  .hero-card small { font-size: 11px; }
  .hero-card.c1 { top: 2%; left: 0; }
  .hero-card.c2 { bottom: 4%; right: 0; }
}

/* ---------- 关于我们：列表左对齐 ---------- */
.about-list { padding: 0; margin-left: 0; justify-items: stretch; text-align: left; }
.about-list li { width: 100%; box-sizing: border-box; justify-content: flex-start; text-align: left; }
@media (max-width: 640px) { .about-list li { align-items: flex-start; } .about-list b { min-width: 0; } }

/* ---------- 浮动咨询按钮 ---------- */
.fab-consult {
  position: fixed; right: 26px; bottom: 88px; z-index: 96; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; color: var(--brown-900); font-weight: 600; font-size: 15px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 14px 30px -10px rgba(43,25,18,.55);
  animation: fabPulse 2.8s ease-in-out infinite; transition: transform .3s;
}
.fab-consult:hover { transform: translateY(-3px); }
.fab-consult svg { width: 20px; height: 20px; }
@keyframes fabPulse { 0%,100% { box-shadow: 0 14px 30px -10px rgba(43,25,18,.55), 0 0 0 0 rgba(228,191,134,.55); } 50% { box-shadow: 0 14px 30px -10px rgba(43,25,18,.55), 0 0 0 12px rgba(228,191,134,0); } }
@media (max-width: 860px) { .fab-consult { display: none; } }

/* ---------- 手机端：选择理由改为 2×2 小卡片，一屏看完 ---------- */
@media (max-width: 640px) {
  .why.section { padding: 56px 0; }
  .why .section-head { margin-bottom: 22px; }
  .why .section-head h2 { font-size: 24px; }
  .why .section-head p { font-size: 14px; margin-top: 6px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .why-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; border-radius: 14px; }
  .why-item:hover { transform: none; }
  .why-icon { width: 38px; height: 38px; }
  .why-icon svg { width: 20px; height: 20px; }
  .why-item h3 { font-size: 15px; padding: 2px 8px; }
  .why-item p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; }
}

/* ---------- 手机端：困境与解法改为横向紧凑卡片（左图标、右问答） ---------- */
@media (max-width: 640px) {
  .pain-grid { gap: 12px; }
  .pain-card { display: grid !important; grid-template-columns: 78px 1fr; border-radius: 14px; }
  .pain-card:hover { transform: none; }
  .pain-visual { height: auto; min-height: 100%; }
  .pain-visual svg { width: 44px; height: 44px; }
  .pain-visual::after { right: auto; left: 50%; transform: translateX(-50%); bottom: -8px; font-size: 40px; }
  .pain-body { padding: 14px 16px 16px; }
  .pain-q { font-size: 15px; padding: 4px 10px; line-height: 1.45; }
  .pain-label { margin-top: 10px; font-size: 12px; letter-spacing: .1em; }
  .pain-a { margin-top: 4px; font-size: 13.5px; line-height: 1.65; }
}
