/* Tĩnh An Wellness — hệ thống giao diện trang khách hàng
   Màu lấy theo site gốc: nâu đồng var(--brown), xanh ô-liu var(--olive), kem var(--cream), be var(--beige) */
/* Token màu/chữ/khoảng cách nằm ở static/css/tokens.css (gói Design System) — file này chỉ dựng giao diện. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: var(--body-weight); color: var(--ink); background: var(--surface-page); line-height: var(--body-leading); font-size: var(--body-size); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-dark); text-decoration: none; }
a:hover { color: var(--brown); }
h1, h2, h3, h4, .h-serif { font-family: var(--serif); font-weight: var(--heading-weight); line-height: var(--heading-leading); margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - var(--gutter)); margin: 0 auto; }
.wrap.narrow { max-width: var(--wrap-narrow); }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: var(--eyebrow-tracking); font-size: var(--eyebrow-size); font-weight: var(--eyebrow-weight); color: var(--text-accent); margin-bottom: .8em; }
.eyebrow a { color: inherit; }
.section { padding: var(--section-y) 0; }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); }

/* buttons */
.btn { display: inline-block; background: var(--brown); color: #fff; padding: .8rem 1.7rem; border: 1px solid var(--brown); border-radius: var(--radius); font-family: var(--sans); font-weight: 500; letter-spacing: var(--btn-tracking); text-transform: uppercase; font-size: var(--btn-size); cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease); line-height: 1.4; }
.btn:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: #fff; }
.btn-small { padding: .45rem 1rem; font-size: .7rem; }
.btn-big { padding: 1rem 2.4rem; font-size: .9rem; }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.link { font-weight: 500; letter-spacing: .04em; font-size: .9rem; }
.actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }
.actions.center { justify-content: center; }
.chip { display: inline-block; border: var(--border); border-radius: var(--radius-pill); padding: .1rem .7rem; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.badge { position: absolute; top: 1rem; left: 1rem; background: var(--olive); color: #fff; font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; padding: .35rem .8rem; }

/* topbar + header */
.topbar { background: var(--olive); color: #e8e6da; font-size: .8rem; }
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 38px; }
.topbar a { color: #fff; }
.topbar-hours { margin-left: auto; opacity: .85; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { color: var(--ink); font-weight: 400; letter-spacing: .04em; font-size: .95rem; padding: .3rem 0; border-bottom: 1px solid transparent; }
.nav a.active, .nav a:hover { color: var(--brown); border-bottom-color: var(--brown); }
.nav a.btn { color: #fff; border-bottom: 1px solid var(--brown); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,22,18,.72) 0%, rgba(30,22,18,.35) 55%, rgba(30,22,18,.1) 100%); }
.hero-inner { position: relative; padding: 5rem 0; max-width: 640px; }
.hero .eyebrow { color: var(--sand-ink); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; }
.hero-sub { font-size: 1.1rem; color: var(--cream-ink); max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* intro */
.intro { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.intro-img img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-facts { display: grid; gap: .9rem; margin: 1.6rem 0 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.intro-facts dt { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding-top: .15rem; }
.intro-facts dd { margin: 0; font-weight: 400; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-bottom: 3.5rem; }
.cat-card { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; }
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(30,22,18,.75)); transition: .3s; }
.cat-card:hover::before { background: linear-gradient(180deg, rgba(168,123,88,.1) 20%, rgba(30,22,18,.85)); }
.cat-card span { position: relative; color: #fff; font-family: var(--serif); font-size: 1.6rem; padding: 1.4rem 1.6rem; }

/* featured services */
.featured-list { display: grid; gap: 2.5rem; }
.featured { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.featured.flip .featured-img { order: 2; }
.featured-img { position: relative; display: block; min-height: 340px; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-body { padding: 2.4rem 2.6rem; }
.featured-body h3 { font-size: 1.7rem; }
.featured-body h3 small { font-family: var(--sans); font-weight: 300; font-size: .95rem; color: var(--muted); }
.featured-body h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; color: var(--olive); margin-top: 1.2rem; }
.includes { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; }
.includes li { padding-left: 1.3rem; position: relative; font-size: .95rem; }
.includes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--brown); }
.includes.detailed li { font-size: 1rem; margin-bottom: .3rem; }
.includes.detailed span { color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: .6rem 0; }
.price { font-family: var(--serif); font-size: 1.45rem; color: var(--brown-dark); display: inline-flex; flex-direction: column; line-height: 1.15; }
.price small { font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price.member { color: var(--olive); }
.svc-en { margin: -.2rem 0 .2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.svc-section { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.svc-section:first-of-type { margin-top: 1.2rem; }
.service-grid.compact .service-img { aspect-ratio: 3 / 2; }
.price-member { font-size: .85rem; color: var(--olive); background: var(--sand); padding: .15rem .7rem; border-radius: var(--radius-pill); }

/* service grid */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-bar a { padding: .45rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .85rem; color: var(--ink); }
.filter-bar a.active, .filter-bar a:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-img { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-title { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.service-title h3 { font-size: 1.3rem; margin: 0; }
.service-title h3 a { color: var(--ink); }
.service-body p { color: var(--muted); font-size: .95rem; }
.service-body .actions { margin-top: auto; padding-top: .5rem; }

/* page head */
.page-head { background: var(--sand); padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); text-align: center; }
.page-head p:last-child { max-width: 640px; margin: 0 auto; color: var(--muted); }
.page-head h1 { margin-bottom: .4em; }

/* detail */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.detail-img img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.lead { font-size: 1.15rem; }
.fact-list { display: grid; gap: .6rem; margin: 1.5rem 0; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-list div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; }
.fact-list dt { color: var(--muted); }
.fact-list dd { margin: 0; font-weight: 400; }
.pillars { background: var(--sand); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.pillars-grid p { color: var(--muted); }

/* why */
.why { background: var(--sand); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.why-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.why-card img { aspect-ratio: 4/3; object-fit: cover; }
.why-card > div { padding: 1.5rem 1.6rem 1.8rem; }
.why-card .num { font-family: var(--serif); color: var(--brown); font-size: 1rem; letter-spacing: .1em; }
.why-card h3 { font-size: 1.35rem; margin: .3rem 0 .5rem; }
.why-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* testimonials */
.testi-track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.2rem; scrollbar-width: thin; }
.testi { flex: 0 0 min(380px, 85%); scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; }
.testi p { font-family: var(--serif); font-style: italic; font-size: 1.05rem; flex: 1; }
.testi footer { font-size: .9rem; color: var(--muted); }
.testi footer strong { color: var(--ink); font-weight: 500; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; padding: .9rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq-list summary::after { content: "+"; position: absolute; right: .2rem; top: .8rem; color: var(--brown); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--muted); padding-bottom: .8rem; }
.faq-aside { background: var(--olive); color: var(--olive-ink); padding: 2.2rem; border-radius: var(--radius); position: sticky; top: 110px; }
.faq-aside h4 { color: #fff; font-size: 1.5rem; }
.faq-aside .btn { background: var(--cream); color: var(--olive); border-color: var(--cream); margin: .4rem 0 1rem; }
.faq-aside .link { color: #fff; display: block; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.post-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); margin-bottom: .9rem; }
.post-meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brown); margin-bottom: .4rem; }
.post-card h3 { font-size: 1.15rem; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-cover { aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius); margin: 1.5rem 0 2rem; }
.prose { font-size: 1.08rem; }
.prose p { margin-bottom: 1.4em; }

/* booking */
.booking-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.4rem 1.6rem 1.6rem; margin: 0 0 1.4rem; }
.booking-form legend { font-family: var(--serif); font-size: 1.2rem; padding: 0 .6rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: .82rem; letter-spacing: .04em; color: var(--muted); margin-bottom: .35rem; }
.field input, .field textarea, .field select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--cream); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: var(--focus-ring); border-color: var(--brown); }
.segment { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.segment label { flex: 1; text-align: center; padding: .7rem .5rem; cursor: pointer; font-size: .9rem; background: var(--cream); }
.segment { position: relative; }
.segment label:has(input:checked) { background: var(--olive); color: #fff; }
.segment input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.hint { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.slots { margin-top: .6rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.slot { border: 1px solid var(--line); background: var(--cream); padding: .6rem .3rem; border-radius: var(--radius); text-align: center; cursor: pointer; font: inherit; font-size: .92rem; color: var(--ink); }
.slot:hover { border-color: var(--brown); }
.slot.selected { background: var(--brown); border-color: var(--brown); color: #fff; }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-size: .95rem; }
.alert.error { background: var(--bad-soft); color: var(--bad); border: 1px solid var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 28%, var(--white)); }
.alert.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 28%, var(--white)); }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin-bottom: 1.2rem; }
.card-soft h4 { font-size: 1.25rem; }
.summary { list-style: none; margin: 0 0 .8rem; padding: 0; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary li span { color: var(--muted); }
.summary strong { font-weight: 500; text-align: right; }
.ticket { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }

/* newsletter + footer */
.newsletter { background: var(--beige); padding: 3rem 0; }
.newsletter-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.newsletter h3 { font-size: 1.6rem; }
.newsletter p { margin: 0; color: var(--olive); }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 100%; }
.newsletter-form input { min-width: 0; }
.newsletter-form input { flex: 1; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.ok { color: var(--olive); font-weight: 500; }
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.site-footer a { color: var(--cream-ink); }
.site-footer h4 { color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; margin: 0 0 .8rem; }
.site-footer h4 + p + h4 { margin-top: 1.4rem; }
.site-footer p { margin: 0 0 .5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr .8fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 60px; width: auto; margin-bottom: 1rem; filter: brightness(1.35); }
.footer-slogan { font-family: var(--serif); color: #fff; font-size: 1.1rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.3rem; font-size: .82rem; color: var(--footer-dim); }
.footer-bottom a { color: var(--footer-dim); }
.float-cta { display: none; }

@media (max-width: 960px) {
  .intro-grid, .detail-grid, .faq-grid, .contact-grid, .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
  .service-grid, .why-grid, .pillars-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured.flip .featured-img { order: 0; }
  .featured-img { min-height: 260px; }
  .faq-aside { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar-hours { display: none; }
  .topbar .btn { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { text-align: center; margin-top: .8rem; }
  .nav-toggle { display: block; }
  .site-header .wrap { min-height: 72px; }
  .brand img { height: 46px; }
  .hero { min-height: 70vh; }
  .cat-grid, .service-grid, .why-grid, .post-grid, .pillars-grid, .footer-grid, .row { grid-template-columns: 1fr; }
  .featured-body { padding: 1.6rem 1.4rem; }
  .ticket { padding: 1.6rem; }
  .fact-list div, .intro-facts div { grid-template-columns: 1fr; gap: .1rem; }
  .float-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: .6rem 1rem; gap: .6rem; align-items: center; }
  .float-cta a:first-child { font-size: 1.4rem; padding: .3rem .8rem; }
  .float-cta .btn { flex: 1; text-align: center; font: inherit; cursor: pointer; }
  body { padding-bottom: 64px; }
}

/* ---- bản cao cấp: trang chủ gọn, gọi lại, thành viên, tiêu chuẩn, cổng khách ---- */
.topbar-lang { margin-left: 1.2rem; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; opacity: .9; }
.nav-lang { display: none; }
.hero-link { color: var(--cream-ink); font-weight: 400; letter-spacing: .04em; align-self: center; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: .1rem; }
.hero-link:hover { color: #fff; border-bottom-color: #fff; }
.btn-outline { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: #fff; border-color: var(--olive); }
.why-card h3 { margin-top: 0; }

.ritual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.ritual { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.ritual:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.ritual img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ritual-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; gap: .4rem; }
.ritual-body h3 { font-size: 1.25rem; margin: 0; }
.ritual-body p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.ritual-meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: .7rem; margin-top: .4rem; font-size: .88rem; color: var(--muted); }
.ritual-meta .price { font-size: 1.15rem; }

.member-teaser { background: var(--olive); color: var(--olive-ink); }
.member-teaser .eyebrow { color: var(--sand-ink); }
.member-teaser h2 { color: #fff; }
.member-teaser p { color: var(--cream-ink); max-width: 52ch; }
.member-teaser .link { color: #fff; }
.member-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.tier-list li { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
.tier-name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .12em; color: #fff; }
.tier-value { color: var(--sand-ink); font-variant-numeric: tabular-nums; }

.callback { background: var(--sand); border-top: 1px solid var(--line); }
.callback-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.callback-inner p:last-child { margin: 0; color: var(--muted); }
.callback-form { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.callback-form input { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; min-width: 0; }
.callback-form input[type=tel] { grid-column: 1 / -1; }
.callback-form .btn { text-align: center; }
.callback .ok, .newsletter .ok { color: var(--olive); font-weight: 400; }
.member-hint { margin-top: 2rem; }
.hint.center { text-align: center; }

.deposit { display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; align-items: center; margin: 1.8rem 0 .5rem; padding: 1.4rem; background: var(--sand); border-radius: var(--radius); }
.deposit-qr svg { width: 100%; height: auto; display: block; background: #fff; border-radius: var(--radius); }
.deposit-text h3 { font-size: 1.3rem; margin: 0 0 .4rem; }
.deposit-text p { color: var(--muted); font-size: .95rem; }
.fact-list.compact { margin: .6rem 0 0; padding: .6rem 0 0; border-bottom: 0; gap: .35rem; }
.fact-list.compact div { grid-template-columns: 110px 1fr; }
.deposit code { background: #fff; padding: .15rem .5rem; border-radius: var(--radius); font-size: .95rem; }

.mem-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; align-items: start; }
.benefit-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.benefit-list li { padding-left: 1.6rem; position: relative; font-size: 1.02rem; }
.benefit-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--brown); }
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
.tier-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.tier-card.top { border-color: var(--brown); }
.tier-card h3 { font-size: 1.6rem; letter-spacing: .12em; margin: 0; }
.tier-price { font-family: var(--serif); color: var(--brown-dark); font-size: 1.3rem; margin: .2rem 0 .4rem; }
.tier-line { color: var(--muted); font-size: .93rem; min-height: 2.6em; }
.tier-card h5 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); margin: .8rem 0 .4rem; font-weight: 500; }
.tier-card .includes { margin: 0; }


.portal-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.portal-grid h2 { font-size: 1.5rem; margin: 0 0 .8rem; }
.portal-grid h2 + h2, .card-list + h2 { margin-top: 2rem; }
.card-list, .visit-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.card-list li, .visit-list li { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 1rem; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.card-list li strong, .visit-list li strong { font-weight: 500; }
.card-list li small, .visit-list li small { color: var(--muted); font-size: .8rem; }
.visit-list.small li { grid-template-columns: auto 1fr; padding: .5rem 0; border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; background: transparent; }

@media (max-width: 960px) {
  .ritual-grid { grid-template-columns: 1fr 1fr; }
  .member-inner, .callback-inner, .mem-grid, .portal-grid, .callback-card { grid-template-columns: 1fr; gap: 1.6rem; }
  .deposit { grid-template-columns: 160px 1fr; }
}
@media (max-width: 720px) {
  .ritual-grid, .tier-grid, .service-picker.packages { grid-template-columns: 1fr; }
  .topbar-lang { margin-left: auto; }
  .topbar-hours { display: none; }
  .nav-lang { display: block; }
  .deposit { grid-template-columns: 1fr; }
  .deposit-qr { max-width: 220px; margin: 0 auto; }
  .callback-form { grid-template-columns: 1fr; }
  .card-list li, .visit-list li { grid-template-columns: 1fr; gap: .2rem; }
 
}

/* ---- thẻ thành viên: ảnh thẻ thật, thẻ số của khách ---- */
.mem-hero { padding-bottom: 2rem; }
.mem-set { width: 100%; max-width: 900px; margin: 0 auto; border-radius: var(--radius-admin-sm); box-shadow: var(--shadow); }
.card-art { width: 100%; height: auto; border-radius: var(--radius-card-art); margin: -.3rem 0 .9rem; box-shadow: 0 12px 28px rgba(42,37,33,.18); }
.tier-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tier-thumb { display: block; color: #fff; }
.tier-thumb img { width: 100%; height: auto; border-radius: var(--radius-admin-sm); box-shadow: 0 10px 24px rgba(0,0,0,.28); transition: transform .25s ease; }
.tier-thumb:hover img { transform: translateY(-3px); }
.tier-thumb span { display: flex; justify-content: space-between; margin-top: .45rem; font-size: .85rem; color: var(--sand-ink); }
.tier-thumb span b { font-family: var(--serif); letter-spacing: .12em; color: #fff; font-weight: 500; }
.dc-wrap { width: min(100%, 560px); margin: 0 auto; border-radius: var(--radius-admin); overflow: hidden; box-shadow: 0 18px 40px rgba(42,37,33,.28); background: #fff; }
.digital-card { position: relative; aspect-ratio: 1.55; background-size: cover; background-position: center; }
.digital-card.plain { background: linear-gradient(135deg, var(--sand), var(--beige)); }
.dc-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 38%; }
.dc-plain-label { position: absolute; right: 6%; bottom: 8%; font-family: var(--serif); letter-spacing: .3em; font-size: .8rem; color: var(--brown-dark); }
.dc-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; background: var(--sand); color: var(--ink); }
.dc-holder { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.dc-name { font-family: var(--serif); font-size: clamp(1rem, 3.4vw, 1.25rem); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-code { font-size: .72rem; letter-spacing: .16em; opacity: .85; font-variant-numeric: tabular-nums; }
.dc-barcode { flex: 0 0 34%; background: #fff; border-radius: var(--radius-admin-sm); padding: .3rem .45rem; }
.dc-barcode svg { width: 100%; height: auto; display: block; }
.dc-hint { margin: .9rem 0 0; }
@media (max-width: 720px) { .tier-cards { grid-template-columns: 1fr 1fr; gap: .7rem; } .tier-thumb span { font-size: .78rem; } }

/* ---- đặt lịch: hai cột, giờ tự nhập, chọn phòng ---- */
body.embed { background: var(--sand); }
body.embed .apt-section { padding: 1rem 0; }
.apt-section { background: var(--sand); }
.apt-wrap { max-width: var(--wrap-apt); }
.apt-head { text-align: center; margin-bottom: 1.8rem; }
.apt-logo { margin: 0 auto .6rem; height: 56px; width: auto; }
.apt-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 .3rem; }
.apt-head p { color: var(--muted); margin: 0; }
.apt-cols { display: grid; grid-template-columns: 1fr 340px; gap: 1.6rem; align-items: start; }
.apt-main { display: grid; gap: 1.2rem; min-width: 0; }
.apt-cols > *, .apt-main > * { min-width: 0; }
.apt-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-admin); padding: 1.4rem 1.6rem 1.5rem; }
.apt-step-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; flex-wrap: wrap; }
.apt-step-head h2 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin: 0; }
.apt-num { width: 30px; height: 30px; border-radius: 50%; background: var(--olive); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1rem; }
.apt-lead { color: var(--muted); margin: -.4rem 0 .9rem; font-size: .93rem; }
.apt-picked { margin-left: auto; font-size: .8rem; color: var(--olive); }
/* mỗi liệu trình ghi số suất */
.apt-guests { margin: -.3rem 0 .9rem; padding: .6rem .8rem; background: var(--sand); border-radius: var(--radius-card-art); font-size: .9rem; color: var(--muted); }
.apt-qty { display: inline-flex; align-items: center; gap: .4rem; margin-top: .45rem; }
.aq-b { width: 34px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-admin-sm); font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ink); }
.aq-n { min-width: 1.5rem; text-align: center; }
.apt-qty small { color: var(--muted); font-size: .8rem; }
.apt-qty:not(.on) .aq-n { color: var(--muted); }
.apt-qty.on .aq-n { font-weight: 700; }
.svc-row .apt-qty { grid-column: 2 / -1; margin: 0; }
.apt-split { display: block; margin-top: .4rem; color: var(--muted); font-size: .82rem; }
[hidden] { display: none !important; }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--brown-dark); text-decoration: underline; cursor: pointer; }
.apt-form .field > span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .3rem; letter-spacing: .02em; }
.apt-form .field input[type=text], .apt-form .field input[type=tel], .apt-form .field input[type=date], .apt-form .field input[type=time], .apt-form .field textarea, .apt-form .field select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-admin-sm); font: inherit; background: var(--cream); }
.apt-form .field input:focus, .apt-form .field textarea:focus { outline: none; border-color: var(--olive); background: #fff; box-shadow: var(--focus-ring-olive); }
.apt-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: .9rem; }
.apt-form .field { margin: 0; }
.time-in { font-family: var(--serif); font-size: 1.35rem !important; letter-spacing: .04em; }
.quick-times { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: -.3rem 0 1rem; font-size: .82rem; color: var(--muted); }
.qt { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-pill); padding: .3rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; color: var(--ink); }
.qt:hover { border-color: var(--olive); color: var(--olive); }
.apt-avail { margin-left: auto; font-size: .82rem; padding: .25rem .75rem; border-radius: var(--radius-pill); border: 1px solid transparent; }
.apt-avail.wait { background: var(--sand); color: var(--muted); }
.apt-avail.ok { background: #eaf2e7; color: #3f6b3a; border-color: #cfe0c8; }
.apt-avail.no { background: #fbeceb; color: #8a2f27; border-color: #f1c9c5; }
.stepper { display: flex; border: 1px solid var(--line); border-radius: var(--radius-admin-sm); overflow: hidden; background: var(--cream); }
.stepper button { width: 46px; border: 0; background: var(--sand); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--beige); }
.stepper input { flex: 1; border: 0; text-align: center; font: inherit; font-size: 1.05rem; padding: .75rem .3rem; width: 3rem; background: transparent; }
.segment { border-radius: var(--radius-admin-sm); }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .55rem; }
.room-card { position: relative; cursor: pointer; }
.room-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.room-body { display: flex; flex-direction: column; gap: .1rem; min-height: 72px; padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: var(--radius-card-art); background: var(--cream); transition: border-color .15s, background .15s; }
.room-body b { font-family: var(--serif); font-weight: 500; font-size: 1rem; }
.room-body small { font-size: .72rem; color: var(--muted); line-height: 1.25; }
.room-body em { font-style: normal; font-size: .72rem; color: #8a2f27; margin-top: auto; }
.room-card:hover .room-body { border-color: var(--olive); }
.room-card input:checked + .room-body { border-color: var(--olive); background: #f3f5ee; box-shadow: 0 0 0 2px var(--olive) inset; }
.room-card.off .room-body { opacity: .55; background: var(--sand); cursor: not-allowed; }
.room-card.any .room-body { border-style: dashed; }
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pkg-card { position: relative; cursor: pointer; }
.pkg-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pkg-body { position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: var(--radius-admin); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; height: 100%; }
.pkg-body img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pkg-text { display: flex; flex-direction: column; gap: .2rem; padding: .8rem .9rem .9rem; }
.pkg-text b { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; line-height: 1.2; padding-right: 1.6rem; }
.pkg-text small { font-size: .8rem; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pkg-text em { font-style: normal; font-size: .85rem; color: var(--brown-dark); font-weight: 500; margin-top: .15rem; }
.pkg-check { position: absolute; top: .6rem; right: .6rem; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(255,255,255,.85); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.pkg-check::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .85rem; color: #fff; opacity: 0; font-style: normal; }
.pkg-card:hover .pkg-body { border-color: var(--olive); transform: translateY(-2px); }
.pkg-card input:checked + .pkg-body { border-color: var(--olive); box-shadow: 0 0 0 2px var(--olive) inset; }
.pkg-card input:checked + .pkg-body .pkg-check { background: var(--olive); border-color: var(--olive); }
.pkg-card input:checked + .pkg-body .pkg-check::after { opacity: 1; }
.pkg-card input:focus-visible + .pkg-body { outline: var(--focus-ring); outline-offset: 2px; border-color: var(--brown); }
.svc-more { margin-top: 1rem; }
.svc-more summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 1px dashed var(--line); border-radius: var(--radius-card-art); color: var(--ink); font-weight: 400; }
.svc-more summary::-webkit-details-marker { display: none; }
.svc-more summary::before { content: "+"; color: var(--brown); font-size: 1.1rem; }
.svc-more[open] summary::before { content: "−"; }
.svc-more summary small { margin-left: auto; color: var(--muted); font-size: .8rem; }
.svc-list { border: 1px solid var(--line); border-radius: var(--radius-card-art); background: #fff; overflow: hidden; margin-top: .6rem; }
.svc-row { display: grid; grid-template-columns: 22px 1fr auto auto; gap: .8rem; align-items: center; padding: .65rem .9rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.svc-row:last-child { border-bottom: 0; }
.svc-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc-row i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c9c2b4; background: #fff; display: inline-block; position: relative; }
.svc-row i::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-style: normal; color: #fff; opacity: 0; }
.svc-row:hover { background: var(--cream); }
.svc-row input:checked ~ i { background: var(--olive); border-color: var(--olive); }
.svc-row input:checked ~ i::after { opacity: 1; }
.svc-row input:checked ~ .svc-name { color: var(--olive); }
.svc-name { display: flex; flex-direction: column; line-height: 1.2; }
.svc-name small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .1rem; }
.svc-meta { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.svc-price { font-family: var(--serif); color: var(--brown-dark); white-space: nowrap; min-width: 6.5rem; text-align: right; }
.apt-side { position: sticky; top: 90px; }
body.embed .apt-side { top: 1rem; }
.apt-summary { background: var(--olive); color: #eef0e6; border-radius: var(--radius-admin); padding: 1.4rem 1.5rem 1.3rem; }
.apt-summary h3 { color: #fff; margin: 0 0 .8rem; font-size: 1.35rem; }
.apt-summary dl { margin: 0 0 1rem; }
.apt-summary dl div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .92rem; }
.apt-summary dt { color: #c9ccb8; }
.apt-summary dd { margin: 0; color: #fff; }
.apt-summary .total { border-bottom: 0; padding-top: .8rem; }
.apt-summary .total dd { display: flex; flex-direction: column; }
.apt-summary .total strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: #fff; }
.apt-summary .total small { color: #c9ccb8; font-size: .8rem; }
.apt-summary .apt-submit { width: 100%; text-align: center; background: var(--cream); color: var(--ink); border-color: var(--cream); }
.apt-summary .apt-submit:hover { background: #fff; border-color: #fff; color: var(--ink); }
.apt-summary .hint { color: #c9ccb8; margin: .7rem 0 0; font-size: .8rem; }
.apt-alt { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.14); }
.apt-alt-text { color: #e4e6d6; font-size: .88rem; margin: 0 0 .5rem; }
.apt-callback-row { display: flex; gap: .4rem; }
.apt-callback-row input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-admin-sm); background: rgba(255,255,255,.1); color: #fff; font: inherit; }
.apt-callback-row input::placeholder { color: #c9ccb8; }
.apt-callback-row .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); padding: .6rem .9rem; white-space: nowrap; }
.apt-callback-row .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.apt-links { margin: .6rem 0 0; font-size: .85rem; }
.apt-links a { color: #fff; }
.apt-alt .ok { color: #fff; }
.apt-done .apt-check { width: 56px; height: 56px; border-radius: 50%; background: var(--olive); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: .2rem auto .8rem; }
.apt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-admin); padding: clamp(1.2rem, 4vw, 2.4rem); box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.apt-facts { margin: .5rem 0 1.2rem; }
@media (max-width: 960px) {
  .apt-cols { grid-template-columns: 1fr; }
  .apt-side { position: static; }
}
@media (max-width: 720px) {
  .apt-step { padding: 1.1rem 1rem 1.2rem; border-radius: var(--radius-card-art); }
  .apt-form .row { grid-template-columns: 1fr; gap: .8rem; }
  .pkg-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 22px 1fr auto; }
  .svc-meta { display: none; }
  .room-grid { grid-template-columns: 1fr 1fr; }
}
.check-line { display: flex; gap: .6rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-admin-sm); padding: .7rem .9rem; background: #fff; margin-bottom: .9rem; cursor: pointer; }
.check-line input { margin-top: .25rem; accent-color: var(--brown); width: 18px; height: 18px; flex: 0 0 auto; }
.check-line span { display: flex; flex-direction: column; line-height: 1.35; }
.check-line b { font-weight: 500; font-size: .95rem; }
.check-line small { color: var(--muted); font-size: .82rem; }
.check-line:has(input:checked) { border-color: var(--brown); background: var(--check-soft); }
.card-claim-note { border: 1px solid var(--line); border-left: 3px solid var(--olive); background: var(--sand); border-radius: var(--radius-admin-sm); padding: 1.1rem 1.3rem; margin: 1.2rem 0; }
.card-claim-note h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.card-claim-note p { margin: 0; color: var(--muted); }
.rules .rule-block { border-top: 1px solid var(--line); padding: 1.1rem 0 .4rem; }
.rules .rule-block h3 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 .5rem; }
.rules .rule-block ul { margin: 0; padding-left: 1.2rem; }
.rules .rule-block li { margin: .3rem 0; line-height: 1.55; }
.rules .rule-note { margin-top: 1.2rem; padding: .9rem 1.1rem; background: var(--sand); border-radius: var(--radius-admin-sm); color: var(--muted); font-size: .92rem; }
.apt-more { border: 1px dashed var(--line); border-radius: var(--radius-card-art); padding: 0 1rem; margin-top: .4rem; }
.apt-more > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: .6rem; padding: .8rem 0; }
.apt-more > summary::-webkit-details-marker { display: none; }
.apt-more > summary::before { content: "+"; color: var(--brown); font-weight: 500; }
.apt-more[open] > summary::before { content: "–"; }
.apt-more > summary span { font-weight: 500; }
.apt-more > summary small { color: var(--muted); }
.apt-more[open] > summary { border-bottom: 1px dashed var(--line); margin-bottom: .9rem; }
.apt-more .field:last-child { margin-bottom: 1rem; }

/* Trang đặt lịch: giá niêm yết gạch ngang, giá thành viên nổi bật */
.pkg-text em s, .svc-price s { color: var(--muted); font-weight: 400; margin-right: .3rem; }
.pkg-text em b.mem, .svc-price b.mem { color: var(--olive); }
.svc-price { white-space: normal; }   /* hai giá: màn hình hẹp cho xuống dòng thay vì tràn */
