/* ==========================================================================
   星鲸灵家政官网 · 全站样式
   ========================================================================== */

:root {
  --brand: #1a73e8;
  --brand-600: #1668d6;
  --brand-700: #1259bd;
  --brand-800: #0e479a;
  --brand-50: #eef4fe;
  --brand-100: #dbe8fd;
  --brand-200: #b6d1fa;

  --accent: #ff7a45;
  --accent-600: #f1622b;
  --accent-50: #fff3ee;

  --ink: #0e1e33;
  --ink-2: #33445f;
  --ink-3: #6b7a90;
  --ink-4: #94a3b8;

  --line: #e6ecf5;
  --line-soft: #f1f5fb;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --bg-deep: #0e1e33;

  --radius-s: 10px;
  --radius: 14px;
  --radius-l: 20px;
  --radius-xl: 28px;

  --shadow-s: 0 2px 8px rgba(14, 30, 51, 0.05);
  --shadow: 0 8px 28px rgba(14, 30, 51, 0.08);
  --shadow-l: 0 18px 48px rgba(14, 30, 51, 0.12);

  --wrap: 1200px;
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand-200); color: var(--brand-800); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------------------------------------------------------------- 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(255, 122, 69, 0.32); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 122, 69, 0.4); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(26, 115, 232, 0.28); }
.btn-brand:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--brand); border: 1px solid var(--brand-200); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-50); transform: translateY(-2px); }
.btn-lg { height: 56px; padding: 0 34px; font-size: 17px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------- 顶部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-s); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { display: block; height: 46px; width: auto; max-width: 240px; object-fit: contain; }
.brand-logo.small { height: 34px; max-width: 190px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, var(--brand) 0%, #4f9df7 100%);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.28);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text strong { display: block; font-size: 19px; letter-spacing: 0.5px; line-height: 1.2; }
.brand-text span { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 15.5px; color: var(--ink-2);
  border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav a.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2.5px;
  background: var(--brand); border-radius: 2px;
}

.phone-pill {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  height: 46px; padding: 0 20px 0 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #3d8ef5 100%);
  color: #fff; font-weight: 700; font-size: 18px; letter-spacing: 0.4px;
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.phone-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 115, 232, 0.4); }
.phone-pill svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--bg-soft); cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------------- Hero */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6, 46, 42, 0.86) 0%, rgba(6, 46, 42, 0.62) 45%, rgba(6, 46, 42, 0.28) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 88px; max-width: 720px; color: #fff; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 16px; border-radius: 999px; font-size: 14px; letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.hero-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #7ab6fb; display: block; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.22; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: #8fc4fb; }
.hero-sub { margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, 0.86); max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { margin-top: 38px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badges li {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13.5px; backdrop-filter: blur(4px);
}
.hero-badges svg { width: 15px; height: 15px; color: #a8cffc; }

.hero-call {
  margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 14.5px; color: rgba(255, 255, 255, 0.8);
}
.hero-call strong { font-size: 26px; color: #fff; letter-spacing: 1px; }

/* ----------------------------------------------------------------- 通用区块 */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-deep { background: linear-gradient(140deg, var(--brand-800) 0%, var(--brand-700) 55%, #1c7ae8 100%); color: #fff; }

.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 2px; color: var(--brand);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.sec-head p { margin-top: 16px; color: var(--ink-3); font-size: 16.5px; }
.section-deep .eyebrow { color: #a8cffc; }
.section-deep .eyebrow::before { background: #a8cffc; }
.section-deep .sec-head p { color: rgba(255, 255, 255, 0.78); }

/* ------------------------------------------------------------ 服务分类卡片 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--line); transition: 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--brand-200); }
.cat-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.6s var(--ease); }
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 46, 42, 0) 40%, rgba(6, 46, 42, 0.55) 100%);
}
.cat-en {
  position: absolute; z-index: 2; left: 20px; bottom: 14px; color: rgba(255, 255, 255, 0.72);
  font-size: 11px; letter-spacing: 2px; font-weight: 600;
}
.cat-icon {
  position: absolute; z-index: 2; top: 16px; left: 16px; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.94); color: var(--brand); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.cat-icon svg { width: 24px; height: 24px; }
.cat-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.cat-body h3 .count { font-size: 12px; font-weight: 500; color: var(--brand); background: var(--brand-50); padding: 2px 8px; border-radius: 6px; }
.cat-body p { margin-top: 10px; color: var(--ink-3); font-size: 14.5px; line-height: 1.7; flex: 1; }
.cat-link { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 6px; }
.cat-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(4px); }

/* --------------------------------------------------------------- 服务流程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.flow-item { position: relative; padding: 0 12px; text-align: center; }
.flow-item::before {
  content: ''; position: absolute; top: 30px; left: 50%; width: 100%; height: 1px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.28);
}
.flow-item:last-child::before { display: none; }
.flow-num {
  position: relative; z-index: 2; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.flow-item h4 { font-size: 17px; margin-bottom: 8px; }
.flow-item p { font-size: 14px; color: rgba(255, 255, 255, 0.78); line-height: 1.7; }

/* --------------------------------------------------------------- 优势特色 */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  padding: 30px 28px; border-radius: var(--radius-l); background: #fff;
  border: 1px solid var(--line); transition: 0.3s var(--ease);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.adv-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 18px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 18.5px; }
.adv-card p { margin-top: 10px; color: var(--ink-3); font-size: 15px; }

/* ------------------------------------------------------------------ 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 12px; }
.stat-item b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; }
.stat-item span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }

/* ------------------------------------------------------------------ 评价区 */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  padding: 28px 26px; border-radius: var(--radius-l); background: #fff;
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { color: #ffb020; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { color: var(--ink-2); font-size: 15px; line-height: 1.85; flex: 1; }
.review-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200)); color: var(--brand-800); font-weight: 700;
}
.review-foot b { display: block; font-size: 15px; }
.review-foot span { display: block; font-size: 12.5px; color: var(--ink-4); }

/* ---------------------------------------------------------------- CTA 通栏 */
.cta-band {
  border-radius: var(--radius-xl); padding: 58px 56px; display: flex; align-items: center; gap: 32px;
  background: linear-gradient(120deg, #fff 0%, #f3f8ff 100%);
  border: 1px solid var(--brand-100); box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.cta-band > div:first-child { flex: 1; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 32px); }
.cta-band p { margin-top: 12px; color: var(--ink-3); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.12), transparent 70%);
}

/* -------------------------------------------------------------- 内页头部 */
.page-hero {
  position: relative; padding: 76px 0 68px; text-align: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 45%, #1c7ae8 100%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 45%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 40px); }
.page-hero p { margin-top: 16px; color: rgba(255, 255, 255, 0.82); max-width: 640px; margin-left: auto; margin-right: auto; }
.crumb { margin-bottom: 16px; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.crumb a:hover { color: #fff; }

/* ---------------------------------------------------------- 服务总览分组 */
.svc-group { margin-bottom: 64px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group-head {
  display: flex; align-items: flex-end; gap: 18px; padding-bottom: 18px; margin-bottom: 28px;
  border-bottom: 2px solid var(--line-soft);
}
.svc-group-head img { width: 76px; height: 76px; object-fit: cover; border-radius: 16px; flex-shrink: 0; }
.svc-group-head .txt { flex: 1; }
.svc-group-head h2 { font-size: 25px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.svc-group-head .en { font-size: 12px; letter-spacing: 2px; color: var(--ink-4); font-weight: 600; }
.svc-group-head p { margin-top: 6px; color: var(--ink-3); font-size: 15px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: 0.32s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: var(--brand-200); }
.svc-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.6s var(--ease); }
.svc-card:hover .thumb img { transform: scale(1.07); }
.svc-card .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { font-size: 18.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-card .price { font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-50); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.svc-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); flex: 1; }
.svc-card .more {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px;
  font-weight: 600; color: var(--brand);
}
.svc-card .more svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.svc-card:hover .more svg { transform: translateX(4px); }

/* ------------------------------------------------------------ 服务详情页 */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.detail-main { min-width: 0; }
.block { margin-bottom: 48px; }
.block:last-child { margin-bottom: 0; }
.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.block-head i { width: 4px; height: 22px; background: var(--brand); border-radius: 3px; }
.block-head h2 { font-size: 21px; }
.detail-lead { font-size: 17px; color: var(--ink-2); line-height: 1.95; }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.check-list svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 4px; }

.standard-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.standard-list li {
  padding: 16px 18px; border-radius: var(--radius); background: var(--brand-50);
  border: 1px solid var(--brand-100); font-size: 15px; color: var(--brand-800);
  display: flex; gap: 10px; align-items: flex-start;
}
.standard-list svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 4px; }

.step-list { counter-reset: s; }
.step-list li {
  position: relative; padding-left: 52px; padding-bottom: 26px; border-left: 1.5px dashed var(--brand-200); margin-left: 18px;
}
.step-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-list li::before {
  counter-increment: s; content: counter(s); position: absolute; left: -18px; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}
.step-list b { display: block; font-size: 16px; margin-bottom: 4px; }
.step-list p { color: var(--ink-3); font-size: 15px; }

.side-card {
  position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--radius-l); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.side-card .top { background: linear-gradient(140deg, var(--brand-700), #2b86f0); color: #fff; padding: 26px 24px; }
.side-card .top .tag { font-size: 13px; opacity: 0.85; }
.side-card .top .price { margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.side-card .top .unit { font-size: 13px; opacity: 0.82; }
.side-card .pad { padding: 24px; }
.side-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
.side-list svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 4px; }
.side-card .btn { width: 100%; }
.side-tel {
  margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700);
  font-weight: 700; font-size: 18px; letter-spacing: 0.5px;
}
.side-tel svg { width: 17px; height: 17px; }

.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* -------------------------------------------------------------- 关于我们 */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse .vis { order: 2; }
.split .vis img { border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.prose p { margin-bottom: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.95; }
.prose p:last-child { margin-bottom: 0; }
/* 法律条文类长文（隐私政策 / 服务条款）的标题与列表样式 */
.prose h2 { font-size: 21px; margin: 40px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.prose h2:first-of-type { margin-top: 26px; }
.prose h3 { font-size: 17px; margin: 28px 0 12px; color: var(--ink); }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }
.prose b { font-weight: 600; color: var(--ink); }
.legal-note {
  color: var(--ink-3); font-size: 14.5px; line-height: 1.9; padding: 14px 18px; margin-bottom: 8px;
  background: var(--bg-soft); border-left: 3px solid var(--brand-200); border-radius: 0 var(--radius) var(--radius) 0;
}
.legal-contact { margin-top: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg-soft); }
.legal-contact > b { display: block; font-size: 17px; margin-bottom: 10px; }
.legal-contact .lc-row { display: flex; gap: 16px; padding: 7px 0; font-size: 15px; border-top: 1px dashed rgba(0, 0, 0, 0.07); }
.legal-contact .lc-row:first-of-type { border-top: 0; }
.legal-contact .lc-row span { color: var(--ink-3); width: 96px; flex-shrink: 0; }
.legal-contact .lc-row b { font-weight: 600; }

.concept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.concept-card {
  padding: 28px 22px; border-radius: var(--radius-l); text-align: center;
  background: #fff; border: 1px solid var(--line); transition: 0.3s var(--ease);
}
.concept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.concept-card b { display: block; font-size: 22px; color: var(--brand); margin-bottom: 10px; }
.concept-card span { font-size: 14.5px; color: var(--ink-3); }

.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promise-item {
  display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line-soft);
}
.promise-item svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 4px; }
.promise-item b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.promise-item span { font-size: 14.5px; color: var(--ink-3); }

/* -------------------------------------------------------------- 新闻资讯 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: 0.32s var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: var(--brand-200); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.6s var(--ease); }
.news-card:hover .thumb img { transform: scale(1.07); }
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-4); margin-bottom: 10px; }
.news-meta em { font-style: normal; background: var(--brand-50); color: var(--brand-700); padding: 2px 9px; border-radius: 6px; font-weight: 600; }
.news-card h3 { font-size: 17.5px; line-height: 1.55; }
.news-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); flex: 1; line-height: 1.75; }
.news-card .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.news-card .more svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.news-card:hover .more svg { transform: translateX(4px); }

.article { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.article-body { min-width: 0; }
.article-body .cover { margin-bottom: 32px; border-radius: var(--radius-l); }
.article-body h2 { font-size: 22px; margin: 34px 0 14px; }
.article-body p { margin-bottom: 18px; color: var(--ink-2); font-size: 16.5px; line-height: 1.95; }
.article-body strong { color: var(--brand-800); }
.article-meta {
  display: flex; gap: 16px; font-size: 13.5px; color: var(--ink-4); padding-bottom: 20px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

/* ---------------------------------------------------------------- 预约表单 */
.form-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-s); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.field label i { color: var(--accent); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  height: 50px; padding: 0 16px; border-radius: var(--radius-s); border: 1px solid var(--line);
  background: #fff; font-size: 15.5px; transition: 0.2s; outline: none; width: 100%;
}
.field textarea { height: 108px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b807d' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field .err { font-size: 12.5px; color: #d93a2b; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d93a2b; }
.field.has-error .err { display: block; }

.form-tip { margin-top: 18px; font-size: 13.5px; color: var(--ink-4); line-height: 1.8; }
.form-submit { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.success-card { text-align: center; padding: 56px 40px; }
.success-icon {
  width: 86px; height: 86px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.success-icon svg { width: 42px; height: 42px; }
.success-card h3 { font-size: 24px; }
.success-card p { margin-top: 14px; color: var(--ink-3); }
.success-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ 联系页 */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  padding: 34px 28px; border-radius: var(--radius-l); text-align: center; background: #fff;
  border: 1px solid var(--line); transition: 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.contact-card .ic { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 17px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.contact-card .ic svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 18px; }
.contact-card strong { display: block; margin-top: 10px; font-size: 20px; color: var(--brand-700); letter-spacing: 0.5px; }
.contact-card span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }

/* ------------------------------------------------------------------ 页脚 */
.footer { background: var(--bg-deep); color: rgba(255, 255, 255, 0.75); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16.5px; margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand strong { color: #fff; font-size: 19px; letter-spacing: 0.5px; }
.footer p { font-size: 14.5px; line-height: 1.9; }
.footer ul li { margin-bottom: 11px; font-size: 14.5px; }
.footer ul li a:hover { color: #a8cffc; }
.footer .tel { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: 1px; display: block; }
.footer .tel:hover { color: #a8cffc; }
.footer .tel-note { font-size: 13px; margin-top: 8px; }
.footer .footer-mail { display: inline-flex; align-items: center; gap: 6px; color: #a8cffc; }
.footer .footer-mail svg { width: 14px; height: 14px; }
.footer .footer-mail:hover { color: #fff; }
.footer-qrs { margin-top: 18px; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-qrs .qr-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* 二维码：鼠标悬停时放大凸显，方便客户直接扫码。
   以底边为中心放大，二维码只会向上"长"，不会溢出页面底部。 */
.footer-qrs .qr-item img {
  width: 92px; height: 92px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; display: block;
  position: relative; z-index: 1; cursor: zoom-in;
  transform-origin: center bottom;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s ease, border-radius 0.3s ease;
  will-change: transform;
}
.footer-qrs .qr-item:hover img {
  transform: scale(2.4);
  z-index: 9;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.92);
}
.footer-qrs .qr-item:hover span { color: #fff; }
.footer-qrs .qr-item span { font-size: 12px; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.5px; transition: color 0.3s ease; }
@media (prefers-reduced-motion: reduce) {
  .footer-qrs .qr-item img { transition: none; }
}
/* --------------------------------------------------------- 页脚合规公示区 */
/* 主体信息公示（依据《电子商务法》第十五条：公示营业执照信息，便于核实经营者身份） */
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0 6px; }
.footer-legal .lg-row { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.9; }
.footer-legal .lg-name { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.3px; }

/* 备案信息（依据《非经营性互联网信息服务备案管理办法》第十三条：底部中央位置标明备案编号） */
.footer-beian {
  padding: 14px 0 18px; display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 10px 24px; text-align: center; font-size: 13.5px;
}
.footer-beian a { color: rgba(255, 255, 255, 0.78); display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.footer-beian a:hover { color: #fff; text-decoration: underline; }
.footer-beian .police-mark { flex-shrink: 0; }

/* 投诉举报与政策链接（依据《网络安全法》第四十九条、《个人信息保护法》第五十条） */
.fb-links { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; }
.fb-links a { color: rgba(255, 255, 255, 0.7); }
.fb-links a:hover { color: #a8cffc; }
.fb-links .dot { font-style: normal; color: rgba(255, 255, 255, 0.28); }
.fb-links .rp-static { color: rgba(255, 255, 255, 0.55); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}

/* ----------------------------------------------------------- 移动端悬浮条 */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; gap: 10px;
    padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px); box-shadow: 0 10px 32px rgba(14, 30, 51, 0.18);
    border: 1px solid var(--line-soft);
  }
  .mobile-bar a, .mobile-bar button {
    flex: 1; height: 48px; border: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    gap: 7px; font-size: 15.5px; font-weight: 600; cursor: pointer;
  }
  .mobile-bar .m-call { background: var(--brand); color: #fff; }
  .mobile-bar .m-book { background: var(--accent); color: #fff; }
  .mobile-bar svg { width: 17px; height: 17px; }
  body { padding-bottom: 78px; }
}

/* ------------------------------------------------------------------ 弹层 */
.drawer {
  position: fixed; inset: 0; z-index: 80; display: none; background: rgba(6, 32, 29, 0.4);
}
.drawer.is-open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: min(360px, 86vw); height: 100%; background: #fff;
  padding: 24px; overflow-y: auto; animation: slide 0.28s var(--ease);
}
@keyframes slide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer-head b { font-size: 17px; }
.drawer-close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--bg-soft); cursor: pointer; }
.drawer-nav li { border-bottom: 1px solid var(--line-soft); }
.drawer-nav a { display: block; padding: 14px 4px; font-size: 16px; color: var(--ink-2); }
.drawer-nav a.is-active { color: var(--brand); font-weight: 600; }
.drawer-phone { margin-top: 24px; }

/* ------------------------------------------------------------------ 进场动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .news-grid, .review-grid, .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .detail, .form-wrap, .article { grid-template-columns: 1fr; }
  .side-card, .article-side { position: static; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .phone-pill { display: none; }
  .nav-toggle { display: block; }
  .brand-spacer { display: none; }
  .section { padding: 64px 0; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .flow-item::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .vis { order: 0; }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid, .check-list, .standard-list { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
  .hero { min-height: 540px; }
  .hero-inner { padding: 72px 0 64px; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .cat-grid, .svc-grid, .news-grid, .review-grid, .adv-grid, .rel-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .concept-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brand-text strong { font-size: 17px; }
  .hero-call strong { font-size: 22px; }
  .svc-group-head { flex-direction: column; align-items: flex-start; }
}
