/* ============================================
   亨川医疗美容官网 · 全局样式
   品牌色：#5B9BD5（医疗蓝）→ #7BC8A9（自然绿）
   风格：医疗 + 美学，年轻温和
   ============================================ */

:root {
  --hc-blue:  #5B9BD5;
  --hc-green: #7BC8A9;
  --hc-grad:  linear-gradient(135deg, #5B9BD5 0%, #7BC8A9 100%);
  --hc-grad-soft: linear-gradient(135deg, #E8F2FB 0%, #EAF7F1 100%);
  --hc-ink:   #1F2A37;
  --hc-text:  #4B5563;
  --hc-muted: #8B95A3;
  --hc-line:  #E5EBF1;
  --hc-bg:    #FFFFFF;
  --hc-bg-2:  #F8FAFB;
  --hc-warn:  #C97B5F;
  --hc-shadow: 0 4px 20px rgba(91,155,213,0.10);
  --hc-shadow-lg: 0 10px 40px rgba(91,155,213,0.15);
  --hc-radius: 12px;
  --hc-radius-lg: 20px;
  --hc-trans: 220ms cubic-bezier(.4,0,.2,1);
  --hc-container: 1200px;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--hc-text);
  background: var(--hc-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hc-blue); text-decoration: none; transition: color var(--hc-trans); }
a:hover { color: var(--hc-green); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  color: var(--hc-ink);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .6em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

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

/* ============== 顶部公告条 ============== */
.topbar {
  background: var(--hc-grad);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
  text-align: center;
}

/* ============== 导航栏 ============== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hc-line);
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem; font-weight: 700; color: var(--hc-ink);
}
.brand img { width: 44px; height: 44px; }
.nav-links {
  display: flex; gap: 28px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--hc-ink);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--hc-blue); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--hc-grad);
  transition: width var(--hc-trans);
}
.nav-links a:hover::after { width: 100%; }

/* ============== Hero 大图 ============== */
.hero {
  position: relative;
  height: 520px;
  background: var(--hc-grad);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/env/door-header.jpg') center/cover;
  opacity: .55;
}
.hero-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 800px; padding: 0 24px;
}
.hero h1 {
  color: #fff; font-size: 3rem; margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.hero .sub {
  font-size: 1.15rem; opacity: .95; margin-bottom: 32px;
}
.hero .badges {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; border: 1px solid rgba(255,255,255,0.35);
}

/* ============== 通用 section ============== */
section { padding: 64px 0; }
section.alt { background: var(--hc-bg-2); }
.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 {
  position: relative; display: inline-block;
  padding: 0 28px; font-size: 2rem;
}
.section-title h2::before, .section-title h2::after {
  content: ''; position: absolute; top: 50%;
  width: 24px; height: 2px;
  background: var(--hc-grad);
}
.section-title h2::before { right: 100%; }
.section-title h2::after  { left: 100%; }
.section-title .lead {
  color: var(--hc-muted); font-size: 15px; margin-top: 8px;
}

/* ============== 数据卡片（档案） ============== */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: -80px 0 64px;
  position: relative; z-index: 2;
}
.fact {
  background: #fff;
  border-radius: var(--hc-radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--hc-shadow);
  border-top: 3px solid transparent;
  border-image: var(--hc-grad) 1;
}
.fact .num {
  font-size: 2.4rem; font-weight: 800;
  background: var(--hc-grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
  line-height: 1;
}
.fact .lbl { color: var(--hc-muted); font-size: 14px; margin-top: 8px; }

/* ============== 项目网格 ============== */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.proj-card {
  background: #fff;
  border-radius: var(--hc-radius);
  border: 1px solid var(--hc-line);
  padding: 28px 24px;
  transition: all var(--hc-trans);
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hc-shadow-lg);
  border-color: var(--hc-blue);
}
.proj-card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--hc-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 700;
  margin-bottom: 16px;
}
.proj-card h3 { margin-bottom: 8px; }
.proj-card p { color: var(--hc-muted); font-size: 14px; margin: 0 0 12px; }
.proj-card .items {
  list-style: none; padding: 0; margin: 12px 0 0;
  font-size: 13px; color: var(--hc-text);
}
.proj-card .items li {
  padding: 4px 0; border-bottom: 1px dashed var(--hc-line);
}
.proj-card .items li:last-child { border-bottom: 0; }
.proj-card .more {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 600;
}

/* ============== 医师卡 ============== */
.doctor {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: var(--hc-radius-lg);
  padding: 48px;
  box-shadow: var(--hc-shadow);
}
.doctor .photo {
  border-radius: var(--hc-radius);
  overflow: hidden;
  box-shadow: var(--hc-shadow-lg);
}
.doctor h2 { margin-bottom: 8px; }
.doctor .title {
  color: var(--hc-blue); font-weight: 600;
  margin-bottom: 20px; font-size: 1rem;
}
.doctor ul {
  list-style: none; padding: 0; margin: 16px 0 24px;
}
.doctor ul li {
  position: relative; padding: 8px 0 8px 24px;
  border-bottom: 1px dashed var(--hc-line);
}
.doctor ul li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--hc-green); font-weight: 700;
}
.creds {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 16px;
}
.cred {
  background: var(--hc-grad-soft);
  color: var(--hc-blue);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

/* ============== 设备 ============== */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.equip-card {
  background: #fff;
  border-radius: var(--hc-radius);
  overflow: hidden;
  border: 1px solid var(--hc-line);
  transition: all var(--hc-trans);
}
.equip-card:hover {
  box-shadow: var(--hc-shadow-lg);
  transform: translateY(-3px);
}
.equip-card .pic {
  aspect-ratio: 4/3;
  background: var(--hc-bg-2) center/cover;
}
.equip-card .body { padding: 20px; }
.equip-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.equip-card p { color: var(--hc-muted); font-size: 13px; margin: 0; }

/* ============== 案例画廊 ============== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery.gallery-single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}
.gallery .item {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--hc-radius);
  overflow: hidden;
  background: var(--hc-bg-2) center/cover;
  cursor: pointer;
  transition: all var(--hc-trans);
}
.gallery .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery .item:hover {
  transform: scale(1.02);
  box-shadow: var(--hc-shadow-lg);
}
.gallery .item .tag {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(255,255,255,0.95);
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; color: var(--hc-blue);
  font-weight: 600;
}

/* ============== 价格表 ============== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--hc-radius);
  overflow: hidden;
  box-shadow: var(--hc-shadow);
}
.price-table th, .price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hc-line);
}
.price-table th {
  background: var(--hc-grad);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { background: var(--hc-bg-2); }
.price-table .grp {
  background: var(--hc-grad-soft);
  font-weight: 700; color: var(--hc-ink);
}

/* ============== 环境画廊 ============== */
.env-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.env-gallery .item {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--hc-radius);
  background: var(--hc-bg-2) center/cover;
  overflow: hidden;
}
.env-gallery .item .lbl {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; padding: 24px 16px 14px;
  font-size: 14px;
}

/* ============== 联系方式卡 ============== */
.contact-card {
  background: var(--hc-grad);
  color: #fff;
  border-radius: var(--hc-radius-lg);
  padding: 48px;
  text-align: center;
}
.contact-card h2 { color: #fff; }
.contact-card .info {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-top: 24px;
}
.contact-card .info .it {
  background: rgba(255,255,255,0.15);
  padding: 16px 24px;
  border-radius: var(--hc-radius);
  min-width: 200px;
}
.contact-card .info .it .k {
  font-size: 12px; opacity: .85; margin-bottom: 4px;
}
.contact-card .info .it .v { font-size: 1.05rem; font-weight: 600; }

/* ============== 底部 footer ============== */
footer {
  background: #1F2A37; color: #B8C2D0;
  padding: 48px 0 24px;
}
footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
footer h4 {
  color: #fff; font-size: 15px;
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { padding: 4px 0; font-size: 14px; }
footer ul a { color: #B8C2D0; }
footer ul a:hover { color: var(--hc-green); }
footer .brand-mini {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
footer .brand-mini img { width: 36px; height: 36px; }
footer .brand-mini span { color: #fff; font-weight: 700; }
.copyright {
  border-top: 1px solid #2D3A4D;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8B95A3;
}
.copyright a { color: #8B95A3; margin: 0 8px; }

/* ============== 文章页样式 ============== */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}
.article header { margin-bottom: 32px; border-bottom: 1px solid var(--hc-line); padding-bottom: 24px; }
.article h1 { font-size: 2rem; line-height: 1.4; }
.article .meta {
  color: var(--hc-muted); font-size: 13px;
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px;
}
.article h2 {
  margin-top: 40px;
  padding-left: 16px;
  border-left: 4px solid;
  border-image: var(--hc-grad) 1;
}
.article h3 { margin-top: 28px; color: var(--hc-blue); }
.article p, .article li { line-height: 1.85; }
.article ul, .article ol { padding-left: 24px; }
.article blockquote {
  background: var(--hc-grad-soft);
  border-left: 4px solid var(--hc-blue);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  color: var(--hc-ink);
  font-weight: 500;
}
.article table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.article table th, .article table td {
  padding: 12px 16px; border-bottom: 1px solid var(--hc-line);
  text-align: left;
}
.article table th {
  background: var(--hc-grad-soft); color: var(--hc-ink); font-weight: 600;
}
.article .reviewer {
  margin-top: 48px; padding: 20px 24px;
  background: var(--hc-bg-2); border-radius: var(--hc-radius);
  font-size: 13px; color: var(--hc-muted);
}
.article .reviewer strong { color: var(--hc-ink); display: block; margin-bottom: 8px; }

/* ============== FAQ 折叠 ============== */
.faq-item {
  background: #fff; border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius); margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px; cursor: pointer; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--hc-ink);
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--hc-blue); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s;
  padding: 0 24px; color: var(--hc-text);
}
.faq-item.open .faq-a { max-height: 800px; padding: 0 24px 18px; }

/* ============== 响应式 ============== */

/* --- 桌面端默认 >860px：保留原布局不动 --- */
.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 3px;
  background: var(--hc-ink);
  border-radius: 2px;
  margin: 5px auto;
  width: 24px;
  transition: all var(--hc-trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78vw;
  max-width: 320px;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  z-index: 200;
  padding: 80px 24px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu ul li {
  border-bottom: 1px solid var(--hc-line);
}
.mobile-menu ul li a {
  display: block;
  padding: 14px 8px;
  color: var(--hc-ink);
  font-weight: 500;
  font-size: 16px;
}
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu-backdrop.open { opacity: 1; }

/* --- 底部移动端导航（768px 以下显示 --- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--hc-line);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-inner {
  display: flex;
  max-width: var(--hc-container);
  margin: 0 auto;
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  font-size: 11px;
  color: var(--hc-muted);
  text-decoration: none;
  transition: color var(--hc-trans);
  min-width: 0;
}
.bottom-nav a.active,
.bottom-nav a:hover { color: var(--hc-blue); }
.bottom-nav a.active svg { stroke: var(--hc-blue); }
.bottom-nav svg {
  width: 22px; height: 22px;
  stroke: var(--hc-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === 中屏 768 ~ 860px：仅轻微压缩 === */
@media (max-width: 860px) {
  h1 { font-size: 1.7rem; }
  .hero { height: 380px; }
  .hero h1 { font-size: 2rem; }
  .doctor { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  footer .grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  section { padding: 48px 0; }
  .contact-card { padding: 28px; }
  .article h1 { font-size: 1.5rem; }
  .article h2 { font-size: 1.3rem; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: -60px; }
  .container { padding: 0 20px; }
}

/* === 移动端 ≤768px：完整手机布局 === */
@media (max-width: 768px) {
  /* 全局字号收紧 */
  body { font-size: 15px; }

  /* 顶部导航压缩 */
  .navbar { padding: 10px 0; }
  .brand span { font-size: 1rem; }
  .brand img { width: 36px; height: 36px; }

  /* hero 压缩 */
  .hero { height: 320px; }
  .hero h1 { font-size: 1.6rem; margin-bottom: 12px; }
  .hero .sub { font-size: .95rem; margin-bottom: 20px; }
  .hero-inner { padding: 0 16px; }

  /* sections 紧凑 */
  section { padding: 36px 0; }
  .section-title h2 { font-size: 1.5rem; padding: 0 20px; }
  .section-title h2::before, .section-title h2::after { width: 16px; }
  .section-title { margin-bottom: 32px; }

  /* facts 数据卡 */
  .facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -50px;
    gap: 12px;
  }
  .fact { padding: 14px 10px; }
  .fact .num { font-size: 1.5rem; }
  .fact .lbl { font-size: 12px; margin-top: 4px; }

  /* 网格单列 */
  .proj-grid { grid-template-columns: 1fr; gap: 16px; }
  .equip-grid { grid-template-columns: 1fr; gap: 16px; }
  .env-gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery.gallery-single { grid-template-columns: minmax(0, 100%); }

  /* 卡片 */
  .proj-card { padding: 22px 18px; }
  .equip-card .body { padding: 16px; }
  .doctor { padding: 22px; gap: 18px; }
  .doctor h2 { font-size: 1.4rem; }

  /* 联系卡 — 关键：避免 it 5×200px 撑爆 */
  .contact-card { padding: 22px 16px; }
  .contact-card .info { gap: 12px; }
  .contact-card .info .it { min-width: 0; flex: 1 1 calc(50% - 6px); padding: 12px 14px; }
  .contact-card .info .it .k { font-size: 11px; }
  .contact-card .info .it .v { font-size: 14px; word-break: break-all; }

  /* footer */
  footer { padding: 36px 0 20px; }
  footer .grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .copyright { font-size: 11px; line-height: 1.7; padding: 16px 0; }

  /* 文章页 */
  .article { padding: 28px 18px; }
  .article h1 { font-size: 1.4rem; }
  .article h2 { font-size: 1.2rem; padding-left: 12px; margin-top: 28px; }
  .article h3 { font-size: 1.1rem; }
  .article p, .article li { line-height: 1.75; }
  .article blockquote { padding: 12px 14px; margin: 18px 0; font-size: 14px; }
  .article ul, .article ol { padding-left: 20px; }
  .article table { font-size: 13px; }
  .article table th, .article table td { padding: 8px 10px; }
  .article .reviewer { padding: 16px; font-size: 12px; }

  /* 价格表横向滚动 */
  .price-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: none; border-radius: 0; }
  .price-table { font-size: 13px; min-width: 600px; }
  .price-table th, .price-table td { padding: 10px 12px; }
  .price-table th { font-size: 12px; }

  /* FAQ 紧凑 */
  .faq-q { padding: 14px 18px; font-size: 14px; }
  .faq-a { padding: 0 18px; font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 18px 14px; }

  /* 顶部公告条 */
  .topbar { font-size: 11px; padding: 5px 0; line-height: 1.4; }

  /* 底部导航显示 + 内容下移防遮挡 */
  .bottom-nav { display: block; }
  body.has-bottom-nav { padding-bottom: 64px; }

  /* 资质页双图变单列 */
  .credentials-grid,
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:24px"] {
    grid-template-columns: 1fr !important;
  }

  /* 图片自适应（防止任何固定宽度） */
  img { max-width: 100% !important; height: auto; }

  /* 容器 */
  .container { padding: 0 16px; }
}

/* === 极窄屏 ≤480px === */
@media (max-width: 480px) {
  body { font-size: 14px; }
  .hero { height: 280px; }
  .hero h1 { font-size: 1.3rem; }
  .hero .sub { font-size: .9rem; }
  .hero .badges .badge { font-size: 10px; padding: 4px 10px; }
  .container { padding: 0 12px; }
  .section-title h2 { font-size: 1.3rem; }
  .navbar { padding: 8px 0; }
  .brand span { font-size: .9rem; }
  .facts { gap: 8px; }
  .fact { padding: 10px 8px; }
  .fact .num { font-size: 1.3rem; }
  .bottom-nav a { font-size: 10px; padding: 6px 2px; }
  .bottom-nav svg { width: 20px; height: 20px; }
}

/* === 超窄屏 ≤360px（iPhone SE 等） === */
@media (max-width: 360px) {
  .container { padding: 0 10px; }
  .facts .fact .num { font-size: 1.2rem; }
  .bottom-nav a { font-size: 9px; }
  .bottom-nav svg { width: 18px; height: 18px; }
}

/* 防止横向溢出（兜底） */
html, body { overflow-x: hidden; }

/* 价格表在窄屏允许横向滚动 */
.price-wrap {
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-wrap .price-table {
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  min-width: 600px;
}

/* 任意 HTML 内的表格在窄屏允许横向滚动（article/FAQ 用） */
.article table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  max-width: 100%;
}

/* 工具类 */
.text-grad {
  background: var(--hc-grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.muted { color: var(--hc-muted); }
.small { font-size: 13px; }