/*
Theme Name: AUTOWEL
Description: AUTOWEL 外贸官网主题（复刻原 Next.js 站点外观）。需配合「AUTOWEL 官网核心」插件使用。
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: autowel
*/

/* ---------- 字体（Inter，SIL OFL 1.1，自托管，不依赖 Google） ---------- */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-regular.woff) format('woff'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-medium.woff) format('woff'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-semibold.woff) format('woff'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/inter-bold.woff) format('woff'); }

/* ---------- 设计令牌（与原站一致） ---------- */
:root {
  --c-bg: #f8f9ff;
  --c-surface: #f8f9ff;
  --c-lowest: #ffffff;
  --c-low: #eff4ff;
  --c-container: #e5eeff;
  --c-high: #dce9ff;
  --c-on-surface: #0b1c30;
  --c-on-variant: #45464d;
  --c-outline: #76777d;
  --c-outline-variant: #c6c6cd;
  --c-primary-container: #131b2e;
  --c-on-primary: #ffffff;
  --c-on-primary-container: #7c839b;
  --c-inverse-on-surface: #eaf1ff;
  --c-on-primary-fixed-variant: #3f465c;
  --c-secondary: #904d00;
  --c-secondary-container: #fe932c;
  --c-secondary-fixed: #ffdcc3;
  --c-on-secondary-fixed: #2f1500;
  --c-error: #ba1a1a;
  --c-success: #1b7f4a;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --max: 80rem;
  --pad: 1rem;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --shadow-hover: 0 10px 15px -3px rgba(15, 23, 42, .08);
}
@media (min-width: 1024px) { :root { --pad: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-on-surface); font: 400 14px/20px var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.av-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.av-icon { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font: 600 11px/14px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-secondary); }
.h-xl { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.02em; }
@media (min-width: 768px) { .h-xl { font-size: 36px; line-height: 44px; letter-spacing: -.025em; } }
.h-lg { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; }
.h-md { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.015em; }
.h-sm { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; }
.muted { color: var(--c-on-variant); }
.body-lg { font-size: 16px; line-height: 24px; }
.body-sm { font-size: 13px; line-height: 18px; }
.section { padding: 4rem 0; }
.section-head { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 2rem; }
.section-head p { max-width: 28rem; }
.stack { display: flex; flex-direction: column; gap: 1.5rem; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.5rem; border: 0; border-radius: 4px; font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: .02em; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-accent { background: var(--c-secondary-container); color: #fff; }
.btn-accent:hover { background: var(--c-secondary); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 500; }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-primary { background: var(--c-secondary); color: #fff; padding: .4rem 1rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.btn-primary:hover { background: var(--c-on-secondary-fixed); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* 标签 */
.tag { display: inline-block; padding: 2px .5rem; border-radius: 4px; font: 500 11px/14px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.tag-accent { background: rgba(254, 147, 44, .2); color: var(--c-secondary); }
.tag-plain { background: var(--c-high); color: var(--c-on-variant); }
.tags { display: flex; gap: .25rem; flex-wrap: wrap; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 249, 255, .95); backdrop-filter: blur(12px); box-shadow: 0 1px 8px rgba(0, 0, 0, .04); }
.topbar { background: var(--c-primary-container); color: #fff; border-bottom: 1px solid rgba(63, 70, 92, .2); font-size: 11px; line-height: 14px; }
.topbar .container { height: 36px; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.topbar-msg { display: none; align-items: center; gap: .75rem; min-width: 0; margin-right: auto; }
.topbar-msg strong { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-inverse-on-surface); }
.topbar-msg .sep, .topbar-msg .sub { display: none; color: var(--c-on-primary-container); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-secondary-container); flex: none; }
.dot-pulse { animation: avpulse 2s ease-in-out infinite; }
@keyframes avpulse { 50% { opacity: .4; } }
@media (min-width: 768px) { .topbar-msg { display: flex; } }
@media (min-width: 1280px) { .topbar-msg .sep, .topbar-msg .sub { display: inline; } }
.topbar a { color: var(--c-inverse-on-surface); display: inline-flex; align-items: center; gap: .25rem; }
.topbar a:hover { color: var(--c-secondary-fixed); }
.topbar-right { display: flex; align-items: center; gap: 1rem; flex: none; }

.lang { position: relative; }
.lang > button { background: none; border: 0; color: var(--c-inverse-on-surface); display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; padding: .25rem 0; font-size: 11px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; color: var(--c-on-surface); border: 1px solid var(--c-outline-variant); border-radius: var(--radius-lg); box-shadow: 0 4px 12px -2px rgba(11, 28, 48, .1); padding: .25rem; min-width: 200px; display: none; }
.lang.is-open .lang-menu { display: block; }
.lang-menu a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .75rem; border-radius: 4px; color: var(--c-on-surface); font-size: 13px; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--c-low); color: var(--c-on-surface); }
.lang-menu small { font-family: var(--mono); color: var(--c-on-variant); }

.navbar .container { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand img { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; }
.brand-name { display: block; font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.brand-sub { display: block; font: 500 11px/14px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-on-variant); }
@media (min-width: 640px) { .brand-name { font-size: 13px; } }
.nav { display: none; align-items: center; gap: .125rem; margin-left: 1.5rem; font-size: 12px; font-weight: 500; white-space: nowrap; }
.nav a { padding: .375rem .6rem; border-radius: 4px; color: var(--c-on-variant); transition: background-color .15s; }
.nav a:hover { background: var(--c-container); color: var(--c-on-surface); }
.nav a[aria-current] { background: var(--c-high); color: var(--c-on-surface); font-weight: 600; border-radius: var(--radius-lg); }
.navbar-left { display: flex; align-items: center; min-width: 0; }
.navbar-right { display: flex; align-items: center; gap: .75rem; }
.navbar-right .btn-primary { display: none; }
.menu-btn { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: var(--c-high); cursor: pointer; }
@media (min-width: 640px) { .navbar-right .btn-primary { display: inline-flex; } }
@media (min-width: 1200px) { .nav { display: flex; } .menu-btn { display: none; } }
.drawer { display: none; border-top: 1px solid rgba(198, 198, 205, .3); background: var(--c-surface); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.drawer.is-open { display: block; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; padding: 1rem var(--pad); }
.drawer a { padding: .5rem .75rem; border-radius: var(--radius-lg); color: var(--c-on-variant); font-size: 12px; font-weight: 500; }
.drawer a[aria-current] { background: var(--c-high); color: var(--c-on-surface); font-weight: 600; }
.drawer .btn-primary { margin-top: .25rem; display: flex; padding: .5rem .75rem; }
@media (min-width: 1200px) { .drawer { display: none !important; } }

/* ---------- 首页 ---------- */
.hero { position: relative; height: 550px; overflow: hidden; background: var(--c-primary-container); color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.hero::before { background: linear-gradient(to right, #131b2e, rgba(19, 27, 46, .8), rgba(19, 27, 46, .35)); }
.hero::after { background: linear-gradient(to top, #131b2e, rgba(19, 27, 46, .2), rgba(19, 27, 46, .4)); }
.hero .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 3rem; padding-bottom: 4rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; background: rgba(255, 255, 255, .1); padding: .25rem .75rem; border-radius: 999px; margin-bottom: 1.5rem; font-size: 11px; }
.hero-badge b { font: 500 11px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-secondary-fixed); }
.hero-badge i { font-style: normal; color: var(--c-on-primary-container); }
.hero-badge span { color: var(--c-inverse-on-surface); }
.hero h1 { max-width: 48rem; margin-bottom: .75rem; }
.hero p { max-width: 48rem; color: var(--c-on-primary-container); margin-bottom: 3rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-strip { background: var(--c-high); padding: .5rem 0; font-size: 11px; line-height: 14px; }
.contact-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.contact-strip b { color: var(--c-secondary); }
.contact-strip a:hover { color: var(--c-secondary); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.sector { display: flex; flex-direction: column; background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-xl); overflow: hidden; transition: box-shadow .2s; }
.sector:hover { box-shadow: var(--shadow-hover); }
.sector-media { aspect-ratio: 16 / 10; background: var(--c-high); overflow: hidden; display: flex; align-items: center; justify-content: center; color: rgba(69, 70, 77, .3); }
.sector-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sector:hover .sector-media img { transform: scale(1.03); }
.sector-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.sector-body .arrow { color: var(--c-secondary); margin-top: .5rem; }

.latest { background: var(--c-low); }
.latest-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .latest-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.link-more { color: var(--c-secondary); font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; gap: .25rem; }
.link-more:hover { color: var(--c-on-secondary-fixed); }

/* ---------- 车辆卡片 ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-xl); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-hover); border-color: var(--c-outline-variant); }
.card-media { aspect-ratio: 4 / 3; background: var(--c-high); display: flex; align-items: center; justify-content: center; color: rgba(69, 70, 77, .3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.card-title { font-size: 16px; line-height: 1.375; font-weight: 600; letter-spacing: -.01em; }
.specs-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 18px; }
.specs-mini li { display: flex; justify-content: space-between; gap: .75rem; }
.specs-mini span:first-child { color: var(--c-on-variant); }
.specs-mini span:last-child { font-weight: 500; text-align: right; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .5rem; border-top: 1px solid rgba(198, 198, 205, .4); }
.price { color: var(--c-secondary); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.card-more { font-size: 12px; font-weight: 600; color: var(--c-on-variant); display: inline-flex; align-items: center; gap: .25rem; transition: color .15s; }
.card:hover .card-more { color: var(--c-secondary); }

/* ---------- 目录页 ---------- */
.page { padding: 3rem 0; }
.page-head { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; max-width: 48rem; }
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-xl); padding: 1rem; margin-bottom: 1.5rem; }
.filters input[type=search] { flex: 1 1 260px; min-width: 0; padding: .55rem .75rem; border: 1px solid var(--c-outline-variant); border-radius: var(--radius-lg); background: #fff; }
.filters select { padding: .55rem 2rem .55rem .75rem; border: 1px solid var(--c-outline-variant); border-radius: var(--radius-lg); background: #fff; }
.filters .btn { padding: .6rem 1rem; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--c-on-variant); font-size: 13px; }
.result-bar a { color: var(--c-secondary); }
.empty { text-align: center; padding: 4rem 1rem; background: var(--c-lowest); border: 1px dashed var(--c-outline-variant); border-radius: var(--radius-xl); color: var(--c-on-variant); display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.empty .av-icon { width: 48px; height: 48px; opacity: .35; }
.pager { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: 2rem; font-size: 13px; }
.pager a, .pager span { padding: .45rem .8rem; border-radius: 4px; border: 1px solid var(--c-outline-variant); background: #fff; }
.pager a:hover { border-color: var(--c-secondary); color: var(--c-secondary); }
.pager .is-current { background: var(--c-secondary); border-color: var(--c-secondary); color: #fff; }

/* ---------- 车辆详情 ---------- */
.back { display: inline-flex; align-items: center; gap: .25rem; color: var(--c-on-variant); font-size: 12px; font-weight: 500; margin-bottom: 2rem; }
.back:hover { color: var(--c-secondary); }
.product-main { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .product-main { grid-template-columns: 1fr 1fr; } }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: var(--c-high); border-radius: var(--radius-xl); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(19, 27, 46, .6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gallery-nav:hover { background: rgba(19, 27, 46, .85); }
.gallery-prev { left: .75rem; }
.gallery-next { right: .75rem; }
.gallery-count { position: absolute; right: .75rem; bottom: .75rem; background: rgba(19, 27, 46, .7); color: #fff; font: 500 11px/14px var(--mono); padding: 2px 8px; border-radius: 4px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .5rem; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-high); cursor: pointer; aspect-ratio: 4 / 3; }
.thumbs button[aria-current] { border-color: var(--c-secondary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price-block span { display: block; font: 500 11px/14px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-on-variant); margin-bottom: 2px; }
.price-block strong { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--c-secondary); letter-spacing: -.02em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.fact { background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-lg); padding: .75rem; display: flex; flex-direction: column; gap: 2px; }
.fact span { font: 500 11px/14px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-on-variant); }
.fact strong { font-size: 16px; line-height: 24px; font-weight: 600; }
.panel { background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-xl); padding: 1.5rem; }
.prose { color: var(--c-on-variant); line-height: 1.7; white-space: pre-line; }
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .75rem; }
.tabs button { padding: .375rem .75rem; border: 0; border-radius: 4px; background: var(--c-high); color: var(--c-on-variant); font-size: 12px; font-weight: 500; cursor: pointer; }
.tabs button[aria-selected=true] { background: var(--c-secondary); color: #fff; font-weight: 600; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-xl); overflow: hidden; }
.spec-table th, .spec-table td { padding: .75rem 1.5rem; border-bottom: 1px solid rgba(198, 198, 205, .4); font-size: 13px; line-height: 18px; text-align: left; vertical-align: top; }
.spec-table th { width: 33%; font-weight: 400; color: var(--c-on-variant); }
.spec-table td { font-weight: 500; }
.spec-table tr:nth-child(even) { background: rgba(239, 244, 255, .5); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-panel[hidden] { display: none; }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: 12px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--c-on-variant); }
.field input, .field textarea { width: 100%; padding: .65rem .75rem; border: 1px solid var(--c-outline-variant); border-radius: var(--radius-lg); background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(144, 77, 0, .35); outline-offset: 0; border-color: var(--c-secondary); }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: .75rem 1rem; border-radius: var(--radius-lg); font-size: 13px; }
.form-msg.is-error { background: #ffdad6; color: #93000a; }
.form-msg.is-ok { background: #d7f5e3; color: #0b4a2a; }
.form-success { text-align: center; padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.form-success .av-icon { width: 40px; height: 40px; color: var(--c-success); }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 1fr; } }
.side-card { background: var(--c-primary-container); color: #fff; border-radius: var(--radius-xl); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.side-card .eyebrow { color: var(--c-secondary-fixed); }
.side-card a:hover { color: var(--c-secondary-fixed); }
.side-row { display: flex; gap: .75rem; align-items: flex-start; color: var(--c-inverse-on-surface); font-size: 13px; line-height: 1.5; }
.side-row .av-icon { color: var(--c-secondary-container); margin-top: 1px; }
.side-note { color: var(--c-on-primary-container); font-size: 12px; }

/* 询盘弹窗 */
.dialog { border: 0; padding: 0; border-radius: var(--radius-xl); width: min(640px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.dialog::backdrop { background: rgba(11, 28, 48, .55); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(198, 198, 205, .5); }
.dialog-head button { border: 0; background: none; cursor: pointer; padding: .25rem; color: var(--c-on-variant); }
.dialog-body { padding: 1.5rem; overflow: auto; }

/* 浮动按钮 */
.floats { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); border: 0; cursor: pointer; }
.float-btn .av-icon { width: 22px; height: 22px; }
.float-fb { background: #1877f2; }
.float-wa { background: #25d366; }
.float-quote { background: var(--c-secondary); }
.float-hint { background: #fff; color: var(--c-on-surface); font-size: 11px; padding: .35rem .75rem; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 0, 0, .1); margin-right: .25rem; }

/* ---------- 流程、法务、关于 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.steps li { background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-xl); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.steps li::before { counter-increment: step; content: '0' counter(step); font: 600 11px/14px var(--mono); letter-spacing: .12em; color: var(--c-secondary); }
.dark-panel { background: var(--c-primary-container); color: #fff; border-radius: var(--radius-xl); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.dark-panel .eyebrow { color: var(--c-secondary-fixed); }
.terms { display: grid; gap: 1rem; }
@media (min-width: 768px) { .terms { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.term { border: 1px solid rgba(124, 131, 155, .35); border-radius: var(--radius-lg); padding: 1rem; }
.term b { display: block; font: 600 14px/20px var(--mono); color: var(--c-secondary-container); margin-bottom: .25rem; }
.term p { color: var(--c-inverse-on-surface); font-size: 13px; line-height: 1.5; }
.desk { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; background: var(--c-low); border-radius: var(--radius-xl); padding: 1.5rem; }
.desk-info { display: flex; flex-direction: column; gap: .5rem; font-size: 13px; }
.desk-info span { display: flex; align-items: center; gap: .5rem; }
.legal { max-width: 48rem; display: flex; flex-direction: column; gap: 1.5rem; }
.legal section { background: var(--c-lowest); border: 1px solid rgba(198, 198, 205, .5); border-radius: var(--radius-xl); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-primary-container); color: #fff; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: .5rem; }
.footer-brand .brand-name { font-size: 16px; }
.footer-brand .brand-sub { color: var(--c-on-primary-container); }
.footer-brand p { color: var(--c-on-primary-container); font-size: 13px; max-width: 24rem; }
.footer-brand address { font-style: normal; display: flex; flex-direction: column; gap: .5rem; color: var(--c-inverse-on-surface); font-size: 13px; white-space: pre-line; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; font-size: 13px; }
.footer-col strong { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-on-primary-container); }
.footer-col a, .footer-brand a { color: var(--c-inverse-on-surface); width: fit-content; }
.footer-col a:hover, .footer-brand a:hover { color: var(--c-secondary-fixed); }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(63, 70, 92, .3); display: flex; flex-direction: column; gap: .5rem; align-items: center; justify-content: space-between; font: 500 11px/14px var(--mono); color: var(--c-on-primary-container); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
