/* =========================================================
   湖南旭湘冷水空调设备有限公司 · 企业官网样式系统
   简约大气 / 工业冷色调 / 响应式（PC + 手机站）
   ========================================================= */

/* 防变形守卫：img 带 width/height 属性时高度恢复等比自动。
   HTML height 属性是最低优先级的 presentational hint，会把高度钉死，
   与「CSS width:100% + aspect-ratio」组合时横图被拉成竖条 —— 这里统一解开；
   任何后续选择器（.x img{height:100%} 等）特异性相同或更高，写在其后即可正常覆盖。 */
img[width][height] { height: auto; }

:root {
  --brand: #0a4d8c;
  --brand-2: #0e6bb8;
  --brand-3: #1e9ad6;
  --brand-soft: #eaf3fb;
  --ink: #0f1b2d;
  --ink-2: #33475f;
  --muted: #5d7288;
  --line: #e4ebf3;
  --line-2: #eff4f9;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-deep: #0b1a2b;
  --danger: #c0392b;
  --ok: #1f8a55;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05), 0 4px 14px rgba(15, 27, 45, .05);
  --shadow: 0 2px 6px rgba(15, 27, 45, .06), 0 18px 42px rgba(15, 27, 45, .09);
  --maxw: 1200px;
  --header-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
          "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.2px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(15, 27, 45, .07); background: rgba(255,255,255,.95); }

.nav-wrap {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(14, 107, 184, .3);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 17px; letter-spacing: .3px; }
.brand-text span { font-size: 11.5px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a {
  padding: 9px 15px; border-radius: 9px; font-size: 15px; color: var(--ink-2);
  font-weight: 500; transition: color .18s, background .18s;
}
.nav-menu a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-menu a.active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }

/* 导航项较多时，中等宽度（平板 / 小笔记本）收紧间距，避免与右侧按钮挤压 */
@media (min-width: 861px) and (max-width: 1140px) {
  .nav-menu { gap: 1px; }
  .nav-menu a { padding: 8px 10px; font-size: 14px; }
  .brand-text b { font-size: 16px; }
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* =========================================================
   CTA 按钮体系 · 全站单一源头
   ---------------------------------------------------------
   只有两个层级，两种底：
     层级      浅底（默认）        深底（.on-dark）
     主行动     .btn-primary       .btn-light
     次行动     .btn-ghost         .btn-line
     三级文字   .btn-soft          （深底用 .btn-line）
     电话专用   .btn-tel
     紧急行动   .btn-danger
     尺寸       .btn-sm / .btn-block
   规则：
   1. 一个 CTA 组里「主行动」只允许出现一次，其余一律降为次行动；
   2. 深底区块优先用 .on-dark 包一层，内部照常写 .btn-primary / .btn-ghost，
      样式会自动翻成浅色版 —— 不必再手写 btn-light / btn-line；
   3. .btn-light / .btn-line / .btn-tel 保留为显式深底写法（存量页面在用），
      这里给出全局定义，避免脱离 .cta-band 等容器后塌成裸按钮。
   ========================================================= */

/* ---- 基础 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  text-decoration: none; line-height: 1.35;
  transition: transform .16s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 15px; font-size: 14px; border-radius: 9px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* ---- 浅底皮肤（默认） ---- */
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 8px 20px rgba(10, 77, 140, .24); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(10, 77, 140, .3); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: #dfeefb; }

/* ---- 深底皮肤（显式写法，全局兜底） ---- */
.btn-light { background: #fff; color: var(--brand); border-color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn-light:hover { background: #f2f9ff; color: var(--brand); }
.btn-line { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45); color: #fff; box-shadow: none; }
.btn-line:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }

/* ---- 电话按钮 ---- */
.btn-tel { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .42); color: #fff; gap: 9px; }
.btn-tel:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; }

/* ---- 紧急行动（抢修分支专用，全站唯一红色主行动） ---- */
.btn-danger { background: linear-gradient(135deg, #e0523f, var(--danger)); color: #fff; box-shadow: 0 8px 20px rgba(192, 57, 43, .28); }
.btn-danger:hover { box-shadow: 0 12px 26px rgba(192, 57, 43, .36); }

/* ---- 深底容器自动翻转：内部照常写 btn-primary / btn-ghost ---- */
.on-dark .btn-primary { background: #fff; color: var(--brand); border-color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.on-dark .btn-primary:hover { background: #f2f9ff; color: var(--brand); }
.on-dark .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45); color: #fff; }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.on-dark .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .38); color: #fff; }
.on-dark .btn-soft:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.on-dark .btn-tel { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .42); color: #fff; }
.on-dark .btn-tel:hover { background: rgba(255, 255, 255, .19); border-color: #fff; color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* 用户胶囊 */
.user-chip {
  display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.user-chip:hover { border-color: var(--brand-2); box-shadow: var(--shadow-sm); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--brand-3), var(--brand));
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; text-transform: uppercase;
}
.user-chip .uname { font-size: 14px; font-weight: 600; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none;
}
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
.mobile-drawer .mask { position: absolute; inset: 0; background: rgba(11, 26, 43, .45); opacity: 0; transition: opacity .28s; }
.mobile-drawer.is-open .mask { opacity: 1; }
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 330px); background: #fff;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.3, .8, .3, 1);
  display: flex; flex-direction: column; padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-drawer.is-open .panel { transform: translateX(0); }
.mobile-drawer .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-drawer .panel-head b { font-size: 16px; }
.drawer-close { border: 1px solid var(--line); background: #fff; width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-2); }
.mobile-drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; font-size: 16.5px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-drawer nav a.active { color: var(--brand); }
.mobile-drawer nav a::after { content: "›"; color: var(--muted); font-weight: 400; }
.drawer-user { margin-top: 20px; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 14px; color: var(--muted); }
.drawer-user b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 15px; }

/* 手机底部操作条 */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);   /* 与 renderMobileBar() 的 5 个入口保持一致 */
}
.mobile-bar a, .mobile-bar button {
  border: 0; background: none; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 3px; padding: 6px 2px; font-size: 11.5px; color: var(--muted); font-weight: 500;
}
.mobile-bar a.active, .mobile-bar button.active { color: var(--brand); }
.mobile-bar svg { width: 21px; height: 21px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-line { border-top: 1px solid var(--line-2); }

.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-3); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: clamp(25px, 3.4vw, 37px); }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 16.5px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--bg-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 26, 43, .95) 0%, rgba(11, 26, 43, .82) 42%, rgba(11, 26, 43, .42) 100%);
}
.hero-inner { position: relative; padding: 118px 0 104px; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px; letter-spacing: .6px; margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 4px rgba(79, 209, 139, .2); }
.hero h1 { font-size: clamp(30px, 5vw, 54px); letter-spacing: -1px; max-width: 16em; }
.hero h1 em { font-style: normal; color: #7ec8ff; }
.hero-lead { margin-top: 22px; font-size: clamp(15.5px, 1.6vw, 18.5px); color: rgba(255, 255, 255, .8); max-width: 42em; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero-cta .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); color: #fff; }
.hero-cta .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }

.hero-stats {
  position: relative; margin-top: 66px; padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.hero-stats .st b { display: block; font-size: clamp(26px, 3.2vw, 38px); color: #fff; letter-spacing: -.5px; }
.hero-stats .st b i { font-style: normal; font-size: .55em; color: #7ec8ff; margin-left: 2px; }
.hero-stats .st span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* 快捷服务条 */
.quick-strip { background: #fff; border-bottom: 1px solid var(--line-2); position: relative; z-index: 2; }
.quick-strip .inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-strip .qi {
  display: flex; align-items: center; gap: 13px; padding: 26px 22px;
  border-right: 1px solid var(--line-2); transition: background .2s;
}
.quick-strip .qi:last-child { border-right: 0; }
.quick-strip .qi:hover { background: var(--bg-soft); }
.qi-ico {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center;
}
.qi-ico svg { width: 21px; height: 21px; }
.qi b { display: block; font-size: 15.5px; }
.qi span { font-size: 13px; color: var(--muted); }

/* ---------------- 卡片 / 网格 ---------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s cubic-bezier(.3,.8,.3,1), box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5e3f0; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.3,.8,.3,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .93); color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: .4px; backdrop-filter: blur(6px);
}
.card-body { padding: 20px 21px 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 17.5px; margin-bottom: 9px; }
.card-body .model { font-size: 12.5px; color: var(--brand-2); font-weight: 600; letter-spacing: .3px; margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 14.5px; line-height: 1.72; }
.card-foot { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.link-more { color: var(--brand); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.link-more::after { content: "→"; transition: transform .2s; }
.link-more:hover::after { transform: translateX(3px); }

/* 特性列表 */
.feat-list { display: grid; gap: 9px; margin-top: 14px; }
.feat-list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2); }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--brand-soft); box-shadow: inset 0 0 0 3.5px #fff, inset 0 0 0 9px var(--brand-3);
}

/* 图标特性块 */
.feature { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .fi { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--brand-soft), #f3f9ff); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.feature .fi svg { width: 23px; height: 23px; }
.feature h3 { font-size: 17px; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------------- 分栏 ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-body h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.split-body p { color: var(--ink-2); font-size: 16px; margin-bottom: 15px; }

/* 数据条 */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.metric { padding: 20px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line-2); }
.metric b { display: block; font-size: 27px; color: var(--brand); letter-spacing: -.5px; }
.metric span { font-size: 13.5px; color: var(--muted); }

/* ---------------- 流程 / 时间轴 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--brand-3); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* 时间轴（关于我们） */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand-3), var(--brand-soft)); }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand-3); box-shadow: 0 0 0 4px var(--brand-soft);
}
.tl-item .yr { font-size: 13.5px; font-weight: 800; color: var(--brand-2); letter-spacing: .6px; margin-bottom: 5px; }
.tl-item h3 { font-size: 17px; margin-bottom: 7px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field label .req { color: var(--danger); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: 15px; transition: border-color .18s, box-shadow .18s; outline: none;
}
.textarea { min-height: 118px; resize: vertical; line-height: 1.65; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3.5px rgba(14, 107, 184, .12); }
.input::placeholder, .textarea::placeholder { color: #a9bacb; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row[hidden] { display: none; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 7px; }

/* ---------------- 需求类型双选（紧急抢修 / 维保询价） ---------------- */
.intent-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.intent-opt {
  display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer;
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font-family: inherit; width: 100%;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.intent-opt:hover { border-color: var(--brand-3); background: #fafcfe; }
.intent-opt .io-io {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--muted); transition: background .18s, color .18s;
}
.intent-opt .io-io svg { width: 19px; height: 19px; }
.intent-opt .io-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.intent-opt .io-tx b { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.intent-opt .io-tx small { font-size: 12.2px; color: var(--muted); line-height: 1.45; }
.intent-opt .io-ck {
  flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; position: relative; transition: border-color .18s, background .18s;
}
.intent-opt .io-ck::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 6px; height: 10px;
  border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(42deg) scale(0);
  transition: transform .16s;
}
.intent-opt.is-on .io-ck::after { transform: rotate(42deg) scale(1); }

/* 抢修（红） */
.intent-opt[data-intent="emergency"].is-on { border-color: #e0523f; background: #fdf3f1; box-shadow: 0 0 0 3.5px rgba(224, 82, 63, .12); }
.intent-opt[data-intent="emergency"].is-on .io-io { background: #fbe4e0; color: var(--danger); }
.intent-opt[data-intent="emergency"].is-on .io-ck { border-color: var(--danger); background: var(--danger); }
/* 询价（蓝） */
.intent-opt[data-intent="quote"].is-on { border-color: var(--brand-2); background: var(--brand-soft); box-shadow: 0 0 0 3.5px rgba(14, 107, 184, .12); }
.intent-opt[data-intent="quote"].is-on .io-io { background: #dcecfb; color: var(--brand); }
.intent-opt[data-intent="quote"].is-on .io-ck { border-color: var(--brand); background: var(--brand); }

.intent-tip {
  display: flex; align-items: flex-start; gap: 9px; margin-bottom: 16px;
  padding: 11px 14px; border-radius: 10px; font-size: 13.2px; line-height: 1.6;
}
.intent-tip svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }
.intent-tip.is-urgent { background: #fdf3f1; color: #9c3325; border: 1px solid #f6dcd7; }
.intent-tip.is-quote { background: var(--brand-soft); color: var(--brand); border: 1px solid #d3e6f7; }
.intent-tip a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.intent-tip b { font-weight: 700; }

@media (max-width: 620px) {
  .intent-switch { grid-template-columns: 1fr; }
  .intent-opt .io-tx small { font-size: 11.8px; }
}

.otp-row { display: flex; gap: 10px; }
.otp-row .input { flex: 1; min-width: 0; }
.otp-row .btn { flex: 0 0 auto; min-width: 108px; }

.alert { padding: 12px 15px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert-error { background: #fdf0ee; color: var(--danger); border: 1px solid #f6d9d4; }
.alert-ok { background: #edf8f2; color: var(--ok); border: 1px solid #cfeadc; }
.alert-info { background: var(--brand-soft); color: var(--brand); border: 1px solid #d3e6f7; }

/* 分段控件 */
.segmented { display: flex; gap: 5px; padding: 5px; background: var(--bg-soft); border-radius: 11px; margin-bottom: 22px; }
.segmented button {
  flex: 1; padding: 9px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s;
}
.segmented button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

/* ---------------- 页面头（内页） ---------------- */
.page-hero {
  position: relative; background: var(--bg-deep); color: #fff; overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,26,43,.94), rgba(11,26,43,.68)); }
.page-hero .inner { position: relative; padding: 68px 0 62px; }
/* 部分页面未使用 .inner，这里补上统一内边距，避免内容贴边 */
.page-hero > .container:not(.inner) { position: relative; padding-top: 68px; padding-bottom: 62px; }
@media (max-width: 760px) {
  .page-hero > .container:not(.inner) { padding-top: 46px; padding-bottom: 42px; }
}
.page-hero h1 { font-size: clamp(26px, 3.8vw, 40px); }
.page-hero p { margin-top: 13px; color: rgba(255, 255, 255, .74); max-width: 44em; font-size: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-style: normal; opacity: .5; }

/* ---------------- 筛选 ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.filter-chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: all .2s;
}
.filter-chip:hover { border-color: var(--brand-2); color: var(--brand); }
.filter-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(10,77,140,.22); }

/* ---------------- 联系信息 ---------------- */
/* align-items:stretch（默认）让两列等高，避免左右面板底边错位 40px+。
   grid item 默认 stretch，但子元素若设了 align-self/height 会被覆盖，
   故右列容器显式 flex 布局并顶对齐，内容仍按自然高度排。 */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: stretch; }
.contact-grid > * { min-height: 0; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 15px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-item .ii { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.info-item .ii svg { width: 21px; height: 21px; }
.info-item b { display: block; font-size: 15px; margin-bottom: 3px; }
.info-item span { font-size: 14.5px; color: var(--muted); word-break: break-all; }
/* 与表单当前选中的需求分支呼应：抢修高亮应急手机，询价高亮服务热线 */
.info-item.is-on { border-color: var(--brand-2); background: var(--brand-soft); box-shadow: 0 0 0 3.5px rgba(14, 107, 184, .10); }
.info-item.is-on .ii { background: var(--brand); color: #fff; }
.info-item.is-on[data-contact="emergency"] { border-color: #e0523f; background: #fdf3f1; box-shadow: 0 0 0 3.5px rgba(224, 82, 63, .12); }
.info-item.is-on[data-contact="emergency"] .ii { background: var(--danger); color: #fff; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }

/* 二维码 */
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qr-card { text-align: center; padding: 26px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.qr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.qr-box {
  width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 12px; padding: 9px;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
}
.qr-box svg { width: 100%; height: 100%; }
.qr-card h3 { font-size: 16px; margin-bottom: 6px; }
.qr-card p { font-size: 13.5px; color: var(--muted); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--bg-deep); color: rgba(255, 255, 255, .7); padding: 62px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text span { color: rgba(255, 255, 255, .45); }
.footer-about { margin-top: 18px; font-size: 14px; line-height: 1.8; max-width: 34em; }
.footer-col h3.footer-h, .footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col li { display: block; font-size: 14px; margin-bottom: 11px; color: rgba(255, 255, 255, .66); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .48); }

/* ---------------- 登录页 ---------------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-side { position: relative; background: var(--bg-deep); color: #fff; overflow: hidden; display: flex; align-items: center; padding: 48px; }
.auth-side .bg { position: absolute; inset: 0; }
.auth-side .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.auth-side .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(11,26,43,.9), rgba(10,77,140,.75)); }
.auth-side .inner { position: relative; max-width: 460px; }
.auth-side h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.auth-side p { color: rgba(255, 255, 255, .76); font-size: 16px; }
.auth-side ul { margin-top: 28px; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.85); }
.auth-side li svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 3px; color: #7ec8ff; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: #fff; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { margin-bottom: 30px; }
.auth-card h1 { font-size: 27px; margin-bottom: 8px; }
.auth-card .lead { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.auth-foot { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--brand); font-weight: 600; }

/* ---------------- 我的中心 ---------------- */
.dash-grid { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.dash-nav { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.dash-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px;
  border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.dash-nav button.active { background: var(--brand-soft); color: var(--brand); }
.dash-nav button svg { width: 18px; height: 18px; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }

.list-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.list-row:last-child { border-bottom: 0; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row b { font-size: 15.5px; display: block; margin-bottom: 5px; }
.list-row .meta { font-size: 13px; color: var(--muted); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-pending { background: #fff5e6; color: #b5761a; }
.badge-done { background: #edf8f2; color: var(--ok); }
/* 工单类型（与报修表单的双分支对应） */
.badge-urgent { background: #fdf3f1; color: var(--danger); }
.badge-quote { background: var(--brand-soft); color: var(--brand); }

.empty { padding: 54px 20px; text-align: center; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: #c8d8e6; margin: 0 auto 14px; }
.empty b { display: block; color: var(--ink-2); font-size: 16px; margin-bottom: 6px; }

.skeleton { background: linear-gradient(90deg, #eef3f8 25%, #f7fafd 50%, #eef3f8 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Toast */
.toast-wrap { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; width: min(92vw, 400px); }
.toast {
  padding: 13px 18px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow);
  border-left: 4px solid var(--brand); font-size: 14.5px; animation: toastIn .3s cubic-bezier(.3,.8,.3,1);
}
.toast.error { border-left-color: var(--danger); }
.toast.ok { border-left-color: var(--ok); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } }

/* 上传区 */
.uploader {
  border: 1.5px dashed #cddcea; border-radius: var(--radius-sm); padding: 22px; text-align: center;
  background: var(--bg-soft); cursor: pointer; transition: border-color .2s, background .2s;
}
.uploader:hover { border-color: var(--brand-2); background: var(--brand-soft); }
.uploader svg { width: 26px; height: 26px; color: var(--brand-2); margin: 0 auto 9px; }
.uploader b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.uploader span { font-size: 12.5px; color: var(--muted); }
.upload-list { display: grid; gap: 8px; margin-top: 12px; }
.upload-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.upload-item .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-item .ok { color: var(--ok); font-weight: 700; }
.upload-item .err { color: var(--danger); font-weight: 700; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.3,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
/* 无障碍兜底：用户声明减少动态效果时直接显示，不依赖 JS */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 8px; }
  .dash-nav button { white-space: nowrap; width: auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .nav-menu { display: none; }
  .nav-actions .btn-login { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrap { gap: 12px; padding: 0 16px; }
  .brand-text span { display: none; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 62px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; padding-top: 26px; }
  .quick-strip .inner { grid-template-columns: repeat(2, 1fr); }
  .quick-strip .qi { padding: 18px 14px; }
  .quick-strip .qi:nth-child(2n) { border-right: 0; }
  .quick-strip .qi:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .form-row { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { min-height: calc(100vh - var(--header-h)); padding: 36px 20px 60px; align-items: flex-start; }
  .page-hero .inner { padding: 46px 0 42px; }
  .card-media { aspect-ratio: 16 / 11; }
  .panel { padding: 22px 18px; }
  .metrics { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
  .brand-text b { font-size: 15.5px; }
  .hero-cta .btn { flex: 1; }
}
