/* =========================================================
   上海引璨电子科技服务有限公司 · 官网样式
   商务简约工业风：深海军蓝 + 黄铜金 + 冷灰
   ========================================================= */
:root {
  --navy: #0e1d2f;
  --navy-800: #132a44;
  --navy-700: #1b344c;
  --steel: #41586d;
  --amber: #c8963e;
  --amber-light: #e4b45f;
  --amber-soft: #f3e7cf;
  --paper: #ffffff;
  --bg: #f4f6f8;
  --bg-2: #eef1f4;
  --line: #dce3e9;
  --line-dark: #c8d2dc;
  --muted: #6b7c8c;
  --muted-2: #8c9aa7;
  --ink: #14202c;
  --danger: #b4453a;
  --success: #2e7d5b;
  --warning: #b7791f;
  --info: #2c5f8a;
  --radius: 2px;
  --shadow: 0 12px 32px rgba(14, 29, 47, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 29, 47, 0.14);
  --font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --header-h: 78px;
}

* { 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(--paper);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--amber); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.container { width: min(1240px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; left: -999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 18px; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); }
.text-amber { color: var(--amber); }
.text-danger { color: var(--danger); }
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 1;
  transition: all .22s ease; white-space: nowrap; text-align: center;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--amber); color: #10202f; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-light); border-color: var(--amber-light); color: #10202f; transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line-dark); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: rgba(14,29,47,.03); }
.btn-ghost-light { border-color: rgba(255,255,255,.34); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.link-arrow::after { content: "→"; color: var(--amber); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label, .field-label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.field > label .req, .req { color: var(--danger); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line-dark); background: #fff; border-radius: var(--radius);
  padding: 11px 13px; height: 46px; transition: border .18s, box-shadow .18s; font-size: 14px;
}
.textarea { height: auto; min-height: 118px; resize: vertical; line-height: 1.7; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(200,150,62,.13); outline: none; }
.input::placeholder, .textarea::placeholder { color: #a6b2bd; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7c8c' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .field.full { grid-column: 1 / -1; }
.form-hint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.checkbox-line { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); }
.checkbox-line input { margin-top: 4px; accent-color: var(--amber); }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { border: 1px solid var(--line-dark); padding: 11px 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 14px; transition: all .18s; }
.radio-card input { accent-color: var(--amber); }
.radio-card:has(input:checked) { border-color: var(--amber); background: #fdf8ee; }
.radio-card small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- 顶部信息栏 ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: var(--amber-light); }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar .dot { width: 5px; height: 5px; background: var(--amber); border-radius: 50%; display: inline-block; margin-right: 7px; }

/* ---------- 主站头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(14,29,47,.08); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 196px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.main-nav a { position: relative; padding: 8px 11px; font-size: 14px; font-weight: 500; color: #31465a; letter-spacing: .01em; white-space: nowrap; flex: 0 0 auto; }
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 1px; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { color: var(--navy); font-weight: 700; }
.main-nav a.is-active::after, .main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-tel { text-align: right; line-height: 1.25; }
.header-tel small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.header-tel strong { font-family: var(--mono); font-size: 15px; letter-spacing: .02em; color: var(--navy); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 120; background: var(--navy); color: #fff;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
  padding: 22px 26px 40px; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-nav-head img { width: 170px; }
.mobile-nav-close { width: 40px; height: 40px; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.mobile-nav a { display: block; padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 17px; }
.mobile-nav .btn { margin-top: 22px; }
.mobile-nav-foot { margin-top: auto; padding-top: 30px; color: rgba(255,255,255,.55); font-size: 13px; }
.mobile-nav-foot strong { color: var(--amber-light); font-family: var(--mono); font-size: 18px; display: block; }

/* ---------- 首屏 ---------- */
.hero { position: relative; background: var(--navy); color: #fff; min-height: 640px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center right;
  opacity: 0; transition: opacity 1s ease; transform: scale(1.02);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); transition: opacity 1s ease, transform 8s linear; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9,19,32,.97) 0%, rgba(9,19,32,.9) 34%, rgba(9,19,32,.55) 58%, rgba(9,19,32,.18) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(0deg, rgba(9,19,32,.8), transparent);
}
.hero-inner { position: relative; z-index: 2; padding: 112px 0 120px; }
.hero-content { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--amber-light); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--amber); }
.hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.16; font-weight: 700; letter-spacing: .02em; margin: 26px 0 22px; }
.hero h1 em { font-style: normal; color: var(--amber-light); }
.hero-sub { font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.72); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 34px; margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.hero-meta div { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .08em; }
.hero-meta strong { display: block; font-size: 20px; color: #fff; font-weight: 600; margin-bottom: 3px; letter-spacing: .02em; }
.hero-dots { position: absolute; right: max(28px, calc((100vw - 1240px) / 2)); bottom: 38px; z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; border: 0; background: rgba(255,255,255,.28); padding: 0; transition: background .2s; }
.hero-dots button.is-active { background: var(--amber); }

/* ---------- 数据条 ---------- */
.stat-bar { position: relative; z-index: 5; margin-top: -54px; background: #fff; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 28px 30px; border-right: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 38px; font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.stat-num span { font-size: 17px; color: var(--amber); margin-left: 3px; }
.stat-label { font-size: 13px; color: var(--muted); letter-spacing: .05em; }

/* ---------- 区块通用 ---------- */
.section { padding: 92px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--navy); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.3; font-weight: 700; letter-spacing: .01em; margin-top: 12px; }
.section-head h2 em { font-style: normal; color: var(--amber); }
.section-head .sec-desc { max-width: 520px; color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 14px; }
.sec-index { font-family: var(--mono); color: var(--amber); font-size: 12px; letter-spacing: .18em; }
.section.dark .section-head h2 { color: #fff; }
.section.dark .sec-desc { color: rgba(255,255,255,.6); }
.section-link { flex: 0 0 auto; padding-bottom: 6px; }

/* ---------- 业务范围 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: #fff; }
.service-card { position: relative; padding: 34px 26px 30px; border-right: 1px solid var(--line); transition: all .25s; display: flex; flex-direction: column; min-height: 330px; }
.service-card:last-child { border-right: 0; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .28s; }
.service-card:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 46px; height: 46px; color: var(--amber); margin-bottom: 22px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 19px; margin-bottom: 4px; font-weight: 700; }
.service-en { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); margin-bottom: 16px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.service-card ul { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.service-card li { font-size: 12px; color: var(--steel); display: flex; gap: 7px; }
.service-card li::before { content: "—"; color: var(--amber); }
.service-card:hover p, .service-card:hover li, .service-card:hover .service-en { color: rgba(255,255,255,.62); }
.service-more { margin-top: 20px; font-size: 12px; color: var(--amber); font-weight: 600; letter-spacing: .1em; }

/* ---------- 关于预览 ---------- */
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-visual::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--amber); z-index: -1; }
.about-badge { position: absolute; right: -18px; bottom: -18px; background: var(--navy); color: #fff; padding: 22px 28px; min-width: 170px; }
.about-badge strong { display: block; font-size: 34px; color: var(--amber-light); line-height: 1; }
.about-badge span { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .1em; }
.about-copy h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.35; margin: 14px 0 20px; }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 2; margin-bottom: 14px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 30px; }
.check-list li { font-size: 13px; display: flex; gap: 9px; align-items: flex-start; color: var(--steel); }
.check-list li::before { content: "✓"; color: var(--amber); font-weight: 700; }

/* ---------- 产品 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--line-dark); }
.product-thumb { position: relative; aspect-ratio: 1/1; background: #f0f3f6; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-cat { position: absolute; left: 12px; top: 12px; background: rgba(14,29,47,.88); color: #fff; font-size: 11px; padding: 4px 9px; letter-spacing: .06em; }
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.product-body p { color: var(--muted); font-size: 12.5px; margin: 7px 0 16px; line-height: 1.7; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.product-foot .arrow { color: var(--amber); font-size: 18px; transition: transform .2s; }
.product-card:hover .product-foot .arrow { transform: translateX(4px); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { position: relative; overflow: hidden; background: var(--navy); display: block; }
.case-card-img { aspect-ratio: 4/3; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.case-card:hover .case-card-img img { transform: scale(1.05); opacity: .78; }
.case-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 22px; background: linear-gradient(0deg, rgba(9,19,32,.96) 10%, rgba(9,19,32,.7) 70%, transparent); color: #fff; }
.case-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.case-tags span { font-size: 10px; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.32); padding: 2px 7px; color: rgba(255,255,255,.8); }
.case-card h3 { font-size: 17px; line-height: 1.5; font-weight: 600; }
.case-card p { font-size: 12px; color: rgba(255,255,255,.62); margin-top: 8px; display: none; }
.case-card:hover p { display: block; }
.case-card .case-arrow { position: absolute; right: 22px; bottom: 24px; color: var(--amber); font-size: 20px; opacity: 0; transform: translateX(-6px); transition: all .25s; }
.case-card:hover .case-arrow { opacity: 1; transform: translateX(0); }

/* ---------- 流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.process-item { padding: 34px 30px 8px 0; position: relative; }
.process-item + .process-item { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.16); }
.process-num { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: .16em; }
.process-item h3 { font-size: 18px; margin: 16px 0 10px; color: #fff; }
.process-item p { font-size: 13px; color: rgba(255,255,255,.58); line-height: 1.9; }

/* ---------- 资讯与资质 ---------- */
.insight-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; }
.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 82px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .2s; }
.news-row:hover { padding-left: 6px; }
.news-date { font-family: var(--mono); color: var(--muted); font-size: 12px; line-height: 1.4; }
.news-date strong { display: block; font-size: 26px; color: var(--navy); font-weight: 600; }
.news-row h3 { font-size: 16px; font-weight: 600; line-height: 1.55; }
.news-row h3 a:hover { color: var(--amber); }
.news-row .news-cat { font-size: 11px; color: var(--amber); letter-spacing: .1em; margin-bottom: 4px; }
.news-row .news-arrow { color: var(--muted-2); font-size: 18px; }
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qual-item { border: 1px solid var(--line); background: #f7f5ef; padding: 10px 10px 12px; text-align: center; transition: all .2s; cursor: zoom-in; }
.qual-item:hover { border-color: var(--amber); box-shadow: var(--shadow); }
.qual-item img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.qual-item span { display: block; font-size: 11px; color: var(--steel); margin-top: 8px; line-height: 1.5; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-line { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-line .ico { width: 38px; height: 38px; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: var(--amber); flex: 0 0 auto; }
.contact-line small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.contact-line strong { font-size: 16px; font-weight: 600; line-height: 1.6; }
.contact-form-card { background: #fff; border: 1px solid var(--line); padding: 34px; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 21px; margin-bottom: 4px; }
.contact-form-card > p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* ---------- 页面头部 ---------- */
.page-head { position: relative; background: var(--navy); color: #fff; padding: 78px 0 66px; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; }
.page-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 380px; height: 380px; border: 1px solid rgba(200,150,62,.28); transform: rotate(18deg); }
.page-head .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .06em; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--amber-light); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.25; font-weight: 700; letter-spacing: .02em; }
.page-head p { margin-top: 14px; color: rgba(255,255,255,.6); max-width: 640px; font-size: 14px; line-height: 1.9; }
.page-head .eyebrow { margin-bottom: 6px; }

/* ---------- 产品/案例筛选 ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 34px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tabs button, .filter-tabs a.filter-tab { display: inline-flex; align-items: center; gap: 4px; border: 1px solid transparent; background: transparent; padding: 8px 16px; font-size: 13px; color: var(--muted); transition: all .18s; }
.filter-tabs button:hover, .filter-tabs a.filter-tab:hover { color: var(--navy); background: var(--bg); }
.filter-tabs button.is-active, .filter-tabs a.filter-tab.is-active { background: var(--navy); color: #fff; }
.filter-search { display: flex; gap: 8px; }
.filter-search .input { height: 40px; width: 220px; }
.filter-search .btn { height: 40px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; }
.pagination button { min-width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--steel); }
.pagination button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 详情 ---------- */
.detail-wrap { padding: 56px 0 90px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.detail-media { border: 1px solid var(--line); background: #f0f3f6; position: sticky; top: calc(var(--header-h) + 24px); }
.detail-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.detail-info h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; margin: 10px 0 12px; }
.detail-info .sub { color: var(--muted); font-size: 15px; line-height: 1.8; }
.param-table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 13px; }
.param-table th, .param-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.param-table th { background: var(--bg); width: 34%; font-weight: 600; color: var(--steel); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.prose { font-size: 14.5px; line-height: 2; color: #33475a; }
.prose h2, .prose h3 { color: var(--navy); line-height: 1.5; margin: 28px 0 12px; }
.prose h2 { font-size: 22px; } .prose h3 { font-size: 18px; }
.prose p { margin: 0 0 16px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.prose img { margin: 18px 0; }
.prose a { color: var(--info); text-decoration: underline; }
.article-wrap { padding: 64px 0 90px; }
.article-head { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.article-head h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.45; margin: 14px 0 16px; }
.article-meta { display: flex; justify-content: center; gap: 22px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.article-body { max-width: 820px; margin: 0 auto; }
.article-body > img { width: 100%; margin-bottom: 30px; }
.article-nav { max-width: 820px; margin: 44px auto 0; border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 10px; font-size: 13px; }
.article-nav a { color: var(--steel); }
.article-nav a:hover { color: var(--amber); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; cursor: zoom-in; border: 1px solid var(--line); }
.case-meta { display: flex; gap: 30px; flex-wrap: wrap; margin: 24px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-meta div { font-size: 12px; color: var(--muted); }
.case-meta strong { display: block; color: var(--navy); font-size: 14px; margin-top: 3px; }

/* ---------- 服务门户 ---------- */
.service-hub { background: var(--navy); color: #fff; padding: 76px 0 90px; position: relative; overflow: hidden; }
.service-hub::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.service-hub .container { position: relative; z-index: 1; }
.service-hub h1 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 14px; }
.service-hub p { color: rgba(255,255,255,.62); max-width: 620px; }
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 42px; }
.hub-card { border: 1px solid rgba(255,255,255,.18); padding: 26px 24px; background: rgba(255,255,255,.03); transition: all .22s; }
.hub-card:hover { background: rgba(255,255,255,.08); border-color: var(--amber); transform: translateY(-3px); }
.hub-card .ico { color: var(--amber); margin-bottom: 18px; }
.hub-card h3 { font-size: 17px; margin-bottom: 8px; }
.hub-card p { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.8; }
.hub-card .go { display: block; margin-top: 18px; font-size: 12px; letter-spacing: .1em; color: var(--amber); }
.service-layout { display: grid; grid-template-columns: 1fr 350px; gap: 34px; align-items: start; padding: 56px 0 90px; width: min(1240px, calc(100% - 56px)); margin-inline: auto; }

/* ---------- 客户端工单详情：紧凑单页工作台 ---------- */
.ticket-detail-wrap { width: min(1240px, calc(100% - 56px)); margin-inline: auto; padding: 18px 0 28px; }
.td-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.td-back { display: inline-block; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.td-back:hover { color: var(--amber); }
.td-title-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.td-title-row h1 { font-size: 23px; letter-spacing: .01em; margin: 0; }
.td-sub { margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.td-head-actions { display: flex; gap: 8px; flex-shrink: 0; }
.td-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 14px; align-items: start; }
.td-main, .td-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.td-card { background: #fff; border: 1px solid var(--line); }
.td-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.td-card-head h2 { font-size: 13px; margin: 0; }
.td-card-head p { margin: 3px 0 0; font-size: 10.5px; color: var(--muted); }
.td-card-body { padding: 11px 14px; }
.td-card .steps { margin: 0 0 10px; }
.td-card .step { font-size: 10px; }
.td-card .step .dot { width: 14px; height: 14px; border-width: 1.5px; margin-bottom: 5px; }
.td-card .step::before { top: 7px; }
.td-status-note { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.td-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; padding: 8px 10px; background: #f8fafb; border: 1px solid var(--line); }
.td-info-grid small { display: block; font-size: 9.5px; color: var(--muted); margin-bottom: 2px; }
.td-info-grid span { display: block; font-size: 11.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-desc { margin-top: 11px; }
.td-desc strong { font-size: 11px; color: var(--muted); font-weight: 500; }
.td-desc p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.8; color: #33475a; }
.td-tip { margin-top: 10px; padding: 8px 11px; background: #f7f3e8; border-left: 3px solid var(--amber); font-size: 11.5px; color: #6d5b32; }
.td-fee-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.td-fee-stats div { padding: 6px 8px; background: #f8fafb; border: 1px solid var(--line); }
.td-fee-stats small { display: block; font-size: 9.5px; color: var(--muted); }
.td-fee-stats b { display: block; margin-top: 2px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--navy); }
.td-fee-stats b.is-due { color: var(--danger); }
.td-fee-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; margin-top: 10px; font-size: 10.5px; color: var(--muted); }
.td-fee-mini span { display: flex; justify-content: space-between; padding-bottom: 4px; border-bottom: 1px dashed var(--line); }
.td-fee-mini b { color: var(--ink-2); font-weight: 500; font-family: var(--mono); }
.td-media .media-grid { gap: 7px; }
.td-media .media-grid a, .td-media .media-grid img { width: 68px; height: 52px; }
.td-media .media-grid .attachment { width: 100%; height: auto; font-size: 11px; padding: 7px 9px; }
.td-record-scroll { max-height: 240px; overflow: auto; scrollbar-width: thin; }
.td-timeline-scroll { max-height: 188px; overflow: auto; scrollbar-width: thin; }
.td-card .record-item { padding: 10px 0; }
.td-card .record-item p { font-size: 12px; line-height: 1.7; }
.td-card .record-item .rec-meta { font-size: 10px; gap: 12px; margin-bottom: 4px; }
.td-parts { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.td-parts > small { display: block; margin-bottom: 5px; }
.td-parts .param-table { margin: 6px 0 0; font-size: 10.5px; }
.td-parts .param-table th, .td-parts .param-table td { padding: 6px 8px; }
.td-timeline-scroll .timeline { padding-left: 18px; }
.td-timeline-scroll .timeline::before { left: 4px; }
.td-timeline-scroll .timeline-item { padding-bottom: 12px; }
.td-timeline-scroll .timeline-item::before { left: -18px; top: 4px; width: 7px; height: 7px; }
.td-timeline-scroll .timeline-time { font-size: 9.5px; }
.td-timeline-scroll .timeline-item strong { font-size: 11.5px; margin: 1px 0 2px; }
.td-timeline-scroll .timeline-item p { font-size: 10.5px; line-height: 1.6; }
.td-confirm-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.td-confirm-body .textarea { min-height: 54px; margin: 0; }
.td-rating small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.td-rating .rating-stars button { font-size: 23px; }
.td-support { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--navy); color: rgba(255,255,255,.65); font-size: 10.5px; }
.td-support a { color: var(--amber-light); font-family: var(--mono); font-size: 13px; }
@media (max-width: 1020px) {
  .td-grid { grid-template-columns: 1fr; }
  .td-side { display: grid; grid-template-columns: 1fr 1fr; }
  .td-support { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .ticket-detail-wrap { width: calc(100% - 30px); padding-top: 16px; }
  .td-head { align-items: flex-start; flex-direction: column; }
  .td-head-actions { width: 100%; }
  .td-title-row h1 { font-size: 21px; }
  .td-info-grid { grid-template-columns: 1fr 1fr; }
  .td-side { display: flex; }
  .td-confirm-body { grid-template-columns: 1fr; }
  .td-support { flex-direction: column; }
}
.panel { background: #fff; border: 1px solid var(--line); padding: 32px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 22px; }
.panel-head p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.side-card { border: 1px solid var(--line); background: #fff; padding: 26px; margin-bottom: 18px; }
.side-card h3 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ""; width: 3px; height: 14px; background: var(--amber); }
.side-list { display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; color: var(--muted); }
.side-list li { display: block; line-height: 1.8; }
.side-list b { color: var(--navy); font-weight: 600; }
.side-card.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.side-card.dark h3 { color: #fff; }
.side-card.dark p { color: rgba(255,255,255,.6); font-size: 12.5px; }
.side-card.dark .tel { font-family: var(--mono); font-size: 24px; color: var(--amber-light); margin: 8px 0 12px; }

.upload-box { border: 1px dashed var(--line-dark); background: #fafbfc; padding: 26px; text-align: center; cursor: pointer; transition: all .18s; }
.upload-box:hover, .upload-box.is-drag { border-color: var(--amber); background: #fdf8ee; }
.upload-box .ico { color: var(--amber); margin-bottom: 8px; }
.upload-box strong { display: block; font-size: 13px; }
.upload-box span { font-size: 12px; color: var(--muted); }
.upload-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.upload-item { position: relative; width: 86px; height: 86px; border: 1px solid var(--line); background: #f0f3f6; }
.upload-item img, .upload-item video { width: 100%; height: 100%; object-fit: cover; }
.upload-item button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: 0; background: rgba(14,29,47,.8); color: #fff; font-size: 12px; line-height: 1; }
.upload-item .filetag { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); padding: 6px; text-align: center; word-break: break-all; }
.warranty-tip { background: #f7f3e8; border-left: 3px solid var(--amber); padding: 13px 16px; font-size: 12.5px; color: #6d5b32; line-height: 1.8; }
.warranty-tip strong { color: var(--navy); }

/* ---------- 进度步骤 ---------- */
.steps { display: flex; margin: 26px 0 8px; }
.step { flex: 1; position: relative; text-align: center; font-size: 11px; color: var(--muted); }
.step::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.step:first-child::before { left: 50%; }
.step:last-child::before { right: 50%; }
.step .dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line-dark); margin: 0 auto 8px; }
.step.is-done .dot { background: var(--amber); border-color: var(--amber); }
.step.is-done::before { background: var(--amber); }
.step.is-current .dot { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(200,150,62,.16); }
.step.is-current { color: var(--navy); font-weight: 600; }
.step.is-cancel .dot { border-color: var(--danger); background: var(--danger); }

.status-steps { margin: 18px 0 6px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 9px; border-radius: 2px; background: #eef2f5; color: var(--steel); font-weight: 500; white-space: nowrap; }
.status-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pending { background: #fdf3e3; color: #a46a12; }
.status-assigned, .status-quoting { background: #e8f0f8; color: #2c5f8a; }
.status-accepted, .status-signed { background: #eaf3ef; color: #2e7d5b; }
.status-onsite, .status-executing { background: #e8f2f6; color: #1e6b7f; }
.status-completed { background: #f0ecf8; color: #5b4a91; }
.status-confirmed { background: #e9f3ee; color: #2e7d5b; }
.status-cancelled { background: #f4eceb; color: #a04a41; }
.status-urgent { background: #fbeceb; color: var(--danger); }

/* ---------- 工单卡片 / 账户 ---------- */
.account-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; padding: 50px 0 90px; width: min(1240px, calc(100% - 56px)); margin-inline: auto; }
.account-side { border: 1px solid var(--line); background: #fff; position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { padding: 26px; border-bottom: 1px solid var(--line); }
.avatar { width: 52px; height: 52px; background: var(--navy); color: var(--amber-light); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.account-user strong { display: block; font-size: 16px; }
.account-user span { font-size: 12px; color: var(--muted); }
.account-menu a, .account-menu button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 13px 24px; font-size: 13px; color: var(--steel); border: 0; background: transparent; text-align: left; border-left: 2px solid transparent; }
.account-menu a.is-active, .account-menu button.is-active { background: #f7f9fa; color: var(--navy); border-left-color: var(--amber); font-weight: 600; }
.account-menu .logout { color: var(--danger); }
.account-main { min-width: 0; }
.account-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.account-head h2 { font-size: 22px; }
.customer-ticket-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.customer-ticket-toolbar .input { width: 240px; }
.customer-ticket-toolbar .select { width: 130px; }
.customer-ticket-toolbar #ticketFilterCount { margin-left: auto; }
.customer-ticket-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.customer-ticket-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.customer-ticket-table th { background: #f7f4ee; color: var(--muted); font-size: 11px; font-weight: 600; text-align: left; padding: 10px 12px; white-space: nowrap; }
.customer-ticket-table td { padding: 10px 11px; border-top: 1px solid var(--line); font-size: 12px; vertical-align: middle; white-space: nowrap; }
.customer-ticket-table th:last-child, .customer-ticket-table td:last-child { position: sticky; right: 0; z-index: 1; background: #fff; box-shadow: -1px 0 0 var(--line); }
.customer-ticket-table th:last-child { background: #f7f4ee; }
.customer-ticket-table td small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.customer-ticket-table .ticket-no-link { color: var(--navy); text-decoration: none; border-bottom: 1px dashed #b9ac97; font-size: 11px; white-space: nowrap; }
.customer-ticket-table .ticket-no-link:hover { color: var(--amber); }
.customer-ticket-desc { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.customer-ticket-empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .customer-ticket-toolbar .input { width: 100%; }
  .customer-ticket-toolbar .select { flex: 1; width: auto; }
  .customer-ticket-toolbar #ticketFilterCount { margin-left: 0; width: 100%; }
}
.ticket-list { display: flex; flex-direction: column; gap: 12px; }
.ticket-item { border: 1px solid var(--line); background: #fff; padding: 20px 22px; transition: border .18s, box-shadow .18s; }
.ticket-item:hover { border-color: var(--line-dark); box-shadow: var(--shadow); }
.ticket-item-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 9px; }
.ticket-no { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.ticket-item h3 { font-size: 15px; font-weight: 600; line-height: 1.6; }
.ticket-item .meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 10px; }
.ticket-item .actions { display: flex; gap: 8px; margin-top: 14px; }
.data-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-dark); color: var(--muted); }
.data-empty .ico { color: var(--line-dark); margin-bottom: 12px; }
.data-empty p { font-size: 13px; }
.profile-form { max-width: 560px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item::before { content: ""; position: absolute; left: -24px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--amber); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-time { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.timeline-item strong { display: block; font-size: 14px; margin: 3px 0 3px; }
.timeline-item p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.detail-block { border: 1px solid var(--line); background: #fff; margin-bottom: 18px; }
.detail-block-head { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.detail-block-body { padding: 22px; }
.kv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.kv-item small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.kv-item span { font-size: 13px; }
.record-item { border-top: 1px dashed var(--line); padding: 16px 0; }
.record-item:first-child { border-top: 0; padding-top: 0; }
.record-item p { font-size: 13px; line-height: 1.8; color: #33475a; }
.record-item .rec-meta { font-size: 11px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 16px; }
.media-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.media-grid a, .media-grid img { width: 108px; height: 82px; object-fit: cover; border: 1px solid var(--line); }
.attachment { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 11px 14px; font-size: 13px; margin-top: 8px; }
.attachment .ico { color: var(--amber); }
.rating-stars { display: flex; gap: 4px; }
.rating-stars button { background: transparent; border: 0; font-size: 30px; line-height: 1; color: #d7dee4; padding: 0; }
.rating-stars button.is-on { color: var(--amber); }

/* ---------- 订单清单 ---------- */
.order-lines { border: 1px solid var(--line); }
.order-line { display: grid; grid-template-columns: 2fr 1fr 90px 90px 36px; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); align-items: center; }
.order-line:last-child { border-bottom: 0; }
.order-line .input { height: 40px; }
.order-line-head { background: var(--bg); font-size: 12px; color: var(--muted); padding: 9px 12px; }
.order-line .del { border: 1px solid var(--line); background: #fff; height: 36px; color: var(--muted); }
.order-total-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 12px 0; }
.order-summary { background: var(--bg); padding: 14px 18px; font-size: 12.5px; color: var(--steel); line-height: 1.9; }
.order-card summary { list-style: none; }
.order-card summary::-webkit-details-marker { display: none; }
.order-card summary::after { content: "展开详情 +"; display: inline-block; margin-top: 8px; font-size: 12px; color: var(--amber); }
.order-card[open] summary::after { content: "收起详情 −"; }
.news-item:hover h3 { color: var(--amber); }

/* ---------- 成功页 ---------- */
.success-box { border: 1px solid var(--line); background: #fff; padding: 46px; text-align: center; max-width: 680px; margin: 40px auto; }
.success-ico { width: 66px; height: 66px; border-radius: 50%; background: #eaf3ee; color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; }
.success-box h2 { font-size: 24px; margin-bottom: 8px; }
.success-box p { color: var(--muted); font-size: 13.5px; }
.success-code { font-family: var(--mono); font-size: 22px; letter-spacing: .08em; color: var(--navy); background: var(--bg); padding: 12px 18px; display: inline-block; margin: 18px 0; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ---------- 登录 ---------- */
.auth-page { min-height: calc(100vh - var(--header-h) - 36px); display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; }
.auth-visual { background: var(--navy); color: #fff; padding: 70px 60px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-visual::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/case-3.svg") center/cover; opacity: .28; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,19,32,.55), rgba(9,19,32,.94)); }
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.4; margin: 20px 0 16px; }
.auth-visual p { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.9; max-width: 420px; }
.auth-form { padding: 60px 8vw; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { font-size: 28px; margin-bottom: 6px; }
.auth-form > p { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.auth-form form { max-width: 400px; }
.auth-alt { margin-top: 20px; font-size: 13px; color: var(--muted); }
.auth-alt a { color: var(--amber); font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a1625; color: rgba(255,255,255,.55); padding: 68px 0 0; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 48px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { width: 200px; margin-bottom: 20px; }
.footer-brand p { line-height: 1.9; max-width: 310px; color: rgba(255,255,255,.48); }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: .06em; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--amber-light); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.7; }
.footer-contact .ico { color: var(--amber); flex: 0 0 auto; margin-top: 3px; }
.footer-contact strong { color: var(--amber-light); font-family: var(--mono); font-size: 18px; display: block; }
.footer-qr { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.footer-qr img { width: 80px; height: 80px; background: #fff; padding: 4px; }
.footer-qr span { font-size: 11px; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 11.5px; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,.45); }

/* ---------- 浮层 ---------- */
.toast-root { position: fixed; top: 94px; right: 24px; z-index: 400; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; font-size: 13px; min-width: 240px; box-shadow: var(--shadow-lg); border-left: 3px solid var(--amber); animation: toastIn .25s ease; }
.toast.is-error { border-left-color: var(--danger); }
.toast.is-success { border-left-color: var(--success); }
@keyframes toastIn { from { opacity: 0; transform: translateX(14px); } }
.modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(7,15,25,.82); display: flex; align-items: center; justify-content: center; padding: 30px; animation: fadeIn .2s; }
.modal-box { background: #fff; max-width: 900px; width: 100%; max-height: 90vh; overflow: auto; position: relative; animation: modalIn .25s ease; }
.modal-box img { width: 100%; }
.modal-close { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; background: rgba(14,29,47,.85); color: #fff; font-size: 18px; z-index: 2; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.lightbox-img { max-width: min(1000px, 92vw); max-height: 88vh; object-fit: contain; background: #fff; }
.inspection-preview-modal { max-width: 1100px; width: calc(100vw - 56px); }
.inspection-preview { display: flex; flex-direction: column; height: 78vh; min-height: 520px; }
.inspection-preview-modal .modal-close { z-index: 5; top: 8px; right: 8px; background: var(--paper); }
.inspection-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 58px 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.inspection-preview-toolbar strong { display: block; font-size: 14px; }
.inspection-preview-toolbar span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.inspection-preview-toolbar .actions { display: flex; gap: 8px; }
.inspection-preview iframe { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 720px) {
  .inspection-preview-modal { width: calc(100vw - 24px); }
  .inspection-preview { height: 76vh; min-height: 420px; }
  .inspection-preview-toolbar { padding: 10px 48px 10px 12px; }
  .inspection-preview-toolbar .actions { width: 100%; }
  .inspection-preview-toolbar .btn { flex: 1; }
}
.modal-box.gallery-modal { width: auto; max-width: none; background: transparent; overflow: visible; }
.gallery-modal .modal-close { right: 0; top: 0; width: 38px; height: 38px; background: rgba(14,29,47,.9); }
.lightbox-gallery { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lg-stage { display: flex; align-items: center; justify-content: center; position: relative; }
.lg-image { max-width: min(1120px, 88vw); max-height: 78vh; object-fit: contain; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.35); }
.lg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 1px solid rgba(255,255,255,.25); background: rgba(10,18,28,.72); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; z-index: 2; }
.lg-nav:hover { background: rgba(10,18,28,.92); border-color: var(--amber); color: var(--amber-light); }
.lg-prev { left: -58px; }
.lg-next { right: -58px; }
.lg-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1120px, 88vw); color: rgba(255,255,255,.82); font-size: 12px; }
.lg-bar #lgCaption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-bar #lgCounter { flex-shrink: 0; font-family: var(--mono); color: rgba(255,255,255,.55); }
@media (max-width: 720px) {
  .lg-image { max-width: 92vw; max-height: 70vh; }
  .lg-nav { width: 34px; height: 52px; font-size: 27px; background: rgba(10,18,28,.6); }
  .lg-prev { left: 4px; }
  .lg-next { right: 4px; }
  .lg-bar { width: 92vw; }
}
.spinner { width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--amber); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot-loading { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 13px; }
.page-loading { min-height: 340px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 13px; }
.skeleton { background: linear-gradient(90deg, #eef1f4 25%, #f7f8f9 37%, #eef1f4 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 9px; font-size: 13px; }
  .header-tel { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { min-height: 300px; }
  .service-card:nth-child(3) { border-right: 0; }
  .service-card:nth-child(n+4) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .container { width: calc(100% - 40px); }
  .main-nav, .header-actions .header-tel { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 84px 0 100px; }
  .hero-content { max-width: 540px; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about-grid, .insight-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-media { position: static; }
  .about-visual { max-width: 620px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-item:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .process-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; width: calc(100% - 40px); }
  .service-layout { width: calc(100% - 40px); }
  .account-side { position: static; }
  .account-menu { display: flex; overflow-x: auto; }
  .account-menu a, .account-menu button { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 13px 18px; }
  .account-menu a.is-active, .account-menu button.is-active { border-left: 0; border-bottom-color: var(--amber); background: #fff; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form { padding: 60px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .kv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .container { width: calc(100% - 30px); }
  .topbar { display: none; }
  .header-inner { height: 66px; }
  .brand img { width: 158px; }
  .header-actions .btn { display: none; }
  .hero { min-height: 520px; }
  .hero-inner { padding: 66px 0 90px; }
  .hero h1 { font-size: 34px; margin: 18px 0 16px; }
  .hero-sub { font-size: 14px; }
  .hero-actions .btn { flex: 1; }
  .hero-meta { gap: 20px; margin-top: 36px; }
  .stat-bar { margin-top: -34px; }
  .stat-item { padding: 20px 18px; }
  .stat-num { font-size: 28px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; border-top: 1px solid var(--line); min-height: auto; }
  .service-card:first-child { border-top: 0; }
  .service-card ul { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 14px; }
  .product-body p { display: none; }
  .product-foot { font-size: 11px; }
  .case-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-card p { display: block; }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .news-row { grid-template-columns: 62px 1fr; gap: 14px; }
  .news-row .news-arrow { display: none; }
  .news-date strong { font-size: 21px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-item { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid rgba(255,255,255,.16); }
  .process-item:first-child { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-card, .panel { padding: 22px 18px; }
  .page-head { padding: 54px 0 46px; }
  .filter-bar { align-items: flex-start; }
  .filter-search { width: 100%; }
  .filter-search .input { flex: 1; width: auto; }
  .detail-wrap, .article-wrap { padding: 34px 0 60px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .service-layout { padding: 30px 0 60px; }
  .account-layout { padding: 30px 0 60px; width: calc(100% - 30px); }
  .service-layout { width: calc(100% - 30px); }
  .kv-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr !important; gap: 14px !important; }
  .news-item > div:first-child { aspect-ratio: 16/9 !important; }
  .order-line { display: flex; flex-wrap: wrap; padding: 10px; }
  .order-line [name="item_name"] { width: 100%; }
  .order-line .spec { flex: 1; min-width: 130px; }
  .order-line [name="item_qty"] { width: 72px; }
  .order-line [name="item_unit"] { width: 68px; }
  .order-line .del { width: 36px; }
  .order-line-head { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .success-box { padding: 30px 20px; }
  .modal-overlay { padding: 12px; }
  .article-head { text-align: left; }
  .article-meta { justify-content: flex-start; }
  .toast-root { left: 15px; right: 15px; top: 78px; }
  .toast { min-width: 0; }
}

/* 三级响应级别 */
.urgency-radio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .urgency-radio { grid-template-columns: 1fr; }
}
