/* ============================================================
   融易集团 · 站点样式
   统一设计系统 / 响应式 / 无外部依赖
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --brand: #d63c1e;
  --brand-2: #f08a3c;
  --accent: #f2a53c;
  --brand-deep: #3b0f05;
  --ink: #2a1512;
  --ink-2: #573b33;
  --muted: #8d6f66;
  --line: rgba(60, 26, 18, .12);
  --bg: #ffffff;
  --bg-soft: #fdf5f1;
  --bg-deep: #38130b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(120, 30, 10, .28);
  --shadow-sm: 0 8px 24px -14px rgba(120, 30, 10, .22);
  --maxw: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* 各子公司品牌色（统一橙红体系，仅色温深浅区分） */
body.brand-jin { --brand: #e0521c; --brand-2: #f59a45; --accent: #f3b04a; }
body.brand-chu { --brand: #bf2810; --brand-2: #e8602a; --accent: #f5a94a; }
body.brand-pet { --brand: #ed7828; --brand-2: #f9b56d; --accent: #e0521c; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; gap: 18px; min-height: 38px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 22px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.logo-text b { display: block; font-size: 18px; letter-spacing: .04em; line-height: 1.2; }
.logo-text small { display: block; font-size: 10px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.nav-links a.active { color: #fff; background: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .25s; }
.mobile-menu {
  display: none; border-bottom: 1px solid var(--line); background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--brand) 85%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -16px color-mix(in srgb, var(--brand) 90%, transparent); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Hero 内按钮：深底上的白/描边样式 */
.hero .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 16px 30px -16px rgba(30, 6, 2, .55); }
.hero .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -16px rgba(30, 6, 2, .6); }
.hero .btn-ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .08); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .16); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 84px;
  color: #fff;
  background:
    radial-gradient(1100px 620px at 90% -12%, color-mix(in srgb, var(--brand-2) 62%, transparent), transparent 66%),
    radial-gradient(760px 480px at -8% 112%, color-mix(in srgb, var(--brand) 78%, #1c0401) 0%, transparent 70%),
    linear-gradient(112deg, color-mix(in srgb, var(--brand) 62%, #240602) 0%, var(--brand) 46%, var(--brand-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.5px);
  background-size: 64px 64px, 64px 64px, 160px 160px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  opacity: .7;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); font-weight: 700; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.14; letter-spacing: -.02em; }
h1 .grad {
  background: linear-gradient(100deg, #ffd9a6, #ff9a45 55%, #ff7a26);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 22px; font-size: 17px; color: rgba(255, 255, 255, .85); max-width: 40em; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .22);
}
.stat b { display: block; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.stat b i { font-style: normal; font-size: 15px; color: rgba(255, 255, 255, .65); margin-left: 3px; font-weight: 600; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .65); }

/* Hero 视觉面板（深底玻璃卡） */
.hero-panel {
  position: relative; border-radius: 26px; overflow: hidden;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px) saturate(150%);
  color: #fff; padding: 30px; min-height: 400px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 40px 80px -40px rgba(30, 6, 2, .55);
}
.hero-panel::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -110px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.34), transparent 65%);
}
.hero-panel::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .6;
}
.hero-panel > * { position: relative; z-index: 2; }
.panel-tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .1em;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24);
}
.panel-title { font-size: 26px; line-height: 1.35; font-weight: 700; }
.panel-list { display: grid; gap: 12px; margin-top: 22px; }
.panel-list li { display: flex; gap: 10px; font-size: 14px; color: rgba(255,255,255,.88); }
.panel-list li::before { content: "→"; color: var(--accent); font-weight: 700; }
.panel-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 12px; color: rgba(255,255,255,.65); }
.panel-foot b { display: block; color: #fff; font-size: 15px; letter-spacing: .04em; }

/* ---------- 区块标题 ---------- */
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin-bottom: 14px;
}
.h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.22; letter-spacing: -.02em; }
.sub { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .28s, box-shadow .28s, border-color .28s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand);
  margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-num {
  font-size: 13px; letter-spacing: .16em; color: var(--brand); font-weight: 700;
  display: block; margin-bottom: 12px;
}

/* 子公司入口卡 */
.biz-card {
  display: flex; flex-direction: column; gap: 18px; padding: 34px 30px 30px;
  border-radius: 22px; border: 1px solid var(--line); background: #fff;
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.biz-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.biz-card .biz-en { font-size: 11.5px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.biz-card h3 { font-size: 23px; }
.biz-card .biz-desc { color: var(--muted); font-size: 14.5px; flex: 1; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px; padding: 5px 11px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
}
.biz-link { font-size: 14px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.biz-link span { transition: transform .25s; }
.biz-card:hover .biz-link span { transform: translateX(5px); }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: 24px; overflow: hidden; min-height: 380px; }
.visual {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 380px;
  background: linear-gradient(145deg, #fdf1ea, #f8dccd);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.visual .v-inner { position: relative; z-index: 2; text-align: center; padding: 30px; }
.visual b { display: block; font-size: 40px; letter-spacing: -.02em; color: var(--brand); line-height: 1.1; }
.visual span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.visual::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--brand-2) 45%, transparent), transparent 70%);
  right: -70px; bottom: -80px;
}
.visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .5;
}
.visual--deep { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); border: 0; }
.visual--deep b { color: #fff; }
.visual--deep span { color: rgba(255,255,255,.6); }
.visual--deep::after { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); }

.check-list { display: grid; gap: 16px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; margin-top: 3px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.check-list b { display: block; font-size: 15.5px; }
.check-list p { color: var(--muted); font-size: 14px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 15%, transparent));
}
.tl-item { position: relative; padding-top: 34px; }
.tl-item::before {
  content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.tl-item b { display: block; font-size: 20px; letter-spacing: -.01em; }
.tl-item span { display: block; font-size: 12.5px; letter-spacing: .12em; color: var(--brand); margin: 4px 0 8px; }
.tl-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- 标签页 ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn {
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-2); background: #fff; transition: .22s;
}
.tab-btn[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 16px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 700; font-size: 13.5px; color: var(--ink-2); letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--brand); }

/* ---------- 价格卡 ---------- */
.plan {
  border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; background: #fff;
  display: flex; flex-direction: column; position: relative; transition: .3s;
}
.plan:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.plan.featured { border-color: var(--brand); box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--brand) 55%, transparent); }
.plan .plan-tag {
  position: absolute; top: -13px; right: 26px; background: var(--brand); color: #fff;
  font-size: 12px; padding: 4px 12px; border-radius: 999px; letter-spacing: .06em;
}
.plan h3 { font-size: 20px; }
.plan .plan-sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; margin: 22px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .price-note { font-size: 13px; color: var(--muted); }
.plan ul { display: grid; gap: 11px; margin: 24px 0 28px; flex: 1; }
.plan li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 700; }

/* ---------- 走马灯 ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 15px; color: var(--ink-2); white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px; color: #fff;
  padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--brand-deep)) 65%, var(--brand-2));
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 20px 20px; opacity: .55;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.78); max-width: 34em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-deep); color: rgba(255, 255, 255, .66); padding: 70px 0 0; font-size: 14px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text small { color: rgba(255,255,255,.45); }
.footer p { line-height: 1.9; }
.footer a:hover { color: #fff; }
.footer ul { display: grid; gap: 10px; }
.footer .f-contact li { display: flex; gap: 10px; }
.footer .f-contact span { color: rgba(255,255,255,.4); flex: 0 0 auto; }
.footer-bottom {
  margin-top: 54px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}

/* ---------- 子品牌页 Hero ---------- */
.hero--sub { padding: 76px 0 72px; }
.hero--sub h1 { font-size: clamp(30px, 4vw, 48px); }
.breadcrumb { font-size: 12.5px; color: rgba(255, 255, 255, .65); margin-bottom: 22px; letter-spacing: .04em; }
.breadcrumb a:hover { color: #fff; }

/* 数据条 */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: #fff; padding: 28px 24px; text-align: center; }
.metric b { display: block; font-size: 30px; letter-spacing: -.02em; color: var(--brand); line-height: 1.1; }
.metric span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- 编辑模式 ---------- */
.edit-bar {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px; box-shadow: var(--shadow);
}
.edit-bar button {
  height: 36px; padding: 0 15px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.edit-bar button:hover { background: var(--bg-soft); }
.edit-bar .on { background: var(--brand); color: #fff; }
.edit-bar .tip {
  position: absolute; right: 0; bottom: 56px; white-space: nowrap;
  background: var(--brand-deep); color: #fff; font-size: 12px; padding: 7px 12px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: .25s;
}
body.editing .edit-bar .tip { opacity: 1; }
body.editing [data-edit] { outline: 1px dashed color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 4px; border-radius: 4px; }
body.editing [data-edit]:focus { outline: 2px solid var(--brand); background: color-mix(in srgb, var(--brand) 4%, transparent); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { min-height: 320px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 34px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 56px; }
  .g3 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .topbar .tb-right { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .cta-band { padding: 34px 24px; }
  .plan { padding: 28px 24px; }
  .hero-actions .btn { flex: 1; }
  .edit-bar { right: 12px; bottom: 12px; }
  .edit-bar .tip { display: none; }
}

/* ============================================================
   易乐宠 · 宠物主题增强（仅 body.brand-pet 生效）
   ============================================================ */
body.brand-pet {
  --brand: #ed7828;
  --brand-2: #f9b56d;
  --accent: #e0521c;
  --pet-cream: #fff8f1;
  --pet-peach: #ffe7d5;
  --pet-honey: #ffc75c;
  --bg-soft: #fff8f1;
}

/* ---------- 宠物线描图标 ---------- */
.pico {
  width: 1em; height: 1em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.12em;
}
.pet-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 区块爪印纹理 ---------- */
body.brand-pet .section--soft {
  background-color: var(--pet-cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='92' viewBox='0 0 92 92'%3E%3Cg fill='%23ed7828' fill-opacity='0.1' transform='translate(20 18) rotate(-14)'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 92px 92px;
}

/* ---------- Hero 漂浮宠物元素 ---------- */
.pet-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pet-deco .pico {
  position: absolute; color: rgba(255, 255, 255, .55);
  filter: drop-shadow(0 8px 16px rgba(90, 26, 0, .22));
  animation: petFloat 7s ease-in-out infinite;
}
.pd1 { left: 6%;  top: 16%;  font-size: 44px; --r: -16deg; opacity: .9; }
.pd2 { left: 43%; top: 7%;   font-size: 26px; --r: 22deg;  opacity: .65; animation-delay: -1.4s; }
.pd3 { left: 11%; bottom: 13%; font-size: 32px; --r: 10deg; opacity: .7; animation-delay: -2.6s; }
.pd4 { right: 3%; bottom: 20%; font-size: 46px; --r: -12deg; opacity: .5; animation-delay: -.8s; }
.pd5 { right: 33%; top: 10%; font-size: 22px; --r: 16deg; opacity: .55; animation-delay: -3.2s; }
.pd6 { left: 30%; bottom: 5%; font-size: 24px; --r: -20deg; opacity: .5; animation-delay: -4.4s; }
@keyframes petFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(calc(var(--r, 0deg) + 8deg)); }
}
@media (max-width: 860px) {
  .pet-deco { display: none; }
}

/* ---------- Hero 底部波浪 ---------- */
.pet-wave { position: relative; z-index: 3; margin-top: -52px; line-height: 0; pointer-events: none; }
.pet-wave svg { display: block; width: 100%; height: 64px; }

/* ---------- Hero 面板列表：爪印项目符号 ---------- */
body.brand-pet .panel-list li::before {
  content: ""; width: 14px; height: 14px; margin-top: 5px; flex: 0 0 auto;
  background: var(--pet-honey);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23000'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23000'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 标题：爪印点缀 ---------- */
body.brand-pet .kicker { display: inline-flex; align-items: center; gap: 8px; }
body.brand-pet .kicker::before {
  content: ""; width: 15px; height: 15px; background: currentColor; flex: 0 0 auto;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23000'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23000'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
body.brand-pet .h2 { letter-spacing: -.03em; }

/* ---------- 卡片：更圆润 + 轻微俏皮倾斜 ---------- */
body.brand-pet .card {
  border-radius: 24px; border-color: rgba(237, 120, 40, .18);
  box-shadow: 0 12px 32px -24px rgba(160, 60, 10, .55);
  transition: transform .3s cubic-bezier(.2,.8,.3,1.2), box-shadow .3s, border-color .3s;
}
body.brand-pet .card::before {
  content: ""; position: absolute; right: -34px; bottom: -34px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--pet-peach), transparent 70%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
body.brand-pet .card:hover { transform: translateY(-6px) rotate(-.7deg); border-color: rgba(237, 120, 40, .38); }
body.brand-pet .card:hover::before { opacity: 1; }
body.brand-pet .card:nth-child(even):hover { transform: translateY(-6px) rotate(.7deg); }
body.brand-pet .card h3 { letter-spacing: -.01em; }

/* 卡片图标徽章 */
.pet-badge {
  width: 56px; height: 56px; border-radius: 19px;
  display: grid; place-items: center; margin-bottom: 18px;
  font-size: 27px; color: var(--brand);
  background: linear-gradient(145deg, var(--pet-peach), #fff);
  border: 1px solid rgba(237, 120, 40, .22);
  box-shadow: 0 12px 22px -14px rgba(237, 120, 40, .85);
  transform: rotate(-5deg); transition: transform .3s;
}
body.brand-pet .card:hover .pet-badge { transform: rotate(4deg) scale(1.06); }

body.brand-pet .card-num {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--pet-cream); color: var(--brand); letter-spacing: .1em;
  font-size: 12px; margin-bottom: 14px;
}

/* ---------- 时间线：爪印节点 ---------- */
body.brand-pet .timeline::before { background: linear-gradient(90deg, var(--brand), rgba(237,120,40,.15)); }
body.brand-pet .tl-item::before {
  width: 22px; height: 22px; border: 0; border-radius: 0; background: var(--brand); top: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23000'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23000'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
body.brand-pet .tl-item { padding-top: 38px; }

/* ---------- 数据条 ---------- */
body.brand-pet .metrics { border-radius: 22px; border-color: rgba(237, 120, 40, .2); }
body.brand-pet .metric:nth-child(even) { background: var(--pet-cream); }
body.brand-pet .metric b { color: var(--brand); }

/* ---------- 按钮：更弹一点 ---------- */
body.brand-pet .btn { font-weight: 700; }
body.brand-pet .btn:hover { transform: translateY(-3px) scale(1.02); }

/* ---------- 标签页 ---------- */
body.brand-pet .tab-btn { border-radius: 999px; border-color: rgba(237,120,40,.22); }
body.brand-pet .tab-btn[aria-selected="true"] { box-shadow: 0 12px 24px -14px rgba(237,120,40,.9); }

/* ---------- 加盟方案卡 ---------- */
body.brand-pet .plan { border-radius: 26px; }
body.brand-pet .plan-tag { background: linear-gradient(120deg, var(--brand), var(--accent)); }
body.brand-pet .plan .price { color: var(--brand); }
@media (min-width: 861px) {
  body.brand-pet .plan.featured { transform: rotate(-.7deg); }
  body.brand-pet .plan.featured:hover { transform: rotate(-.7deg) translateY(-5px); }
}

/* ---------- 走马灯 pill ---------- */
body.brand-pet .marquee-item { border-color: rgba(237,120,40,.24); background: #fff; }

/* ---------- CTA：爪印 + 甜橙渐变 ---------- */
body.brand-pet .cta-band {
  background: linear-gradient(120deg, var(--brand), #b8340c 58%, var(--accent));
  border-radius: 30px;
}
body.brand-pet .cta-band::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='%23ffffff' fill-opacity='0.13' transform='translate(24 22) rotate(-14)'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 96px 96px, 20px 20px;
  opacity: .8;
}

/* ---------- 页脚爪印 ---------- */
body.brand-pet .footer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffb27a' fill-opacity='0.055' transform='translate(30 28) rotate(-14)'%3E%3Cellipse cx='7' cy='8.6' rx='2' ry='2.7' transform='rotate(-18 7 8.6)'/%3E%3Cellipse cx='12' cy='7' rx='2' ry='2.8'/%3E%3Cellipse cx='17' cy='8.6' rx='2' ry='2.7' transform='rotate(18 17 8.6)'/%3E%3Cellipse cx='20.6' cy='13' rx='1.6' ry='2.1' transform='rotate(36 20.6 13)'/%3E%3Cpath d='M12 12c3 0 5.6 2.2 5.6 4.7 0 1.9-1.7 3.1-3.7 3.1-.9 0-1.5-.3-1.9-.3s-1 .3-1.9.3c-2 0-3.7-1.2-3.7-3.1C6.4 14.2 9 12 12 12Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* ---------- 编辑模式增强 ---------- */
body.editing [data-edit] {
  cursor: text;
  transition: background .18s, outline-color .18s;
}
body.editing [data-edit]:hover {
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  outline-color: color-mix(in srgb, var(--brand) 65%, transparent);
}
body.editing [data-edit]:focus {
  outline: 2px solid var(--brand);
  background: #fff;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .3);
}
body.editing .edit-bar {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .4);
}
body.brand-pet.editing .edit-bar { border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
@media (max-width: 560px) {
  .edit-bar { gap: 4px; padding: 6px; }
  .edit-bar button { padding: 0 11px; font-size: 12.5px; }
}
