:root {
  --paper: #f7f2ea;
  --cream: #efe6d8;
  --white: #fffdf9;
  --ink: #2f2924;
  --muted: #65584d;
  --wood: #6e4f35;
  --wood-d: #5a3f29;
  --sage: #8c9c82;
  --sage-bg: #e4e8dc;
  --sage-d: #4c5d45;
  --line: #e2d7c6;
  --r: 18px;
  --wrap: 1180px;
  --gut: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 'Anuphan', 'Noto Sans Thai', system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.42; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
.ico { width: 20px; height: 20px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--sage-d); margin-bottom: 8px; }

/* ปุ่ม */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font: 600 16px/1.4 inherit; font-family: inherit; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--wood); color: #fff; }
.btn--ghost { border-color: var(--wood); color: var(--wood); background: transparent; }
.btn--sm { min-height: 44px; padding: 6px 16px; font-size: 15px; }
.btn--lg { min-height: 52px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--wood-d); }
  .btn--ghost:hover { background: rgba(110, 79, 53, .07); }
}

/* แถบบน */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 242, 234, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 215, 198, .7);
}
.topbar__in { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; min-height: 44px; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__logo { width: 44px; height: auto; aspect-ratio: 542 / 440; }
.brand__name { font-weight: 600; font-size: 18px; color: #5f514b; }
.nav { display: none; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }

/* แบนเนอร์ */
.hero { position: relative; background: var(--paper); }
.hero__media { position: relative; height: 68vh; height: 68svh; min-height: 420px; overflow: hidden; background: var(--cream); }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%);
  opacity: 0; transition: opacity 1s var(--ease);
}
.hero__img.is-on { opacity: 1; }
.hero__media::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, rgba(47, 41, 36, .35), transparent); pointer-events: none;
}
.hero__ctrl { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.hero__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 253, 249, .85); color: var(--ink); cursor: pointer;
}
.hero__dots { display: flex; gap: 0; }
.hero__dots button { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.hero__dots button::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .6); transition: width .3s var(--ease), background-color .3s; }
.hero__dots button[aria-selected="true"]::before { width: 20px; background: #fff; }
.hero__copy { padding: 28px var(--gut) 40px; max-width: 640px; }
.hero__title { font-size: clamp(32px, 9vw, 40px); font-weight: 700; color: var(--ink); margin: 2px 0 14px; line-height: 1.42; }
.hero__lead { color: var(--muted); font-size: 17px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__cta .btn { flex: 1 1 180px; }
.hero__meta { display: flex; align-items: center; gap: 8px; color: var(--sage-d); font-weight: 500; margin-top: 18px; font-size: 16px; }
.hero__en { margin-top: 6px; font-size: 14px; letter-spacing: .12em; color: #8a7a6c; }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: min(86vh, 820px); }
  .hero__media { order: 2; height: auto; min-height: 560px; }
  .hero__copy { order: 1; align-self: center; padding: 64px 48px 64px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); max-width: none; }
  .hero__title { font-size: clamp(48px, 4.6vw, 64px); }
  .hero__lead { font-size: 18px; max-width: 30em; }
  .hero__cta .btn { flex: 0 0 auto; }
}

/* ส่วนทั่วไป */
.sec { padding: 64px 0; }
.sec--tight { padding: 8px 0 48px; }
.sec--cream { background: var(--cream); }
.sec--sage { background: var(--sage-bg); }
.sec__head { margin-bottom: 28px; max-width: 640px; }
.sec__head h2, .about__copy h2, .promo__copy h2, .contact__info h2 { font-size: clamp(26px, 7vw, 30px); }
.sec__lead { color: var(--muted); margin-top: 10px; }
@media (min-width: 768px) {
  .sec { padding: 96px 0; }
  .sec--tight { padding: 56px 0 64px; }
  .sec__head h2, .about__copy h2, .promo__copy h2, .contact__info h2 { font-size: clamp(32px, 3.4vw, 44px); }
}

/* จุดเด่น */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feat { background: var(--white); border-radius: var(--r); padding: 18px 16px; }
.feat__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-bg); color: var(--sage-d); display: grid; place-items: center; margin-bottom: 12px; }
.feat__ico .ico { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; margin-bottom: 4px; }
.feat p { font-size: 15px; color: var(--muted); line-height: 1.6; }
@media (min-width: 480px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .feat { padding: 24px 22px; } }

/* ราคา */
.menu { display: grid; gap: 16px; }
.menu__group { background: var(--white); border-radius: var(--r); padding: 22px 18px; }
.menu__group h3 { font-size: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--wood); }
.price li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price li:last-child { border-bottom: 0; }
.price__name { font-weight: 500; font-size: 16px; line-height: 1.5; }
.price__name small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 2px; }
.price__val { font-weight: 700; color: var(--wood); white-space: nowrap; text-align: right; font-size: 17px; line-height: 1.4; }
.price__val small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.price__ask { font-weight: 500; font-size: 15px; color: var(--sage-d); }
.menu__note { font-size: 14px; color: var(--muted); margin-top: 6px; }
.menu__cta { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--sage-bg); }
.menu__cta p { font-size: 15px; margin-bottom: 12px; color: var(--sage-d); }
.menu__cta .btn { width: 100%; }
@media (min-width: 1024px) {
  .menu { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .menu__group { padding: 26px 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) { .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* Wellness cards — รูปโปสเตอร์สัดส่วนเดิม ไม่ครอป */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; }
.card__img { display: block; border-radius: 14px; overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 1076 / 1522; transition: transform .4s var(--ease); }
.card__body { padding: 12px 2px 0; }
.card h3 { font-size: 16px; line-height: 1.45; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.card .card__price { font-size: 17px; font-weight: 700; color: var(--wood); margin-top: 8px; }
.card__price small { font-weight: 400; color: var(--muted); font-size: 14px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .card h3 { font-size: 18px; } .card p { font-size: 15px; } }
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform .2s var(--ease); }
  .card:hover { transform: translateY(-3px); }
}

/* โปรโมชั่น */
.promo { display: grid; gap: 24px; align-items: center; }
.promo__img { display: block; border-radius: var(--r); overflow: hidden; max-width: 460px; }
.promo__img img { width: 100%; aspect-ratio: 1144 / 1430; }
.promo__copy > p:not(.eyebrow) { color: var(--muted); margin: 12px 0 18px; }
.promo__list { display: grid; gap: 10px; margin-bottom: 22px; }
.promo__list li { background: var(--white); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.promo__list strong { color: var(--wood); }
.promo__list span { color: var(--muted); font-size: 15px; }
@media (min-width: 768px) { .promo { grid-template-columns: 5fr 6fr; gap: 56px; } }

/* เกี่ยวกับ */
.about { display: grid; gap: 24px; align-items: center; }
.about__img { margin: 0; border-radius: var(--r); overflow: hidden; }
.about__img img { width: 100%; aspect-ratio: 681 / 593; }
.about__copy p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
@media (min-width: 768px) { .about { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* แกลเลอรี masonry — สัดส่วนเดิมทุกรูป */
.masonry { columns: 2; column-gap: 10px; }
.m-item { display: block; break-inside: avoid; margin-bottom: 10px; border-radius: 12px; overflow: hidden; }
.m-item img { width: 100%; transition: transform .4s var(--ease); }
@media (min-width: 480px) { .masonry { columns: 3; } }
@media (min-width: 1024px) { .masonry { columns: 4; column-gap: 16px; } .m-item { margin-bottom: 16px; } }
@media (hover: hover) and (pointer: fine) { .m-item:hover img, .card__img:hover img { transform: scale(1.03); } }
.gal__more { margin-top: 24px; text-align: center; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--wood); font-weight: 600; text-underline-offset: 4px; min-height: 44px; }

/* รีวิว */
.reviews { display: grid; gap: 12px; }
.review { background: var(--white); border-radius: var(--r); padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.review p { font-size: 16px; }
.review__by { font-size: 14px; color: var(--muted); margin-top: auto; }
.stars { display: flex; gap: 2px; color: #b98a4e; }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; font-weight: 600; font-size: 16px; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--wood); transition: transform .25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); font-size: 16px; }

/* ติดต่อ */
.contact { display: grid; gap: 28px; }
.contact__list { display: grid; gap: 14px; margin: 20px 0 24px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; }
.contact__list .ico { color: var(--sage-d); margin-top: 4px; }
.contact__list a { color: var(--wood); font-weight: 600; display: inline-block; padding: 10px 0; margin: -10px 0; }
.contact__btns { display: grid; gap: 10px; }
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.social__a {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-radius: 14px;
  background: var(--white); text-decoration: none; font-weight: 500; font-size: 15px;
}
.social__a svg { width: 22px; height: 22px; flex: none; }
.social__a--fb svg { color: #0866ff; }
.social__a--ig svg { color: #e4405f; }
.social__a--tt svg { color: #000; }
.social__a--line svg { color: #06c755; }
.contact__map { border-radius: var(--r); overflow: hidden; min-height: 320px; background: var(--cream); }
.contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
  .contact__btns { grid-template-columns: 1fr 1fr; }
  .contact__btns .btn:last-child { grid-column: 1 / -1; }
  .social { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ท้ายหน้า */
.footer { background: #3a312a; color: #e9dfd2; padding: 40px 0 112px; font-size: 15px; }
.footer__in { display: grid; gap: 14px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 52px; height: 52px; background: var(--paper); border-radius: 50%; padding: 6px; object-fit: contain; }
.footer__name { font-weight: 600; font-size: 18px; color: #fff; }
.footer__name span { font-weight: 400; font-size: 14px; color: #cbbfb1; margin-left: 6px; }
.footer a { color: #fff; display: inline-block; padding: 12px 0; margin: -12px 0; }
.footer__copy { color: #b9ab9b; font-size: 14px; }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }

/* ปุ่มลอยล่างจอ (มือถือ) */
.dock {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(247, 242, 234, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.dock__a {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px;
  border: 1.5px solid var(--wood); color: var(--wood);
}
.dock__a--line { background: var(--wood); color: #fff; }
@media (min-width: 900px) { .dock { display: none; } }

/* ดูรูปใหญ่ */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(30, 26, 22, .92); display: grid; place-items: center; padding: 56px 12px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb img { max-width: min(92vw, 1100px); max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb figcaption { color: #e9dfd2; font-size: 15px; text-align: center; }
.lb__x, .lb__nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb__x { top: 10px; right: 10px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 8px; }
.lb__nav--next { right: 8px; }

/* เนื้อหาปรากฏตอนเลื่อนถึง */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
