/*
 * LUMI Hangzhou — hotel & home massage
 * Cream paper, espresso type, jade actions
 */

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

:root {
  --bg: #F4EEE6;
  --bg-deep: #E9E0D4;
  --paper: #FFFCF8;
  --ink: #1E1714;
  --muted: #6A5E56;
  --line: rgba(30, 23, 20, 0.12);
  --gold: #8D6A3A;
  --gold-soft: #C6A36A;
  --rose: #7C3E45;
  --jade: #1F4A40;
  --jade-2: #2C6B5C;
  --wa: #128C7E;
  --shadow: 0 18px 44px rgba(48, 28, 16, 0.08);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }

body {
  font-family: Outfit, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 72px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, summary { font-family: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, .font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hot-text {
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 0.8rem;
}
.section-desc, .contact-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
}
.section-header { margin-bottom: 2rem; }

.btn-hot, .btn-ghost, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.btn-hot {
  background: var(--jade);
  color: #F7F3EC;
  border: 1px solid var(--jade);
}
.btn-hot:hover { background: var(--jade-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(30, 23, 20, 0.28);
}
.btn-ghost:hover { background: white; }
.btn-line {
  background: transparent;
  color: var(--jade);
  border: 1px solid rgba(31, 74, 64, 0.35);
}
.btn-line:hover { background: var(--jade); color: #F7F3EC; }
.btn-block { width: 100%; }

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-h);
  background: rgba(255, 252, 248, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}
.navbar.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  position: relative;
  height: 100%;
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #E6D3B0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; letter-spacing: 0.14em; }
.logo-sub { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--muted); }
.nav-links { display: none; gap: 1.25rem; }
.nav-link { font-size: 0.92rem; color: var(--muted); }
.nav-link:hover { color: var(--ink); }
.nav-cta { display: none; }
.hamburger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  padding: 0.4rem 1.4rem 0.8rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav-links.open .nav-link { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }

/* HERO */
.hero { padding: 1.5rem 0 3rem; }
.hero-split { display: grid; gap: 2rem; align-items: center; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.kicker-chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero-title { font-size: clamp(3.1rem, 8vw, 5.4rem); margin-bottom: 1rem; }
.hero-sub { max-width: 520px; color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.hero-spec-list { display: grid; gap: 0.45rem; margin-bottom: 1.5rem; }
.hero-spec-list li { color: var(--ink); }
.hero-spec-list strong { font-weight: 650; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-stage { position: relative; min-height: 420px; }
.stage-frame {
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
  box-shadow: var(--shadow);
}
.stage-frame img { width: 100%; height: 100%; object-fit: cover; }
.stage-frame--main { height: 420px; }
.stage-frame--stack {
  display: none;
  position: absolute;
  width: 46%;
  height: 190px;
  right: -4%;
  bottom: 28px;
  border: 6px solid var(--bg);
}
.stage-cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.9);
  font-size: 0.75rem;
}
.stage-frame { position: relative; }
.stage-float {
  display: none;
  position: absolute;
  left: -18px;
  top: 28px;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: var(--ink);
  color: #F4EEE6;
  font-size: 0.82rem;
}

/* STATS */
.stats-rail { background: var(--jade); color: #F6F1E8; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1rem;
  padding: 1.6rem 0;
}
.stat-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}
.stat-label { margin-top: 0.25rem; font-size: 0.82rem; color: rgba(246, 241, 232, 0.78); }

/* SERVICES */
.products-section, .lineup-section, .visit-section, .areas-section, .gallery-section, .testimonials, .faq-section {
  padding: 4.2rem 0;
}
.service-grid, .lineup-grid, .step-grid, .area-grid, .quote-grid {
  display: grid;
  gap: 1rem;
}
.service-card, .lineup-card, .quote-card, .quote-panel, .faq-item, .area-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.service-visual { position: relative; }
.service-visual img, .lineup-card img, .mosaic-item img, .why-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-card { overflow: hidden; }
.service-visual img { border-radius: 20px 20px 0 0; }
.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.service-badge--gold { background: #F3E4C4; }
.service-badge--jade { background: #E4F0EB; color: var(--jade); }
.service-body, .lineup-card { padding: 1rem 1rem 1.15rem; }
.lineup-card { padding: 0 0 1rem; overflow: hidden; cursor: pointer; text-align: left; }
.lineup-card img { border-radius: 20px 20px 0 0; }
.lineup-card h3, .lineup-card p, .lineup-meta { padding-left: 1rem; padding-right: 1rem; }
.service-tag, .lineup-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.service-body h3, .lineup-card h3 { font-size: 1.8rem; margin: 0.25rem 0 0.4rem; }
.service-body p, .lineup-card p { color: var(--muted); font-size: 0.95rem; }
.lineup-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.lineup-meta strong { font-size: 0.92rem; }
.spec-rail { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.9rem 0; }
.spec-rail span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.78rem;
}
.lineup-card.hidden { display: none; }
.lineup-card:hover, .area-card:hover, .service-card:hover { transform: translateY(-2px); transition: transform 160ms ease; }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.1rem; }
.filter-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.filter-tab.active { background: var(--ink); color: #F6F1E8; border-color: var(--ink); }

/* STEPS */
.step-card {
  padding: 1.2rem;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.step-no {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold);
}
.step-card h3 { font-size: 1.7rem; margin-bottom: 0.35rem; }
.step-card p { color: var(--muted); }

/* WHY */
.why-us { padding: 1rem 0 4rem; }
.why-split { display: grid; gap: 1.5rem; align-items: center; }
.why-visual { position: relative; }
.why-visual img { border-radius: 24px; aspect-ratio: 5 / 4; }
.why-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 252, 248, 0.94);
}
.why-chip strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; }
.why-chip span { color: var(--muted); font-size: 0.82rem; }
.why-grid { display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.why-item h4 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* AREAS */
.area-card {
  padding: 1rem 1.05rem 1.1rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.area-card span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.area-card strong {
  display: block;
  margin: 0.25rem 0 0.3rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}
.area-card p { color: var(--muted); font-size: 0.92rem; }
.area-card--note { background: #F7F1E4; }

/* GALLERY */
.mosaic { display: grid; gap: 0.7rem; }
.mosaic-item { position: relative; margin: 0; overflow: hidden; border-radius: 18px; }
.mosaic-item img { aspect-ratio: 4 / 3; }
.mosaic-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.9);
  font-size: 0.78rem;
}

/* REVIEWS */
.quote-card { padding: 1.2rem 1.2rem 1.1rem; }
.quote-card p { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem; line-height: 1.3; }
.quote-card footer { display: flex; flex-direction: column; margin-top: 1rem; font-size: 0.88rem; }
.quote-card footer span { color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-list { display: grid; gap: 0.6rem; }
.faq-item { padding: 0.2rem 1rem; }
.faq-item summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--gold); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 0.9rem; }

/* CONTACT */
.contact-section { padding: 1rem 0 4.5rem; }
.contact-split { display: grid; gap: 1.2rem; align-items: start; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.row-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.row-icon--wa { background: var(--wa); }
.row-icon--phone { background: var(--jade); }
.row-icon--mail { background: var(--rose); }
.row-title { font-size: 0.78rem; color: var(--muted); }
.row-val { font-weight: 650; overflow-wrap: anywhere; }
.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 0.9rem; }
.qr-card {
  margin: 0;
  padding: 0.6rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.qr-card img { width: 100%; border-radius: 10px; }
.qr-card figcaption { margin-top: 0.4rem; text-align: center; font-size: 0.8rem; color: var(--muted); }
.pledges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.pledges span, .footer-tags span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}
.quote-panel { padding: 1.2rem; box-shadow: var(--shadow); }
.quote-head { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.6rem; }
.quote-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #E6D3B0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
}
.quote-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; }
.quote-sub, .quote-desc, .privacy, .chip-label { color: var(--muted); font-size: 0.92rem; }
.chip-label { margin: 0.9rem 0 0.45rem; }
.product-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
}
.chip.active { background: var(--jade); color: #F6F1E8; border-color: var(--jade); }
.or-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
  margin: 0.8rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.or-line::before, .or-line::after { content: ""; height: 1px; background: var(--line); }
.privacy { margin-top: 0.75rem; }

/* FOOTER */
.footer { background: var(--ink); color: #F4EEE6; padding-top: 2.6rem; }
.footer-grid { display: grid; gap: 1.6rem; }
.footer .logo-brand, .footer .logo-sub { color: #F4EEE6; }
.footer-desc, .footer-note, .footer a { color: rgba(244, 238, 230, 0.78); }
.footer h4 {
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.footer li + li, .footer-link { display: block; margin-top: 0.35rem; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.footer-tags span { border-color: rgba(244, 238, 230, 0.2); color: rgba(244, 238, 230, 0.8); }
.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0 1.2rem;
  border-top: 1px solid rgba(244, 238, 230, 0.12);
  color: rgba(244, 238, 230, 0.62);
  font-size: 0.82rem;
}

/* FLOAT + MOBILE BAR */
.contact-float {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.contact-float.visible { opacity: 1; transform: none; }
.contact-float-toggle {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  background: var(--jade);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.contact-float-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 58px;
  width: 280px;
  padding: 0.9rem;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-float.open .contact-float-panel { display: block; }
.contact-float-head { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.contact-float-qrs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.contact-float-qr { text-align: center; font-size: 0.75rem; color: var(--muted); }
.contact-float-qr img { width: 100%; border-radius: 8px; margin-bottom: 0.25rem; background: white; }
.contact-float-item { display: block; margin-top: 0.55rem; font-size: 0.82rem; }
.contact-float-label { display: block; color: var(--muted); font-size: 0.72rem; }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 32;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 252, 248, 0.96);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
}
.mobile-bar a:first-child { background: var(--wa); color: white; }
.mobile-bar a:nth-child(2),
.mobile-bar a:nth-child(3) { background: var(--bg-deep); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 2rem 0; }
  .service-grid, .lineup-grid, .step-grid { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr 1fr; }
  .mosaic-item--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr; }
}

@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger, .mobile-bar { display: none; }
  .contact-float { display: block; }
  .hero { padding: 2.5rem 0 4rem; }
  .hero-split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .stage-frame--stack, .stage-float { display: block; }
  .stage-frame--main { height: 620px; }
  .lineup-grid { grid-template-columns: 1fr 1fr 1fr; }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .why-split, .contact-split { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
  .quote-panel { position: sticky; top: 92px; }
  .step-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
