:root {
  color-scheme: light;
  --navy: #132237;
  --navy-deep: #0b1524;
  --yellow: #ffcd54;
  --yellow-hover: #ffd96f;
  --yellow-tint: #fff4d6;
  --blue: #1f6fd8;
  --white: #ffffff;
  --paper: #f6f4ef;
  --paper-cool: #f2f5f9;
  --ink: #162236;
  --muted: #556173;
  --line: #e1e5eb;
  --amber-ink: #9a6400;
  --gutter: clamp(20px, 3vw, 48px);
  --max: 1440px;
  --header: 72px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 18px 50px -22px rgba(19, 34, 55, .32);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--navy) 12px 24px);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 8px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
p, small, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber-ink); outline-offset: 3px; }

.symbols, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 60; top: 12px; left: 12px; padding: 10px 16px; border-radius: var(--radius); background: var(--yellow); color: var(--navy); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius); font-size: 16px; font-weight: 700; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { transition: transform .25s var(--ease-out); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 16px -8px rgba(161, 104, 0, .6); }
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1e3352; }
.btn-line { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-line:hover { background: var(--paper-cool); }
.btn-line .icon:first-child { color: var(--amber-ink); }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-solid { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(19, 34, 55, .5); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 19px; font-weight: 900; color: var(--navy); letter-spacing: .02em; }
.brand small { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.main-nav a { position: relative; padding: 8px 12px; border-radius: 6px; font-size: 16px; font-weight: 500; color: var(--muted); transition: color .2s ease, background-color .2s ease; }
.main-nav a:hover { color: var(--navy); background: var(--paper-cool); }
.main-nav a[aria-current] { color: var(--navy); font-weight: 700; }
.main-nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--yellow); }
.main-nav .nav-tel { display: none; }
.header-end { display: flex; align-items: center; gap: 16px; }
.header-tel { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.header-tel .icon { width: 18px; height: 18px; color: var(--amber-ink); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: var(--radius); background: var(--paper-cool); color: var(--navy); }

/* ---------- 首屏 ---------- */
.hero { --panel: min(620px, 46%); position: relative; width: calc(100% - var(--gutter) * 2); max-width: var(--max); height: clamp(520px, 38vw, 640px); margin: 16px auto 0; display: flex; align-items: stretch; }
/* 照片从面板斜边后面开始，人物（在原图右半边）不被面板压住 */
.hero-photo { position: absolute; top: 0; bottom: 0; right: 0; left: calc(var(--panel) - 220px); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-cool); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 38%; }
.hero-panel { position: relative; z-index: 1; flex-shrink: 0; width: var(--panel); display: flex; align-items: center; padding: 24px clamp(90px, 9vw, 130px) 88px 0; background: var(--white); clip-path: polygon(0 0, 100% 0, calc(100% - 140px) 100%, 0 100%); }
/* 斜边上一道黄 */
.hero::after { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: calc(var(--panel) + 16px); background: var(--yellow); clip-path: polygon(0 0, 100% 0, calc(100% - 140px) 100%, 0 100%); }
.hero-panel .hazard { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--hazard); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: var(--amber-ink); letter-spacing: .06em; }
.kicker-bar { width: 32px; height: 4px; border-radius: 2px; background: var(--yellow); }
.hero h1 { margin-top: 20px; font-size: clamp(40px, 4.2vw, 62px); line-height: 1.16; font-weight: 900; color: var(--navy); letter-spacing: .01em; }
.hero-lead { margin-top: 22px; max-width: 26em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.75; color: var(--muted); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-line { font-variant-numeric: tabular-nums; }

/* ---------- 快捷入口 ---------- */
.quick { position: relative; z-index: 2; margin-top: -64px; }
.quick-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.quick a { position: relative; display: flex; align-items: center; gap: 14px; min-height: 108px; padding: 22px 24px; background: var(--white); box-shadow: var(--shadow); transition: background-color .2s ease, transform .25s var(--ease-out); }
.quick a:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.quick a:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.quick a + a::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.quick a:hover { background: var(--yellow-tint); transform: translateY(-3px); }
.quick a > .icon:first-child { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--yellow-tint); color: var(--navy); }
.quick a:hover > .icon:first-child { background: var(--yellow); }
.quick span { display: grid; gap: 2px; }
.quick strong { font-size: 18px; font-weight: 900; color: var(--navy); }
.quick small { font-size: 14px; color: var(--muted); line-height: 1.45; }
.quick-ext { position: absolute; top: 16px; right: 16px; width: 16px; height: 16px; color: var(--muted); }

/* ---------- 通用区块 ---------- */
.section { padding: clamp(64px, 7vw, 104px) 0; }
.section-head { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--amber-ink); letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 24px; height: 4px; border-radius: 2px; background: var(--yellow); }
.section h2, .enterprise h2, .contact h2 { margin-top: 14px; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.22; font-weight: 900; color: var(--navy); }
.section-lead { margin-top: 16px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.section-lead a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; white-space: nowrap; }

/* ---------- 培训项目 ---------- */
.projects { padding-top: clamp(80px, 8vw, 116px); }
.trades { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trade { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s ease, transform .3s var(--ease-out); }
.trade:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); transform: translateY(-4px); }
.trade-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-cool); }
.trade-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.trade:hover .trade-photo img { transform: scale(1.04); }
.trade-body { flex: 1; display: flex; flex-direction: column; padding: 26px 26px 24px; border-top: 4px solid var(--yellow); }
.trade h3 { display: flex; align-items: baseline; gap: 12px; font-size: 26px; font-weight: 900; color: var(--navy); }
.trade-no { font-size: 15px; font-weight: 700; color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.items { margin-top: 16px; display: grid; gap: 12px; }
.items li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--line); }
.items strong { font-size: 17px; font-weight: 700; color: var(--ink); }
.items small { font-size: 15px; color: var(--muted); line-height: 1.55; }
.trade-go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; border: 0; background: none; font-size: 17px; font-weight: 700; color: var(--navy); }
.trade-go .icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--yellow); transition: transform .25s var(--ease-out); }
.trade-go:hover .icon { transform: translateX(4px); }

/* ---------- 报名流程 ---------- */
.process { background: var(--paper); }
.process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.mode-switch { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.mode-switch button { position: relative; z-index: 1; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: none; font-size: 17px; font-weight: 700; color: var(--muted); transition: color .25s ease; }
.mode-switch button[aria-pressed="true"] { color: var(--navy); }
.mode-thumb { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--yellow); transition: transform .35s var(--ease-out), width .35s var(--ease-out); }
.mode-thumb.no-anim { transition: none; }
.mode-switch:not(.is-ready) button[aria-pressed="true"] { background: var(--yellow); }
.steps { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: calc(25% - 4px); height: 0; border-top: 2px dashed #cfc7b4; }
.steps li { position: relative; padding-right: 8px; }
.steps.swap-in li { animation: rise .45s var(--ease-out) both; }
.steps.swap-in li:nth-child(2) { animation-delay: .05s; }
.steps.swap-in li:nth-child(3) { animation-delay: .1s; }
.steps.swap-in li:nth-child(4) { animation-delay: .15s; }
.step-no { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: 24px; font-weight: 900; box-shadow: 0 0 0 8px var(--paper); }
.steps h3 { margin-top: 22px; font-size: 21px; font-weight: 900; color: var(--navy); }
.steps p { margin-top: 8px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.steps a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.process-foot { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.process-foot p { font-size: 17px; color: var(--ink); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 96px); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.about-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.about-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42%; height: 12px; background: var(--hazard); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 17px; line-height: 1.85; color: var(--muted); }
.about-copy h2 + p { margin-top: 24px !important; }
.facts { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 20px 16px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: 44px; line-height: 1; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.facts dt small { margin-left: 4px; font-size: 16px; font-weight: 700; color: var(--amber-ink); }
.facts dd { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- 企业团报 ---------- */
.enterprise { position: relative; padding-bottom: clamp(48px, 5vw, 72px); background: var(--white); }
.enterprise-photo { width: calc(100% - var(--gutter) * 2); max-width: var(--max); height: clamp(360px, 36vw, 560px); margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-cool); }
.enterprise-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.enterprise-inner { position: relative; margin-top: -120px; padding: 0 calc(var(--gutter) + clamp(16px, 3vw, 48px)); }
.enterprise-card { display: grid; grid-template-columns: 1.15fr 1fr auto; align-items: center; gap: clamp(24px, 4vw, 56px); padding: 36px 40px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); border-top: 6px solid var(--yellow); }
.enterprise h2 { font-size: clamp(26px, 2.4vw, 34px); }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; color: var(--ink); }
.ticks .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--yellow-tint); color: var(--amber-ink); stroke-width: 2.4; }
.enterprise-end { display: grid; gap: 14px; justify-items: start; max-width: 240px; }
.enterprise-note { font-size: 16px; color: var(--muted); }

/* ---------- 常见问题 ---------- */
.faq { padding-top: clamp(40px, 5vw, 72px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header) + 32px); }
.faq-list { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 16px; min-height: 80px; padding: 18px 0; font-size: 19px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.q-no { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; background: var(--yellow-tint); color: var(--amber-ink); font-size: 15px; font-weight: 900; }
.faq summary .icon { margin-left: auto; width: 24px; height: 24px; color: var(--muted); transition: transform .3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--navy); }
.faq details[open] .q-no { background: var(--yellow); color: var(--navy); }
.answer { padding: 0 48px 24px 50px; }
.answer p { font-size: 17px; line-height: 1.8; color: var(--muted); }
.answer a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq details[open] .answer { animation: rise .3s var(--ease-out) both; }

/* ---------- 联系我们 ---------- */
.contact { padding: clamp(64px, 7vw, 104px) 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.contact-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.phones { margin-top: 28px; display: grid; gap: 6px; }
.phones a { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-size: clamp(28px, 2.8vw, 38px); font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: .01em; transition: color .2s ease; }
.phones a:hover { color: var(--blue); }
.phones .icon { width: 28px; height: 28px; color: var(--amber-ink); }
.address { margin-top: 20px; display: flex; gap: 10px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.address .icon { margin-top: 2px; color: var(--amber-ink); }
.address small { display: block; font-size: 15px; color: var(--muted); }
.contact-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 页脚 ---------- */
.site-footer { position: relative; padding: 48px 0 32px; background: var(--navy-deep); color: rgba(255, 255, 255, .78); }
.site-footer .hazard { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--hazard); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand div { display: grid; gap: 2px; }
.footer-brand strong { font-size: 17px; color: var(--white); }
.footer-brand small { font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.footer-nav a:hover { color: var(--yellow); }
.footer-legal { position: relative; margin-top: 28px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; color: rgba(255, 255, 255, .58); }
.footer-legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .1); }
.footer-legal a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--yellow); }

.dock { display: none; }

/* ---------- 咨询清单弹窗 ---------- */
.sheet { width: min(600px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(5, 10, 20, .45); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .32s var(--ease-out) both; }
.sheet::backdrop { background: rgba(19, 34, 55, .5); backdrop-filter: blur(3px); }
.sheet[open]::backdrop { animation: fade .3s ease both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.sheet-head { position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px 14px; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.sheet-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--hazard); }
.sheet-head.is-scrolled { border-bottom-color: var(--line); }
.sheet-head h2 { font-size: 26px; font-weight: 900; color: var(--navy); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--paper-cool); color: var(--navy); }
.icon-btn:hover { background: var(--line); }
.sheet-body { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 32px 32px; }
.sheet-lead { font-size: 15px; line-height: 1.6; color: var(--muted); }
.consult-form { margin-top: 20px; display: grid; gap: 18px; }
.seg { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.seg label { position: relative; flex: 1 1 0; min-width: 96px; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; font-weight: 500; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.seg label:hover span { border-color: var(--muted); }
.seg input:checked + span { border-color: var(--navy); background: var(--yellow-tint); box-shadow: inset 0 0 0 1px var(--navy); font-weight: 700; }
.seg input:focus-visible + span { outline: 3px solid var(--amber-ink); outline-offset: 2px; }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 700; }
.field select, .field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 16px; font-weight: 400; }
.field select:hover, .field input:hover { border-color: var(--muted); }
.result { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.result:not([hidden]) { animation: rise .35s var(--ease-out) both; }
.result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.result-head span { font-size: 16px; font-weight: 700; }
.result-head small { font-size: 13px; color: var(--muted); text-align: right; }
.result textarea { margin-top: 10px; width: 100%; padding: 14px 16px; border: 0; border-radius: var(--radius); background: var(--paper); font-size: 16px; line-height: 1.65; resize: none; overflow: hidden; transition: background-color .4s ease; }
.result textarea.is-updated { background: var(--yellow-tint); transition: none; }
.result-actions { margin-top: 12px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.btn.is-done { box-shadow: inset 0 0 0 1.5px var(--navy); background: var(--yellow-tint); }
.result-hint { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.result-hint a { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.copy-status { margin-top: 6px; font-size: 14px; color: var(--ink); }
.copy-status:empty { display: none; }
.copy-status.is-warn { color: var(--amber-ink); }

/* ---------- 出场动效 ---------- */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .trades .reveal:nth-child(2) { transition-delay: .08s; }
.motion .trades .reveal:nth-child(3) { transition-delay: .16s; }
.motion .hero-copy > * { animation: rise .7s var(--ease-out) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: .08s; }
.motion .hero-copy > :nth-child(3) { animation-delay: .16s; }
.motion .hero-copy > :nth-child(4) { animation-delay: .24s; }
.motion .hero-photo img { animation: settle 1.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.06); } }

/* ---------- 中等宽度 ---------- */
@media (max-width: 1180px) {
  .header-tel { display: none; }
  .hero { --panel: min(540px, 56%); height: clamp(480px, 48vw, 560px); }
  .hero-panel { padding-right: 100px; }
  .hero-photo img { object-position: 74% 42%; }
  .hero h1 { font-size: clamp(38px, 4.4vw, 52px); }
  .quick a { min-height: 84px; padding: 16px 18px; gap: 12px; }
  .quick small { display: none; }
  .quick a > .icon:first-child { width: 40px; height: 40px; padding: 9px; }
  .trades { grid-template-columns: 1fr 1fr; }
  .trades .trade:last-child { grid-column: 1 / -1; flex-direction: row; }
  .trades .trade:last-child .trade-photo { flex: 1.1; aspect-ratio: auto; }
  .trades .trade:last-child .trade-body { flex: 1; border-top: 0; border-left: 4px solid var(--yellow); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .about-grid { padding-left: 0; }
  .enterprise-card { grid-template-columns: 1fr 1fr; }
  .enterprise-end { grid-column: 1 / -1; grid-auto-flow: column; align-items: center; justify-content: space-between; max-width: none; padding-top: 20px; border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  :root { --header: 64px; }
  .main-nav { position: fixed; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(19, 34, 55, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s .25s; }
  .main-nav[data-open] { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .25s var(--ease-out); }
  .main-nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current]::after { display: none; }
  .main-nav .nav-tel { display: flex; align-items: center; gap: 8px; margin-top: 8px; border: 0; color: var(--navy); font-weight: 700; }
  .header-inner { justify-content: space-between; }
  .menu-toggle { display: inline-flex; }

  .hero { flex-direction: column; width: 100%; max-width: none; height: auto; margin: 0; }
  .hero-photo { position: relative; left: auto; aspect-ratio: 4 / 3; max-height: 62svh; width: 100%; border-radius: 0; }
  .hero-photo img { object-position: 60% 62%; }
  .hero::after { display: none; }
  .hero-panel { width: 100%; flex-shrink: 1; margin-top: -48px; padding: 72px var(--gutter) 100px; clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%); }
  .hero-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 56px; background: var(--yellow); clip-path: polygon(0 48px, 100% 0, 100% 8px, 0 56px); }
  .hero h1 { margin-top: 18px; }
  .quick { margin-top: -56px; }
  .quick a { min-height: 96px; }
  .quick small { display: block; }
  .quick-inner { grid-template-columns: repeat(2, 1fr); }
  .quick a { border-radius: 0 !important; }
  .quick a:nth-child(1) { border-radius: var(--radius-lg) 0 0 0 !important; }
  .quick a:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0 !important; }
  .quick a:nth-child(3) { border-radius: 0 0 0 var(--radius-lg) !important; }
  .quick a:nth-child(4) { border-radius: 0 0 var(--radius-lg) 0 !important; }
  .quick a:nth-child(3)::before { display: none; }
  .quick a:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about-grid { grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .about-photo { border-radius: var(--radius-lg); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo { order: 2; }
  .enterprise-photo { height: auto; aspect-ratio: 16 / 10; }
  .enterprise-inner { margin-top: -48px; padding: 0 calc(var(--gutter) + 12px); }
  .enterprise-card { grid-template-columns: 1fr; gap: 20px; }
  .enterprise-end { grid-auto-flow: row; justify-content: stretch; justify-items: start; }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .brand small { display: none; }
  .header-end .btn-sm { display: none; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quick-inner { grid-template-columns: 1fr; }
  .quick a { min-height: 84px; padding: 16px 18px; border-radius: 0 !important; }
  .quick a:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
  .quick a:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
  .quick a + a { border-top: 1px solid var(--line); }
  .quick a + a::before { display: none; }
  .trades { grid-template-columns: 1fr; }
  .trades .trade:last-child { flex-direction: column; }
  .trades .trade:last-child .trade-photo { aspect-ratio: 3 / 2; }
  .trades .trade:last-child .trade-body { border-left: 0; border-top: 4px solid var(--yellow); }
  .trade-body { padding: 22px 20px 20px; }
  .process-head { align-items: stretch; }
  .mode-switch { width: 100%; }
  .mode-switch button { flex: 1; padding: 0 12px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; margin-top: 40px; }
  .steps::before { display: block; top: 28px; bottom: 28px; left: 27px; right: auto; height: auto; border-top: 0; border-left: 2px dashed #cfc7b4; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .steps li .step-no { grid-row: span 2; }
  .steps h3 { margin-top: 12px; }
  .process-foot { flex-direction: column; align-items: stretch; padding: 20px; }
  .facts dt { font-size: 36px; }
  .facts div + div { padding-left: 12px; }
  .facts dd { font-size: 14px; }
  .enterprise-card { padding: 28px 22px 24px; }
  .enterprise-end .btn { width: 100%; }
  .faq summary { font-size: 18px; min-height: 72px; }
  .answer { padding: 0 8px 22px 50px; }
  .contact-actions .btn { flex: 1 1 100%; }
  .sheet { width: 100%; max-width: none; max-height: 92svh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
  .sheet-head { padding: 22px 20px 14px; }
  .sheet-head h2 { font-size: 22px; }
  .sheet-body { padding: 0 20px calc(24px + env(safe-area-inset-bottom)); }
  .result-actions { grid-template-columns: 1fr; }

  .dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -20px rgba(19, 34, 55, .4); }
  .dock .btn { min-height: 50px; }
}
