/* ที่พักภูทับเบิก — หน้าเว็บ (index.html + stay.html)
   สี / ฟอนต์ / ระยะ อยู่ในตัวแปร :root ด้านล่าง  แบนเนอร์อยู่ใน banners.css */

:root {
  --night: #0c1311;
  --night-2: #121b18;
  --night-3: #1a2521;
  --mist: #f3efe7;
  --mist-2: #e8e2d5;
  --paper: #fbf9f4;
  --ink: #141c18;
  --ink-2: #3f4a44;
  --muted: #7b847e;
  --line: rgba(20, 28, 24, .12);
  --line-2: rgba(20, 28, 24, .22);
  --on-dark: #eef0ea;
  --on-dark-2: #a9b2ab;
  --line-dark: rgba(255, 255, 255, .12);
  --gold: #c9a66b;
  --gold-2: #e8d1a0;
  --gold-ink: #8a6a35;
  --gold-grad: linear-gradient(100deg, #9c7a43 0%, #f1dcae 28%, #c9a66b 50%, #f7e9c8 70%, #a8834a 100%);
  --sage: #8fa395;

  --f-display: 'Noto Serif Thai', 'Cormorant Garamond', 'Noto Serif SC', serif;
  --f-latin: 'Cormorant Garamond', 'Noto Serif Thai', 'Noto Serif SC', serif;
  --f-body: 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --hdr: 80px;
  --r: 18px;
}
:lang(zh) { --f-display: 'Noto Serif SC', 'Cormorant Garamond', serif; }
/* ภาษาไทย/จีนไม่มีตัวเอียงจริง และระยะห่างตัวอักษรกว้างทำให้อ่านยาก: ป้ายเล็กที่เป็นข้อความจากภาษานั้นใช้ตัวตรง */
:lang(th) .hero-eyebrow, :lang(zh) .hero-eyebrow, :lang(th) .card-type, :lang(zh) .card-type { font-family: var(--f-body); font-style: normal; font-weight: 400; letter-spacing: .08em; text-transform: none; }
:lang(th) .hero-h1 .ln:last-child, :lang(zh) .hero-h1 .ln:last-child { font-style: normal; }

/* ---------- พื้นฐาน ---------- */
*, *::before, *::after { box-sizing: border-box; }
@view-transition { navigation: auto; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--mist); color: var(--ink); font: 300 16px/1.75 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.25; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: italic 500 15px/1 var(--f-latin); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.sec-dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.h2 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.15; letter-spacing: -.01em; margin-top: 18px; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 560px; }
.sec-dark .lead { color: var(--on-dark-2); }
.gold { background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; padding: .06em 0; }
@keyframes sheen { to { background-position: -220% 0; } }

/* ---------- ปุ่ม ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px; font: 500 15px/1 var(--f-body); letter-spacing: .02em; cursor: pointer; white-space: nowrap; transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .5s var(--ease); }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold-grad); background-size: 180% 100%; color: #1b1407; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 34px -14px rgba(160, 120, 50, .7); }
.btn-gold:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 20px 44px -16px rgba(160, 120, 50, .85); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn-dark { background: var(--ink); color: var(--mist); }
.btn-dark:hover { background: #000; }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05b14c; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .ico { width: 19px; height: 19px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .4s var(--ease); }
.link-arrow:hover { gap: 16px; }

/* ---------- หน้าเปิด (ครั้งแรกของแท็บ) ---------- */
.intro { display: none; }
.intro-on .intro { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; align-content: center; gap: 22px; background: var(--night); color: var(--on-dark); transition: clip-path 1.1s var(--ease-io); clip-path: inset(0 0 0 0); }
.intro-on { overflow: hidden; }
.intro svg { width: min(70vw, 420px); height: auto; }
.intro path { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.8s var(--ease-io) forwards; }
.intro path + path { stroke: rgba(232, 209, 160, .45); animation-delay: .3s; }
.intro-name { font: 500 clamp(30px, 5vw, 54px)/1.2 var(--f-display); letter-spacing: .04em; opacity: 0; transform: translateY(14px); animation: introIn 1s var(--ease) .9s forwards; }
.intro-sub { font: italic 400 17px/1 var(--f-latin); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: introIn 1s var(--ease) 1.2s forwards; }
.intro-out .intro { clip-path: inset(0 0 100% 0); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes introIn { to { opacity: 1; transform: none; } }

/* ---------- เคอร์เซอร์ (เฉพาะเมาส์) ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cursor-dot { position: fixed; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); pointer-events: none; z-index: 401; }
.cursor-ring { position: fixed; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201, 166, 107, .7); display: grid; place-items: center; font: 500 11px/1 var(--f-body); letter-spacing: .08em; color: #1b1407; pointer-events: none; z-index: 400; transition: width .4s var(--ease), height .4s var(--ease), left .4s var(--ease), top .4s var(--ease), background-color .3s, border-color .3s; }
.cursor-ring span { opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; left: -32px; top: -32px; border-color: var(--gold); }
.cursor.is-label .cursor-ring { width: 86px; height: 86px; left: -43px; top: -43px; background: var(--gold-2); border-color: var(--gold-2); }
.cursor.is-label .cursor-ring span { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* ---------- แถบบน ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); color: #fff; transition: background-color .5s, color .5s, box-shadow .5s, transform .6s var(--ease), height .5s var(--ease); }
.hdr.is-scrolled { background: rgba(12, 19, 17, .78); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line-dark); height: 68px; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-light:not(.is-scrolled) { color: var(--ink); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 42px; height: 42px; color: var(--gold); }
.brand-txt { display: grid; line-height: 1.1; }
.brand-txt b { font: 600 19px/1.15 var(--f-display); letter-spacing: .01em; }
.brand-txt small { font: italic 500 12px/1.2 var(--f-latin); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; font-size: 14.5px; padding: 6px 0; opacity: .85; transition: opacity .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.langs { display: flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.hdr-light:not(.is-scrolled) .langs { border-color: var(--line-2); }
.langs button { border: 0; background: none; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; cursor: pointer; opacity: .7; transition: background-color .3s, color .3s, opacity .3s; }
.langs button[aria-pressed="true"] { background: var(--gold); color: #1b1407; opacity: 1; }
.hdr .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; margin-left: 4px; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.4px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 27px; }
.menu-open .menu-btn span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 23px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--night); color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gut) 40px; clip-path: circle(0 at calc(100% - 40px) 40px); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s .9s; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu-open { overflow: hidden; }
.menu-nav { display: grid; gap: 6px; }
.menu-nav a { font: 500 clamp(30px, 8vw, 46px)/1.3 var(--f-display); opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease), color .3s; }
.menu-open .menu-nav a { opacity: 1; transform: none; }
.menu-open .menu-nav a:nth-child(2) { transition-delay: .06s; } .menu-open .menu-nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu-nav a:nth-child(4) { transition-delay: .18s; } .menu-open .menu-nav a:nth-child(5) { transition-delay: .24s; }
.menu-nav a:hover { color: var(--gold); }
.menu-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.12); animation: ken 24s ease-in-out infinite alternate; }
.is-ready .hero-bg img { transition: none; }
@keyframes ken { from { transform: scale(1.12) translate(0, 0); } to { transform: scale(1.2) translate(-1.5%, -1%); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(8, 12, 11, .55) 0%, rgba(8, 12, 11, .1) 35%, rgba(8, 12, 11, .25) 60%, rgba(8, 12, 11, .92) 100%); }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-ridges { position: absolute; left: -5%; right: -5%; bottom: -2px; z-index: -1; height: 46%; pointer-events: none; }
.hero-ridges svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-ridges .l1 { fill: rgba(16, 26, 23, .22); } .hero-ridges .l2 { fill: rgba(12, 19, 17, .55); } .hero-ridges .l3 { fill: var(--night); }
.fog { position: absolute; left: -60%; width: 220%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); filter: blur(18px); pointer-events: none; animation: drift 46s linear infinite; z-index: -1; }
.fog.f1 { bottom: 22%; height: 26%; opacity: .55; }
.fog.f2 { bottom: 8%; height: 22%; opacity: .45; animation-duration: 70s; animation-direction: reverse; }
.fog.f3 { bottom: -8%; height: 30%; opacity: .35; animation-duration: 58s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(26%); } }
.hero-in { position: relative; width: 100%; padding-top: calc(var(--hdr) + 40px); padding-bottom: clamp(40px, 7vh, 80px); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: italic 500 clamp(13px, 1.2vw, 16px)/1 var(--f-latin); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.hero-eyebrow::before { content: ''; width: 46px; height: 1px; background: currentColor; }
.hero-h1 { font: 500 clamp(54px, 10vw, 150px)/1.02 var(--f-display); letter-spacing: -.02em; margin: 22px 0 26px; }
.hero-h1 .ln { display: block; overflow: hidden; padding: .3em 0 .14em; margin: -.3em 0 -.14em; }
.hero-h1 .ln:first-child { margin-top: -.12em; }
.hero-h1 .ln > span { display: inline-block; }
.hero-h1 .ln:last-child { font-style: italic; }
.hero-lead { max-width: 540px; font-size: clamp(16px, 1.35vw, 19px); color: rgba(255, 255, 255, .82); }
.js .hero-h1 .ln > span { transform: translateY(110%); transition: transform 1.4s var(--ease); }
.js .hero-eyebrow, .js .hero-lead, .js .search { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-ready .hero-h1 .ln > span { transform: none; }
.is-ready .hero-h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero-eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.is-ready .hero-lead { opacity: 1; transform: none; transition-delay: .45s; }
.is-ready .search { opacity: 1; transform: none; transition-delay: .65s; }
.hero-scroll { position: absolute; right: var(--gut); bottom: clamp(40px, 7vh, 80px); display: grid; justify-items: center; gap: 12px; font: italic 500 12px/1 var(--f-latin); letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255, 255, 255, .7); }
.hero-scroll i { width: 1px; height: 70px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; inset: 0; background: var(--gold-2); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- แถบค้นหา ---------- */
.search { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 1fr 1fr .8fr auto; align-items: stretch; max-width: 980px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.search-f { position: relative; display: grid; gap: 2px; padding: 10px 18px; border-radius: 15px; cursor: pointer; transition: background-color .3s; }
.search-f + .search-f::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255, 255, 255, .2); }
.search-f:hover { background: rgba(255, 255, 255, .08); }
.search-f > span { font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .7); }
.search-f input, .search-f select { width: 100%; border: 0; background: transparent; color: #fff; font-size: 15.5px; font-weight: 400; padding: 0; outline: none; cursor: pointer; color-scheme: dark; appearance: none; -webkit-appearance: none; }
.search-f select option { color: #111; }
.search .btn { height: auto; min-height: 58px; border-radius: 15px; }

/* ---------- section ---------- */
.sec { position: relative; padding: clamp(90px, 11vw, 160px) 0; }
.sec-dark { background: var(--night); color: var(--on-dark); }
.sec-paper { background: var(--paper); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head.center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.sec-head.center .lead { margin: 0 auto; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); transition-delay: var(--rd, 0s); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img img { transform: scale(1.25); transition: transform 2s var(--ease); }
.js .reveal-img.is-in img { transform: scale(1); }
/* เผื่อที่ด้านบน/ล่างให้วรรณยุกต์และสระบน-ล่างของภาษาไทย (กล่องที่ซ่อนส่วนเกินจะตัดทิ้ง) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .32em 0 .14em; margin: -.32em 0 -.14em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ---------- แบนเนอร์ (สไลด์) ---------- */
.bnr-sec { padding: 0 0 clamp(60px, 8vw, 110px); background: var(--night); }
.bnr { position: relative; height: clamp(380px, 44vw, 600px); border-radius: var(--r); overflow: hidden; background: var(--night-2); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.bnr-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 1.6s var(--ease), visibility 0s 1.1s; }
.bnr-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 1.1s var(--ease), transform 1.6s var(--ease), visibility 0s; }
.bnr-slide .bn-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.bnr-slide.is-on .bn-copy > * { opacity: 1; transform: none; }
.bnr-slide.is-on .bn-copy > :nth-child(2) { transition-delay: .15s; } .bnr-slide.is-on .bn-copy > :nth-child(3) { transition-delay: .3s; } .bnr-slide.is-on .bn-copy > :nth-child(4) { transition-delay: .45s; }
.bnr-nav { position: absolute; right: 22px; bottom: 22px; z-index: 5; display: flex; align-items: center; gap: 14px; }
.bnr-dots { display: flex; gap: 8px; }
.bnr-dots button { position: relative; width: 38px; height: 22px; border: 0; background: none; cursor: pointer; padding: 0; }
.bnr-dots button::before, .bnr-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.bnr-dots button::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.bnr-dots button.is-on::after { animation: fill var(--dur, 6s) linear forwards; }
.bnr.is-paused .bnr-dots button.is-on::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.bnr-arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, transform .4s var(--ease); }
.bnr-arrow:hover { background: rgba(255, 255, 255, .2); transform: scale(1.06); }
.bnr-count { position: absolute; left: 22px; top: 20px; z-index: 5; font: italic 500 14px/1 var(--f-latin); letter-spacing: .2em; color: rgba(255, 255, 255, .75); }

/* ---------- เกี่ยวกับ ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-txt .lead { margin-top: 26px; }
.about-pics { position: relative; aspect-ratio: 4 / 4.6; }
.about-pics figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.about-pics figure img { width: 100%; height: 100%; object-fit: cover; }
.about-pics .p1 { left: 0; top: 0; width: 72%; height: 80%; }
.about-pics .p2 { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid var(--mist); }
.about-badge { position: absolute; left: 60%; top: 8%; z-index: 2; width: 130px; height: 130px; display: grid; place-items: center; animation: spin 26s linear infinite; }
.about-badge svg { width: 100%; height: 100%; }
.about-badge text { font: 500 11.5px var(--f-latin); letter-spacing: .28em; fill: var(--ink); text-transform: uppercase; }
.about-badge b { position: absolute; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; animation: spin 26s linear infinite reverse; }
.about-badge b svg { width: 26px; height: 26px; color: #1b1407; }
@keyframes spin { to { transform: rotate(360deg); } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 400 clamp(44px, 5vw, 70px)/1 var(--f-latin); color: var(--ink); font-variant-numeric: lining-nums; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- ที่พัก ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font-size: 14.5px; transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--mist); }
.chip b { font-weight: 400; opacity: .55; margin-left: 4px; font-size: 13px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist-2); position: relative; }
.seg button { position: relative; z-index: 1; height: 38px; padding: 0 18px; border: 0; background: none; border-radius: 999px; cursor: pointer; font-size: 14px; transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--mist); }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--paper); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: box-shadow .8s var(--ease), transform .8s var(--ease); transform-style: preserve-3d; }
.card:hover { box-shadow: 0 40px 70px -40px rgba(20, 28, 24, .55); }
.card-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--mist-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s; }
.card-media img + img { opacity: 0; }
.card:hover .card-media img { transform: scale(1.07); }
.card:hover .card-media img + img { opacity: 1; }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 70%, rgba(0, 0, 0, .3)); pointer-events: none; }
.card-tags { position: absolute; left: 16px; top: 16px; right: 16px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .02em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tag-gold { background: var(--gold-grad); color: #1b1407; }
.tag-dark { background: rgba(12, 19, 17, .7); color: #fff; }
.tag .ico { width: 14px; height: 14px; }
.card-360 { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(12, 19, 17, .45); color: #fff; font-size: 12.5px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, color .3s; }
.card-360:hover { background: #fff; color: var(--ink); }
.card-360 .ico { width: 16px; height: 16px; animation: spin 6s linear infinite; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.card-type { font: italic 500 13px/1 var(--f-latin); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.card h3 { font-size: 23px; margin: 10px 0 8px; }
.card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-short { font-size: 14.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.specs span { display: inline-flex; align-items: center; gap: 6px; }
.specs .ico { width: 16px; height: 16px; }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.card-body .specs { margin-bottom: 20px; }
.price { display: grid; gap: 2px; }
.price s { font-size: 13px; color: var(--muted); }
.price-now { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price-now b { font: 500 30px/1 var(--f-latin); font-variant-numeric: lining-nums; letter-spacing: .01em; }
.price-now small { font-size: 13px; color: var(--muted); }
.price-from { font-size: 12px; color: var(--muted); }
.price-note { font-size: 12px; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 6px; }
.price-note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.card-alt { font-size: 12.5px; color: var(--muted); text-align: right; }
.card-alt b { display: block; font: 500 18px/1.2 var(--f-latin); color: var(--ink-2); font-variant-numeric: lining-nums; }
.empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }
.grid .card { animation: cardIn .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }

/* ---------- แถบวิ่ง ---------- */
.marquee { overflow: hidden; padding: 34px 0; background: var(--night); color: var(--on-dark); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq { display: flex; width: max-content; gap: 56px; animation: mq 40s linear infinite; }
.mq span { display: inline-flex; align-items: center; gap: 56px; font: italic 400 clamp(30px, 4vw, 54px)/1 var(--f-latin); white-space: nowrap; }
.mq span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1px rgba(232, 209, 160, .55); }
.mq i { width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- ประสบการณ์ (เลื่อนแนวนอนตามการ scroll) ---------- */
.exp { position: relative; background: var(--night); color: var(--on-dark); }
.exp-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.exp-head { padding-top: var(--hdr); margin-bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.exp-prog { width: 200px; height: 1px; background: var(--line-dark); position: relative; }
.exp-prog i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.exp-track { display: flex; gap: 28px; padding: 0 var(--gut); width: max-content; will-change: transform; }
.exp-card { position: relative; width: clamp(280px, 34vw, 480px); height: min(58vh, 560px); border-radius: var(--r); overflow: hidden; flex: none; }
.exp-card:nth-child(even) { margin-top: 60px; }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease); }
.exp-card:hover img { transform: scale(1.05); }
.exp-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 10, 9, .88)); }
.exp-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.exp-cap em { font: italic 400 46px/1 var(--f-latin); color: var(--gold-2); }
.exp-cap h3 { font-size: 24px; margin: 10px 0 6px; }
.exp-cap p { font-size: 14.5px; color: rgba(255, 255, 255, .75); }

/* ---------- ทัวร์ 360 ---------- */
.tour-box { position: relative; }
.pano { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 8; max-height: 78svh; width: 100%; border-radius: var(--r); background: #070b0a; color: #fff; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-dark); }
.pano.is-dragging { cursor: grabbing; }
.pano:fullscreen { aspect-ratio: auto; max-height: none; border-radius: 0; }
.pano-cube { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transition: opacity .45s; }
.pano-face { position: absolute; left: -513px; top: -513px; width: 1026px; height: 1026px; max-width: none; backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
.f-front { transform: translateZ(-512px); }
.f-right { transform: rotateY(-90deg) translateZ(-512px); }
.f-back { transform: rotateY(180deg) translateZ(-512px); }
.f-left { transform: rotateY(90deg) translateZ(-512px); }
.f-top { transform: rotateX(-90deg) translateZ(-512px); }
.f-bottom { transform: rotateX(90deg) translateZ(-512px); }
.pano.is-loading .pano-cube { opacity: 0; }
.pano-spin { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18); border-top-color: var(--gold); opacity: 0; transition: opacity .3s; animation: spin 1s linear infinite; }
.pano.is-loading .pano-spin { opacity: 1; }
.pano-hint { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; pointer-events: none; transition: opacity .5s, transform .5s var(--ease); }
.pano-hand { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #fff; position: relative; animation: swipe 2s ease-in-out infinite; }
.pano-hand::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; }
@keyframes swipe { 0%, 100% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }
.pano.is-touched .pano-hint, .pano.is-loading .pano-hint { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
.pano-title { position: absolute; left: 18px; top: 18px; z-index: 2; max-width: calc(100% - 36px); padding: 9px 16px; border-radius: 999px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pano-title::before { content: '360°'; font: italic 600 13px var(--f-latin); color: var(--gold-2); margin-right: 10px; letter-spacing: .08em; }
.pano-tools { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: flex; gap: 8px; }
.pano-tools button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, color .3s; }
.pano-tools button:hover { background: #fff; color: #000; }
.pano-tools button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1b1407; }
.pano-tools button[aria-pressed="true"] svg { animation: spin 3s linear infinite; }
.pano-tools svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pano-scenes { display: flex; gap: 14px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.pano-scenes::-webkit-scrollbar { display: none; }
.pano-scene { flex: none; width: 168px; display: grid; gap: 10px; padding: 6px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--on-dark-2); cursor: pointer; text-align: left; font-size: 13.5px; transition: border-color .3s, color .3s, transform .4s var(--ease); }
.pano-scene img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; }
.pano-scene span { padding: 0 6px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pano-scene:hover { transform: translateY(-3px); color: #fff; }
.pano-scene.is-active { border-color: var(--gold); color: #fff; }
.sec-paper .pano-scene, .stay-main .pano-scene { border-color: var(--line); background: #fff; color: var(--ink-2); }
.stay-main .pano-scene.is-active { border-color: var(--gold); color: var(--ink); }

/* ---------- รีวิว ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 24px; padding: 30px 26px; border-radius: var(--r); background: var(--paper); box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.review:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(20, 28, 24, .45); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.review blockquote { margin: 0; font: 400 17px/1.7 var(--f-display); color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.review figcaption b { display: block; font-weight: 500; }
.review figcaption small { color: var(--muted); font-size: 12.5px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gold-grad); color: #1b1407; font: 600 17px var(--f-display); }

/* ---------- แผนที่ ---------- */
.loc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.map { position: relative; min-height: 480px; border-radius: var(--r); overflow: hidden; background: var(--mist-2); box-shadow: 0 40px 70px -45px rgba(20, 28, 24, .55); z-index: 0; }
.map > div { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--muted); }
.leaflet-container { font: inherit; background: var(--mist-2); }
.leaflet-tile-pane { filter: grayscale(.35) sepia(.18) saturate(.9) contrast(1.02); }
.map-pin { position: relative; }
.pin-pulse { position: absolute; left: 50%; bottom: 0; width: 18px; height: 8px; margin-left: -9px; border-radius: 50%; background: rgba(201, 166, 107, .6); animation: pinPulse 2s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.pin-body { position: absolute; left: 50%; bottom: 8px; width: 50px; height: 50px; margin-left: -25px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--night); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6), inset 0 0 0 2px var(--gold); display: grid; place-items: center; animation: pinDrop 1s var(--ease) both; }
.pin-body svg { width: 28px; height: 28px; transform: rotate(45deg); color: var(--gold); }
@keyframes pinDrop { from { transform: rotate(-45deg) translate(-30px, -30px); opacity: 0; } }
.map-popup b { display: block; font: 600 15px var(--f-display); }
.map-popup span { display: block; font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.map-popup a { color: var(--gold-ink); font-weight: 500; font-size: 13px; }
.loc-info { display: flex; flex-direction: column; gap: 26px; }
.loc-info .lead { margin-top: 18px; }
.addr { display: flex; gap: 14px; font-size: 15px; }
.addr .ico { color: var(--gold-ink); margin-top: 4px; }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.times div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.times span { display: block; font-size: 12.5px; color: var(--muted); }
.times b { font: 500 26px/1.2 var(--f-latin); font-variant-numeric: lining-nums; }
.near h3 { font-size: 15px; font-family: var(--f-body); font-weight: 500; margin-bottom: 8px; }
.near li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.near li b { font-weight: 400; color: var(--muted); font-variant-numeric: lining-nums; white-space: nowrap; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 220px) 0; color: #fff; text-align: center; isolation: isolate; }
.cta-bg { position: absolute; inset: -12% 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(8, 12, 11, .45), rgba(8, 12, 11, .85)); }
.cta h2 { font-size: clamp(38px, 6.4vw, 88px); line-height: 1.15; }
.cta p { max-width: 560px; margin: 26px auto 40px; color: rgba(255, 255, 255, .82); font-size: 17px; }
.cta-acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: var(--on-dark-2); padding: 90px 0 calc(30px + env(safe-area-inset-bottom)); overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; }
.ftr .brand { color: var(--on-dark); }
.ftr-about { margin-top: 20px; max-width: 360px; font-size: 14.5px; }
.ftr h4 { font: italic 500 14px/1 var(--f-latin); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.ftr-col a, .ftr-col p { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; transition: color .3s; }
.ftr-col a:hover { color: #fff; }
.ftr-col .ico { width: 17px; height: 17px; color: var(--gold); }
.ftr-word { font: italic 400 clamp(70px, 15vw, 240px)/.9 var(--f-latin); text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(232, 209, 160, .18); margin: 70px 0 26px; white-space: nowrap; user-select: none; }
.ftr-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.ftr-bot a { color: var(--gold); }

/* ---------- แถบล่างมือถือ ---------- */
.mbar { display: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 600; transform: translateX(-50%); background: var(--night); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); border: 1px solid var(--line-dark); animation: toastIn .5s var(--ease); max-width: calc(100% - 32px); text-align: center; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- หน้าต่าง (ฟอร์มจอง / รูปเต็มจอ) ---------- */
.dlg { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7); overflow: auto; }
.dlg::backdrop { background: rgba(6, 10, 9, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dlg[open] { animation: dlgIn .6s var(--ease); }
.dlg[open]::backdrop { animation: fadeIn .4s; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.dlg-box { padding: 34px 32px 30px; position: relative; }
.dlg-x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; transition: transform .4s var(--ease); }
.dlg-x:hover { transform: rotate(90deg); }
.dlg h2 { font-size: 28px; padding-right: 40px; }
.dlg-sub { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.sum { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--mist); margin-bottom: 22px; font-size: 14px; }
.sum b { font-weight: 500; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.sum-total b { font: 500 26px var(--f-latin); font-variant-numeric: lining-nums; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; }
.fld > span { font-size: 13px; color: var(--ink-2); }
.fld input, .fld textarea, .fld select { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 16px; font-weight: 400; transition: border-color .3s, box-shadow .3s; }
.fld textarea { min-height: 90px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 166, 107, .18); }
.fld-err { color: #b3261e; font-size: 13px; margin: -6px 0 14px; }

.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 9, 8, .96); color: #fff; }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .4s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 70px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; animation: lbIn .6s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .3s; }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px; overflow-x: auto; scrollbar-width: none; }
.lb-thumbs button { flex: none; width: 74px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .5; background: none; transition: opacity .3s, border-color .3s; }
.lb-thumbs button.is-on { opacity: 1; border-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- หน้าที่พัก (stay.html) ---------- */
.stay-top { padding: calc(var(--hdr) + 26px) 0 0; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); transition: color .3s; }
.crumbs a:hover { color: var(--gold-ink); }
.mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(340px, 52vw, 620px); border-radius: var(--r); overflow: hidden; }
.mosaic button { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--mist-2); }
.mosaic button:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.mosaic button:hover img { transform: scale(1.06); }
.mosaic .mosaic-all { position: absolute; right: 16px; bottom: 16px; z-index: 2; height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.mosaic[data-n="1"] { grid-template-columns: 1fr; } .mosaic[data-n="1"] button:first-child { grid-row: span 2; }
.mosaic[data-n="2"] { grid-template-columns: 2fr 1fr; } .mosaic[data-n="2"] button:nth-child(2) { grid-row: span 2; }
.mosaic[data-n="3"] { grid-template-columns: 2fr 1fr; }
.mosaic[data-n="4"] button:nth-child(4) { grid-column: span 2; }
.stay-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(36px, 5vw, 80px); padding: 50px 0 clamp(80px, 10vw, 140px); align-items: start; }
.stay-head .card-type { font-size: 14px; }
.stay-head h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.15; margin: 14px 0 16px; }
.stay-head .specs { font-size: 14.5px; gap: 10px 22px; margin-top: 0; }
.stay-head .specs .ico { width: 18px; height: 18px; color: var(--gold-ink); }
.stay-block { padding: 40px 0; border-top: 1px solid var(--line); }
.stay-block:first-of-type { margin-top: 34px; }
.stay-block h2 { font-size: 26px; margin-bottom: 20px; }
.stay-desc { font-size: 17px; color: var(--ink-2); max-width: 680px; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.amen li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 14.5px; }
.amen .ico { width: 22px; height: 22px; color: var(--gold-ink); }
.stay-main .pano { aspect-ratio: 16 / 9; }
.book { position: sticky; top: calc(68px + 24px); padding: 28px 26px 26px; border-radius: 22px; background: var(--paper); box-shadow: 0 40px 80px -45px rgba(20, 28, 24, .55), 0 0 0 1px var(--line); }
.book h2 { font-size: 15px; font-family: var(--f-body); font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.book .seg { width: 100%; margin-bottom: 20px; }
.book .seg button { flex: 1; }
.book-price { margin-bottom: 18px; }
.book-price .price-now b { font-size: 40px; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.book-grid label { display: grid; gap: 2px; padding: 11px 14px; cursor: pointer; }
.book-grid label + label { border-left: 1px solid var(--line-2); }
.book-grid label.full { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-2); }
.book-grid span { font-size: 11.5px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.book-grid input, .book-grid select { border: 0; background: transparent; padding: 0; font-size: 15.5px; font-weight: 400; outline: none; width: 100%; cursor: pointer; }
.book-lines { display: grid; gap: 8px; font-size: 14.5px; margin: 18px 0 6px; }
.book-lines div { display: flex; justify-content: space-between; gap: 10px; }
.book-lines .hi { color: var(--gold-ink); }
.book-lines .save { color: #2f7d4f; }
.book-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--line); font-weight: 500; }
.book-total b { font: 500 30px var(--f-latin); font-variant-numeric: lining-nums; }
.book-msg { font-size: 13.5px; color: var(--muted); margin: 8px 0 4px; }
.book-msg.err { color: #b3261e; }
.book-acts { display: grid; gap: 10px; margin-top: 20px; }
.book-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.season-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(201, 166, 107, .14); color: var(--gold-ink); font-size: 13.5px; margin-bottom: 18px; }
.season-note .ico { width: 18px; height: 18px; margin-top: 2px; }
.notfound { padding: calc(var(--hdr) + 120px) 0 140px; text-align: center; }
.notfound h1 { font-size: 46px; margin-bottom: 14px; }
.notfound p { color: var(--muted); margin-bottom: 30px; }

/* ---------- จอกลาง ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; }
  .search-f:nth-child(3)::before { display: none; }
}
@media (max-width: 980px) {
  .nav, .hdr .hdr-cta { display: none; }
  .menu-btn { display: block; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-pics { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 26px; }
  .loc { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 380px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stay-layout { grid-template-columns: minmax(0, 1fr); }
  .book { position: static; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}

/* ---------- มือถือ ---------- */
@media (max-width: 720px) {
  :root { --hdr: 68px; --r: 14px; }
  .hdr .langs { display: none; }
  .menu .langs { display: flex; border-color: var(--line-dark); }
  .brand-txt b { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero-h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-scroll { display: none; }
  .search { grid-template-columns: 1fr 1fr; margin-top: 28px; border-radius: 18px; }
  .search-f { padding: 9px 12px; }
  .search-f:first-child { grid-column: 1 / -1; }
  .search-f:nth-child(2)::before { display: none; }
  .search-f:nth-child(3)::before { display: block; }
  .search-f:nth-child(4) { grid-column: 1 / -1; }
  .search-f:nth-child(4)::before { display: none; }
  .bnr { height: 520px; }
  .bnr-nav { left: 16px; right: 16px; bottom: 16px; justify-content: space-between; }
  .bnr-arrow { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .filters { display: block; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .filters .seg { margin-top: 14px; }
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 10px; gap: 14px; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; scroll-snap-align: start; }
  .exp-card { width: 78vw; height: 56vh; }
  .exp-card:nth-child(even) { margin-top: 30px; }
  .exp-head { margin-bottom: 24px; }
  .exp-prog { display: none; }
  .pano { aspect-ratio: 4 / 4.4; max-height: 72svh; }
  .pano-title { top: auto; bottom: 16px; left: 14px; max-width: calc(100% - 28px); }
  .pano-tools { top: 14px; bottom: auto; right: 14px; }
  .pano-tools button { width: 40px; height: 40px; }
  .pano-scene { width: 128px; font-size: 12.5px; }
  .about-badge { width: 104px; height: 104px; left: 56%; }
  .ftr-top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .ftr { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 19, 17, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .6s var(--ease); }
  .mbar.is-on { transform: none; }
  .menu-open .mbar { transform: translateY(110%); }
  .mbar-tel { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff; }
  .mbar .btn { flex: 1; height: 52px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mosaic { grid-template-columns: 1fr 1fr !important; grid-template-rows: 2fr 1fr; height: 420px; margin: 0 calc(var(--gut) * -1); border-radius: 0; }
  .mosaic button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .mosaic button:not(.mosaic-all):nth-child(n+4) { display: none; }
  .mosaic[data-n="1"] { grid-template-rows: 1fr; } .mosaic[data-n="2"] button:nth-child(2) { grid-row: auto; grid-column: 1 / -1; }
  .book { padding: 24px 18px; }
  .lb-stage { padding: 0 10px; }
  .lb-prev, .lb-next { display: none; }
  .dlg-box { padding: 28px 22px 24px; }
}
@media (max-width: 360px) {
  .brand-txt small { display: none; }
  .search { grid-template-columns: 1fr; }
  .search-f { grid-column: 1 / -1 !important; }
  .search-f::before { display: none !important; }
}

/* ---------- ปิดเอฟเฟกต์เมื่อผู้ใช้ตั้งค่าลดการเคลื่อนไหว ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-eyebrow, .js .hero-lead, .js .search { opacity: 1; transform: none; }
  .js .hero-h1 .ln > span, .js [data-split] .w > span { transform: none; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img img { transform: none; }
  .fog, .hero-canvas { display: none; }
}
