/* ============================================================
   北京沃尔医疗美容 - 全站样式（暗金奢华版）
   维护提示：一般不需要改这个文件。改内容请去各个 .html 页面。
   ============================================================ */

:root {
  --dark: #16130e;        /* 深墨色：主视觉底 */
  --dark-soft: #221e17;
  --bg: #f7f4ee;          /* 暖象牙白 */
  --bg-alt: #efeae0;
  --ink: #1d1a14;
  --ink-soft: #6e675b;
  --gold: #b08d57;        /* 香槟金 */
  --gold-light: #d3ba8f;
  --line-dark: rgba(176, 141, 87, 0.35);
  --line-light: #e2dacb;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* ---------- 滚动渐显动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ============================================================
   顶部导航：透明悬浮，滚动后变深色实底
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: rgba(22, 19, 14, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand img { height: 66px; width: auto; display: block; }

.site-nav { display: flex; gap: 40px; }
.site-nav a {
  color: rgba(243, 237, 226, 0.75);
  font-size: 14px;
  letter-spacing: 4px;
  padding: 6px 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: 0.35s;
  transform: translateX(-50%);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--gold-light); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: #f3ede2; margin: 6px 0; transition: 0.3s; }

/* ============================================================
   首屏 / 内页头：全暗底金色氛围
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 55% 42% at 50% 38%, rgba(176, 141, 87, 0.22), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(176, 141, 87, 0.10), transparent),
    var(--dark);
  overflow: hidden;
}
/* 背景装饰细线圆环 */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(176, 141, 87, 0.16);
  border-radius: 50%;
}
.hero::before { width: 640px; height: 640px; top: -180px; right: -160px; }
.hero::after { width: 420px; height: 420px; bottom: -140px; left: -120px; }

.hero-inner { position: relative; z-index: 2; padding: 120px 24px 80px; }

.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 8px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 34px;
}
.hero .eyebrow::before, .hero .eyebrow::after {
  content: "";
  display: inline-block;
  width: 48px; height: 1px;
  background: var(--line-dark);
  vertical-align: middle;
  margin: 0 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 600;
  letter-spacing: 16px;
  text-indent: 16px;
  color: #f5f0e6;
  margin-bottom: 30px;
}
.hero .hero-sub {
  font-size: 16px;
  color: rgba(243, 237, 226, 0.65);
  letter-spacing: 6px;
  margin-bottom: 56px;
}

.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* 向下滚动提示 */
.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 56px;
  background: rgba(211, 186, 143, 0.4);
  overflow: hidden;
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--gold-light);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0% { top: -50%; }
  60%, 100% { top: 110%; }
}

/* 内页头 */
.page-hero {
  padding: 220px 0 110px;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 30%, rgba(176, 141, 87, 0.18), transparent 70%),
    var(--dark);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border: 1px solid rgba(176, 141, 87, 0.14);
  border-radius: 50%;
  top: -220px; right: -140px;
}
.page-hero .en-label {
  font-size: 11px; letter-spacing: 7px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: 12px;
  text-indent: 12px;
  color: #f5f0e6;
  font-weight: 600;
}
.page-hero p { color: rgba(243, 237, 226, 0.6); margin-top: 20px; font-size: 15px; letter-spacing: 2px; }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-block;
  padding: 15px 44px;
  font-size: 14px;
  letter-spacing: 4px;
  border: 1px solid var(--gold);
  transition: 0.35s;
  position: relative;
}
.btn-gold { background: var(--gold); color: #171410; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #171410; }
.btn-ghost { background: transparent; color: var(--gold-light); }
.btn-ghost:hover { background: var(--gold); color: #171410; }
.btn-dark { border-color: var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   编辑风区块标题：编号 + 竖线 + 中英双语
   ============================================================ */
.section { padding: 110px 0; }
.section-dark { background: var(--dark); color: #f3ede2; }
.section-alt { background: var(--bg-alt); }

.sec-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 64px; }
.sec-head .num {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  font-weight: 600;
}
.sec-head .bar { width: 1px; height: 52px; background: var(--line-dark); }
.sec-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 6px;
  font-weight: 600;
}
.sec-head .en {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 6px;
}
.sec-head .desc { margin-left: auto; color: var(--ink-soft); font-size: 14px; letter-spacing: 1px; padding-bottom: 6px; }
.section-dark .sec-head .desc { color: rgba(243, 237, 226, 0.55); }

/* ============================================================
   服务项目：编辑式行卡
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.svc-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line-light);
  transition: 0.35s;
  position: relative;
}
.svc-item .no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 1px;
  min-width: 32px;
}
.svc-item h3 {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 3px;
  font-weight: 600;
  white-space: nowrap;
}
.svc-item p { font-size: 13.5px; color: var(--ink-soft); margin-left: auto; text-align: right; }
.svc-item::after {
  content: "→";
  position: absolute;
  right: -22px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0;
  transition: 0.35s;
}
.svc-item:hover { background: linear-gradient(90deg, transparent, rgba(176, 141, 87, 0.06), transparent); padding-left: 20px; }
.svc-item:hover::after { opacity: 1; right: -10px; }

/* ============================================================
   数字亮点（深色区块）
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stats .num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.stats .num small { font-size: 16px; letter-spacing: 2px; }
.stats .label { font-size: 13.5px; color: rgba(243, 237, 226, 0.6); letter-spacing: 3px; margin-top: 10px; }
.stats > div { position: relative; padding-top: 26px; }
.stats > div::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 1px;
  background: var(--line-dark);
}

/* ============================================================
   理念/介绍排版
   ============================================================ */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 20px; color: #4a453b; font-size: 16px; }
.prose h3 {
  font-family: var(--serif);
  margin: 48px 0 16px;
  font-size: 21px;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.prose h3::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

/* ============================================================
   环境照片占位（拿到图后替换 img 即可，样式自动生效）
   ============================================================ */
.env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.env-item { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.env-item .ph {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(176, 141, 87, 0.10), transparent 55%),
    repeating-linear-gradient(45deg, #ece7db, #ece7db 14px, #f2eee5 14px, #f2eee5 28px);
  display: flex; align-items: center; justify-content: center;
  color: #b3a992; font-size: 13px; letter-spacing: 2px;
}
.env-item figcaption {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 12.5px;
  letter-spacing: 3px;
  padding: 8px 18px;
}

/* ============================================================
   医生卡片
   ============================================================ */
.doctor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.doctor-card { position: relative; }
.doctor-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background:
    linear-gradient(160deg, rgba(176, 141, 87, 0.12), transparent 50%),
    repeating-linear-gradient(45deg, #e9e4d7, #e9e4d7 12px, #f1ede3 12px, #f1ede3 24px);
  display: flex; align-items: center; justify-content: center;
  color: #b3a992; font-size: 12.5px; letter-spacing: 2px;
  object-fit: cover;
}
/* 金色错位描边 */
.doctor-card::after {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: -14px; bottom: -14px;
  border: 1px solid var(--line-dark);
  z-index: -1;
  transition: 0.4s;
}
.doctor-card:hover::after { top: 8px; left: 8px; right: -8px; bottom: -8px; }

.doctor-info { padding: 22px 4px 0; }
.doctor-info .name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 3px;
}
.doctor-info .title {
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 2px;
  margin: 6px 0 12px;
}
.doctor-info .spec { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
.doctor-info .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.doctor-info .tag {
  font-size: 11.5px; color: var(--gold);
  border: 1px solid var(--line-light); border-radius: 20px;
  padding: 3px 14px; letter-spacing: 1px; background: rgba(255,255,255,0.5);
}

/* ============================================================
   预约咨询页
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; }

.contact-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-light);
}
.contact-item:first-child { border-top: 1px solid var(--line-light); }
.contact-item .icon { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; margin-top: 5px; }
.contact-item h4 {
  font-size: 12.5px; letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-item p, .contact-item a { font-size: 17px; color: var(--ink); }
.contact-item a { font-family: var(--serif); font-weight: 600; letter-spacing: 1px; border-bottom: 1px solid var(--line-dark); }
.contact-item .note { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; letter-spacing: 1px; }
.flow { list-style: none; }
.flow li { display: flex; gap: 18px; padding: 7px 0; font-size: 15px; color: #4a453b; align-items: baseline; }
.flow .step {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 14px;
  min-width: 24px;
}

.qr-panel { text-align: center; padding: 52px 36px; background: var(--dark); color: #f3ede2; position: relative; }
.qr-panel::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid var(--line-dark);
  pointer-events: none;
}
.qr-placeholder {
  width: 210px; height: 210px;
  margin: 0 auto 26px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: rgba(243, 237, 226, 0.45);
  font-size: 12.5px; letter-spacing: 1px;
  border: 1px dashed rgba(211, 186, 143, 0.45);
  background: repeating-linear-gradient(45deg, rgba(211,186,143,0.05), rgba(211,186,143,0.05) 10px, transparent 10px, transparent 20px);
}
.qr-panel img { width: 210px; margin: 0 auto 26px; display: block; }
.qr-panel h4 { font-family: var(--serif); font-size: 19px; letter-spacing: 4px; margin-bottom: 10px; color: #f5f0e6; }
.qr-panel p { font-size: 13px; color: rgba(243, 237, 226, 0.55); letter-spacing: 2px; }

/* ============================================================
   CTA 横幅 & 页脚
   ============================================================ */
.cta-strip {
  background:
    radial-gradient(ellipse 45% 90% at 50% 50%, rgba(176, 141, 87, 0.20), transparent),
    var(--dark);
  color: #f3ede2;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 8px;
  margin-bottom: 16px;
  color: #f5f0e6;
  font-weight: 600;
}
.cta-strip p { color: rgba(243, 237, 226, 0.55); margin-bottom: 40px; font-size: 14.5px; letter-spacing: 3px; }

.site-footer {
  background: #100e0a;
  color: rgba(243, 237, 226, 0.55);
  padding: 64px 0 44px;
  text-align: center;
  font-size: 13.5px;
}
.site-footer .footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  color: #f5f0e6;
  letter-spacing: 5px;
  margin-bottom: 20px;
}
.site-footer .footer-en {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: rgba(211, 186, 143, 0.5);
  margin-bottom: 26px;
}
.site-footer p { margin-bottom: 8px; letter-spacing: 1px; }
.site-footer a { color: rgba(243, 237, 226, 0.8); }
.site-footer .icp a { color: rgba(243, 237, 226, 0.45); font-size: 12.5px; letter-spacing: 1px; }
.site-footer .icp a:hover { color: var(--gold-light); }
.site-footer .disclaimer {
  font-size: 11.5px;
  color: rgba(243, 237, 226, 0.35);
  margin-top: 22px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  letter-spacing: 1px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 960px) {
  .doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-item::after { display: none; }
  .svc-item p { margin-left: 0; text-align: left; flex-basis: 100%; }
  .svc-item { flex-wrap: wrap; gap: 8px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .sec-head .desc { display: none; }
  .hero h1 { font-size: 34px; letter-spacing: 8px; text-indent: 8px; }
  .stats { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(22, 19, 14, 0.97);
    flex-direction: column;
    gap: 0;
    padding: 12px 28px 24px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 0; font-size: 15px; border-bottom: 1px solid rgba(176, 141, 87, 0.12); }
  .site-nav a::after { display: none; }

  .doctor-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero .eyebrow::before, .hero .eyebrow::after { width: 24px; margin: 0 10px; }
  .hero .eyebrow { letter-spacing: 4px; }
  .page-hero { padding: 170px 0 80px; }
  .page-hero h1 { font-size: 28px; letter-spacing: 6px; text-indent: 6px; }
  .sec-head .num { font-size: 38px; }
  .sec-head h2 { font-size: 22px; }
  .brand img { height: 50px; }
  .header-inner { height: 76px; }
  .site-nav { top: 76px; }
}
