/* ============================================================
   田伴 TianBan — 设计令牌与全局样式
   ============================================================ */
:root {
  /* 主色 */
  --primary: #71411f;        /* 深咖啡 */
  --primary-2: #af642f;      /* 焦糖 / 暖棕 */
  --primary-soft: #c98a52;
  /* 背景 */
  --bg: #ddd3c4;             /* 米麻 / 亚麻 */
  --bg-2: #e6dccb;
  --bg-3: #f1ead9;           /* 纸色 */
  --bg-card: #fbf7ef;        /* 暖白卡片 */
  --white: #fbf7ef;
  /* 文字 */
  --ink: #2b2017;
  --ink-2: #5b4a38;
  --muted: #8a7a66;
  --faint: #a89a86;
  /* 线条 */
  --line: #c7b8a0;
  --line-soft: #d8ccb8;
  /* 语义 */
  --star: #c98a2f;
  --good: #5a7a3a;

  /* 字体：全站默认微软雅黑 */
  --font-serif: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;

  /* 圆角与阴影 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(80, 55, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(80, 55, 30, 0.10);
  --shadow-lg: 0 24px 60px rgba(80, 55, 30, 0.16);

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* 极淡的纸纹：两层径向噪点 */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(175, 100, 47, 0.05), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(113, 65, 31, 0.05), transparent 50%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* 标题字体 */
h1, h2, h3, h4, .serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: .02em; line-height: 1.25; }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(221, 211, 196, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.brand-slogan { font-size: 12px; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  transition: all .25s var(--ease);
}
.nav-links a:hover { background: var(--bg-3); color: var(--primary); }
.nav-links a.active { background: var(--primary); color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* 汉堡（移动端） */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: .3s; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  transition: all .3s var(--ease); white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--bg-3); color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--primary-2); }
/* 白色玻璃质感半透明按钮（DEMO 偏好） */
.btn-glass {
  background: rgba(251, 247, 239, 0.55);
  color: var(--ink);
  border: 1px solid rgba(251, 247, 239, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(251, 247, 239, 0.8); transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ Hero ============ */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--bg-3); color: var(--primary-2); font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-soft); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); color: var(--ink); margin-bottom: 20px; }

/* PC 端：主标题单行显示，字号随视口收敛以适配左右分栏 */
@media (min-width: 961px) {
  .hero h1 { white-space: nowrap; font-size: clamp(24px, 3vw, 36px); }
  .hero h1 em::after { height: 8px; bottom: 2px; }
}
.hero h1 em { font-style: normal; color: var(--primary); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: rgba(175, 100, 47, 0.25); z-index: -1; border-radius: 4px;
}
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); padding: 8px 8px 8px 18px; border-radius: 999px;
  box-shadow: var(--shadow-md); max-width: 480px; border: 1px solid var(--line-soft);
}
.hero-search input { flex: 1; border: none; outline: none; background: none; font-size: 15px; color: var(--ink); }
.hero-search input::placeholder { color: var(--faint); }

.hero-stats { display: flex; gap: 36px; margin-top: 40px; }
.hero-stat .num { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--primary); }
.hero-stat .label { font-size: 13px; color: var(--muted); }

/* Hero 右侧图片 */
.hero-visual { position: relative; }
.hero-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.hero-float-card {
  position: absolute; left: -28px; bottom: 30px;
  background: var(--white); border-radius: var(--r-md); padding: 16px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  max-width: 260px;
}
.hero-float-card .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; color: var(--primary-2); flex-shrink: 0; }
.hero-float-card .t { font-size: 13px; color: var(--ink); font-weight: 500; }
.hero-float-card .s { font-size: 11px; color: var(--muted); }

.hero-badge {
  position: absolute; top: -14px; right: 18px;
  background: var(--primary); color: var(--white); padding: 10px 16px; border-radius: var(--r-md);
  font-family: var(--font-serif); font-size: 14px; box-shadow: var(--shadow-md);
  transform: rotate(3deg);
}

/* ============ 通用区块 ============ */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-eyebrow { color: var(--primary-2); font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); color: var(--ink); margin-bottom: 14px; }
.section-desc { color: var(--ink-2); font-size: 16px; }

/* ============ 商家卡片 ============ */
.merchant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.m-card {
  background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: all .4s var(--ease); cursor: pointer; display: flex; flex-direction: column;
}
.m-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-soft); }
.m-card-cover { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.m-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.m-card:hover .m-card-cover img { transform: scale(1.06); }
.m-card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,32,23,.5), transparent 45%); }
.m-card-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(251,247,239,.92); color: var(--primary); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.m-card-rating { position: absolute; bottom: 12px; left: 14px; z-index: 2; color: #fff; font-size: 13px; display: flex; align-items: center; gap: 5px; }
.m-card-rating svg { width: 14px; height: 14px; color: var(--star); fill: var(--star); }
.m-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.m-card-name { font-size: 19px; font-weight: 600; color: var(--ink); font-family: var(--font-serif); }
.m-card-desc { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: var(--bg-3); color: var(--primary-2); border: 1px solid var(--line-soft); }
.m-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-soft); }
.m-card-loc { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.m-card-loc svg { width: 13px; height: 13px; }
.m-card-link { font-size: 13px; color: var(--primary-2); font-weight: 500; display: flex; align-items: center; gap: 3px; }
.m-card-link svg { width: 13px; height: 13px; transition: transform .3s; }
.m-card:hover .m-card-link svg { transform: translateX(3px); }

/* ============ 商家日常动态（首页） ============ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card {
  background: var(--bg-card); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: all .3s var(--ease); display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.p-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.p-avatar {
  width: 36px; height: 36px; border-radius: 10px; object-fit: cover;
  background: var(--bg-3); flex-shrink: 0;
}
.p-by { font-size: 13px; color: var(--ink); font-weight: 600; }
.p-date { font-size: 11.5px; color: var(--faint); margin-left: auto; }
.p-cover { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--bg-3); }
.p-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.p-card:hover .p-cover img { transform: scale(1.05); }
.p-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.p-title { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.p-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

/* ============ 商家详情页 · 时间线动态 ============ */
.feed-list { display: flex; flex-direction: column; gap: 20px; }
.feed-item {
  background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-soft); display: grid; grid-template-columns: 220px 1fr; gap: 0;
  transition: all .3s var(--ease);
}
.feed-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feed-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.feed-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.feed-item:hover .feed-img img { transform: scale(1.05); }
.feed-body { padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.feed-meta { font-size: 12.5px; color: var(--faint); display: flex; gap: 10px; align-items: center; }
.feed-title { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.feed-excerpt { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.feed-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.p-card { cursor: pointer; }
.feed-item { cursor: pointer; }

/* ============ 帖子详情弹窗 ============ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(43, 32, 23, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalIn .25s var(--ease);
}
.modal.show { display: flex; }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal-inner {
  position: relative;
  width: 100%; max-width: 720px; max-height: 88vh;
  background: var(--bg-card); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column;
  animation: modalCard .3s var(--ease);
}
@keyframes modalCard { from { transform: translateY(20px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(251,247,239,.9); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: all .2s;
  border: 1px solid var(--line-soft);
}
.modal-close:hover { background: var(--primary); color: var(--white); transform: rotate(90deg); }
.modal-cover { aspect-ratio: 16/8; background: var(--bg-3); overflow: hidden; flex-shrink: 0; }
.modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 28px 32px 32px; overflow-y: auto; }
.modal-meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.modal-merchant { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--bg-3); color: var(--primary); font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-soft); cursor: pointer; transition: all .2s; margin-bottom: 12px; }
.modal-merchant:hover { background: var(--primary); color: var(--white); }
.modal-merchant img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.modal-title { font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 14px; line-height: 1.3; }
.modal-content { font-size: 15.5px; color: var(--ink-2); line-height: 1.9; white-space: pre-wrap; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
body.modal-open { overflow: hidden; }

@media (max-width: 680px) {
  .modal-inner { max-width: 100%; max-height: 94vh; border-radius: var(--r-lg); }
  .modal-cover { aspect-ratio: 16/9; }
  .modal-body { padding: 22px 22px 26px; }
  .modal-title { font-size: 22px; }
}

@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .feed-item { grid-template-columns: 1fr; }
  .feed-img { aspect-ratio: 16/9; max-height: 200px; }
}
@media (max-width: 680px) {
  .post-grid { grid-template-columns: 1fr; }
}

/* ============ 价值主张 / 特性卡 ============ */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat {
  background: var(--bg-card); border-radius: var(--r-lg); padding: 30px 24px;
  border: 1px solid var(--line-soft); transition: all .35s var(--ease);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-3); color: var(--primary); margin-bottom: 18px;
}
.feat-icon svg { width: 26px; height: 26px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.feat p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ============ 流程步骤 ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.step { text-align: center; padding: 0 20px; position: relative; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--primary); color: var(--white); font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(113,65,31,.3);
}
.step:nth-child(2) .step-num { background: var(--primary-2); }
.step:nth-child(3) .step-num { background: var(--primary-soft); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); max-width: 280px; margin: 0 auto; }
.step-arrow {
  position: absolute; top: 28px; right: -18px; color: var(--line);
}
.step-arrow svg { width: 36px; height: 36px; }

/* ============ GEO 科普条 ============ */
.geo-band {
  background: linear-gradient(135deg, var(--primary) 0%, #5e3416 100%);
  color: var(--white); border-radius: var(--r-xl); padding: 56px 56px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.geo-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(175,100,47,.35); filter: blur(10px);
}
.geo-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.geo-band p { color: rgba(251,247,239,.82); font-size: 15px; margin-bottom: 24px; }
.geo-band .btn-glass { background: rgba(251,247,239,.18); color: var(--white); border-color: rgba(251,247,239,.4); }
.geo-band .btn-glass:hover { background: rgba(251,247,239,.3); }
.geo-points { display: flex; flex-direction: column; gap: 14px; }
.geo-point { display: flex; gap: 12px; align-items: flex-start; }
.geo-point .ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: rgba(251,247,239,.15); display: grid; place-items: center; }
.geo-point .ico svg { width: 15px; height: 15px; }
.geo-point .t { font-size: 14px; }
.geo-point .t b { display: block; margin-bottom: 2px; }

/* ============ 数据条 ============ */
.data-strip { background: var(--bg-3); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.data-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 0; text-align: center; gap: 20px; }
.data-item .num { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--primary); }
.data-item .num small { font-size: 18px; color: var(--primary-2); }
.data-item .label { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ============ 页脚 ============ */
.footer { background: #2b2017; color: #cdbfaa; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-name { color: #f1ead9; }
.footer-about { font-size: 13px; line-height: 1.8; color: #a89a86; margin: 14px 0; max-width: 320px; }
.footer h4 { color: #f1ead9; font-size: 15px; margin-bottom: 16px; font-family: var(--font-sans); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 13.5px; color: #a89a86; transition: color .2s; }
.footer li a:hover { color: var(--primary-soft); }
.footer-contact p { font-size: 13px; color: #a89a86; margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: #7a6c58; flex-wrap: wrap; gap: 10px; }

/* ============ 页面标题条（内页） ============ */
.page-head {
  padding: 56px 0 40px; text-align: center;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-head h1 { font-size: clamp(28px, 4vw, 42px); color: var(--ink); margin-bottom: 12px; }
.page-head p { color: var(--ink-2); max-width: 620px; margin: 0 auto; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--primary-2); }
.breadcrumb .sep { margin: 0 6px; }

/* ============ 筛选 chips ============ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.chip {
  padding: 8px 18px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  background: var(--bg-3); border: 1px solid var(--line-soft); transition: all .25s;
}
.chip:hover { border-color: var(--primary-2); color: var(--primary); }
.chip.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============ 商家详情页 ============ */
.m-hero { position: relative; height: 380px; border-radius: 0 0 var(--r-xl) var(--r-xl); overflow: hidden; }
.m-hero img { width: 100%; height: 100%; object-fit: cover; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,32,23,.78), rgba(43,32,23,.1) 60%); }
.m-hero-inner { position: absolute; bottom: 0; left: 0; right: 0; padding: 0 24px 36px; }
.m-hero-inner .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.m-title { color: #fff; }
.m-title .cat { display: inline-block; background: rgba(251,247,239,.9); color: var(--primary); font-size: 12px; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; font-weight: 600; }
.m-title h1 { font-size: clamp(28px, 4vw, 42px); color: #fff; margin-bottom: 8px; }
.m-title .meta { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.88); font-size: 14px; }
.m-title .meta span { display: flex; align-items: center; gap: 5px; }
.m-title .meta svg { width: 14px; height: 14px; }
#m-rating-stars { color: var(--star); display: inline-flex; gap: 2px; }
.m-hero-actions { display: flex; gap: 10px; }

.m-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 40px 0 70px; align-items: start; }
.m-main { display: flex; flex-direction: column; gap: 36px; }
.m-block { background: var(--bg-card); border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line-soft); }
.m-block h2 { font-size: 22px; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.m-block h2::before { content: ""; width: 4px; height: 20px; background: var(--primary-2); border-radius: 3px; }
.m-block .lead { color: var(--ink-2); margin-bottom: 16px; }
.m-block p { color: var(--ink-2); font-size: 15px; }

/* 服务 / 产品 */
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service {
  border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 18px;
  background: var(--bg-3); transition: all .3s;
}
.service:hover { border-color: var(--primary-soft); transform: translateY(-2px); }
.service-name { font-weight: 600; color: var(--ink); font-size: 16px; margin-bottom: 4px; display: flex; justify-content: space-between; }
.service-price { color: var(--primary-2); font-family: var(--font-serif); font-size: 15px; }
.service-desc { font-size: 13px; color: var(--muted); }

/* 相册 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); width: 100%; cursor: pointer; transition: transform .3s; }
.gallery img:hover { transform: scale(1.03); }

/* 评价 */
.review { padding: 18px 0; border-bottom: 1px dashed var(--line-soft); }
.review:last-child { border-bottom: none; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-family: var(--font-serif); }
.review-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.review-date { font-size: 12px; color: var(--faint); }
.review-stars { color: var(--star); display: flex; gap: 2px; }
.review-stars svg { width: 13px; height: 13px; fill: var(--star); }
.review-text { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* GEO 关键词 */
.geo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-tag { font-size: 13px; padding: 6px 14px; border-radius: 8px; background: var(--bg-3); color: var(--primary-2); border: 1px solid var(--line-soft); font-family: var(--font-serif); }
.geo-tag::before { content: "#"; opacity: .6; margin-right: 2px; }

/* 侧边联系卡 */
.m-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.contact-card { background: var(--bg-card); border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 17px; margin-bottom: 16px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.contact-row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-soft); }
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-3); color: var(--primary-2); display: grid; place-items: center; flex-shrink: 0; }
.contact-row .ico svg { width: 17px; height: 17px; }
.contact-row .lbl { font-size: 11.5px; color: var(--faint); }
.contact-row .val { font-size: 14px; color: var(--ink); font-weight: 500; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.map-placeholder {
  height: 160px; border-radius: var(--r-md); background: var(--bg-3);
  border: 1px dashed var(--line); display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 13px; position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 28px 28px;
  opacity: .6;
}
.map-placeholder .pin { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--primary); }
.map-placeholder .pin svg { width: 26px; height: 26px; }

/* ============ 关于页 ============ */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.about-hero img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.about-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.about-hero p { color: var(--ink-2); margin-bottom: 14px; font-size: 16px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle { background: var(--bg-card); border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line-soft); }
.principle .num { font-family: var(--font-serif); font-size: 36px; color: var(--primary-2); font-weight: 700; opacity: .5; }
.principle h3 { font-size: 19px; margin: 6px 0 10px; }
.principle p { font-size: 14px; color: var(--muted); }

.why-list { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto; }
.why-item { display: flex; gap: 18px; background: var(--bg-card); border-radius: var(--r-md); padding: 22px 26px; border: 1px solid var(--line-soft); }
.why-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.why-item:nth-child(2) .ico { background: var(--primary-2); }
.why-item:nth-child(3) .ico { background: var(--primary-soft); }
.why-item .ico svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--muted); }

/* 入驻表单 */
.join-form { background: var(--bg-card); border-radius: var(--r-lg); padding: 36px; border: 1px solid var(--line-soft); max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); font-size: 14px; font-family: inherit; color: var(--ink); outline: none;
  transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--primary-2); }
.form-field textarea { resize: vertical; min-height: 90px; }

/* ============ 通用：空状态 / 提示 ============ */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px;
  opacity: 0; transition: all .35s var(--ease); z-index: 200; pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-float-card { left: 16px; bottom: 16px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .merchant-grid { grid-template-columns: repeat(2, 1fr); }
  .m-layout { grid-template-columns: 1fr; }
  .m-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .geo-band { grid-template-columns: 1fr; padding: 36px; }
  .about-hero { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .data-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .brand-slogan { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg-2); padding: 14px; border-bottom: 1px solid var(--line-soft); gap: 4px;
  }
  .merchant-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; }
  .section { padding: 50px 0; }
}
