/* ============================================================
   Nice Massage — global stylesheet
   Natural wellness / spa aesthetic: sage green, warm white,
   soft beige, generous whitespace, quiet & premium.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --cream:        #FAF8F2;   /* warm white */
  --sand:         #F3EFE5;   /* light beige */
  --beige:        #EBE4D4;   /* deeper beige */
  --sage:         #A9B79B;   /* sage green */
  --sage-light:   #DCE3D2;   /* light sage */
  --sage-soft:    #EEF1E6;   /* very light sage tint */
  --green:        #7C8B6E;   /* plant green */
  --green-dark:   #4C5A43;   /* dark green — headings & buttons */
  --green-deep:   #3C4934;   /* deepest green */
  --text:         #3A4133;   /* primary text */
  --text-muted:   #6C7362;   /* muted text */
  --white:        #FFFFFF;
  --border:       #E6E0D2;   /* subtle border */

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Jost', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 12px rgba(64, 74, 54, 0.06);
  --shadow:    0 10px 32px rgba(64, 74, 54, 0.08);
  --shadow-lg: 0 18px 52px rgba(64, 74, 54, 0.12);

  --max-w: 1160px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section--alt { background: var(--sand); }
.section--cream { background: var(--cream); }

/* ---------- Section heading ---------- */
.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-head h2 { font-size: 2.4rem; margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease,
              border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: var(--green-dark);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-deep);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--sage-soft);
  border-color: var(--green-deep);
  color: var(--green-deep);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--cream);
  color: var(--green-dark);
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--green-dark);
  line-height: 1;
}
.brand:hover { color: var(--green-dark); }
.brand span { color: var(--sage); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--green-dark);
  transition: width .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--green-dark); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 12px 24px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--green-dark);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-menu-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
  background: var(--cream);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(250, 248, 242, 0.97) 0%,
    rgba(250, 248, 242, 0.90) 34%,
    rgba(250, 248, 242, 0.45) 68%,
    rgba(250, 248, 242, 0.12) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 120px 0;
}
.hero__content .eyebrow { margin-bottom: 18px; }
.hero__content h1 {
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.hero__content .hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  color: var(--green);
  margin-bottom: 22px;
}
.hero__content p {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- About / brand ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--sage);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-body h2 { font-size: 2.4rem; }
.about-body p { color: var(--text-muted); font-size: 1.05rem; }
.about-points { margin: 26px 0 0; display: grid; gap: 14px; }
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 0.98rem;
}
.about-points li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- Services / pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.price-card--popular {
  border-color: var(--sage);
  background: linear-gradient(180deg, #F7FAF3 0%, var(--white) 100%);
}
.price-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
}
.price-card__time {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.price-card__price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  margin-bottom: 18px;
}
.price-card__price small { font-size: 1.1rem; color: var(--text-muted); font-weight: 400; }
.price-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 26px;
  flex: 1;
}
.price-card .btn { width: 100%; }

/* ---------- Services page list ---------- */
.service-list { max-width: 820px; margin: 0 auto; }
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row h3 { font-size: 1.45rem; margin: 0 0 4px; }
.service-row p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.service-row__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-dark);
  white-space: nowrap;
}

/* ---------- Nature gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(60, 73, 52, 0.72));
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Contact / location ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.contact-card h3 { font-size: 1.9rem; }
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-line:last-of-type { border-bottom: none; }
.contact-line svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: 4px; }
.contact-line strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--green-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-line a, .contact-line span { color: var(--text); }
.contact-line a:hover { color: var(--green-dark); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  min-height: 420px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: var(--cream);
}
.cta-banner h2 { color: var(--cream); font-size: 2.2rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(250, 248, 242, 0.85); max-width: 520px; margin: 0 auto 28px; }
.cta-banner .btn-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(250, 248, 242, 0.82);
  padding: 64px 0 0;
  margin-top: 88px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer .brand { color: var(--cream); font-size: 1.6rem; }
.site-footer .brand span { color: var(--sage); }
.site-footer p, .site-footer li { font-size: 0.95rem; }
.site-footer a { color: rgba(250, 248, 242, 0.82); }
.site-footer a:hover { color: var(--sage-light); }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(250, 248, 242, 0.14);
  padding: 22px 0;
  font-size: 0.85rem;
  color: rgba(250, 248, 242, 0.55);
  text-align: center;
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: rgba(250, 248, 242, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(64, 74, 54, 0.10);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.sticky-cta__inner {
  display: flex;
  gap: 10px;
}
.sticky-cta .btn {
  flex: 1;
  padding: 14px 12px;
  font-size: 0.92rem;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  background: var(--sand);
  padding: 96px 0 72px;
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -90px;
  transform: translateX(-50%);
  width: 420px; height: 200px;
  background: radial-gradient(ellipse at center, rgba(169,183,155,0.35), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.08rem; }

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.65,.3,1),
              transform .7s cubic-bezier(.2,.65,.3,1);
}
.js .reveal.revealed { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section-head h2, .about-body h2 { font-size: 2rem; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { margin-top: 64px; }

  /* header -> hamburger */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-menu-mobile {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px 24px 24px;
  }
  .nav-menu-mobile.open { display: block; }
  .nav-menu-mobile a {
    display: block;
    padding: 14px 4px;
    font-size: 1.05rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-menu-mobile a:last-of-type { border-bottom: none; }
  .nav-menu-mobile .btn { margin-top: 16px; width: 100%; }

  /* sticky mobile CTA appears */
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}

@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero__content { padding: 96px 0 120px; }
  .hero__overlay {
    background: linear-gradient(180deg,
      rgba(250,248,242,0.95) 0%,
      rgba(250,248,242,0.86) 46%,
      rgba(250,248,242,0.55) 100%);
  }
  .hero__content h1 { font-size: 2.7rem; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:last-child { grid-column: span 2; }
  .cta-banner { padding: 44px 24px; }
  .contact-card { padding: 32px 24px; }
}


/* ---------- utility classes (no inline styles) ---------- */
.site-footer .footer-addr { margin-top: 16px; }
.section-head--tight { margin-top: 56px; margin-bottom: 32px; }
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 248, 242, 0.6);
}
.btn-outline-light:hover {
  background: rgba(250, 248, 242, 0.14);
  border-color: var(--cream);
  color: var(--cream);
  transform: translateY(-2px);
}


/* page hero with soft photo backdrop (services) */
.page-hero--photo { position: relative; }
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/service-2.jpg') center/cover no-repeat;
  opacity: 0.18;
}
.page-hero--photo .container { position: relative; }

/* footer 按钮文字用深绿，不被 .site-footer a 的浅色覆盖 */
.site-footer .btn { color: var(--green-dark); }
.nav-menu-mobile .btn { color: var(--cream); }
.btn-light:hover { color: var(--green-dark); }
