/* ============================================
   行业官网模板（参数化色板）
   换行业只需改 :root 里 9 个色值：
   --brand-50/100/300/500/700/900 品牌色阶梯
   --line / --bg / --bg-warm 中性色
   --footer-bg 页脚深色
   另需同步替换本文件中唯一硬编码品牌色：
   .check-list li::before 内 data-uri 的 %23RRGGBB（= brand-500）
   ============================================ */

:root {
  /* === 品牌色板（美业粉） === */
  --brand-50: #FBEAF0;
  --brand-100: #F4C0D1;
  --brand-300: #ED93B1;
  --brand-500: #D4537E;
  --brand-700: #993556;
  --brand-900: #72243E;
  --footer-bg: #33222A;
  /* === 中性色 === */
  --ink: #33222A;
  --ink-2: #6B5E60;
  --ink-3: #9A8C8E;
  --line: #EFE4E1;
  --bg: #FFFDFC;
  --bg-warm: #FBF4F2;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 10px 30px color-mix(in srgb, var(--brand-900) 8%, transparent);
  --shadow-hover: 0 16px 40px color-mix(in srgb, var(--brand-900) 14%, transparent);
  --header-h: 68px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

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

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 860px; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.35; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--brand-500);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-500);
  color: var(--white);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-500) 32%, transparent);
}
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn-ghost {
  background: var(--white);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.btn-ghost:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.btn-line {
  padding: 9px 22px;
  font-size: 14px;
  color: var(--brand-700);
  border: 1px solid var(--brand-300);
  background: transparent;
}
.btn-line:hover { background: var(--brand-500); border-color: var(--brand-500); color: var(--white); }
.btn-block { width: 100%; }

/* ============ 导航 ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 253, 252, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--brand-900) 6%, transparent);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-700);
}
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--ink-3);
}

.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 30px color-mix(in srgb, var(--brand-900) 10%, transparent);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s;
}
.main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-link {
  position: relative;
  padding: 12px 6px;
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--brand-700); }
.nav-cta {
  margin-top: 12px;
  padding: 12px;
  text-align: center;
  border-radius: 999px;
  background: var(--brand-500);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--white);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-700);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 区块通用 ============ */
.section { padding: 72px 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.section-alt { background: var(--bg-warm); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: 30px; color: var(--brand-900); }
.section-desc { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* ============ Hero ============ */
.hero {
  padding: calc(var(--header-h) + 44px) 0 56px;
  background:
    radial-gradient(60% 50% at 85% 10%, color-mix(in srgb, var(--brand-100) 45%, transparent), transparent 70%),
    radial-gradient(50% 40% at 5% 90%, color-mix(in srgb, var(--brand-100) 32%, transparent), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 7.5vw, 54px);
  color: var(--brand-900);
  letter-spacing: .02em;
}
.hero h1 .accent { color: var(--brand-500); }
.hero-sub {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-stats {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}
.hero-stats > div {
  flex: 1;
  padding: 14px 6px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.hero-stats dt {
  font-family: var(--font-serif);
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  color: var(--brand-700);
  font-style: normal;
}
.hero-stats dt i { font-style: normal; font-size: .65em; margin-left: 1px; }
.hero-stats dd { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

.hero-media {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.hero-media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .94);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-700);
}
.hero-badge svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ 品牌介绍 ============ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.split-media {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--brand-700);
  font-weight: 500;
}
.split-copy h2 { font-size: 30px; color: var(--brand-900); margin-bottom: 14px; }
.split-copy p { color: var(--ink-2); margin-bottom: 12px; font-size: 15.5px; }
.split-copy p em { font-style: normal; color: var(--brand-700); font-weight: 500; }

.check-list { margin: 18px 0 22px; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 15px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  /* 换行业时把 stroke 的 %23D4537E 改成新 brand-500 的 URL 编码（%23 + 色值去#） */
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%23D4537E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-700);
}
.cert svg { width: 14px; height: 14px; }

/* ============ 服务项目 ============ */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-100);
}
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-500);
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 19px;
  color: var(--brand-900);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.service-card h3 small {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.service-card > p { margin: 10px 0 18px; font-size: 14.5px; color: var(--ink-2); }
.service-meta {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: grid;
  gap: 8px;
}
.service-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}
.service-meta dt { color: var(--ink-3); flex-shrink: 0; }
.service-meta dd { color: var(--ink); text-align: right; }

/* ============ 技师团队 ============ */
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-photo { aspect-ratio: 4 / 4.4; overflow: hidden; }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 20px 22px 24px; text-align: center; }
.team-info h3 {
  font-size: 19px;
  color: var(--brand-900);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.team-info h3 small { font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; color: var(--brand-500); }
.team-years { font-size: 13px; color: var(--ink-3); margin: 6px 0 12px; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.tag-row span {
  padding: 4px 12px;
  font-size: 12.5px;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: 999px;
}

/* ============ 作品案例 ============ */
.filter-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .25s ease;
}
.tab:hover { border-color: var(--brand-300); color: var(--brand-700); }
.tab.active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: var(--white);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--brand-500) 30%, transparent);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.case-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--brand-50);
  transition: transform .3s ease, opacity .3s ease;
}
.case-item.hide { display: none; }
.case-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.case-item:hover img { transform: scale(1.06); }
.case-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(60, 20, 35, .78), transparent);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-item figcaption strong { font-size: 15.5px; font-weight: 500; }
.case-item figcaption span { font-size: 12.5px; opacity: .85; }

/* ============ 安全保障 ============ */
.safety-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.safety-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.safety-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-500);
}
.safety-icon svg { width: 28px; height: 28px; }
.safety-card h3 { font-size: 18px; color: var(--brand-900); margin-bottom: 10px; }
.safety-card p { font-size: 14px; color: var(--ink-2); }

.compliance-note {
  margin-top: 28px;
  padding: 14px 20px;
  border: 1px dashed var(--brand-100);
  background: var(--brand-50);
  border-radius: var(--radius-s);
  font-size: 13px;
  color: var(--brand-700);
  text-align: center;
}

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item.open { border-color: var(--brand-100); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}
.faq-arrow {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-50);
  transition: transform .3s ease, background .3s ease;
}
.faq-arrow::before, .faq-arrow::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px;
  height: 1.8px;
  background: var(--brand-700);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.faq-arrow::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-arrow { transform: rotate(45deg); background: var(--brand-100); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a p {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ============ 预约 ============ */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.booking-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-field label i { color: var(--brand-500); font-style: normal; margin-left: 2px; }
.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%239A938C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--brand-300);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-500) 12%, transparent);
}
.form-field input::placeholder { color: var(--ink-3); }
.form-error {
  min-height: 22px;
  font-size: 13.5px;
  color: #C0392B;
  margin-bottom: 8px;
}
.form-privacy {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}

.booking-side { display: grid; gap: 18px; align-content: start; }
.store-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.store-card h3 {
  font-size: 17px;
  color: var(--brand-900);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.store-card p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
}
.store-card p svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--brand-500); }

.wechat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(120deg, var(--brand-50), var(--white));
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.wechat-card .qr { width: 92px; height: 92px; flex-shrink: 0; border-radius: 8px; box-shadow: var(--shadow); }
.wechat-card h3 { font-size: 17px; color: var(--brand-900); margin-bottom: 6px; }
.wechat-card p { font-size: 13.5px; color: var(--ink-2); }

/* ============ 页脚 ============ */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, .75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.logo-light { color: var(--brand-100); }
.logo-light .logo-text small { color: rgba(255, 255, 255, .4); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .55); }
.footer-col h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  padding: 5px 0;
  color: rgba(255, 255, 255, .6);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--brand-100); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.footer-bottom i { font-style: normal; }
.footer-links { display: inline-flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-links a:hover { color: var(--brand-100); }

/* ============ 浮动组件 ============ */
.float-wechat {
  position: fixed;
  right: 16px;
  bottom: 86px;
  z-index: 90;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  border-radius: 14px;
  background: var(--brand-500);
  color: var(--white);
  font-size: 11px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-500) 40%, transparent);
  transition: transform .25s ease;
}
.float-wechat:hover { transform: translateY(-3px); }
.float-wechat svg { width: 22px; height: 22px; }

.back-top {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 200;
  transform: translate(-50%, 20px);
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 24px;
  background: var(--brand-900);
  color: var(--white);
  font-size: 14.5px;
  border-radius: 999px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
  text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

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

/* ============================================
   响应式：≥ 640px
   ============================================ */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom .container { flex-direction: row; justify-content: space-between; }
}

/* ============================================
   响应式：≥ 900px
   ============================================ */
@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .section-head h2, .split-copy h2 { font-size: 36px; }

  .hero { padding: calc(var(--header-h) + 60px) 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero-media { margin: 0; }

  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-media { margin: 0; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .safety-grid { grid-template-columns: repeat(4, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .booking-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .booking-form { padding: 34px 32px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; }
  .filter-tabs { justify-content: center; padding-bottom: 8px; margin-bottom: 28px; }
}

/* ============================================
   响应式：≥ 1024px（桌面导航）
   ============================================ */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    padding: 8px 14px;
    border: none;
    font-size: 14.5px;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
  }
  .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
  .nav-cta {
    margin: 0 0 0 10px;
    padding: 9px 22px;
    font-size: 14px;
  }
  .nav-cta:hover { background: var(--brand-700); }
}

/* ============================================
   小屏微调：≤ 380px
   ============================================ */
@media (max-width: 380px) {
  .hero-stats { gap: 8px; }
  .hero-stats dd { font-size: 11.5px; }
  .btn { padding: 12px 24px; font-size: 14.5px; }
}

/* ============ 无障碍：减少动效 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   文章模块（变美学院）
   ============================================ */

/* 页头 */
.page-hero {
  padding: calc(var(--header-h) + 52px) 0 48px;
  text-align: center;
  background:
    radial-gradient(55% 60% at 85% 20%, color-mix(in srgb, var(--brand-100) 45%, transparent), transparent 70%),
    radial-gradient(45% 50% at 8% 85%, color-mix(in srgb, var(--brand-100) 32%, transparent), transparent 70%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(28px, 6vw, 42px); color: var(--brand-900); }
.page-hero-desc { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* 文章卡片 */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: fadeUp .5s ease both;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-100);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.article-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-cover img { transform: scale(1.06); }
.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.article-cat {
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: 999px;
}
.article-card-top time { font-size: 12.5px; color: var(--ink-3); }
.article-card h3 {
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}
.article-card:hover h3 { color: var(--brand-700); }
.article-excerpt {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.article-more { color: var(--brand-500); font-weight: 500; }
.article-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-3);
  padding: 48px 0;
}

/* 详情页布局 */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 56px;
}
.article-main { min-width: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb em { font-style: normal; color: var(--brand-700); }

.article-title {
  font-size: clamp(24px, 5vw, 34px);
  color: var(--brand-900);
  line-height: 1.4;
}
.article-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px;
  font-size: 13px;
  color: var(--ink-3);
}
.article-meta-top i { font-style: normal; opacity: .5; }

.article-cover-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.article-cover-main img { width: 100%; max-height: 460px; object-fit: cover; }

/* 正文排版 */
.article-body { font-size: 15.5px; color: var(--ink); }
.article-body p { margin-bottom: 18px; }
.article-body h2 {
  position: relative;
  font-size: 20px;
  color: var(--brand-900);
  margin: 34px 0 14px;
  padding-left: 14px;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: var(--brand-500);
}
.article-body ul {
  margin: 0 0 18px;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-s);
}
.article-body ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-300);
}
.article-body blockquote {
  margin: 0 0 18px;
  padding: 14px 20px;
  border-left: 3px solid var(--brand-300);
  background: var(--brand-50);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--brand-900);
  font-size: 15px;
}
.tip-box {
  margin: 0 0 18px;
  padding: 16px 20px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-s);
}
.tip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: 6px;
}
.tip-title svg { width: 18px; height: 18px; }
.tip-box p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* 标签 */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}
.article-tags .tag {
  padding: 5px 14px;
  font-size: 12.5px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
}

/* 文末预约引导 */
.article-cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px;
  background: linear-gradient(120deg, var(--brand-50), var(--white));
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.article-cta h3 { font-size: 19px; color: var(--brand-900); }
.article-cta p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.article-cta .btn { align-self: flex-start; }

/* 上一篇 / 下一篇 */
.prev-next {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.pn-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color .25s ease, box-shadow .25s ease;
}
a.pn-item:hover { border-color: var(--brand-300); box-shadow: var(--shadow); }
.pn-label { font-size: 12.5px; color: var(--ink-3); }
.pn-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.pn-item:hover .pn-title { color: var(--brand-700); }
.pn-next { text-align: right; }
.pn-disabled { opacity: .55; }

/* 侧边栏 */
.article-side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.side-title {
  font-size: 16px;
  color: var(--brand-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.side-booking {
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  border: none;
  color: var(--white);
}
.side-booking h3 { font-size: 18px; }
.side-booking p { font-size: 13px; opacity: .85; margin: 8px 0 16px; }
.side-booking .btn-primary {
  background: var(--white);
  color: var(--brand-700);
  box-shadow: none;
}
.side-booking .btn-primary:hover { background: var(--brand-50); }

.hot-list { display: grid; gap: 6px; }
.hot-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  align-items: flex-start;
}
.hot-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 12.5px;
  font-weight: 700;
}
.hot-item:nth-child(1) .hot-rank,
.hot-item:nth-child(2) .hot-rank,
.hot-item:nth-child(3) .hot-rank {
  background: var(--brand-500);
  color: var(--white);
}
.hot-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hot-info strong {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}
.hot-item:hover .hot-info strong { color: var(--brand-700); }
.hot-info em { font-style: normal; font-size: 12px; color: var(--ink-3); }

.cat-list { display: grid; gap: 4px; }
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-s);
  font-size: 14px;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}
.cat-item:hover { background: var(--brand-50); color: var(--brand-700); }
.cat-item em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }

.related-section { padding: 56px 0 72px; }

/* ============ 文章模块响应式 ============ */
@media (min-width: 640px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .prev-next { grid-template-columns: 1fr 1fr; }
  .article-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 72px;
  }
  .article-side { position: sticky; top: calc(var(--header-h) + 24px); }
}
