/* ==========================================================================
   Mosen Massage & Spa — 样式
   配色：黑金轻奢；标题衬线体，正文无衬线体
   ========================================================================== */

:root {
  --green-950: #080706;
  --green-900: #ece2cb;
  --green-800: #e7c978;
  --green-700: #d4af37;
  --green-600: #c9a24a;
  --green-100: #29210f;
  --gold: #d4af37;
  --gold-600: #e6c97a;
  --gold-light: #f4e6c0;
  --gold-50: #241d0e;
  --cream: #0e0c0a;
  --cream-2: #15120e;
  --cream-3: #221c13;
  --ink: #ece6d8;
  --ink-soft: #c4bba7;
  --muted: #948a77;
  --white: #16130f;
  --line: #2a241a;

  --serif: "Songti SC", "Noto Serif SC", "Noto Serif JP", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans JP", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--green-900);
  line-height: 1.25;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.28rem; font-weight: 700; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-700); }
p { margin: 0 0 1em; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
img, svg { max-width: 100%; display: block; }

::selection { background: var(--gold); color: #0a0807; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.section { padding: 92px 0; }
.section-alt { background: var(--cream-2); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #0a0807; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- 通用元素 ---------------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-tag, .eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.section-head h2 { margin-bottom: .4em; }
.section-head p { color: var(--muted); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #1a150e; color: #ecd9a4; border-color: rgba(212, 175, 55, .55); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.btn-primary:hover { background: linear-gradient(135deg, #e8cd84 0%, #c9a24a 100%); color: #1a140f; border-color: rgba(244, 230, 192, .4); box-shadow: 0 14px 30px rgba(212, 175, 55, .32); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--green-900); border-color: rgba(212, 175, 55, .35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #0a0807; }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.grid { display: grid; gap: 26px; }

/* ---------------- 页头 ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14, 12, 10, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(14, 12, 10, .94); border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--green-900); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-950); color: var(--gold); flex: none;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .35);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.18rem; letter-spacing: .02em; }
.brand-text small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a {
  padding: 9px 14px; border-radius: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  transition: color .15s ease, background .15s ease;
}
.site-nav > a:hover { color: var(--green-700); background: var(--cream-3); }
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta:hover { background: linear-gradient(135deg, #e8cd84 0%, #c9a24a 100%); color: #1a140f; }

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

/* 语言切换 */
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease;
}
.lang-current:hover { border-color: var(--gold); }
.lang-current svg { width: 17px; height: 17px; }
.lang-current .chev { width: 13px; height: 13px; color: var(--muted); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px;
  list-style: none; margin: 0; padding: 6px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  z-index: 110;
}
.lang-menu[hidden] { display: none; }
.lang-menu li {
  padding: 9px 13px; border-radius: 9px; cursor: pointer; font-size: .92rem; color: var(--ink-soft);
}
.lang-menu li:hover { background: var(--cream-2); }
.lang-menu li.active { background: var(--green-100); color: var(--green-800); font-weight: 700; }

/* 汉堡按钮 */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { height: 2px; width: 100%; background: var(--green-900); border-radius: 2px; transition: transform .2s ease, opacity .2s 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); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 80px;
  background:
    radial-gradient(1200px 620px at 82% -10%, rgba(212, 175, 55, .18), transparent 60%),
    radial-gradient(900px 520px at -10% 110%, rgba(212, 175, 55, .08), transparent 60%),
    linear-gradient(180deg, #15120e 0%, var(--cream) 100%);
}
.hero-decor {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(212, 175, 55, .12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy h1 em { font-style: normal; color: var(--gold-600); position: relative; }
.hero-copy h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em;
  background: rgba(212, 175, 55, .25); z-index: -1; border-radius: 4px;
}
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 520px; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 34px 0 0; padding: 0; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .94rem; color: var(--ink-soft); }
.point-ico { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: .72rem; font-weight: 900; }

/* Hero 视觉卡片 */
.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: min(360px, 100%); aspect-ratio: 4 / 4.6; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #211b12, #0a0807);
  box-shadow: var(--shadow-lg); padding: 18px; color: var(--gold-light);
  display: flex; flex-direction: column;
  transform: rotate(2.5deg);
  border: 1px solid rgba(232, 213, 168, .25);
}
.card-top { display: flex; gap: 6px; }
.card-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(232, 213, 168, .4); }
.card-dot:first-child { background: var(--gold); }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; }
.card-body .lotus { width: 70%; height: auto; opacity: .95; }
.card-label { font-family: var(--serif); font-size: 2rem; letter-spacing: .08em; margin: 14px 0 0; }
.card-sub { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(232, 213, 168, .75); margin: 0; }

/* ---------------- 服务 ---------------- */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; background: var(--gold-50); margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px var(--gold-light);
}
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.card-link { font-weight: 600; font-size: .94rem; }

/* ---------------- 关于 ---------------- */
.about-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-copy p { color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.stat { text-align: center; padding: 18px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--green-700); }
.stat span { font-size: .8rem; color: var(--muted); }

/* ---------------- 价格 ---------------- */
.pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card h3 { margin-bottom: 6px; }
.price { font-family: var(--serif); margin: 0 0 18px; }
.price .currency { font-size: 1.2rem; color: var(--gold-600); vertical-align: top; }
.price span:not(.currency):not(.unit) { font-size: 2.6rem; font-weight: 700; color: var(--green-900); }
.price .unit { font-size: .85rem; color: var(--muted); }
.price-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.price-features li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-soft); font-size: .94rem; border-bottom: 1px dashed var(--line); }
.price-features li::before { content: "✓"; position: absolute; left: 2px; color: var(--green-600); font-weight: 700; }
.price-card.featured {
  background: linear-gradient(165deg, #211b12, #080706); color: #fff;
  border-color: rgba(212, 175, 55, .45); box-shadow: var(--shadow-lg); transform: scale(1.03);
}
.price-card.featured h3, .price-card.featured .price span:not(.currency):not(.unit) { color: #fff; }
.price-card.featured .price .currency { color: var(--gold-light); }
.price-card.featured .price .unit, .price-card.featured .price-features li { color: rgba(255, 255, 255, .78); }
.price-card.featured .price-features li { border-color: rgba(255, 255, 255, .14); }
.price-card.featured .price-features li::before { color: var(--gold-light); }
.price-card.featured .btn-primary { background: var(--gold); color: var(--green-950); box-shadow: 0 12px 26px rgba(0, 0, 0, .25); }
.price-card.featured .btn-primary:hover { background: var(--gold-light); }
.popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--green-950); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}

/* ---------------- 评价 ---------------- */
.quotes-grid { grid-template-columns: repeat(3, 1fr); }
.quote-card { display: flex; flex-direction: column; }
.stars { color: var(--gold-600); letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
.quote-card blockquote { margin: 0 0 22px; color: var(--ink-soft); font-size: .99rem; flex: 1; }
.quote-card figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 16px; }
.quote-card figcaption strong { color: var(--green-900); }
.quote-card figcaption span { color: var(--muted); font-size: .84rem; }

/* ---------------- 预约/联系 ---------------- */
.booking-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.booking-info h2 { margin-bottom: .4em; }
.booking-info > p { color: var(--muted); }
.contact-list { list-style: none; margin: 30px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--gold-50); font-size: 18px; box-shadow: inset 0 0 0 1px var(--gold-light); }
.contact-list strong { display: block; color: var(--green-900); font-size: .9rem; margin-bottom: 2px; }
.contact-list span { color: var(--ink-soft); }
.note-card { background: var(--gold-50); border: 1px dashed var(--gold); border-radius: 14px; padding: 16px 18px; }
.note-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

.booking-form { box-shadow: var(--shadow); border-radius: var(--radius-lg); padding: 34px; }
.booking-form h3 { text-align: center; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--green-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: .96rem; color: var(--ink); background: var(--cream);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(212, 175, 55, .18); background: #1e1a14;
}
.field textarea { resize: vertical; }
.form-feedback { text-align: center; font-size: .94rem; margin: 12px 0 0; min-height: 1.4em; opacity: 0; transition: opacity .2s ease; }
.form-feedback.show { opacity: 1; }
.form-feedback.success { color: var(--green-600); }
.form-feedback.error { color: #b34a3e; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .72); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .55); }
.footer-brand p { font-size: .94rem; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--gold-light); margin-bottom: 8px; }
.footer-col a { color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #fff; }
.footer-col span { font-size: .94rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; }
.footer-bottom span { font-size: .85rem; color: rgba(255, 255, 255, .5); }

/* ---------------- 滚动渐显动画 ---------------- */
.js .card, .js .section-head, .js .about-copy, .js .about-visual, .js .hero-copy, .js .hero-visual {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.js .in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .card, .js .section-head, .js .about-copy, .js .about-visual, .js .hero-copy, .js .hero-visual { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .services-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { width: min(300px, 80%); aspect-ratio: 4/4; transform: none; }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .booking-wrap { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }

  /* 移动端导航 */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 14px 5%; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .28s ease; max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav > a { padding: 13px 14px; font-size: 1.02rem; }
  .site-nav .nav-cta { margin: 8px 0 4px; text-align: center; }
  .lang-current span { display: none; }
  .lang-current .chev { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 66px 0; }
  .services-grid, .quotes-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-cta .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats { gap: 12px; }
  .booking-form { padding: 26px 20px; }
}

/* ---------------- 自定义日期 / 时间选择器 ---------------- */
.field input[data-datepicker],
.field input[data-timepicker] { cursor: pointer; }

.dp-popup {
  position: fixed;
  z-index: 400;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  width: 280px;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dp-title { flex: 1; text-align: center; font-weight: 700; color: var(--green-900); font-size: .95rem; }
.dp-nav { flex: none; width: 28px; height: 28px; border: 1px solid var(--line); background: transparent; color: var(--gold); border-radius: 8px; cursor: pointer; font-size: 1rem; line-height: 1; }
.dp-nav:hover { border-color: var(--gold); }
.dp-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: var(--muted); font-size: .75rem; margin-bottom: 6px; }
.dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-day { height: 34px; border: 0; background: transparent; color: var(--ink); border-radius: 8px; cursor: pointer; font-size: .88rem; font-family: var(--sans); }
.dp-day:hover { background: var(--cream-3); }
.dp-day.today { color: var(--gold-600); font-weight: 700; }
.dp-day.selected { background: var(--gold); color: #0a0807; font-weight: 700; }
.dp-day.empty { cursor: default; }
.dp-foot { margin-top: 10px; text-align: center; }
.dp-today-btn { background: transparent; border: 1px solid var(--line); color: var(--gold-600); border-radius: 999px; padding: 5px 14px; cursor: pointer; font-size: .82rem; }
.dp-today-btn:hover { border-color: var(--gold); }

.dp-time-popup { display: flex; gap: 10px; width: auto; }
.dp-time-col { flex: 1; }
.dp-time-label { text-align: center; color: var(--muted); font-size: .76rem; margin-bottom: 6px; }
.dp-time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.dp-tm { height: 32px; border: 0; background: transparent; color: var(--ink); border-radius: 8px; cursor: pointer; font-size: .85rem; font-family: var(--sans); }
.dp-tm:hover { background: var(--cream-3); }
.dp-tm.selected { background: var(--gold); color: #0a0807; font-weight: 700; }
