/* ============================================
   千家问 · 官网样式（单页版）
   品牌主色：深蓝 #0B4F8A / LOGO 藏青 #06386E
   子品牌：水诊断-青蓝 #0E8FA8 / 达达修-橙 #E8760A / 焕新居-绿 #2E9E6B
   ============================================ */

:root {
  --primary: #0B4F8A;
  --primary-dark: #083A66;
  --brand-navy: #06386E;
  --primary-light: #EAF3FB;
  --c-water: #0E8FA8;
  --c-water-light: #E7F6F9;
  --c-fix: #E8760A;
  --c-fix-light: #FDF1E5;
  --c-new: #2E9E6B;
  --c-new-light: #E9F7EF;
  --gold: #C9A227;
  --gold-light: #FDF6E3;
  --ink: #1C2B3A;
  --ink-2: #4A5A6B;
  --ink-3: #8090A0;
  --line: #E5EAF0;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 79, 138, .08);
  --shadow-lg: 0 16px 48px rgba(11, 79, 138, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { vertical-align: middle; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部公告条 ---------- */
.top-bar {
  background: var(--primary-dark);
  color: #CDE3F5;
  font-size: 13px;
  padding: 7px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top-bar b { color: #FFD08A; font-weight: 600; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 46px; height: 46px; flex-shrink: 0; display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(11, 79, 138, .16));
  transition: transform .25s ease;
}
.logo:hover .logo-mark { transform: scale(1.06) rotate(-3deg); }
.logo-name { font-size: 24px; font-weight: 800; color: var(--brand-navy); letter-spacing: 2px; }
.logo-sub { font-size: 11px; color: var(--ink-3); letter-spacing: 3px; display: block; margin-top: -4px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 15px; color: var(--ink-2); font-weight: 500; padding: 6px 2px; position: relative; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after, .main-nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px;
  border-radius: 3px; background: var(--primary);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #FF9A3D, var(--c-fix));
  color: #fff !important; font-weight: 600; font-size: 15px;
  padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(232, 118, 10, .35);
  transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta::after { display: none; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; color: var(--primary);
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #F2F8FD 0%, #FFFFFF 55%, #F5FAF7 100%);
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 13.5px; color: var(--ink-2);
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 .hl { color: var(--primary); position: relative; }
.hero-desc { font-size: 16.5px; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero-desc b { color: var(--ink); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-size: 16px; font-weight: 600;
  cursor: pointer; border: none; transition: transform .2s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(135deg, #1273C4, var(--primary));
  color: #fff; box-shadow: 0 8px 22px rgba(11, 79, 138, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 79, 138, .36); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-2px); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-tag {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
}

/* 3A 徽章卡 */
.hero-3a {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #FFFBEB, #FDF6E3);
  border: 1px solid #F0E2B6; border-radius: 16px;
  padding: 16px 22px; max-width: 460px;
  box-shadow: 0 6px 20px rgba(201, 162, 39, .16);
  transition: transform .2s, box-shadow .2s;
}
.hero-3a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(201, 162, 39, .24); }
.h3a-shield {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  background: linear-gradient(135deg, #E7C55A, var(--gold));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(201, 162, 39, .35);
}
.h3a-shield svg { width: 0; height: 0; }
.h3a-text { flex: 1; }
.h3a-text b { display: block; font-size: 16px; color: #7A5E0D; }
.h3a-text span { font-size: 12.5px; color: #A98B3B; }
.h3a-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--gold); font-weight: 600; white-space: nowrap; }
.h3a-more svg { width: 15px; height: 15px; }

/* 三大板块入口卡 */
.hero-brands { display: flex; flex-direction: column; gap: 16px; }
.hb-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.hb-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--bc, var(--primary));
}
.hb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hb-icon {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: var(--bc, var(--primary));
  box-shadow: 0 6px 16px rgba(11, 79, 138, .22);
}
.hb-icon svg { width: 27px; height: 27px; }
.hb-water { --bc: var(--c-water); }
.hb-fix { --bc: var(--c-fix); }
.hb-new { --bc: var(--c-new); }
.hb-water .hb-icon { box-shadow: 0 6px 16px rgba(14, 143, 168, .28); }
.hb-fix .hb-icon { box-shadow: 0 6px 16px rgba(232, 118, 10, .28); }
.hb-new .hb-icon { box-shadow: 0 6px 16px rgba(46, 158, 107, .28); }
.hb-main { flex: 1; }
.hb-main b { display: block; font-size: 18px; font-weight: 800; color: var(--ink); }
.hb-main b em {
  font-style: normal; font-size: 12px; font-weight: 600; margin-left: 8px;
  color: var(--bc); background: color-mix(in srgb, var(--bc) 12%, #fff);
  padding: 2px 9px; border-radius: 999px; vertical-align: 2px;
}
.hb-main span { font-size: 13.5px; color: var(--ink-3); }
.hb-arrow { color: var(--bc); transition: transform .2s; }
.hb-arrow svg { width: 20px; height: 20px; }
.hb-card:hover .hb-arrow { transform: translateX(4px); }

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 4px; font-weight: 700;
  color: var(--ink-3); margin-bottom: 12px; text-transform: uppercase;
}
.section-title { font-size: 34px; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.section-title .hl { color: var(--primary); }
.section-desc { font-size: 15.5px; color: var(--ink-2); }

/* ---------- 品牌板块 ---------- */
.brand-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.brand-showcase.flip .bs-media { order: 2; }

.bs-media { position: relative; }
.bs-media img {
  width: 100%; border-radius: 20px; display: block;
  box-shadow: var(--shadow-lg);
}
.bs-media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 62%; height: 62%; border-radius: 20px; z-index: -1;
  background: var(--bc-light, var(--primary-light));
}
.bs-phone {
  position: absolute; left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 10px 20px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: 16px;
  color: var(--bc, var(--primary));
}
.bs-phone svg { width: 18px; height: 18px; }

.bs-body .bs-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--bc, var(--primary));
  background: var(--bc-light, var(--primary-light));
  padding: 6px 15px; border-radius: 999px; margin-bottom: 16px;
}
.bs-body h3 { font-size: 27px; font-weight: 800; margin-bottom: 14px; letter-spacing: .5px; }
.bs-body > p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 22px; }

.bs-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
  font-size: 15px; color: var(--ink-2);
}
.bs-list li:last-child { border-bottom: none; }
.bs-list .ic {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; margin-top: 2px;
  background: var(--bc-light, var(--primary-light)); color: var(--bc, var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.bs-list .ic svg { width: 13px; height: 13px; }
.bs-list b { color: var(--ink); font-weight: 600; }

.sec-water  { --bc: var(--c-water); --bc-light: var(--c-water-light); }
.sec-fix    { --bc: var(--c-fix);   --bc-light: var(--c-fix-light); }
.sec-new    { --bc: var(--c-new);   --bc-light: var(--c-new-light); }
.sec-water .section-title .hl { color: var(--c-water); }
.sec-fix   .section-title .hl { color: var(--c-fix); }
.sec-new   .section-title .hl { color: var(--c-new); }
.sec-water .section-eyebrow { color: var(--c-water); }
.sec-fix   .section-eyebrow { color: var(--c-fix); }
.sec-new   .section-eyebrow { color: var(--c-new); }

/* 服务项目细项 */
.svc-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.sg-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.sg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sg-head svg { width: 20px; height: 20px; color: var(--bc, var(--primary)); }
.sg-head b { font-size: 16.5px; font-weight: 700; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-chip {
  font-size: 13px; color: var(--ink-2); background: var(--bg);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
  transition: all .18s; cursor: default;
}
.svc-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.svc-extra-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

/* ---------- 服务流程 ---------- */
.flow-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.fs-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 18px 22px; text-align: center; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.fs-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.fs-num {
  width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #1273C4, var(--primary)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; counter-increment: step;
  box-shadow: 0 5px 14px rgba(11, 79, 138, .26);
}
.fs-num::before { content: counter(step); }
.fs-item b { display: block; font-size: 15.5px; margin-bottom: 7px; }
.fs-item span { font-size: 12.8px; color: var(--ink-3); line-height: 1.6; display: block; }

/* ---------- 新闻资讯 ---------- */
.news-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.news-tab {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  padding: 9px 24px; border-radius: 999px; font-size: 14.5px; cursor: pointer;
  transition: all .2s;
}
.news-tab:hover { border-color: var(--primary); color: var(--primary); }
.news-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; }
.news-item {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px; transition: transform .2s, box-shadow .2s;
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-date {
  flex-shrink: 0; width: 62px; text-align: center; padding-top: 4px;
}
.news-date b { display: block; font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--ink-3); }
.news-body b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.news-body p { font-size: 13.5px; color: var(--ink-3); }
.news-item.hide { display: none; }

/* ---------- 关于我们 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.about-brand { margin-bottom: 20px; }
.about-brand img { height: 104px; width: auto; display: block; }
.about-text h3 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.about-text h3::after {
  content: ""; display: block; width: 46px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #1273C4, var(--c-water)); margin-top: 12px;
}
.about-text p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.about-text p b { color: var(--primary); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.av-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px;
  text-align: center;
}
.av-item b { display: block; font-size: 15px; color: var(--primary); margin-bottom: 5px; }
.av-item span { font-size: 12.8px; color: var(--ink-3); }

.milestone-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 24px;
  box-shadow: var(--shadow);
}
.milestone-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.milestone-list li { display: flex; gap: 16px; padding-bottom: 20px; position: relative; }
.milestone-list li:last-child { padding-bottom: 0; }
.milestone-list li::before {
  content: ""; position: absolute; left: 5px; top: 18px; bottom: 0; width: 2px;
  background: var(--line);
}
.milestone-list li:last-child::before { display: none; }
.ms-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 6px;
  background: var(--c-water); box-shadow: 0 0 0 4px var(--c-water-light); z-index: 1;
}
.milestone-list b { display: block; font-size: 15px; margin-bottom: 3px; }
.milestone-list p { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 资质证书 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cert-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  cursor: zoom-in; position: relative; transition: transform .22s, box-shadow .22s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-card img { width: 100%; display: block; aspect-ratio: 3/2; object-fit: cover; }
.cert-cap { padding: 15px 18px 17px; }
.cert-cap b { display: block; font-size: 15px; line-height: 1.5; margin-bottom: 4px; }
.cert-cap span { font-size: 12.3px; color: var(--ink-3); }
.cert-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(135deg, #E7C55A, var(--gold)); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(201, 162, 39, .4);
}
.cert-zoom {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  background: rgba(255, 255, 255, .92); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  opacity: 0; transition: opacity .2s;
}
.cert-card:hover .cert-zoom { opacity: 1; }
.cert-zoom svg { width: 17px; height: 17px; }

.cert-verify {
  margin-top: 34px; background: #fff; border: 1px dashed #D9C98A;
  background: linear-gradient(135deg, #FFFEF7, var(--gold-light));
  border-radius: 16px; padding: 22px 26px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
  font-size: 13.5px; color: #7A5E0D;
}
.cert-verify b { color: #5C4708; }
.cert-verify a { color: var(--primary); font-weight: 600; border-bottom: 1px dashed var(--primary); }
.cert-verify .cv-item { display: flex; align-items: center; gap: 7px; }

/* 证书放大浮层 */
.cert-lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(10, 24, 40, .82); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 4vh 4vw;
}
.cert-lightbox.open { display: flex; }
.cert-lightbox img {
  max-width: 100%; max-height: 100%; border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
.cert-lightbox .cl-cap {
  position: absolute; bottom: 3vh; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; background: rgba(0, 0, 0, .4);
  padding: 7px 18px; border-radius: 999px; white-space: nowrap;
}
.cert-lightbox .cl-close {
  position: absolute; top: 20px; right: 26px; width: 42px; height: 42px;
  border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1;
}
.cert-lightbox .cl-close:hover { background: rgba(255, 255, 255, .3); }

/* ---------- 团队风采 ---------- */
.team-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
.team-photo-card img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
.team-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tt-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px;
  transition: transform .2s, box-shadow .2s;
}
.tt-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tt-item .tt-ic {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.tt-item .tt-ic svg { width: 20px; height: 20px; }
.tt-item b { display: block; font-size: 15.5px; margin-bottom: 5px; }
.tt-item span { font-size: 13px; color: var(--ink-3); }

/* ---------- 避坑指南 ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gd-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  transition: transform .2s, box-shadow .2s; position: relative;
}
.gd-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gd-no {
  position: absolute; top: 20px; right: 22px; font-size: 30px; font-weight: 800;
  color: var(--primary-light); -webkit-text-stroke: 1px #C9DCEE;
}
.gd-card b { display: block; font-size: 16.5px; margin-bottom: 10px; padding-right: 44px; }
.gd-card p { font-size: 13.8px; color: var(--ink-2); }
.gd-card .gd-ok {
  margin-top: 12px; font-size: 13px; color: var(--c-new); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.gd-card .gd-ok svg { width: 15px; height: 15px; }

/* ---------- 预约表单 ---------- */
.book-wrap {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
}
.book-side h3 { font-size: 27px; font-weight: 800; margin-bottom: 14px; }
.book-side > p { font-size: 15px; color: var(--ink-2); margin-bottom: 24px; }
.book-phones { display: flex; flex-direction: column; gap: 12px; }
.bp-item {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
  transition: transform .2s, box-shadow .2s;
}
.bp-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.bp-item .bp-ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.bp-item .bp-ic svg { width: 19px; height: 19px; }
.bp-item b { display: block; font-size: 15.5px; }
.bp-item span { font-size: 13px; color: var(--ink-3); }

.book-form {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 34px 28px; box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form-field label i { color: #E05252; font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px;
  font-size: 14.5px; font-family: inherit; color: var(--ink);
  background: var(--bg); transition: border-color .2s, background .2s;
  outline: none; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 88px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary); background: #fff;
}
.book-form .btn { width: 100%; margin-top: 20px; }
.form-tip { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.form-ok {
  display: none; text-align: center; padding: 10px 0 0;
  color: var(--c-new); font-weight: 600; font-size: 14.5px;
}
.form-ok.show { display: block; }

/* ---------- 师傅加入 ---------- */
.join-wrap {
  background: linear-gradient(135deg, #0B4F8A, #083A66);
  border-radius: 24px; padding: 56px 56px 50px; color: #fff;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.join-wrap::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255, 255, 255, .05);
}
.join-wrap h3 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.join-wrap .jw-sub { font-size: 15px; color: #C6DCF0; margin-bottom: 26px; }
.join-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jp-item {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 15px 16px; font-size: 14px;
}
.jp-item b { display: block; font-size: 15px; margin-bottom: 3px; color: #FFD08A; }
.jp-item span { color: #C6DCF0; font-size: 12.8px; }
.join-form {
  background: #fff; border-radius: 18px; padding: 28px; color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.join-form h4 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.join-form .form-grid { grid-template-columns: 1fr; gap: 13px; }
.join-form .btn { width: 100%; margin-top: 16px; padding: 12px; font-size: 15px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 34px; }
.ct-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px;
  text-align: center; transition: transform .2s, box-shadow .2s;
}
.ct-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ct-card .ct-ic {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 16px; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ct-card .ct-ic svg { width: 25px; height: 25px; }
.ct-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.ct-card .ct-tag { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.ct-card .ct-tel { font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.contact-addr {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; font-size: 15px; color: var(--ink-2);
}
.contact-addr svg { width: 19px; height: 19px; color: var(--primary); flex-shrink: 0; }
.contact-tip { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 20px; }
.contact-tip a { color: var(--primary); font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0D2B45; color: #9FB8CE; padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .9fr .9fr .9fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-brand .logo-mark {
  background: #fff; border-radius: 14px; padding: 4px; width: 52px; height: 52px;
}
.footer-brand .logo-name { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.8; }
.footer-3a {
  display: inline-block; margin-top: 14px; font-size: 12.5px;
  background: rgba(201, 162, 39, .14); border: 1px solid rgba(201, 162, 39, .35);
  color: #E7C55A; padding: 6px 14px; border-radius: 999px;
}
.footer-h { color: #fff; font-size: 15.5px; font-weight: 700; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color .2s; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13.5px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: #5E9BD0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0;
  text-align: center; font-size: 12.8px; color: #6E8BA6;
}
.footer-bottom a { color: #8FB0CC; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 移动端悬浮预约 ---------- */
.mobile-book {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 4%;
}
.mobile-book .btn { width: 100%; padding: 12px; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .team-trust { grid-template-columns: repeat(2, 1fr); }
  .svc-groups { grid-template-columns: 1fr 1fr; }
  .about-wrap { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 14px; }
  .brand-showcase, .brand-showcase.flip .bs-media { grid-template-columns: 1fr; order: 0; }
  .brand-showcase { gap: 30px; }
}

@media (max-width: 820px) {
  .top-bar .tb-right { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 4%; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px dashed var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin: 12px 0 8px; justify-content: center; }

  .hero { padding: 46px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 31px; }
  .hero-desc { font-size: 15px; }
  .hero-3a { max-width: none; }

  .section { padding: 62px 0; }
  .section-title { font-size: 27px; }
  .news-list { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .book-wrap { grid-template-columns: 1fr; gap: 32px; }
  .join-wrap { grid-template-columns: 1fr; padding: 38px 26px; gap: 30px; }
  .team-wrap { grid-template-columns: 1fr; gap: 30px; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mobile-book { display: block; }
  body { padding-bottom: 62px; }
}

@media (max-width: 560px) {
  .svc-groups, .guide-grid, .contact-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .join-points { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .logo-mark { width: 38px; height: 38px; }
  .logo-name { font-size: 21px; letter-spacing: 1px; }
  .logo-sub { letter-spacing: 2px; }
  .about-brand img { height: 86px; }
  .flow-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
