:root {
  --ink: #2b1d3a;
  --muted: #6d6079;
  --bg: #fbf8f4;
  --card: #ffffff;
  --amethyst: #5b3a8c;
  --amethyst-dark: #3f2763;
  --rose: #c98aa6;
  --gold: #b8935a;
  --line: #e9e1ee;
  --busy: #e7e4ea;
  --ok: #2e7d5b;
  --err: #b3261e;
  --radius: 16px;
  font-family: 'Noto Sans Thai', 'Prompt', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6; }
a { color: var(--amethyst); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: 'Cormorant Garamond', 'Noto Serif Thai', serif; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 244, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { font-size: 1.5rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--amethyst-dark); }
nav a { margin-left: 18px; text-decoration: none; color: var(--ink); font-size: .95rem; }
nav a.btn { color: #fff; }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; cursor: pointer; font: inherit; margin-left: 14px; }
@media (max-width: 720px) { nav a:not(.btn) { display: none; } }

.btn { display: inline-block; background: var(--amethyst); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--amethyst-dark); }
.btn.ghost { background: transparent; color: var(--amethyst); border: 1.5px solid var(--amethyst); }
.btn.small { padding: 6px 14px; font-size: .9rem; }
.btn.line { background: #06c755; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.hero { padding: 72px 0 56px; background: radial-gradient(1200px 400px at 80% -10%, #efe4f7 0%, transparent 60%), radial-gradient(800px 360px at 0% 10%, #f7e7ee 0%, transparent 60%); }
.hero .kicker { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; font-weight: 600; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; margin: 12px 0 16px; white-space: pre-line; color: var(--amethyst-dark); }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.gems { display: flex; gap: 10px; margin-top: 36px; }
.gems span { width: 18px; height: 18px; transform: rotate(45deg); border-radius: 3px; display: inline-block; }

section { padding: 56px 0; }
section h2 { font-size: 1.9rem; margin: 0 0 24px; color: var(--amethyst-dark); }
.grid { display: grid; gap: 18px; }
.grid.how { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid.pk { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; }
.card .num { color: var(--gold); font-weight: 700; font-size: 1.4rem; }
.pkg .price { font-size: 1.8rem; font-weight: 700; color: var(--amethyst); margin: 8px 0; }
.pkg .meta { color: var(--muted); font-size: .95rem; }
.pkg.vip { border: 2px solid var(--gold); }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }

/* Booking app */
.steps { display: flex; gap: 8px; margin: 28px 0; flex-wrap: wrap; }
.steps li { list-style: none; padding: 6px 14px; border-radius: 999px; background: var(--busy); color: var(--muted); font-size: .9rem; }
.steps li.on { background: var(--amethyst); color: #fff; }
.steps { padding: 0; }
.panel { display: none; }
.panel.on { display: block; }
form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
label { display: block; font-size: .9rem; color: var(--muted); margin: 12px 0 4px; }
input, select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.hint { font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; }
.check input { width: auto; margin-top: 5px; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.choice button, .days button, .times button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; font: inherit; cursor: pointer; text-align: left; }
.choice button.sel, .days button.sel, .times button.sel { border-color: var(--amethyst); background: #f3edf9; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days .dow { text-align: center; font-size: .8rem; color: var(--muted); }
.days button { text-align: center; padding: 8px 0; }
.days button:disabled { background: var(--busy); color: #aaa; cursor: not-allowed; border-color: var(--busy); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.times button { text-align: center; }
.qr { display: flex; justify-content: center; margin: 18px 0; }
.qr img, .qr svg { width: 240px; height: 240px; }
.msg { padding: 12px 14px; border-radius: 10px; margin: 14px 0; display: none; }
.msg.err { display: block; background: #fdecea; color: var(--err); }
.msg.ok { display: block; background: #e8f5ee; color: var(--ok); }
table.list { width: 100%; border-collapse: collapse; }
table.list td, table.list th { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; }
.badge { padding: 2px 10px; border-radius: 999px; font-size: .8rem; background: var(--busy); white-space: nowrap; }
.badge.ok { background: #e8f5ee; color: var(--ok); }
.profile-chip { display: flex; align-items: center; gap: 10px; }
.profile-chip img { width: 36px; height: 36px; border-radius: 50%; }
.prose { max-width: 720px; }
