/* ==========================================================================
   皖嫂家政集团官网 · 设计系统
   --------------------------------------------------------------------------
   改动主题只需修改 :root 下的变量，无需改动任何页面结构。
   品牌色取自集团 logo（中国红 #C8161E）。
   ========================================================================== */

:root {
  /* ---------- 品牌色 ---------- */
  --ws-red: #c8161e;
  --ws-red-600: #ad1017;
  --ws-red-700: #8c0c12;
  --ws-red-soft: #fdf3f3;
  --ws-gold: #c19a3d;
  --ws-gold-soft: #fbf7ec;

  /* ---------- 中性色 ---------- */
  --ink: #171a21;
  --ink-2: #3b4250;
  --gray: #6b7280;
  --gray-2: #9aa1ad;
  --line: #ece8e4;
  --line-2: #f4f1ee;
  --bg: #ffffff;
  --bg-warm: #faf8f6;
  --bg-dark: #14161d;
  --bg-dark-2: #1d212b;

  /* ---------- 版式 ---------- */
  --wrap: 1200px;
  --wrap-narrow: 900px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-xs: 0 1px 2px rgba(23, 26, 33, 0.05);
  --shadow-sm: 0 4px 14px rgba(23, 26, 33, 0.06);
  --shadow: 0 10px 32px rgba(23, 26, 33, 0.09);
  --shadow-lg: 0 22px 60px rgba(23, 26, 33, 0.14);
  --shadow-red: 0 12px 30px rgba(200, 22, 30, 0.26);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", var(--font);

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

/* ==========================================================================
   基础重置
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

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

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

::selection { background: var(--ws-red); color: #fff; }

/* ==========================================================================
   布局工具
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--bg-dark); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

/* ==========================================================================
   标题组
   ========================================================================== */
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }

.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ws-red);
  background: var(--ws-red-soft); border: 1px solid rgba(200, 22, 30, 0.12);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.sec-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ws-red);
}

.sec-title { font-size: 38px; letter-spacing: -0.02em; }
.sec-title em { font-style: normal; color: var(--ws-red); }
.sec-sub { margin-top: 16px; font-size: 16px; color: var(--gray); line-height: 1.8; }

.section-dark .sec-title { color: #fff; }
.section-dark .sec-sub { color: rgba(255, 255, 255, 0.62); }
.section-dark .sec-tag {
  color: var(--ws-gold); background: rgba(193, 154, 61, 0.12);
  border-color: rgba(193, 154, 61, 0.24);
}
.section-dark .sec-tag::before { background: var(--ws-gold); }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 28px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; white-space: nowrap;
  transition: all 0.24s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-pri { background: var(--ws-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-pri:hover { background: var(--ws-red-600); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(200, 22, 30, 0.34); }

.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ws-red); color: var(--ws-red); transform: translateY(-2px); }

.btn-gold { background: linear-gradient(135deg, #d8b45c, var(--ws-gold)); color: #241d05; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(193, 154, 61, 0.3); }

.btn-line-w { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.34); }
.btn-line-w:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* 文字链接 */
.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--ws-red); font-size: 15px;
}
.link-more svg { width: 16px; height: 16px; transition: transform 0.24s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ==========================================================================
   顶部通栏
   ========================================================================== */
.topbar {
  background: var(--ws-red-700); color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px; position: relative; z-index: 60;
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar-l { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; }
.topbar-l span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-l strong { color: #fff; font-weight: 700; }
.topbar-r { display: flex; align-items: center; gap: 18px; }
.topbar-r a:hover { color: #fff; }
.topbar-hot { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; }
.topbar-hot svg { width: 15px; height: 15px; }
.topbar-hot .num { font-family: var(--font-num); font-size: 17px; letter-spacing: 0.02em; }
.topbar-hot .lbl { font-weight: 500; opacity: 0.82; font-size: 12.5px; }

/* ==========================================================================
   导航
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(23, 26, 33, 0.08); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-img { height: 64px; width: auto; object-fit: contain; display: block; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.12; }
.logo-txt b {
  font-size: 20px; font-weight: 800; color: var(--ws-red); letter-spacing: 0.06em;
}
.logo-txt span { font-size: 11.5px; color: var(--gray-2); letter-spacing: 0.22em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 15px; border-radius: 9px;
  font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.nav a:hover { color: var(--ws-red); background: var(--ws-red-soft); }
.nav a.active { color: var(--ws-red); }
.nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--ws-red);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-tel { display: flex; align-items: center; gap: 8px; }
.header-tel svg { width: 20px; height: 20px; color: var(--ws-red); }
.header-tel b { font-family: var(--font-num); font-size: 19px; color: var(--ink); line-height: 1.1; display: block; }
.header-tel small { font-size: 11.5px; color: var(--gray-2); display: block; line-height: 1.2; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* 移动菜单 */
.m-nav {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 22, 29, 0.5); opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.m-nav.open { opacity: 1; pointer-events: auto; }
.m-nav-panel {
  position: absolute; top: 0; right: 0; width: min(84vw, 340px); height: 100%;
  background: #fff; padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.32s var(--ease);
}
.m-nav.open .m-nav-panel { transform: none; }
.m-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.m-nav-close { width: 40px; height: 40px; border-radius: 10px; background: var(--line-2); font-size: 20px; color: var(--ink); }
.m-nav-list a {
  display: block; padding: 14px 8px; font-size: 17px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.m-nav-list a.active { color: var(--ws-red); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--bg-warm); }
.hero::before {
  content: ""; position: absolute; width: 780px; height: 780px; border-radius: 50%;
  top: -360px; right: -220px;
  background: radial-gradient(circle, rgba(200, 22, 30, 0.09), transparent 68%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  bottom: -300px; left: -160px;
  background: radial-gradient(circle, rgba(193, 154, 61, 0.12), transparent 70%);
}
.hero-in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 56px;
  align-items: center; padding: 76px 0 84px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ws-red); flex: none; }
.hero-badge.gold i { background: var(--ws-gold); }

.hero h1 {
  font-size: 54px; line-height: 1.16; letter-spacing: -0.03em; font-weight: 800;
}
.hero h1 em {
  font-style: normal; color: var(--ws-red); position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: rgba(200, 22, 30, 0.13); border-radius: 3px; z-index: -1;
}
.hero-desc { margin-top: 24px; font-size: 17px; line-height: 1.9; color: var(--gray); max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 13.5px; color: var(--gray-2); }
.hero-trust b { color: var(--ink-2); font-weight: 700; }

/* Hero 视觉 */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff; position: relative; z-index: 2;
}
.hero-photo img { width: 100%; height: 380px; object-fit: cover; }
.hero-float {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 13px;
}
.hero-float .fi {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--ws-red-soft); color: var(--ws-red);
}
.hero-float .fi.gold { background: var(--ws-gold-soft); color: var(--ws-gold); }
.hero-float .fi svg { width: 21px; height: 21px; }
.hero-float b { display: block; font-size: 17px; color: var(--ink); line-height: 1.25; font-family: var(--font-num); }
.hero-float small { font-size: 12.5px; color: var(--gray); }
.hero-float-1 { left: -34px; bottom: 42px; }
.hero-float-2 { right: -26px; top: 34px; }
.hero-deco {
  position: absolute; inset: 18px -18px -18px 18px; z-index: 1;
  border: 2px dashed rgba(200, 22, 30, 0.22); border-radius: var(--radius-lg);
}

/* ==========================================================================
   数据条
   ========================================================================== */
.stats { background: var(--bg-dark); position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 300px at 18% 0%, rgba(200, 22, 30, 0.22), transparent 70%);
}
.stats-in {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 46px 0; gap: 20px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.stat-num {
  font-family: var(--font-num); font-size: 46px; font-weight: 800; line-height: 1;
  color: #fff; letter-spacing: -0.02em;
}
.stat-num i { font-style: normal; font-size: 24px; color: var(--ws-red); margin-left: 3px; }
.stat-lbl { margin-top: 11px; font-size: 14.5px; color: rgba(255, 255, 255, 0.62); }

/* ==========================================================================
   卡片
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all 0.28s var(--ease); position: relative;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(200, 22, 30, 0.22); }

.card-ico {
  width: 54px; height: 54px; border-radius: 15px; flex: none;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  background: var(--ws-red-soft); color: var(--ws-red);
  transition: all 0.28s var(--ease);
}
.card-ico svg { width: 26px; height: 26px; }
.card:hover .card-ico { background: var(--ws-red); color: #fff; }
.card-ico.gold { background: var(--ws-gold-soft); color: var(--ws-gold); }
.card:hover .card-ico.gold { background: var(--ws-gold); color: #fff; }

.card h3 { font-size: 19.5px; margin-bottom: 11px; }
.card p { font-size: 14.5px; color: var(--gray); line-height: 1.78; flex: 1; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 12.5px; font-weight: 600; color: var(--ws-red);
  background: var(--ws-red-soft); padding: 3px 10px; border-radius: 6px;
}
.tag.n { color: var(--ink-2); background: var(--line-2); }

.card-link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--ws-red); opacity: 0; transform: translateY(4px);
  transition: all 0.28s var(--ease);
}
.card-link svg { width: 15px; height: 15px; }
.card:hover .card-link { opacity: 1; transform: none; }

/* 业务卡（带图） */
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.28s var(--ease); display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.biz-thumb { position: relative; height: 180px; overflow: hidden; background: var(--line-2); }
.biz-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.biz-card:hover .biz-thumb img { transform: scale(1.06); }
.biz-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 22, 29, 0.55));
}
.biz-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255, 255, 255, 0.94); color: var(--ws-red);
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 7px;
}
.biz-body { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.biz-body h3 { font-size: 19px; margin-bottom: 10px; }
.biz-body p { font-size: 14.5px; color: var(--gray); flex: 1; }

/* ==========================================================================
   徽章 / 荣誉
   ========================================================================== */
.honor-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.honor-item {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--ws-gold);
  border-radius: var(--radius-sm); padding: 20px 20px;
  display: flex; align-items: flex-start; gap: 13px;
  transition: all 0.24s var(--ease);
}
.honor-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.honor-ico {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--ws-gold-soft); color: var(--ws-gold);
  display: flex; align-items: center; justify-content: center;
}
.honor-ico svg { width: 19px; height: 19px; }
.honor-item .hy { font-size: 12px; color: var(--gray-2); font-family: var(--font-num); }
.honor-item .hn { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.5; margin-top: 2px; }

/* 荣誉大图 */
.honor-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor-shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-xs);
}
.honor-shot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ==========================================================================
   新闻列表
   ========================================================================== */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-row {
  display: grid; grid-template-columns: 116px 1fr auto; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; transition: all 0.24s var(--ease);
}
.news-row:hover { border-color: rgba(200, 22, 30, 0.24); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.news-date {
  text-align: center; border-right: 1px solid var(--line-2); padding-right: 20px;
}
.news-date b { display: block; font-family: var(--font-num); font-size: 27px; color: var(--ws-red); line-height: 1; }
.news-date small { font-size: 12.5px; color: var(--gray-2); }
.news-row h3 { font-size: 17px; font-weight: 700; line-height: 1.55; }
.news-row p { font-size: 14px; color: var(--gray); margin-top: 6px; }
.news-arrow {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--line-2); color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.24s var(--ease);
}
.news-arrow svg { width: 17px; height: 17px; }
.news-row:hover .news-arrow { background: var(--ws-red); color: #fff; }

/* ==========================================================================
   媒体报道
   ========================================================================== */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.media-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; transition: all 0.26s var(--ease);
  position: relative; overflow: hidden;
}
.media-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ws-red); transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.media-card:hover::before { transform: none; }
.media-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
/* 整卡链接（接口数据渲染为 <a class="media-card">）：去掉链接默认样式，hover 提示更明显 */
a.media-card { text-decoration: none; color: inherit; }
a.media-card:hover { border-color: rgba(200, 22, 30, 0.4); }
a.media-card:hover .media-more { color: var(--ws-red); }
.media-more { font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.media-more span { color: var(--ws-red); font-weight: 700; transition: transform 0.24s var(--ease); }
a.media-card:hover .media-more span { transform: translateX(4px); }
.media-outlet {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.media-logo {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--bg-dark); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; letter-spacing: 0.02em;
  white-space: pre-line; line-height: 1.3; text-align: center;
}
.media-logo.rd { background: var(--ws-red); }
.media-logo.gd { background: var(--ws-gold); color: #241d05; }
.media-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.media-name small { display: block; font-size: 12.5px; color: var(--gray-2); font-weight: 500; }
.media-card h3 { font-size: 18.5px; line-height: 1.5; margin-bottom: 12px; }
.media-card p { font-size: 14.5px; color: var(--gray); flex: 1; }
.media-quote {
  margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: var(--bg-warm); font-size: 14px; color: var(--ink-2);
  border-left: 3px solid var(--ws-gold);
}
.media-viewall { text-align: center; margin-top: 30px; }
.media-viewall a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 28px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  transition: all 0.22s var(--ease);
}
.media-viewall a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }
.media-viewall svg { width: 16px; height: 16px; }

/* ==========================================================================
   分页
   ========================================================================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--radius-sm);
  font-size: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.pagination a { text-decoration: none; transition: all 0.2s var(--ease); }
.pagination a:hover { border-color: var(--ws-red); color: var(--ws-red); }
.pagination .pager-current { background: var(--ws-red); border-color: var(--ws-red); color: #fff; }
.pagination .disabled { color: var(--gray-2); background: var(--bg-warm); cursor: not-allowed; }
.pager-prev, .pager-next { min-width: 72px !important; }
/* 省略号：无边框占位，视觉上区别于可点页码 */
.pagination .pager-gap {
  min-width: 22px; padding: 0; border-color: transparent; background: transparent;
  color: var(--gray-2); letter-spacing: 1px;
}
@media (max-width: 640px) {
  .pagination { gap: 6px; margin-top: 26px; }
  .pagination a, .pagination span { min-width: 32px; height: 34px; padding: 0 8px; font-size: 13.5px; }
  .pager-prev, .pager-next { min-width: 58px !important; }
  .pagination .pager-gap { min-width: 16px; }
}

/* ==========================================================================
   时间轴
   ========================================================================== */
.timeline { display: grid; grid-template-columns: 110px 36px 1fr; gap: 0 16px; max-width: 860px; margin: 0 auto; }
.tl-row { display: contents; }
.tl-year { text-align: right; padding: 20px 0; font-family: var(--font-num); font-weight: 800; font-size: 21px; color: var(--ws-red); }
.tl-axis { position: relative; display: flex; justify-content: center; }
.tl-axis::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-dot { position: relative; z-index: 1; width: 13px; height: 13px; border-radius: 50%; background: var(--ws-red); border: 3px solid #fff; margin-top: 28px; box-shadow: 0 0 0 1px var(--line); }
.tl-body { padding: 20px 0; }
.tl-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.tl-body p { font-size: 14.5px; color: var(--gray); line-height: 1.7; }
@media (max-width: 640px) {
  .timeline { grid-template-columns: 72px 28px 1fr; gap: 0 10px; }
  .tl-year { font-size: 18px; padding: 16px 0; }
  .tl-body { padding: 16px 0; }
}

/* ==========================================================================
   对比表
   ========================================================================== */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.compare-wrap table { width: 100%; border-collapse: collapse; }
.compare-wrap th, .compare-wrap td { padding: 15px 18px; text-align: left; vertical-align: top; font-size: 14.5px; border-bottom: 1px solid var(--line-2); }
.compare-wrap thead th { background: var(--ws-red); color: #fff; font-weight: 600; font-size: 15px; }
.compare-wrap thead th:nth-child(2) { background: var(--ws-red-700); }
.compare-wrap tbody tr:last-child td { border-bottom: none; }
.compare-wrap tbody td:first-child { font-weight: 600; color: var(--ink); }
.compare-wrap tbody tr:nth-child(even) { background: var(--bg-warm); }
.compare-wrap .yes { background: var(--ws-red-soft); color: var(--ink); }
.compare-wrap .no { color: var(--gray-2); }
.compare-wrap .mid { color: var(--gray); }

/* ==========================================================================
   表单
   ========================================================================== */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.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: 14px; font-weight: 700; color: var(--ink); }
.field label i { color: var(--ws-red); font-style: normal; }
.field input, .field select, .field textarea {
  height: 48px; padding: 0 15px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; font-size: 15px; color: var(--ink);
  transition: all 0.2s var(--ease); width: 100%;
}
.field textarea { height: 104px; padding: 13px 15px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ws-red); box-shadow: 0 0 0 4px rgba(200, 22, 30, 0.08);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-2); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-note { font-size: 13px; color: var(--gray-2); line-height: 1.7; }
.form-msg { margin-top: 16px; padding: 13px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #eefaf1; color: #16794a; border: 1px solid #c9ecd8; }
.form-msg.err { display: block; background: #fdf1f1; color: #a81419; border: 1px solid #f5d2d3; }

/* ==========================================================================
   联系
   ========================================================================== */
.contact-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: all 0.24s var(--ease);
}
.contact-block:hover { box-shadow: var(--shadow-sm); border-color: rgba(200, 22, 30, 0.2); }
.contact-block h3 {
  font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 9px;
}
.contact-block h3 svg { width: 19px; height: 19px; color: var(--ws-red); flex: none; }
.cb-line { display: flex; gap: 10px; font-size: 14.5px; padding: 7px 0; color: var(--gray); }
.cb-line b { color: var(--ink-2); font-weight: 600; flex: none; }
.cb-line a { font-family: var(--font-num); color: var(--ws-red); font-weight: 700; }

.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.store {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; transition: all 0.22s var(--ease);
}
.store:hover { border-color: rgba(200, 22, 30, 0.24); box-shadow: var(--shadow-xs); }
.store h4 { font-size: 15.5px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 7px; }
.store h4 span { flex: none; }
.store p { font-size: 13.5px; color: var(--gray); line-height: 1.65; }
.store .tel { font-family: var(--font-num); font-weight: 700; color: var(--ws-red); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ws-red-700), var(--ws-red));
  padding: 54px 56px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
}
.cta::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -120px; top: -190px; background: rgba(255, 255, 255, 0.09);
}
.cta::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  right: 100px; bottom: -180px; background: rgba(255, 255, 255, 0.07);
}
.cta-txt { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, 0.8); font-size: 15.5px; }
.cta-btns { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ==========================================================================
   内页头图
   ========================================================================== */
.page-head {
  position: relative; overflow: hidden;
  background: var(--bg);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}
.page-head::before { display: none; }
.page-head-in { position: relative; z-index: 2; }
.crumb { font-size: 13.5px; color: var(--gray-2); margin-bottom: 14px; }
.crumb a:hover { color: var(--ws-red); }
.crumb span { margin: 0 7px; }
.page-head h1 { color: var(--ink); font-size: 38px; letter-spacing: -0.02em; }
.page-head p { color: var(--gray); margin-top: 10px; font-size: 16px; max-width: 760px; line-height: 1.8; border: none; padding-left: 0; }

/* ==========================================================================
   富文本
   ========================================================================== */
.rich { font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.rich img { max-width: 800px !important; width: auto !important; height: auto; display: block; margin: 22px auto; border-radius: 6px; }
.rich > * + * { margin-top: 18px; }
.rich h2 { font-size: 24px; margin-top: 40px; padding-left: 15px; border-left: 4px solid var(--ws-red); }
.rich h3 { font-size: 19px; margin-top: 30px; color: var(--ink); }
.rich p { color: var(--ink-2); }
.rich ul { padding-left: 4px; }
.rich ul li { position: relative; padding-left: 22px; margin-top: 10px; }
.rich ul li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ws-red);
}
.rich strong { color: var(--ink); font-weight: 700; }
.rich em { font-style: normal; color: var(--ws-red); font-weight: 700; }

.quote-box {
  background: var(--bg-warm); border-left: 4px solid var(--ws-gold);
  border-radius: 10px; padding: 22px 26px; font-size: 15.5px; color: var(--ink-2);
}

/* 数据小卡 */
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.mini-stat b { display: block; font-family: var(--font-num); font-size: 32px; color: var(--ws-red); line-height: 1.1; }
.mini-stat b i { font-style: normal; font-size: 18px; }
.mini-stat span { font-size: 13.5px; color: var(--gray); }

/* 特色/图字左右 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.split-body h2 { font-size: 31px; margin-bottom: 18px; }
.split-body p { color: var(--gray); font-size: 15.5px; }
.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.check-list svg { width: 20px; height: 20px; color: var(--ws-red); flex: none; margin-top: 2px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.6); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 0.95fr; gap: 36px; padding-bottom: 46px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo .logo-img { height: 56px; width: auto; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px 10px; }
.footer-logo .logo-txt b { color: #fff; }
.footer-logo .logo-txt span { color: rgba(255, 255, 255, 0.42); }
.footer-about { font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, 0.55); }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, 0.58); }
.footer-links a:hover { color: #fff; }
.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-contact .big {
  font-family: var(--font-num); font-size: 26px; font-weight: 800; color: #fff;
  display: block; margin-bottom: 4px;
}
.footer-contact .big-lbl { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); margin-bottom: 16px; display: block; }
.footer-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 22px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.42);
}
.footer-bot a { color: rgba(255, 255, 255, 0.5); }
.footer-bot a:hover { color: #fff; }
.footer-friend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; }
.footer-friend a { font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }

/* 页脚公众号二维码入口（由 main.js 统一注入） */
.footer-wx h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.footer-wx .wx-qr {
  background: #fff; border-radius: 12px; padding: 9px; width: 150px; height: 150px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.footer-wx .wx-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-wx .wx-ph {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; width: 100%; height: 100%; font-size: 12px; color: var(--gray-2); padding: 8px; line-height: 1.6;
}
.footer-wx p { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); margin-top: 12px; line-height: 1.7; }

/* 悬浮咨询 */
/* ==========================================================================
   右侧浮动栏（全站统一：回顶部 / 在线预约 / 电话咨询 / 加盟合作 四个按钮）
   ========================================================================== */
.float-side {
  position: fixed; right: 20px; bottom: 26px; z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 50px; height: 50px; border-radius: 15px; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(23, 26, 33, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ws-red); transition: all 0.22s var(--ease); position: relative;
}
.float-btn svg { width: 22px; height: 22px; }
/* hover 统一红色高亮：红底 + 白图标（全部按钮一致） */
.float-btn:hover {
  background: var(--ws-red); border-color: var(--ws-red); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(200, 22, 30, 0.32);
}
/* 主按钮常态即红底白图标，hover 略加深以保持反馈感 */
.float-btn.is-primary {
  background: var(--ws-red); border-color: var(--ws-red); color: #fff;
  box-shadow: 0 8px 20px rgba(200, 22, 30, 0.26);
}
.float-btn.is-primary:hover { background: #a9121a; border-color: #a9121a; }
/* 悬浮提示 */
.float-btn .tip {
  position: absolute; right: 62px; white-space: nowrap; background: var(--ink);
  color: #fff; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 8px;
  opacity: 0; pointer-events: none; transform: translateX(6px); transition: all 0.22s var(--ease);
}
.float-btn .tip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink);
}
.float-btn:hover .tip { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .float-side { right: 12px; bottom: 18px; gap: 8px; }
  .float-btn { width: 44px; height: 44px; border-radius: 13px; }
  .float-btn svg { width: 20px; height: 20px; }
  .float-btn .tip { display: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .hero h1 { font-size: 44px; }
  .nav { display: none; }
  .burger { display: flex; }
  .m-nav { display: block; }
  .header-tel { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .honor-wall { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 62px 0; }
  .sec-title { font-size: 30px; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding: 52px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-photo img { height: 260px; }
  .hero-float-1 { left: 0; bottom: -18px; }
  .hero-float-2 { right: 0; top: -18px; }
  .hero-deco { display: none; }
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; padding: 38px 0; }
  .stat + .stat::before { display: none; }
  .stat-num { font-size: 36px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .split-media { order: 0; }
  .split-body h2 { font-size: 26px; }
  .media-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .honor-shots { grid-template-columns: repeat(2, 1fr); }
  .mini-stats { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 38px 30px; text-align: left; }
  .cta h2 { font-size: 24px; }
  .page-head { padding: 44px 0 48px; }
  .page-head h1 { font-size: 30px; }
  .news-row { grid-template-columns: 1fr auto; gap: 14px; }
  .news-date {
    grid-column: 1 / -1; text-align: left; border-right: 0; border-bottom: 1px solid var(--line-2);
    padding: 0 0 10px; display: flex; align-items: baseline; gap: 8px;
  }
  .news-date b { font-size: 20px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 31px; }
  /* 顶部通栏：手机上长句与右侧链接会把 40px 通栏挤成一团，只保留热线号码 */
  .topbar-l { display: none; }
  .topbar-r > a:not(.topbar-hot) { display: none; }
  .topbar-hot .lbl { display: none; }
  .topbar-in { justify-content: center; height: 38px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .honor-wall, .store-grid, .honor-shots { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
  .btn { height: 47px; padding: 0 22px; font-size: 15px; }
  .float-side { right: 12px; bottom: 16px; }
  .float-btn { width: 46px; height: 46px; }
  .sec-head { margin-bottom: 34px; }
}
