/* 港医颜选 · 港风复古 × 严选医美 — 全站样式 */

:root {
  /* —— 统一设计系统 —— */
  --primary-color: #a63d2f;
  --primary-dark: #8c2f24;
  --bg-main: #f5e9da;
  --text-main: #2b2b2b;
  --text-secondary: #6b5c4f;
  --card-bg: #fffdf9;
  --border-soft: #e8d8c8;

  /* 兼容首页既有语义令牌 */
  --brick: var(--primary-color);
  --brick-hover: var(--primary-dark);
  --bg: var(--bg-main);
  --bg-2: #efe3d3;
  --brown: #5c2e2e;
  --gold: #c9a36b;
  --ink: var(--text-main);
  --ink-soft: rgba(43, 43, 43, 0.72);
  --line: var(--border-soft);
  --line-soft: rgba(232, 216, 200, 0.55);
  --shadow: rgba(60, 28, 22, 0.12);
  --shadow-hover: rgba(60, 28, 22, 0.18);
  --paper: #faf6f0;

  /* 项目详情页 · 与首页统一扩展 */
  --project-primary: #9e2a2b;
  --project-bg: #f5efe6;
  --project-card: #ffffff;
  --project-text: #3a2e2a;
  --project-text-sub: #8c7b75;
  --project-radius-lg: 20px;
  --project-shadow: 0 10px 36px rgba(60, 28, 22, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: pageFadeIn 0.85s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.lang-en .show-zh-only {
  display: none !important;
}

body.lang-zh .show-en-only {
  display: none !important;
}

/* 顶栏装饰条 */
.checker-accent {
  /* 2 行米红马赛克方块：每行 8px，高 16px */
  height: 16px;
  position: relative;
  opacity: 0.85;
  background: transparent;
  --checker-primary: var(--brick);
  --checker-bg: var(--bg);
}

.checker-accent::before,
.checker-accent::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 8px;

  /* 每个格子 8px；上/下两行通过 horizontal offset 做“棋盘”效果 */
  background-image: linear-gradient(
    90deg,
    var(--checker-primary) 0 50%,
    var(--checker-bg) 50% 100%
  );
  background-size: 16px 8px;
  background-repeat: repeat-x;
}

.checker-accent::before {
  top: 0;
  background-position: 0 0;
}

.checker-accent::after {
  top: 8px;
  background-position: 8px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  padding: 10px 0;
}

.brand {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  color: var(--brown);
  text-decoration: none;
  white-space: nowrap;
}

.menu-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 22px);
  flex-wrap: wrap;
  list-style: none;
}

.menu-center a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu-center a:hover {
  color: var(--brown);
  background: rgba(166, 58, 43, 0.06);
}

.menu-center a.active {
  color: var(--primary-color);
  border: 1px solid rgba(166, 61, 47, 0.45);
  background: rgba(166, 61, 47, 0.08);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-search-wrap {
  position: relative;
}

/* 顶栏搜索下拉 */
.nav-search-wrap .search-results {
  left: auto;
  right: 0;
  min-width: min(320px, 92vw);
  z-index: 150;
}

.nav-search {
  width: min(200px, 28vw);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px 7px 14px;
  font-size: 0.82rem;
  background: rgba(250, 246, 240, 0.65);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search::placeholder {
  color: rgba(26, 21, 20, 0.45);
}

.nav-search:focus {
  border-color: rgba(166, 58, 43, 0.45);
  box-shadow: 0 0 0 3px rgba(166, 58, 43, 0.08);
}

.btn-nav {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--brown);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn-nav:hover {
  background: rgba(166, 58, 43, 0.07);
  border-color: rgba(166, 58, 43, 0.35);
  filter: brightness(0.97);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: "Playfair Display", Georgia, serif;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle button[aria-pressed="true"] {
  background: rgba(166, 58, 43, 0.12);
  color: var(--brick);
}

.lang-toggle button:hover {
  background: rgba(201, 163, 107, 0.15);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-height: min(640px, 94vh);
  padding: clamp(40px, 6.5vw, 76px) 0 clamp(30px, 4.6vw, 54px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(217, 107, 74, 0.12), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 12% 20%, rgba(166, 61, 47, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 40% at 88% 70%, rgba(201, 163, 107, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.hero-copy-layer {
  position: relative;
  z-index: 3;
  max-width: min(1180px, 92vw);
  margin: 0 auto;
  padding-right: clamp(200px, 40vw, 460px);
}

.hero-copy {
  max-width: 640px;
}

.hero-kicker {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--brown);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 10px;
}

.hero-micro {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 28px;
  padding-left: 0.6em;
  border-left: 2px solid var(--gold);
}

.hero-hint {
  border: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

.text-link {
  color: var(--brick);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(166, 58, 43, 0.35);
}

.text-link:hover {
  color: var(--brick-hover);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease,
    filter 0.2s ease;
}

.btn-primary {
  background: var(--brick);
  color: var(--paper);
  border-color: rgba(92, 46, 46, 0.35);
  box-shadow: 0 6px 20px rgba(166, 58, 43, 0.22);
}

.btn-primary:hover {
  background: var(--brick-hover);
  filter: brightness(0.96);
  box-shadow: 0 8px 24px var(--shadow-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: rgba(92, 46, 46, 0.35);
}

.btn-outline:hover {
  background: rgba(166, 58, 43, 0.06);
  border-color: var(--brick);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--shadow);
}

.btn-primary.is-busy {
  pointer-events: none;
  opacity: 0.88;
  filter: brightness(0.94);
}

/* Hero 右侧人物插画（港风留白 · 底对齐） */
.hero-image {
  position: absolute;
  right: 5%;
  bottom: 138px;
  z-index: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.hero-image img {
  width: 380px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;
  display: block;
  animation: heroFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(60, 28, 22, 0.12));
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-visual-caption {
  margin-top: 6px;
  padding-right: 4px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: right;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.06em;
}

/* Hero 搜索（中部偏下） */
.hero-search-block {
  margin-top: clamp(8px, 2vw, 20px);
  max-width: 560px;
}

.hero-search-label {
  font-size: 0.8rem;
  color: var(--brown);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.search-box {
  position: relative;
}

.search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.95rem;
  background: rgba(250, 246, 240, 0.85);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input::placeholder {
  color: rgba(26, 21, 20, 0.42);
}

.search-input:focus {
  border-color: rgba(166, 58, 43, 0.45);
  box-shadow: 0 8px 24px var(--shadow);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(250, 246, 240, 0.98);
  box-shadow: 0 14px 32px var(--shadow);
  overflow: hidden;
  display: none;
  z-index: 50;
}

.search-results.show {
  display: block;
}

.result-group {
  padding: 10px 12px 4px;
}

.result-title {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-family: "Playfair Display", Georgia, serif;
}

.result-item {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.result-item:hover {
  border-color: rgba(166, 58, 43, 0.28);
  background: rgba(166, 58, 43, 0.05);
  box-shadow: 0 4px 12px var(--shadow);
}

.result-empty {
  padding: 14px 16px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* —— 关于我们（页尾 · 杂志风排版，无卡片） —— */
.about-section {
  padding: 80px 0;
  background: var(--bg-main);
  border-top: 1px solid var(--line-soft);
}

.about-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  text-align: left;
}

.about-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brown);
  padding-left: 1rem;
  margin-bottom: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  border-left: 4px solid #8c1f1f;
}

.about-lead,
.about-text,
.about-label {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.about-text {
  margin-top: 0.15em;
}

.about-em {
  color: var(--primary-color);
  font-weight: 600;
}

.about-list {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
}

.about-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 1.5em;
  line-height: 1.8;
  color: var(--text-main);
  font-size: 1.02rem;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.12em;
  color: var(--primary-color);
  font-weight: 700;
}

.about-label {
  margin-top: 0.25em;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.06em;
  font-size: 0.96rem;
}

.about-services {
  font-size: 0.98rem;
  line-height: 1.85;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  margin-bottom: clamp(22px, 3vw, 28px);
  text-align: left;
}

.about-accent {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin: clamp(18px, 2.5vw, 26px) 0;
}

.about-quote {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.about-footer {
  margin-top: clamp(20px, 3vw, 28px);
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--line-soft);
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .about-section {
    padding: 56px 0 72px;
  }

  .about-services {
    letter-spacing: 0.12em;
    font-size: 0.9rem;
  }
}

/* —— 用户痛点 —— */
.pain-section {
  padding: 24px 0 30px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(201, 163, 107, 0.04));
}

.pain-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.pain-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.pain-item {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  text-align: center;
}

.pain-icon {
  font-size: 1.1rem;
  opacity: 0.9;
}

.pain-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
  align-self: stretch;
  min-height: 38px;
}

/* —— 专题 / 信任 —— */
.section-trust {
  padding: 48px 0 40px;
}

.section-trust .container {
  width: min(900px, 92vw);
  margin: 0 auto;
}

.trust-lead {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.trust-lead-spaced {
  margin-top: 28px;
}

.trust-copy {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.trust-list {
  margin-top: 18px;
  padding-left: 1.2em;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 0.9rem;
}

.trust-block {
  margin-top: 18px;
}

.trust-block > .trust-copy:not(:last-child) {
  margin-bottom: 1rem;
}

/* 首页 · 为什么选择（2×2 卡片，无外层大框） */
.why-choose {
  margin-top: clamp(32px, 5vw, 44px);
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.why-choose__heading {
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.1em;
  text-align: left;
  margin: 0 0 clamp(22px, 4vw, 30px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(92, 46, 46, 0.18);
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 22px);
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 22px);
  box-shadow: 0 6px 22px rgba(60, 28, 22, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.2s ease;
}

.why-card:hover {
  border-color: rgba(166, 61, 47, 0.22);
  box-shadow: 0 12px 32px rgba(60, 28, 22, 0.1);
  transform: translateY(-2px);
}

.why-card__title {
  font-size: clamp(0.98rem, 2vw, 1.06rem);
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.06em;
  line-height: 1.45;
  margin: 0 0 12px;
}

.why-card__text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 720px) {
  .why-choose__grid {
    grid-template-columns: 1fr;
  }
}

/* —— 美容专题 · 文章卡片 —— */
.section-topics .container {
  width: min(1180px, 92vw);
}

.topics-intro {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 28px;
}

.topics-cta-row {
  margin-bottom: 18px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: 40px;
}

.topic-card {
  background: var(--card-bg);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px var(--shadow-hover);
  border-color: rgba(166, 58, 43, 0.22);
}

.topic-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.topic-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.topic-card:hover .topic-card__media img {
  transform: scale(1.04);
}

.topic-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.topic-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  border: 1px solid rgba(166, 58, 43, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(166, 58, 43, 0.06);
  font-family: "Playfair Display", Georgia, serif;
}

.topic-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--brown);
}

.topic-card__title a {
  color: inherit;
  text-decoration: none;
}

.topic-card__title a:hover {
  color: var(--brick);
}

.topic-card__excerpt {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--ink-soft);
  flex: 1;
}

.topic-card__link {
  font-size: 0.82rem;
  color: var(--brick);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.topic-card__link:hover {
  text-decoration: underline;
}

/* 首页专题预览：无配图，仅标题与摘要 */
.topic-card--text-only .topic-card__body {
  padding: 22px 20px 24px;
}

.topic-card--text-only:hover {
  transform: translateY(-3px);
}

.topics-hub-title {
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
}

.section-topics-hub {
  padding-top: clamp(36px, 6vw, 56px);
  padding-bottom: clamp(48px, 8vw, 72px);
}

#topic-trust,
#topic-youth,
#topic-crossborder {
  scroll-margin-top: 88px;
}

@media (max-width: 960px) {
  .topics-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* —— 专题文章详情页 —— */
.article-page .article-wrap {
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) 0 clamp(56px, 10vw, 88px);
}

.article-back {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--brick);
  text-decoration: none;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.article-back:hover {
  text-decoration: underline;
}

.article-hero {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 12px 36px var(--shadow);
  margin-bottom: 28px;
}

.article-hero img {
  width: 100%;
  height: auto;
  max-height: min(420px, 52vh);
  object-fit: cover;
  display: block;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
}

.article-content h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  color: var(--brown);
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: 1.02rem;
  color: var(--brown);
  margin: 28px 0 12px;
  letter-spacing: 0.06em;
}

.article-content h3 {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 20px 0 10px;
  letter-spacing: 0.04em;
}

.article-content p,
.article-content li {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.article-content ul,
.article-content ol {
  padding-left: 1.25em;
  margin-bottom: 14px;
}

.article-content .article-lead {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid rgba(166, 58, 43, 0.45);
}

.article-content .article-note {
  font-size: 0.86rem;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(166, 58, 43, 0.06);
  border: 1px solid rgba(166, 58, 43, 0.15);
  color: var(--ink-soft);
  margin: 18px 0;
}

.article-content strong {
  color: var(--ink);
  font-weight: 600;
}

/* —— 小程序 & 社交 —— */
.social-section {
  padding: 36px 0 56px;
}

.social-inner {
  width: min(720px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.social-title {
  font-size: 1.05rem;
  color: var(--brown);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.social-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.social-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.social-item .icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(250, 246, 240, 0.9), rgba(239, 227, 211, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brown);
  transition: box-shadow 0.22s ease, transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px var(--shadow);
}

.social-item .icon-btn--glyph-ai {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.social-item:hover .icon-btn,
.social-item:focus-within .icon-btn {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px var(--shadow-hover);
  border-color: rgba(166, 58, 43, 0.35);
}

.social-item span.label {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.social-qr {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 132px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 28px var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 20;
}

.social-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.social-item:hover .social-qr,
.social-item:focus-within .social-qr,
.social-item.is-open .social-qr {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* —— 页脚 —— */
.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.footer-en {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* —— 内页：项目 / 机构（与首页同一品牌） —— */
.page-sub {
  padding: 60px clamp(24px, 5vw, 80px) 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-head {
  margin-bottom: 40px;
  padding-top: 8px;
}

.page-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin-bottom: 14px;
}

.page-lead {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 720px;
}

/* 统一按钮（可与 .btn 并存） */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--paper);
  border-radius: 24px;
  padding: 10px 20px;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px var(--shadow);
}

.primary-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px var(--shadow-hover);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  border-radius: 24px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.secondary-btn:hover {
  border-color: rgba(166, 61, 47, 0.35);
  background: rgba(166, 61, 47, 0.05);
}

/* 统一卡片 */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.tag-pill {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  letter-spacing: 0.04em;
  background: rgba(166, 61, 47, 0.04);
}

/* 项目列表 */
.grid-proj {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card .card-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin: 12px 0 10px;
}

.project-card .card-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  min-height: 3.5em;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* 机构筛选 */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text-main);
  padding: 9px 16px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(166, 61, 47, 0.35);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--primary-color);
  color: var(--paper);
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px var(--shadow);
}

.clinic-meta {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

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

.clinic-card .clinic-name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.clinic-card .clinic-address {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.94rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag-list .tag-pill {
  background: rgba(166, 61, 47, 0.06);
}

.card-comments {
  margin-top: 14px;
  min-height: 28px;
  border: 1px dashed var(--border-soft);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  background: rgba(255, 253, 249, 0.65);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--border-soft);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  color: var(--text-secondary);
  background: var(--card-bg);
}

/* 响应式 */
@media (max-width: 900px) {
  .nav-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .menu-center {
    justify-content: flex-start;
  }

  .nav-right {
    justify-content: flex-start;
  }

  .hero {
    min-height: 0;
    padding-bottom: clamp(32px, 8vw, 48px);
  }

  .hero::after {
    width: 100%;
    height: 42%;
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, rgba(217, 107, 74, 0.1), transparent);
  }

  .hero-copy-layer {
    padding-right: 0;
  }

  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    align-items: center;
    margin: 0 auto 20px;
    pointer-events: auto;
  }

  .hero-image img {
    max-width: min(380px, 78vw);
  }

  .pain-divider {
    display: none;
  }

  .pain-item {
    border-bottom: 1px solid var(--line-soft);
  }

  .pain-item:last-child {
    border-bottom: none;
  }

  .grid-proj,
  .grid-clinics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-search {
    width: 100%;
  }

  .hero-micro {
    border-left: none;
    padding-left: 0;
  }
}

/* —— 认证页：港风医美 · 与首页统一 —— */
.auth-page {
  --auth-primary: #9e2a2b;
  --auth-primary-hover: #7f2223;
  --auth-bg: #f5ebdd;
  --auth-ink: #3e2c23;
  --auth-card: #ffffff;
  min-height: 100vh;
  background: var(--auth-bg);
  color: var(--auth-ink);
}

.auth-page .checker-accent {
  --checker-primary: var(--auth-primary);
  --checker-bg: var(--auth-bg);
}

.auth-shell {
  position: relative;
  min-height: calc(100vh - 16px);
  overflow: hidden;
}

.auth-visual {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: clamp(12px, 4vw, 48px);
}

.auth-visual img {
  max-width: min(420px, 42vw);
  height: auto;
  opacity: 0.2;
  display: block;
  transition: opacity 0.4s ease;
}

.auth-grid {
  position: relative;
  z-index: 1;
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 88px) 0 clamp(48px, 10vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.auth-brand {
  padding-right: clamp(8px, 3vw, 32px);
}

.auth-logo {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.28em;
  color: var(--auth-ink);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.auth-logo:hover {
  color: var(--auth-primary);
}

.auth-kicker {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: rgba(62, 44, 35, 0.72);
  margin-bottom: 1.25rem;
}

.auth-headline {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: var(--auth-ink);
  margin-bottom: 1.25rem;
}

.auth-lead {
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(62, 44, 35, 0.82);
  max-width: 36ch;
}

.auth-card-wrap {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: var(--auth-card);
  border-radius: 16px;
  padding: clamp(28px, 5vw, 36px);
  box-shadow: 0 18px 48px rgba(62, 44, 35, 0.1);
  border: 1px solid rgba(158, 42, 43, 0.08);
  animation: authCardIn 0.55s ease both;
}

@keyframes authCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--auth-ink);
  margin-bottom: 1.25rem;
}

.auth-welcome {
  font-size: 0.95rem;
  color: var(--auth-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.auth-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(62, 44, 35, 0.75);
}

.auth-field input {
  width: 100%;
  border: 1px solid rgba(62, 44, 35, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--auth-ink);
  background: rgba(255, 253, 249, 0.9);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-page .auth-input-elevated {
  box-shadow: 0 2px 12px rgba(62, 44, 35, 0.06);
}

.auth-email-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.auth-email-row .auth-input {
  flex: 1;
  min-width: 0;
}

.auth-btn-outline {
  flex-shrink: 0;
  align-self: stretch;
  padding: 0 14px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(158, 42, 43, 0.5);
  background: transparent;
  color: var(--auth-primary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.auth-btn-outline:hover:not(:disabled) {
  background: rgba(158, 42, 43, 0.06);
  border-color: rgba(158, 42, 43, 0.65);
}

.auth-btn-outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-send-hint {
  font-size: 0.8rem;
  margin: 4px 0 0;
  padding: 0 2px;
  color: rgba(62, 44, 35, 0.55);
}

.auth-send-hint--ok {
  color: rgba(47, 107, 68, 0.9);
}

.auth-field input::placeholder {
  color: rgba(62, 44, 35, 0.38);
}

.auth-field input:focus {
  border-color: rgba(158, 42, 43, 0.45);
  box-shadow: 0 0 0 3px rgba(158, 42, 43, 0.1);
}

.auth-field input.auth-input--error:focus {
  border-color: #c53030 !important;
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.14) !important;
}

.auth-field input.auth-input--valid:focus {
  border-color: rgba(72, 128, 92, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(72, 128, 92, 0.14) !important;
}

.auth-input--error {
  border-color: #c53030 !important;
  box-shadow: 0 0 0 1px rgba(197, 48, 48, 0.2) !important;
}

.auth-input--valid {
  border-color: rgba(72, 128, 92, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(72, 128, 92, 0.12) !important;
}

.auth-field-msg {
  min-height: 1.25em;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin: 0;
  padding: 0 2px;
  transition: color 0.2s ease;
}

.auth-field-msg--error {
  color: #b42318;
}

.auth-strength-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(62, 44, 35, 0.65);
}

.auth-strength-label {
  letter-spacing: 0.06em;
}

.auth-strength-value {
  font-weight: 600;
  letter-spacing: 0.12em;
}

.auth-strength--weak {
  color: #b42318;
}

.auth-strength--medium {
  color: #9a6b2d;
}

.auth-strength--strong {
  color: #2f6b44;
}

.auth-error-global {
  margin-top: 0.15rem;
}

.auth-brand-fade {
  animation: authBrandFade 0.65s ease both;
}

@keyframes authBrandFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card-fade {
  animation: authCardIn 0.6s ease 0.08s both;
}

.auth-form-stagger .auth-field {
  opacity: 0;
  animation: authFieldIn 0.5s ease forwards;
}

.auth-form-stagger .auth-field:nth-child(1) {
  animation-delay: 0.1s;
}
.auth-form-stagger .auth-field:nth-child(2) {
  animation-delay: 0.18s;
}
.auth-form-stagger .auth-field:nth-child(3) {
  animation-delay: 0.26s;
}
.auth-form-stagger .auth-field:nth-child(4) {
  animation-delay: 0.34s;
}
.auth-form-stagger .auth-error-global {
  animation: authFieldIn 0.45s ease 0.42s both;
}
.auth-form-stagger .auth-submit {
  animation: authFieldIn 0.45s ease 0.5s both;
}

@keyframes authFieldIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-password-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.auth-password-row input {
  flex: 1;
}

.auth-toggle-pw {
  flex-shrink: 0;
  border: 1px solid rgba(62, 44, 35, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-family: inherit;
  background: rgba(245, 235, 221, 0.5);
  color: var(--auth-ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-toggle-pw:hover {
  background: rgba(158, 42, 43, 0.08);
  border-color: rgba(158, 42, 43, 0.25);
}

.auth-error {
  font-size: 0.88rem;
  color: #b42318;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(180, 35, 24, 0.06);
}

.auth-submit {
  margin-top: 0.25rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-family: inherit;
  cursor: pointer;
  background: var(--auth-primary);
  color: #fffdf9;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(158, 42, 43, 0.28);
}

.auth-submit:hover:not(:disabled) {
  background: var(--auth-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(127, 34, 35, 0.32);
}

.auth-submit:disabled {
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  background: rgba(62, 44, 35, 0.22);
  color: rgba(255, 253, 249, 0.88);
  box-shadow: none;
}

.auth-submit:disabled:hover {
  background: rgba(62, 44, 35, 0.22);
  transform: none;
  box-shadow: none;
}

.auth-submit.is-loading {
  pointer-events: none;
}

.auth-switch {
  margin-top: 1.35rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(62, 44, 35, 0.72);
}

.auth-switch a {
  color: var(--auth-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.auth-switch a:hover {
  border-bottom-color: rgba(158, 42, 43, 0.45);
}

.nav-welcome {
  font-size: 0.82rem;
  color: rgba(62, 44, 35, 0.85);
  letter-spacing: 0.04em;
  white-space: nowrap;
  max-width: min(200px, 38vw);
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-nav-ghost {
  background: transparent;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
    padding-top: clamp(28px, 6vh, 48px);
  }

  .auth-card-wrap {
    justify-self: stretch;
    max-width: none;
  }

  .auth-visual {
    opacity: 0.85;
  }

  .auth-visual img {
    max-width: min(320px, 70vw);
  }
}

/* ========== 项目详情页（轻奢医美 · 对齐首页） ========== */
body.project-detail {
  background: var(--project-bg);
  color: var(--project-text);
}

.project-detail .checker-accent {
  --checker-primary: var(--project-primary);
  --checker-bg: var(--project-bg);
}

.pd-wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* 项目详情 hero */
.pd-hero {
  position: relative;
  padding: clamp(24px, 4vw, 40px) 0 clamp(20px, 3vw, 32px);
  overflow: hidden;
}

.pd-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 50% at 70% 20%,
      rgba(158, 42, 43, 0.06),
      transparent 55%
    ),
    var(--project-bg);
  pointer-events: none;
}

.pd-hero__inner {
  position: relative;
  z-index: 1;
  display: block;
}

.pd-hero-copy {
  max-width: min(720px, 100%);
}

.pd-cat {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(158, 42, 43, 0.35);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--project-primary);
  background: rgba(158, 42, 43, 0.06);
  margin-bottom: 1rem;
}

.pd-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: var(--project-text);
  margin-bottom: 0.5rem;
}

.pd-en {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: 0.14em;
  color: var(--project-text-sub);
  margin-bottom: 1.25rem;
}

.pd-lead {
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(58, 46, 42, 0.88);
  max-width: 62ch;
}

/* Sections */
.pd-section {
  padding: clamp(28px, 4vw, 48px) 0;
}

.pd-section--alt {
  background: rgba(255, 253, 249, 0.65);
}

.pd-section-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--project-text);
  margin-bottom: clamp(16px, 2.5vw, 24px);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(232, 216, 200, 0.85);
}

/* 信息网格 */
.pd-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pd-info-card {
  background: var(--project-card);
  border-radius: var(--project-radius-lg);
  padding: 24px;
  border: 1px solid rgba(232, 216, 200, 0.75);
  box-shadow: var(--project-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pd-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(60, 28, 22, 0.1);
}

.pd-info-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--project-text-sub);
  margin-bottom: 10px;
}

.pd-info-card__value {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--project-text);
}

.pd-budget-currency {
  margin-top: 6px;
  font-size: 0.94rem;
  color: var(--project-text-sub);
}

/* 推荐机构 · 横向卡片 */
.pd-clinic-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-clinic-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: var(--project-card);
  border-radius: var(--project-radius-lg);
  border: 1px solid rgba(232, 216, 200, 0.75);
  box-shadow: var(--project-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pd-clinic-card__col {
  min-width: 0;
}

/* 推荐机构：模糊预览 + 引导加微信 */
.pd-clinic-card__fuzzy {
  position: relative;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
}

.pd-clinic-card__fuzzy-inner {
  filter: blur(6px);
  -webkit-filter: blur(6px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
  transform: scale(1.03);
  transform-origin: center top;
}

.pd-clinic-card__fuzzy-inner .pd-clinic-card__body {
  margin: 0;
  padding: 4px 2px 8px;
}

.pd-clinic-card__fuzzy-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  background: linear-gradient(
    155deg,
    rgba(255, 252, 248, 0.35),
    rgba(248, 232, 220, 0.82)
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

.pd-clinic-card__fuzzy-hint {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--project-primary);
  line-height: 1.45;
  max-width: 22em;
}

.pd-clinic-card__fuzzy-sub {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--project-text);
  line-height: 1.55;
  max-width: 24em;
  opacity: 0.92;
}

.pd-clinic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(60, 28, 22, 0.11);
}

.pd-clinic-card__name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--project-text);
  margin-bottom: 8px;
}

.pd-clinic-card__addr {
  font-size: 0.92rem;
  color: var(--project-text-sub);
  line-height: 1.65;
  margin-bottom: 12px;
}

.pd-clinic-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pd-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(158, 42, 43, 0.35);
  color: var(--project-primary);
  background: rgba(158, 42, 43, 0.05);
}

.pd-clinic-card__rate {
  font-size: 0.92rem;
  color: var(--project-text);
  margin-bottom: 6px;
}

.pd-clinic-card__stars {
  margin-right: 4px;
}

.pd-clinic-card__dist {
  font-size: 0.85rem;
  color: var(--project-text-sub);
}

.pd-clinic-card__btn {
  align-self: center;
  white-space: nowrap;
}

/* 评论区 */
.pd-comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.pd-comment-item {
  padding: 20px 22px;
  background: var(--project-card);
  border-radius: 16px;
  border: 1px solid rgba(232, 216, 200, 0.65);
  box-shadow: 0 6px 24px rgba(60, 28, 22, 0.05);
}

.pd-comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pd-comment-user {
  font-weight: 700;
  color: var(--project-text);
}

.pd-comment-stars {
  color: var(--project-primary);
  letter-spacing: 2px;
}

.pd-comment-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(58, 46, 42, 0.88);
}

.pd-comment-empty {
  padding: 20px;
  text-align: center;
  color: var(--project-text-sub);
  border: 1px dashed rgba(232, 216, 200, 0.9);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.5);
}

.pd-comment-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.pd-comment-form textarea,
.pd-comment-form select {
  width: 100%;
  border: 1px solid rgba(232, 216, 200, 0.95);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 253, 249, 0.9);
  color: var(--project-text);
  box-shadow: 0 2px 12px rgba(62, 44, 35, 0.05);
}

.pd-comment-form textarea {
  min-height: 110px;
  resize: vertical;
}

.pd-comment-form textarea:focus,
.pd-comment-form select:focus {
  outline: none;
  border-color: rgba(158, 42, 43, 0.35);
  box-shadow: 0 0 0 3px rgba(158, 42, 43, 0.08);
}

.pd-comment-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-comment-item--reply {
  margin-left: 18px;
  padding: 16px 18px;
}

.pd-comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--project-text-sub);
}

.pd-comment-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-comment-actions button {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(158, 42, 43, 0.28);
  background: transparent;
  color: var(--project-primary);
  font-family: inherit;
}

.pd-comment-actions button:hover {
  background: rgba(158, 42, 43, 0.07);
}

.pd-inline-reply {
  margin-left: 2px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(232, 216, 200, 0.85);
  background: rgba(255, 253, 249, 0.65);
}

.pd-inline-reply textarea {
  width: 100%;
  min-height: 72px;
  margin-bottom: 8px;
  border: 1px solid rgba(232, 216, 200, 0.95);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.pd-inline-reply-hint {
  font-size: 0.75rem;
  color: var(--project-text-sub);
  margin-bottom: 8px;
}

.pd-inline-reply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.project-detail .btn-ghost {
  background: transparent;
  border: 1px solid rgba(158, 42, 43, 0.32);
  color: var(--project-primary);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.project-detail .btn-ghost:hover {
  background: rgba(158, 42, 43, 0.06);
}

.pd-comment-edit-box textarea {
  width: 100%;
  min-height: 80px;
  margin-bottom: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  border: 1px solid rgba(232, 216, 200, 0.95);
  resize: vertical;
}

.pd-comment-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 弹窗 */
.pd-modal {
  position: fixed;
  inset: 0;
  background: rgba(40, 28, 24, 0.4);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 24px;
}

.pd-modal.hidden {
  display: none;
}

.pd-modal__box {
  width: min(400px, 100%);
  background: var(--project-card);
  border-radius: var(--project-radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(232, 216, 200, 0.85);
  box-shadow: 0 24px 56px rgba(60, 28, 22, 0.18);
}

.pd-modal__box h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: var(--project-text);
}

.pd-modal__box p {
  font-size: 0.92rem;
  color: var(--project-text-sub);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pd-modal__qr {
  width: min(220px, 80vw);
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(232, 216, 200, 0.9);
  margin: 0 auto 18px;
  display: block;
  background: #fff;
}

@media (max-width: 900px) {
  .pd-info-grid {
    grid-template-columns: 1fr;
  }

  .pd-clinic-card {
    grid-template-columns: 1fr;
  }

  .pd-clinic-card__btn {
    width: 100%;
  }
}

.project-detail .btn-primary {
  background: var(--project-primary);
  border-color: rgba(158, 42, 43, 0.45);
  box-shadow: 0 8px 24px rgba(158, 42, 43, 0.22);
}

.project-detail .btn-primary:hover {
  background: #862426;
  filter: none;
}

/* 顶栏通知 */
.nav-notif-wrap {
  position: relative;
  margin-right: 0;
}

.nav-notif-btn {
  /* 与顶部“登录”按钮风格一致（圆角 + 棕红边框，默认透明背景） */
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--brown);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  position: relative;
}

.nav-notif-btn:hover {
  background: rgba(166, 58, 43, 0.07);
  border-color: rgba(166, 58, 43, 0.35);
  filter: brightness(0.97);
}

.nav-notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  min-width: 1.1em;
  height: 18px;
  padding: 0 5px;
  margin-left: 0;
  border-radius: 999px;
  background: var(--primary-color, #9e2a2b);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.nav-notif-badge[hidden] {
  display: none !important;
}

.nav-notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(340px, 92vw);
  max-height: 320px;
  overflow: auto;
  background: var(--card-bg);
  border: 1px solid rgba(62, 44, 35, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(62, 44, 35, 0.15);
  z-index: 200;
  padding: 8px 0;
}

.nav-notif-icon {
  width: 18px;
  height: 18px;
  display: block;
  color: var(--brown);
}

.nav-notif-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-notif-panel[hidden] {
  display: none !important;
}

.notif-item {
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-main, #3a2e2a);
  cursor: pointer;
  border-bottom: 1px solid rgba(62, 44, 35, 0.06);
}

.notif-item:hover {
  background: rgba(158, 42, 43, 0.06);
}

.notif-item.is-unread {
  font-weight: 600;
}

.notif-item time {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary, #8c7b75);
  margin-top: 4px;
  font-weight: 400;
}

.notif-empty {
  padding: 14px;
  font-size: 0.85rem;
  color: var(--text-secondary, #8c7b75);
}
