/* =====================================================================
   摩提雅 · 品牌官网设计系统 (Motiya Design System)
   东方雅致型上门养生 · 温润青瓷调
   --------------------------------------------------------------------
   目录:
   1. 设计令牌 (Design Tokens)
   2. 基础重置与排版
   3. 布局骨架 (容器 / 分区 / 交替背景)
   4. 装饰语言 (莲花水印 / 柔弧分隔 / 标题细线圆点)
   5. 导航与按钮
   6. 首页模块 (Hero / 品牌内核 / 雅质优势 / 雅选项目 / 商户合作 / 雅守承诺)
   7. 关于我们页
   8. 服务项目页
   9. 服务规则页
   10. 联系我们页
   11. 全局页脚
   12. 咨询对接弹窗
   13. 响应式适配
   14. 滚动揭示动效
   ===================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 色彩体系 · 温润青瓷调 */
  --brand:        #52B788; /* 品牌主色 · 青瓷绿 */
  --brand-deep:   #3F9C6E; /* 主色深压，用于悬停/渐变 */
  --brand-soft:   #D8F3DC; /* 辅助柔绿 */
  --brand-pale:   #F5FBF6; /* 极浅柔绿 */
  --bg:           #FFFFFF;
  --bg-soft:      #FAFCFB;
  --text-1:       #2D3A3A; /* 文字主色 · 深灰绿 */
  --text-2:       #526464; /* 文字次色 · 中灰绿 */
  --text-3:       #95A5A5; /* 文字弱色 · 辅助 */
  --line:         rgba(82, 183, 136, 0.22); /* 柔绿细线 */
  --line-soft:    rgba(82, 183, 136, 0.12);

  /* 圆角 */
  --r-sm: 12px;
  --r:    16px;   /* 统一大圆角 */
  --r-lg: 20px;

  /* 阴影 */
  --shadow-sm:   0 6px 20px rgba(45, 58, 58, 0.05);
  --shadow:      0 10px 30px rgba(45, 58, 58, 0.07);
  --shadow-hover:0 16px 44px rgba(45, 58, 58, 0.11);

  /* 尺度 */
  --maxw: 1200px;
  --gap:  32px;
  --pad-section: 96px;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* 莲花水印 (线条版, 单色, 透明度由元素控制) */
  --lotus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%2352B788' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M50 18C56 38 56 62 50 82C44 62 44 38 50 18Z'/%3E%3Cpath d='M50 30C40 40 30 58 36 76C45 64 49 50 50 30Z'/%3E%3Cpath d='M50 30C60 40 70 58 64 76C55 64 51 50 50 30Z'/%3E%3Cpath d='M50 38C34 46 20 62 26 80C40 70 48 56 50 38Z'/%3E%3Cpath d='M50 38C66 46 80 62 74 80C60 70 52 56 50 38Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 2. 基础重置与排版 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-2);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* 品牌专属衬线字 (用于品牌名/大标题, 提升雅致感) */
.font-serif {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", serif;
}

/* ---------- 3. 布局骨架 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { position: relative; padding: var(--pad-section) 0; overflow: hidden; }
.section--white { background: var(--bg); }
.section--soft  { background: var(--brand-pale); }
.section--base  { background: var(--bg-soft); }

/* 右上/左下柔绿光斑, 营造呼吸感 */
.glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.16) 0%, rgba(82,183,136,0) 70%);
  pointer-events: none; z-index: 0;
}
.glow--tl { width: 520px; height: 520px; top: -160px; left: -120px; }
.glow--br { width: 600px; height: 600px; bottom: -200px; right: -160px; }

/* ---------- 4. 装饰语言 ---------- */
/* 莲花水印 (角落低透明度散落) */
.lotus-mark {
  position: absolute; width: 220px; height: 220px;
  background: var(--lotus) no-repeat center / contain;
  opacity: 0.06; pointer-events: none; z-index: 0;
}
.lotus-mark--tr { top: 40px; right: 48px; }
.lotus-mark--bl { bottom: 40px; left: 48px; }

/* 超大「雅」字水印 (Hero 右下, 透明度 5%) */
.ya-watermark {
  position: absolute; right: -10px; bottom: -60px;
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 460px; line-height: 1; font-weight: 700;
  color: var(--brand); opacity: 0.05; pointer-events: none; z-index: 0;
  user-select: none;
}

/* 柔弧分隔线 (替代生硬直线) */
.arc-divider { width: 100%; height: 40px; display: block; }
.arc-divider path { fill: none; stroke: var(--line); stroke-width: 1.4; }

/* 板块标题: 左侧 1px 细竖线 + 淡绿圆点 */
.sec-title { position: relative; margin-bottom: 44px; z-index: 1; }
.sec-title .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: var(--brand); font-weight: 500; margin-bottom: 12px;
}
.sec-title h2 {
  position: relative; padding-left: 20px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px; font-weight: 600; color: var(--text-1);
  line-height: 1.4; letter-spacing: 1px;
}
.sec-title h2::before { /* 1px 细竖线 */
  content: ""; position: absolute; left: 0; top: 6px;
  width: 1px; height: calc(100% - 8px); background: var(--brand-soft);
}
.sec-title h2::after { /* 淡绿圆点 */
  content: ""; position: absolute; left: -3px; top: 2px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(82,183,136,0.14);
}
.sec-title--center { text-align: center; }
.sec-title--center h2 { padding-left: 0; display: inline-block; }
.sec-title--center h2::before { display: none; }
.sec-title--center .arc-line {
  width: 80px; height: 14px; margin: 18px auto 0;
}

/* 居中小弧线装饰 */
.arc-line { display: block; }
.arc-line path { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; }

/* 雅系标签 (圆角柔绿底) */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 13px; font-weight: 500; letter-spacing: .5px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. 导航与按钮 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand .name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px; font-weight: 700; color: var(--text-1); letter-spacing: 2px;
}
.brand .name b { color: var(--brand); }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  position: relative; font-size: 15px; color: var(--text-2);
  padding: 6px 0; transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--brand); border-radius: 2px; transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(82,183,136,0.28); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(82,183,136,0.34); }
.btn--outline { background: transparent; color: var(--brand-deep); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-soft); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--text-1); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }

/* ---------- 6. 首页模块 ---------- */

/* 模块1 Hero */
.hero { position: relative; padding: 60px 0 84px; background: var(--bg); overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow {
  font-size: 13px; letter-spacing: 2px; color: var(--brand); font-weight: 500; margin-bottom: 18px;
}
.hero-copy .brand-name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 62px; font-weight: 700; color: var(--brand);
  letter-spacing: 4px; line-height: 1.08; margin-bottom: 16px;
}
.hero-copy .slogan {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px; font-weight: 300; color: var(--text-1); letter-spacing: 1px; margin-bottom: 18px;
}
/* 品牌内核小标签行: 充盈首屏, 强化品牌记忆 */
.hero-core { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 22px; }
.hero-core span {
  position: relative; padding-left: 15px;
  font-size: 13px; color: var(--brand-deep); letter-spacing: 2px;
}
.hero-core span::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .7;
}
.hero-copy .desc { font-size: 14px; color: var(--text-3); margin-bottom: 30px; letter-spacing: .3px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual .photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 3 / 4;
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(82,183,136,0.10), rgba(82,183,136,0.02) 60%);
}
.mini-card {
  position: absolute; left: -22px; bottom: 28px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  padding: 12px 18px; border-radius: var(--r-sm); box-shadow: var(--shadow);
}
.mini-card .lotus-ico {
  width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft);
  display: grid; place-items: center;
}
.mini-card .lotus-ico svg { width: 16px; height: 16px; }
.mini-card .txt small { display: block; font-size: 11px; color: var(--text-3); }
.mini-card .txt b { font-size: 13px; color: var(--text-1); font-weight: 600; }

/* 模块2 品牌内核 */
.core-grid { display: grid; grid-template-columns: 5fr 5fr; gap: 56px; align-items: center; }

/* 模块3 雅质优势 (三栏卡片) */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.adv-card {
  background: var(--bg); border-radius: var(--r); padding: 32px 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.adv-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.adv-ico {
  width: 60px; height: 60px; border-radius: var(--r-sm);
  background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 20px;
  transition: background .3s var(--ease);
}
.adv-ico svg { width: 30px; height: 30px; stroke: var(--brand); transition: stroke .3s var(--ease); }
.adv-card:hover .adv-ico { background: var(--brand); }
.adv-card:hover .adv-ico svg { stroke: #fff; }
.adv-card h3 { font-size: 20px; font-weight: 500; color: var(--text-1); margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--text-2); }
.adv-card .arc-foot { margin-top: 22px; height: 14px; }
.adv-card .arc-foot path { fill: none; stroke: var(--brand-soft); stroke-width: 1.6; }

/* 模块4 雅选项目 (四卡片) */
.proj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.proj-card { display: block; border-radius: var(--r); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); }
.proj-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.proj-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,30,28,0.72) 0%, rgba(20,30,28,0.05) 55%);
  transition: background .4s var(--ease);
}
.proj-card:hover .proj-media img { transform: scale(1.05); }
.proj-card:hover .proj-media::after { background: linear-gradient(to top, rgba(20,30,28,0.82) 0%, rgba(20,30,28,0.18) 60%); }
.proj-overlay { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #fff; }
.proj-overlay .tag-sm {
  display: inline-block; font-size: 11px; letter-spacing: 1px; padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; margin-bottom: 10px;
}
.proj-overlay .pname { font-size: 17px; font-weight: 600; }
.proj-overlay .pname small { display: block; font-size: 12px; font-weight: 400; opacity: .8; margin-top: 2px; }
.proj-note { margin-top: 26px; font-size: 12.5px; color: var(--text-3); text-align: center; line-height: 1.7; }

/* 模块5 商户合作 */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.partner-card {
  background: var(--bg); border-radius: var(--r); padding: 34px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.partner-ico {
  width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.partner-ico svg { width: 28px; height: 28px; stroke: var(--brand); }
.partner-card h3 { font-size: 20px; color: var(--text-1); font-weight: 600; margin-bottom: 10px; }
.partner-card p { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 22px; flex: 1; }
.partner-cta { align-self: flex-start; }
.partner-foot {
  margin-top: 36px; background: var(--brand-pale); border-radius: var(--r);
  padding: 28px 36px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.partner-foot .pf-txt h4 { font-size: 18px; color: var(--text-1); font-weight: 600; margin-bottom: 6px; }
.partner-foot .pf-txt p { font-size: 14px; color: var(--text-2); }

/* 模块6 雅守承诺栏 */
.promise {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(90deg, var(--brand-pale) 0%, #E7F6EC 50%, var(--brand-pale) 100%);
  padding: 64px 0;
}
.promise .lotus-mark { opacity: 0.08; }
.promise h2 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 26px; font-weight: 600; color: var(--text-1); margin-bottom: 16px; letter-spacing: 1px; }
.promise p { font-size: 14px; color: var(--text-2); letter-spacing: .5px; }

/* ---------- 7. 关于我们页 ---------- */
.about-visual {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--brand-soft), #fff);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.about-visual img { width: 62%; height: auto; object-fit: contain; opacity: .92; }
.path-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.path-step { text-align: center; }
.path-step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 18px; font-weight: 600; margin: 0 auto 16px;
  box-shadow: 0 8px 18px rgba(82,183,136,0.28);
}
.path-step h4 { font-size: 16px; color: var(--text-1); font-weight: 600; margin-bottom: 8px; }
.path-step p { font-size: 13px; color: var(--text-3); line-height: 1.7; }
.path-connector { display: flex; align-items: center; justify-content: center; margin: 26px 0; }
.path-connector svg { width: 120px; height: 16px; }
.path-connector path { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .6; }

/* 服务脉络 时间轴 */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--brand-soft) 12%, var(--brand-soft) 88%, transparent);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 26px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-dot {
  position: absolute; top: 34px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); z-index: 2;
}
.tl-item:nth-child(odd) .tl-dot { right: -8px; }
.tl-item:nth-child(even) .tl-dot { left: -8px; }
.tl-item.future .tl-dot { background: transparent; border-style: dashed; }
.tl-year { font-size: 13px; color: var(--brand); font-weight: 600; letter-spacing: 1px; }
.tl-item h4 { font-size: 18px; color: var(--text-1); font-weight: 600; margin: 6px 0; }
.tl-item p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.tl-item.future h4 { color: var(--text-3); font-weight: 500; }

/* ---------- 8. 服务项目页 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc-card {
  background: var(--bg); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.svc-media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-body { padding: 22px 24px 26px; }
.svc-body h3 { font-size: 18px; color: var(--brand-deep); font-weight: 700; margin-bottom: 10px; }
.svc-meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.svc-meta svg { width: 15px; height: 15px; stroke: var(--brand); }
.svc-body p { font-size: 14px; color: var(--text-3); line-height: 1.7; }

/* ---------- 9. 服务规则页 ---------- */
.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.rule-card {
  background: var(--brand-pale); border-radius: var(--r); padding: 32px;
  border: 1px solid var(--line-soft);
}
.rule-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rule-ico {
  width: 46px; height: 46px; border-radius: 12px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.rule-ico svg { width: 24px; height: 24px; stroke: var(--brand); }
.rule-head h3 { font-size: 18px; color: var(--text-1); font-weight: 600; }
.rule-card ul li {
  position: relative; padding-left: 18px; font-size: 14px; color: var(--text-2);
  line-height: 1.9;
}
.rule-card ul li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}

/* ---------- 10. 联系我们页 ---------- */
.contact-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.contact-list { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-ico {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-soft); display: grid; place-items: center;
}
.contact-ico svg { width: 24px; height: 24px; stroke: var(--brand); }
.contact-item .ct-label { font-size: 13px; color: var(--text-3); margin-bottom: 2px; }
.contact-item .ct-value { font-size: 16px; color: var(--text-1); font-weight: 500; }
.contact-tip {
  margin-top: 8px; font-size: 13px; color: var(--text-3);
  padding: 14px 18px; background: var(--brand-pale); border-radius: var(--r-sm);
  border: 1px dashed var(--line);
}
.contact-visual {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--brand-soft), #fff);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative;
}
.contact-visual img.logo-big { width: 56%; object-fit: contain; opacity: .9; }
.contact-visual .cap { position: absolute; bottom: 22px; font-size: 13px; color: var(--brand-deep); letter-spacing: 1px; }

/* ---------- 10. 雅说资讯板块 ---------- */
/* 列表页：双列卡片，左图右文 */
.yashuo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.post-card {
  display: flex; gap: 22px; padding: 18px; background: #fff;
  border-radius: var(--r-lg); border: 1px solid var(--line, #eef3f0);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-cover { flex: 0 0 200px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--brand-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 4px 6px 4px 0; min-width: 0; }
.post-tag {
  align-self: flex-start; font-size: 12px; color: var(--brand); background: var(--brand-soft);
  padding: 3px 12px; border-radius: 100px; letter-spacing: .5px;
}
.post-title { font-size: 18px; font-weight: 600; color: var(--text-1); line-height: 1.5; }
.post-excerpt { font-size: 14px; color: var(--text-2); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-date { margin-top: auto; font-size: 13px; color: var(--text-weak); }
/* 数字分页 */
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.pager a {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line, #eef3f0); font-size: 14px; color: var(--text-2); transition: all .25s var(--ease);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 详情页：窄幅大留白 */
.article { max-width: 800px; margin: 0 auto; padding-bottom: 30px; }
.article-head { text-align: center; padding: 8px 0 30px; border-bottom: 1px solid var(--line, #eef3f0); margin-bottom: 36px; }
.article-head .post-tag { margin: 0 auto 16px; }
.article-title { font-family: "Noto Serif SC","Songti SC",serif; font-size: 30px; font-weight: 700; color: var(--text-1); line-height: 1.4; letter-spacing: 1px; }
.article-meta { margin-top: 14px; font-size: 13px; color: var(--text-weak); }
.article-body { font-size: 16px; line-height: 1.8; color: var(--text-1); }
.article-body p { margin-bottom: 20px; }
.article-body p.lead { font-size: 17px; color: var(--text-2); }
.article-body strong { color: var(--brand); font-weight: 600; }
.article-body h3 { font-size: 19px; font-weight: 600; color: var(--text-1); margin: 30px 0 14px; }
.article-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line, #eef3f0); flex-wrap: wrap; }
.article-nav a { font-size: 14px; color: var(--text-2); transition: color .25s var(--ease); }
.article-nav a:hover { color: var(--brand); }
.article-nav .back { margin: 0 auto; }

/* 关于页 品牌释义 三段式内核 (与雅说文章口径一致) */
.core-grid .lead-text { font-size: 16px; color: var(--text-2); line-height: 1.95; margin-bottom: 22px; }
.pillar-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 0 0 24px; padding: 0; }
.pillar-list li { padding-left: 16px; border-left: 2px solid var(--brand-soft); }
.pillar-list h4 { font-size: 16px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; letter-spacing: .5px; }
.pillar-list h4::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); margin-right: 9px; vertical-align: middle;
}
.pillar-list p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ---------- 11. 全局页脚 ---------- */
.site-footer { background: var(--text-1); color: #cfd8d4; padding: 54px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand .name { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.footer-brand .name b { color: var(--brand); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: #cfd8d4; transition: color .25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: 13px; color: #9fb0ab; line-height: 1.9; }
.footer-bottom a { color: #9fb0ab; text-decoration: none; border-bottom: 1px solid rgba(159, 176, 171, .35); transition: color .2s, border-color .2s; }
.footer-bottom a:hover { color: var(--brand-soft); border-bottom-color: var(--brand-soft); }
.footer-bottom .slogan-line { color: var(--brand-soft); letter-spacing: .5px; }

/* 页脚二维码 (弱展示轻入口: 白底+青瓷绿细边+8px圆角) */
.footer-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-qr img {
  width: 106px; height: 106px; object-fit: contain; display: block;
  background: #fff; border: 1px solid var(--brand); border-radius: 8px;
}
.footer-qr span { font-size: 13px; color: #9fb0ab; letter-spacing: .5px; }

/* 联系页二维码卡 (柔绿渐变底大圆角容器, 与页面组件统一) */
.contact-qr {
  margin-top: 20px; padding: 26px 20px;
  background: linear-gradient(160deg, var(--brand-soft), #fff);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.contact-qr img {
  width: 118px; height: 118px; object-fit: contain; display: block;
  background: #fff; border: 1px solid var(--brand); border-radius: 8px;
}
.contact-qr span { font-size: 13px; color: var(--text-2); letter-spacing: .5px; }

/* ---------- 页面通用标题区 (关于/项目/规则/联系) ---------- */
.page-head { padding: 72px 0 56px; text-align: center; position: relative; overflow: hidden; }
.page-head .eyebrow { font-size: 13px; letter-spacing: 3px; color: var(--brand); font-weight: 500; margin-bottom: 14px; }
.page-head h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 36px; font-weight: 600; color: var(--text-1); letter-spacing: 2px;
}
.page-head .page-sub { margin-top: 14px; font-size: 15px; color: var(--text-2); letter-spacing: .5px; }
.page-head .arc-line { width: 80px; height: 14px; margin: 18px auto 0; }
.page-head .sub { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* ---------- 12. 咨询对接弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(82, 183, 136, 0.08);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal-mask.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 420px; max-width: 90vw;
  background: #fff; border-radius: var(--r); padding: 36px 34px 30px;
  text-align: center; box-shadow: 0 24px 60px rgba(45,58,58,0.18);
  transform: translateY(-20px); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.modal-mask.open .modal { transform: translateY(0); opacity: 1; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 24px; height: 24px; padding: 0; border: none; background: transparent;
  color: var(--brand); font-size: 24px; line-height: 1; cursor: pointer;
}
.modal-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px; font-weight: 600; color: var(--text-1);
}
.modal-arc { width: 40px; height: 14px; margin: 12px auto 16px; }
.modal-label {
  display: none; font-size: 12px; letter-spacing: 1px; color: var(--brand-deep);
  background: var(--brand-soft); padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.modal-hint { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.modal-phone {
  font-size: 32px; font-weight: 700; color: var(--brand);
  letter-spacing: 2px; line-height: 1.2;
}
.modal-sub { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.modal-region { font-size: 13px; color: var(--text-3); margin: 18px 0 22px; }
.modal-confirm { width: 100%; }

/* ---------- 13. 响应式适配 ---------- */
@media (max-width: 1024px) {
  :root { --pad-section: 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero-visual .mini-card { left: 0; }
  .core-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .path-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; }
  .yashuo-list { grid-template-columns: 1fr; }
  .post-card { flex-direction: column; }
  .post-cover { flex: none; width: 100%; }
  .nav-links { gap: 22px; }
}
@media (max-width: 720px) {
  :root { --pad-section: 60px; --gap: 20px; }
  .nav-links { display: none; }
  .hero-copy .brand-name { font-size: 46px; }
  .ya-watermark { font-size: 300px; }
  .adv-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: 1fr; }
  .path-steps { grid-template-columns: 1fr; }
  .partner-foot { flex-direction: column; align-items: flex-start; }
  .timeline::before { left: 18px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 22px 0 22px 48px; }
  .tl-item .tl-dot { left: 10px !important; right: auto !important; }
  .sec-title h2 { font-size: 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-qr { align-items: flex-start; }
}
@media (max-width: 460px) {
  .proj-grid { grid-template-columns: 1fr; }
  .hero-copy .brand-name { font-size: 40px; }
}

/* ---------- 14. 滚动揭示动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 15. 常见问题 FAQ (GEO 友好问答 · 原生 details 折叠, 内容常驻 DOM 可被抓取) ---------- */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-cat { margin-top: 46px; margin-bottom: 22px; }
.faq-cat:first-child { margin-top: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 0 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq-q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--text-1);
  line-height: 1.5;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .q-mark {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center;
  font-family: "Noto Serif SC", "Songti SC", serif; font-size: 15px; font-weight: 700;
}
.faq-q .q-arrow {
  flex: 0 0 auto; width: 10px; height: 10px; margin-left: auto; margin-right: 4px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item[open] .faq-q .q-arrow { transform: rotate(-135deg); }
.faq-a { padding: 0 0 22px 42px; font-size: 15px; color: var(--text-2); line-height: 1.85; }
.faq-a p { margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .faq-q { font-size: 16px; gap: 12px; }
  .faq-a { padding-left: 40px; font-size: 14.5px; }
}
