/*
 * หน้าโปรโมท ONCELI PHOTO (ใช้ร่วมกันสามหน้า index.html kiosk.html business.html)
 *
 * สีทุกค่ามาจากบอร์ด CI ชุดเดียวกับ cloud/resources/css/app.css (สี่ค่าที่ตรึงไว้:
 * SEAFOAM #7FB3A9, MINT #D9EDE7, IVORY #FAF8F3, CHAMPAGNE GOLD #D4B895)
 *
 * **ทองใช้เป็นเส้นและลวดลาย ไม่ใช้กับตัวอักษรเล็ก** ทองของบอร์ดบนพื้นงาช้างได้ราว 1.9:1
 * ตัวอักษรโทนทองใช้ --gold-text ซึ่งผ่าน 4.5:1 บนงาช้าง มิ้นต์ และขาว
 * ทิศทางภาพ (docs/landing-research-2569-09.md หัวข้อ 9): พื้นอ่อนเกือบทั้งหน้า พื้นเข้มที่เดียวคือการ์ดแนะนำ
 * ทองเป็นเส้นเดียวต่อหน้าจอ (เส้นใต้คำบน hero ป้ายแนะนำ) ช่องว่างแบบเดียวทั้งหน้า h2 ขนาดเดียวทุกส่วน
 *
 * ฟอนต์อยู่ในโฟลเดอร์นี้เอง ไม่ดึงจาก Google เพื่อไม่ส่งข้อมูลผู้เข้าชมให้บุคคลที่สาม
 * Cinzel ใช้กับตัวอักษรในตราเท่านั้น ป้ายและหัวข้อภาษาอังกฤษเป็น Cormorant Garamond
 */

@font-face { font-family: 'Cinzel'; font-weight: 400; font-display: swap; src: url('../fonts/cinzel-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 500; font-display: swap; src: url('../fonts/cinzel-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
/* ภาษาไทยทุกที่ใช้ Noto Sans Thai ชุดเดียวกับ cloud และบูธ ไฟล์มีแต่อักษรไทย ตัวเลขและละตินจึงเป็น Montserrat */
@font-face { font-family: 'Noto Sans Thai'; font-weight: 400; font-display: swap; src: url('../fonts/noto-sans-thai-thai-400-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Thai'; font-weight: 500; font-display: swap; src: url('../fonts/noto-sans-thai-thai-500-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Thai'; font-weight: 600; font-display: swap; src: url('../fonts/noto-sans-thai-thai-600-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }

:root {
  --ivory: #FAF8F3;
  --paper: #FFFDF9;
  --soft: #F4F1EA;        /* พื้นส่วนสลับ อ่อนกว่า silk เดิม */
  --seg: #ECE8DF;
  --mint: #D9EDE7;
  --mint-50: #EAF4F1;
  --seafoam: #7FB3A9;
  --aqua-300: #A1CBC1;
  --aqua-600: #508176;
  --aqua-700: #3F655D;
  --aqua-800: #2F4A44;
  --ink: #2D3133;
  --muted: #55655F;       /* 5.6:1 บนงาช้าง 5.0:1 บนมิ้นต์ */
  --placeholder: #66736E; /* 4.9:1 บนพื้นขาวของช่องกรอก */
  --field-line: #7E8C87;  /* ขอบช่องกรอก 3.5:1 บนขาว ผ่านเกณฑ์ 1.4.11 */
  --gold: #D4B895;
  --gold-soft: #E4D0B7;
  --gold-deep: #B59369;
  --gold-line: rgba(201, 162, 122, .45);
  --gold-text: #7A5C38;   /* ทองสำหรับตัวอักษรเล็ก ผ่าน 4.5:1 บนงาช้าง มิ้นต์ และขาว */
  --error: #A4452F;
  --on-dark: #C9D6D1;
  --line: rgba(47, 74, 68, .12);

  --latin: 'Cormorant Garamond', Georgia, serif;
  --display: 'Noto Sans Thai', 'Montserrat', sans-serif;
  --sans: 'Montserrat', 'Noto Sans Thai', system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: 48px;
  --header-h: 72px;
  --section: 84px;        /* ระยะบนล่างของทุกส่วน (มือถือ 48px) ส่วนติดกันพื้นต่างสีจึงห่างกัน 168 / 96px */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-sheet: cubic-bezier(.2, .8, .2, 1);
  --shadow-paper: 0 1px 2px rgba(47, 74, 68, .08), 0 14px 30px -14px rgba(47, 74, 68, .38), 0 40px 60px -36px rgba(47, 74, 68, .3);
  --shadow-card: 0 1px 1px rgba(47, 74, 68, .03), 0 18px 36px -30px rgba(47, 74, 68, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--ivory); }
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
em { font-style: normal; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--aqua-700); outline-offset: 3px; border-radius: 6px; }
/* section ที่เมนูพาไปรับโฟกัสด้วยสคริปต์ ไม่ต้องมีกรอบรอบทั้งกล่อง */
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--aqua-800); color: var(--ivory); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(800px, 100% - var(--gutter)); }

/* ตัวอักษรในตรา */
.bm-word { font-family: 'Cinzel', serif; font-size: 132px; font-weight: 400; letter-spacing: .03em; }
.bm-sub { font-family: 'Cinzel', serif; font-size: 38px; letter-spacing: .34em; transform: translateX(6px); }

/* ตัวเลขแบบเสมอบรรทัด (Cormorant ตั้งต้นเป็นเลขห้อยหาง "3 PHOTO" จะดูเหมือนพิมพ์ผิด) */
.footer-tag, .tier-name, .btier-name, .book-n, .how-n, .print-date { font-variant-numeric: lining-nums; }

/* ------------------------------------------------------------------ ปุ่ม */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: .01em; line-height: 1.3;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center;
  transition: transform .35s var(--ease), background-color .3s, box-shadow .35s var(--ease), color .3s, border-color .3s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-solid {
  background: var(--aqua-800); color: var(--ivory);
  box-shadow: 0 10px 22px -12px rgba(47, 74, 68, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn-ghost { background: rgba(255, 255, 255, .75); color: var(--aqua-800); border-color: rgba(47, 74, 68, .3); }
@media (hover: hover) {
  .btn-solid:hover { background: var(--aqua-700); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(47, 74, 68, .9); }
  .btn-ghost:hover { background: var(--paper); border-color: var(--aqua-700); transform: translateY(-2px); }
}

/* ปุ่มไอคอนกลม ส่วนที่เห็น 36px แต่พื้นที่แตะ 44px (ขอบใสนับเป็นพื้นที่ของปุ่ม) */
.icon-btn {
  flex: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 4px solid transparent; border-radius: 50%; background-clip: padding-box;
  background-color: #fff; box-shadow: inset 0 0 0 1px rgba(47, 74, 68, .18);
  color: var(--aqua-800); display: grid; place-items: center;
}
.icon-btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ หัวเว็บ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 243, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(47, 74, 68, .08);
}
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header-logo { display: block; width: 140px; flex-shrink: 0; }
.header-logo svg { width: 100%; height: auto; }
.header-nav { display: flex; gap: 32px; margin-left: auto; }
.header-nav a {
  font-size: 15px; font-weight: 500; color: var(--aqua-800); text-decoration: none;
  padding: 10px 0; position: relative;
}
.header-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.header-nav a:hover::after, .header-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-btn::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  border: 1px solid rgba(47, 74, 68, .2); background: rgba(255, 255, 255, .6);
}
.menu-btn span { position: relative; width: 14px; height: 1.5px; background: var(--aqua-800); }

/* ------------------------------------------------------------------ เปิดหน้า */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 var(--section); overflow: hidden; isolation: isolate; }
.hero::before {
  /* แสงมิ้นต์อ่อนๆ มุมขวาบน ให้หน้าไม่แบนเป็นกระดาษเปล่า */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 88% 12%, rgba(217, 237, 231, .9), rgba(217, 237, 231, 0) 70%),
    radial-gradient(40% 40% at 0% 90%, rgba(234, 244, 241, .8), rgba(234, 244, 241, 0) 70%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: 'copy visual' 'facts visual';
  column-gap: 64px; align-items: center;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-visual { grid-area: visual; }
.hero-facts { grid-area: facts; align-self: start; }

.hero-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(38px, 3.9vw, 54px); line-height: 1.28; color: var(--aqua-800); letter-spacing: -.012em;
}
.hero-title-line { display: block; }
.hero-title em { position: relative; display: inline-block; white-space: nowrap; color: var(--aqua-700); }
.hero-title em::after {
  /* เส้นทองใต้คำ วาดตามหลังตอนโหลด เหมือนปากกาลากเส้น (จุดเน้นทองจุดเดียวของหน้าจอนี้) */
  content: ''; position: absolute; left: 1%; right: 1%; bottom: .04em; height: .07em; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  transform: scaleX(0); transform-origin: left; animation: underline 1.1s .9s var(--ease) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-lead { margin-top: 22px; max-width: 32em; font-size: clamp(17px, 1.45vw, 19px); color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.hero-note [data-reply-sub]::after { content: '·'; margin: 0 8px; color: var(--gold-deep); }

.hero-facts {
  list-style: none; margin: 40px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); max-width: 580px;
}
.hero-facts li { display: flex; flex-direction: column; gap: 2px; padding: 0 16px; }
.hero-facts li:first-child { padding-left: 0; }
.hero-facts li + li { border-left: 1px solid var(--line); }
.hero-facts strong { font-family: var(--display); font-weight: 500; font-size: 17px; color: var(--aqua-800); line-height: 1.4; }
.hero-facts span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ----- แผ่นรูปตัวอย่างบนพื้นภาพงานเบลอ */
.hero-visual { position: relative; margin: 0; }
.hero-table {
  container-type: inline-size;
  position: relative; aspect-ratio: 1 / 1.02; border-radius: 32px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0) 50%, rgba(250, 248, 243, .35)),
    url('../img/hero.webp') 30% center / cover;
  box-shadow: inset 0 0 0 1px rgba(47, 74, 68, .06);
}
.hero-strip {
  position: absolute; left: 16%; top: 6%; width: 28%; --u: .28cqi;
  transform: rotate(-4.5deg); z-index: 2;
}
.hero-46 {
  position: absolute; right: 11%; top: 22%; width: 42%; --u: .42cqi;
  transform: rotate(5deg); z-index: 1;
}
.hero-spark { position: absolute; right: 9%; top: 9%; width: 26px; height: 26px; fill: var(--gold); z-index: 3; }
.sample-tag {
  position: absolute; z-index: 5; left: 18px; bottom: 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 253, 249, .92); color: var(--muted); font-size: 13px; line-height: 1.4;
  box-shadow: 0 6px 16px -10px rgba(47, 74, 68, .5);
}

/*
 * ----- แผ่นรูป (ใช้ทั้ง hero และตัวอย่างสามขนาด) ทุกระยะและตัวอักษรข้างในเป็นสัดส่วนของความกว้างแผ่น
 * --u = 1% ของความกว้างแผ่น คิดจากกล่องแม่ (container) เช่นแผ่นกว้าง 30% ของกล่อง = .3cqi
 * ห้ามตั้ง container-type ที่ .print เอง: หน่วย cqi ของ padding บนตัว container อ้างถึงกล่องชั้นนอกกว่า
 */
.print {
  background: var(--paper); border-radius: 3px; box-shadow: var(--shadow-paper);
  display: flex; flex-direction: column;
}
.ph { position: relative; overflow: hidden; background: var(--mint-50); background-size: cover; background-position: center; }
.ph svg { width: 100%; height: 100%; }
.ph.has-img { background-image: var(--img); }
.ph.has-img svg { display: none; }
.print-strip { aspect-ratio: 1 / 3; padding: calc(var(--u) * 6.5) calc(var(--u) * 6.5) 0; gap: calc(var(--u) * 4.5); }
.print-strip .ph { aspect-ratio: 4 / 3; flex: none; }
.print-foot {
  flex: 1; display: grid; grid-template-columns: 1fr auto; align-content: center; column-gap: calc(var(--u) * 5); padding: calc(var(--u) * 2) calc(var(--u) * 1) calc(var(--u) * 5);
}
.print-names {
  grid-column: 1; font-family: var(--latin); font-style: italic; font-weight: 500;
  font-size: calc(var(--u) * 12); line-height: 1.1; color: var(--aqua-800); text-align: center; align-self: end;
}
.print-date { grid-column: 1; font-family: var(--latin); font-size: calc(var(--u) * 6.5); letter-spacing: .12em; color: var(--gold-text); text-align: center; }
.strip-qr { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: calc(var(--u) * 22); aspect-ratio: 1; background: #fff; padding: calc(var(--u) * 1.5); }
.strip-qr svg { width: 100%; height: 100%; fill: var(--ink); }
.print-46 { aspect-ratio: 2 / 3; padding: calc(var(--u) * 6); gap: calc(var(--u) * 4); }
.print-46 .ph { flex: 1; }
.hero-46 .ph { flex: none; aspect-ratio: 4 / 4.6; }
.print-mark { width: 62%; height: auto; margin: calc(var(--u) * 3) auto 0; }
.print-46-double .ph { flex: none; aspect-ratio: 4 / 2.85; }
.print-foot-row { display: flex; align-items: center; justify-content: space-between; padding: 0; }
.print-foot-row .print-mark { width: 52%; margin: 0; }
.print-foot-row .strip-qr { width: calc(var(--u) * 16); }
.print-64 { aspect-ratio: 3 / 2; padding: calc(var(--u) * 3.5); gap: calc(var(--u) * 2.5); }
.print-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--u) * 2.5); }
.print-row .ph { aspect-ratio: 3 / 3.4; }
.print-64 .print-foot-row .strip-qr { width: calc(var(--u) * 9); }
.print-sign { font-family: var(--latin); font-style: italic; font-weight: 500; font-size: calc(var(--u) * 5); color: var(--aqua-800); padding-left: calc(var(--u) * 1); }

/* ------------------------------------------------------------------ ส่วนของหน้า */
.section { padding: var(--section) 0; position: relative; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(30px, 3.3vw, 42px); line-height: 1.3; color: var(--aqua-800);
}
.section-lead { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 36em; }

/* ----- ตัวอย่างแผ่นรูปสามขนาด (ตอนยังไม่มีผลงานในระบบหลังบ้าน) */
.samples {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; align-items: end;
}
.sample { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sample-art {
  position: relative; height: 380px; border-radius: 24px;
  background: linear-gradient(170deg, #F1F7F4, var(--mint-50)); border: 1px solid rgba(80, 129, 118, .14);
  display: grid; place-items: center; overflow: hidden;
  container-type: inline-size;
}
.sample-strip .print { width: 42%; --u: .42cqi; }
.sample-portrait .print { width: 64%; --u: .64cqi; transform: rotate(-1.5deg); }
.sample-landscape .print { width: 86%; --u: .86cqi; transform: rotate(1deg); }
.sample-flag {
  position: absolute; left: 14px; top: 14px; padding: 3px 11px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(80, 129, 118, .3); color: var(--aqua-700);
  font-size: 12.5px; line-height: 1.5;
}
.sample-name { font-size: 15px; line-height: 1.5; color: var(--muted); }
.sample-name strong { display: block; font-family: var(--display); font-weight: 500; font-size: 17px; color: var(--aqua-800); }

/* ----- ผลงานจริงจากระบบหลังบ้าน */
.work-scroll { border-radius: 24px; }
.work-scroll:focus-visible { outline-offset: 6px; }
.work-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; cursor: pointer;
  background: #fff; border: 1px solid rgba(47, 74, 68, .08); border-radius: 22px; box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
@media (hover: hover) { .work-card:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -30px rgba(47, 74, 68, .55); } }
.work-media { position: relative; aspect-ratio: 4 / 3; background: var(--mint-50); overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-media.is-tall { background: linear-gradient(160deg, var(--mint-50), #E2EEEA); }
.work-media.is-tall img { object-fit: contain; padding: 14px 0; filter: drop-shadow(0 10px 14px rgba(47, 74, 68, .22)); }
.work-count {
  position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px;
  background: rgba(29, 46, 42, .78); color: #fff; font-size: 12px; line-height: 1.3;
}
.work-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.work-type {
  align-self: flex-start; padding: 3px 11px; border-radius: 999px;
  background: var(--mint-50); color: var(--aqua-700); font-size: 12.5px; line-height: 1.5;
}
.work-title { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.45; color: var(--aqua-800); }
/* ปุ่มอยู่ที่ชื่องาน แต่พื้นที่กดขยายเต็มการ์ด (รูปก็กดได้) */
.work-open { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.work-open::after { content: ''; position: absolute; inset: 0; border-radius: 22px; }
.work-open:focus-visible { outline: none; }
.work-open:focus-visible::after { outline: 3px solid var(--aqua-700); outline-offset: -3px; }
.work-meta { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ----- แขกได้อะไรกลับบ้าน */
.gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.get {
  background: var(--paper); border: 1px solid rgba(47, 74, 68, .08); border-radius: 22px;
  padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 10px;
}
.get-icon, .care-icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 14px; overflow: visible;
  background: var(--mint-50); color: var(--aqua-700);
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.get h3 { margin-top: 6px; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--aqua-800); }
.get p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.gets-close {
  margin-top: 28px; max-width: 44em; padding-left: 18px; border-left: 2px solid var(--gold-line);
  font-size: 16px; color: var(--ink);
}

.how {
  margin-top: 56px; padding: 30px 32px; border-radius: 24px; background: var(--paper); border: 1px solid rgba(47, 74, 68, .08);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 28px; align-items: center;
}
.how-title { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.45; color: var(--aqua-800); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.how-steps li { position: relative; display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.how-n {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #C9A27A; background: #fff;
  display: grid; place-items: center; font-family: var(--latin); font-weight: 500; font-size: 17px; line-height: 1; color: var(--gold-text);
}

/* ------------------------------------------------------------------ แพ็กเกจและราคา */
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tiers.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
.tiers.is-1 { grid-template-columns: minmax(0, 420px); }
.tier {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid rgba(47, 74, 68, .1); border-radius: 24px;
  padding: 30px 26px 22px; color: var(--ink); box-shadow: var(--shadow-card);
}
/* ใบแนะนำ: พื้นเขียวเข้มที่เดียวของหน้า ยกขึ้นเล็กน้อยบนจอกว้าง */
.tier.is-featured {
  background: var(--aqua-800); border-color: var(--aqua-800); color: var(--ivory);
  margin-block: -14px; padding-block: 44px 36px;
  box-shadow: 0 34px 60px -30px rgba(29, 46, 42, .75);
}
.tier-badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 12px;
  height: 26px; padding: 0 12px; border-radius: 13px;
  background: var(--paper); border: 1px solid #C9A27A; color: var(--gold-text);
  font-size: 12.5px; font-weight: 500; line-height: 1; white-space: nowrap;
}
.tier-badge svg { width: 11px; height: 11px; fill: var(--gold-deep); }
.tier.is-featured .tier-badge { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--aqua-800); }
.tier.is-featured .tier-badge svg { fill: var(--aqua-800); }
.tier-name { font-family: var(--latin); font-weight: 500; font-size: 32px; line-height: 1.15; letter-spacing: .01em; color: var(--aqua-800); }
.tier-name.is-th { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.4; letter-spacing: -.01em; }
.tier.is-featured .tier-name { color: var(--ivory); }
.tier-tag { margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.tier.is-featured .tier-tag { color: var(--on-dark); }
.tier-price {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gold-line);
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; line-height: 1.2;
}
.tier-from { flex-basis: 100%; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.tier-amount { font-family: var(--latin); font-weight: 500; font-size: 46px; line-height: 1; letter-spacing: -.01em; color: var(--aqua-800); font-variant-numeric: lining-nums; }
.tier-amount .cur, .btier-amount .cur, .guest-price .cur { font-family: var(--display); font-weight: 500; font-size: .5em; margin-right: 3px; vertical-align: .55em; }
.tier-amount.is-word { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.4; }
.tier-unit { font-size: 14px; color: var(--muted); }
.tier.is-featured .tier-price { border-top-color: rgba(228, 208, 183, .35); }
.tier.is-featured .tier-amount { color: var(--ivory); }
.tier.is-featured .tier-from, .tier.is-featured .tier-unit { color: var(--on-dark); }
.tier-bullets { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.tier-bullets li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.6; color: var(--ink); }
/* เครื่องหมายถูกเป็นลวดลาย ข้อความอ่านได้ครบโดยไม่ต้องเห็นมัน */
.tier-bullets li::before {
  content: ''; position: absolute; left: 4px; top: .42em; width: 6px; height: 11px;
  border: solid var(--aqua-600); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
}
.tier.is-featured .tier-bullets li { color: #E9F0EE; }
.tier.is-featured .tier-bullets li::before { border-color: var(--gold-soft); }

/* รายละเอียดทั้งหมด: <details> ของเบราว์เซอร์ ใช้ได้ทั้งแป้นพิมพ์และตัวอ่านหน้าจอโดยไม่ต้องมีสคริปต์ */
.tier-more { margin-top: auto; padding-top: 14px; }
.tier-more summary, .plist summary, .offer summary, .alt summary { list-style: none; cursor: pointer; }
.tier-more summary::-webkit-details-marker, .plist summary::-webkit-details-marker,
.offer summary::-webkit-details-marker, .alt summary::-webkit-details-marker { display: none; }
.tier-more summary {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: var(--aqua-700); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(63, 101, 93, .35);
}
.tier-more summary .chev { width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .3s var(--ease); }
.tier-more[open] summary .chev { transform: rotate(-135deg); margin-top: 4px; }
.tier.is-featured .tier-more summary { color: var(--gold-soft); text-decoration-color: rgba(228, 208, 183, .45); }
.tier.is-featured :focus-visible { outline-color: var(--gold-soft); }
.tier-specs { margin: 4px 0 4px; display: grid; }
.tier-specs > div { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgba(47, 74, 68, .09); }
.tier-specs dt { font-size: 13px; line-height: 1.55; color: var(--muted); }
.tier-specs dd { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.tier.is-featured .tier-specs > div { border-top-color: rgba(255, 255, 255, .12); }
.tier.is-featured .tier-specs dt { color: var(--on-dark); }
.tier.is-featured .tier-specs dd { color: var(--ivory); }
.tier-cta { margin-top: 10px; width: 100%; min-height: 50px; font-size: 15px; background: var(--aqua-800); color: var(--ivory); }
.tier.is-featured .tier-cta { background: #E9CFB2; color: var(--aqua-800); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .6); }
@media (hover: hover) {
  .tier-cta:hover { background: var(--aqua-700); transform: translateY(-2px); }
  .tier.is-featured .tier-cta:hover { background: var(--gold-soft); }
}

/* ตัวเลือกประหยัดและแคมเปญ (แถบกางได้บนหน้าแรก กลุ่มเต็มบนหน้าอื่น) */
.offer, .alt, .plist { border-radius: 20px; }
.offer { margin-top: 32px; background: var(--mint-50); border: 1px solid rgba(80, 129, 118, .3); }
.offer summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 64px; padding: 14px 20px 14px 22px; border-radius: 20px;
}
.offer-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.45; color: var(--aqua-800); }
.offer-title svg { width: 13px; height: 13px; fill: var(--gold-deep); flex: none; }
.offer-teaser { font-size: 15px; line-height: 1.5; color: var(--ink); }
.offer-teaser b { font-weight: 600; color: var(--aqua-800); }
.offer-teaser .cur { margin-right: 1px; }
.offer-unit, .offer-terms { font-size: 13.5px; color: var(--muted); }
.offer-terms { flex-basis: 100%; order: 3; }
.offer .plist-icon { margin-left: auto; order: 2; }
.offer-body { padding: 0 22px 22px; }
.budget { margin-top: 48px; }
.budget-lead { margin-top: 4px; max-width: 46em; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.budget-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.btier {
  display: flex; flex-direction: column; min-width: 0; padding: 20px 20px 16px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(80, 129, 118, .28);
}
.budget .btier { background: var(--mint-50); }
.btier-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.btier-name { font-family: var(--latin); font-weight: 500; font-size: 25px; line-height: 1.2; color: var(--aqua-800); }
.btier-name.is-th { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.45; letter-spacing: -.01em; }
.btier-badge {
  flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(80, 129, 118, .45); color: var(--aqua-700);
  font-family: var(--display); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap;
}
.btier-badge.is-inline { height: 22px; vertical-align: 2px; }
.btier-tag { margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.btier-price { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; line-height: 1.2; }
.btier-amount { font-family: var(--latin); font-weight: 500; font-size: 34px; line-height: 1; color: var(--aqua-800); font-variant-numeric: lining-nums; }
.btier-amount.is-word { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.4; }
.btier-unit { font-size: 13px; color: var(--muted); }
.btier-bullets { margin-top: 12px; gap: 6px; }
.btier-bullets li { font-size: 14px; }
.btier .tier-more { padding-top: 8px; }
.btier-cta {
  margin-top: 8px; width: 100%; min-height: 46px; font-size: 14.5px;
  background: #fff; color: var(--aqua-800); border-color: rgba(47, 74, 68, .3);
}
@media (hover: hover) { .btier-cta:hover { border-color: var(--aqua-700); transform: translateY(-2px); } }
.btier-camp { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--aqua-700); }

/* แคมเปญในผังเต็ม: บอกชื่อ วันสิ้นสุด และจำนวนที่รับตามจริง ไม่มีนาฬิกานับถอยหลัง */
.campaign {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  width: fit-content; max-width: 100%; padding: 10px 18px; border-radius: 14px;
  background: #fff; border: 1px solid rgba(80, 129, 118, .38);
}
.campaign-name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--aqua-800); }
.campaign-name svg { flex: none; width: 13px; height: 13px; fill: var(--gold-deep); }
.campaign-terms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; font-size: 13.5px; line-height: 1.55; color: var(--aqua-700); }
.campaign-terms li { display: inline-flex; align-items: center; }
.campaign-terms li + li::before { content: ''; flex: none; width: 4px; height: 4px; margin: 0 10px; border-radius: 50%; background: var(--gold-deep); }

/* หมวดรอง (ดิจิทัล) บนหน้าแรก: แถวเดียวที่กางได้ */
.alt { margin-top: 16px; background: var(--paper); border: 1px solid rgba(47, 74, 68, .12); }
.alt summary { display: flex; align-items: center; gap: 12px 18px; min-height: 72px; padding: 14px 20px 14px 24px; border-radius: 20px; }
.alt-head { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.alt-title { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.45; color: var(--aqua-800); }
.alt-from { font-size: 14.5px; color: var(--muted); }
.alt-from b { font-weight: 600; color: var(--aqua-800); }
.alt-open { font-size: 14px; font-weight: 500; color: var(--aqua-700); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(63, 101, 93, .35); white-space: nowrap; }
.alt[open] .alt-open { visibility: hidden; }
.alt-body { padding: 0 24px 24px; }
.alt-body > .price-lead { margin-bottom: 20px; }
.alt-body .tier { box-shadow: none; padding: 24px 22px 18px; }
.alt-body .tier-name { font-size: 27px; }
.alt-body .tier-amount { font-size: 38px; }
.alt-body .offer { margin-top: 20px; background: #fff; }
.alt-body .price-lists { margin-top: 16px; }

.plist-icon { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(201, 162, 122, .7); transition: transform .3s var(--ease); }
.plist-icon::before, .plist-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.3px; margin: -.65px 0 0 -5.5px; background: var(--gold-deep);
}
.plist-icon::after { transform: rotate(90deg); }
.plist[open] > summary .plist-icon, .offer[open] > summary .plist-icon, .alt[open] > summary .plist-icon { transform: rotate(45deg); }

/* ราคาที่แขกจ่ายหน้าตู้ ตัวเลือกฟรีมาก่อนและเด่นกว่าเสมอ */
.guest { margin-top: 8px; }
.guest-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guest-list li { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid rgba(47, 74, 68, .1); }
.guest-list li.is-free { background: var(--mint-50); border-color: rgba(80, 129, 118, .35); }
.guest-name { font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.4; color: var(--aqua-800); }
.guest-price { font-family: var(--latin); font-weight: 500; font-size: 36px; line-height: 1.1; color: var(--aqua-800); font-variant-numeric: lining-nums; }
.guest-price.is-word { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.5; }
.guest-note { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.guest-budget { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.guest-budget b { font-weight: 600; color: var(--aqua-800); }

.price-lead { max-width: 46em; color: var(--muted); font-size: 16px; }
.price-panel > .price-lead { margin-bottom: 8px; }
.price-subhead {
  margin: 44px 0 18px; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--aqua-800);
  display: flex; align-items: center; gap: 14px;
}
.price-subhead::after { content: ''; flex: 1; height: 1px; background: var(--gold-line); }
.budget > .price-subhead { margin-top: 0; }
.price-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--aqua-700); font-size: 15px; font-weight: 500; text-underline-offset: 4px;
}
.price-link::after { content: '→'; margin-left: 8px; }

/* รายการเสริม ค่าเดินทาง ไลเซนส์ กระดาษ: พับได้ */
.price-lists { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.plist { background: var(--paper); border: 1px solid rgba(47, 74, 68, .1); }
.plist.is-wide, .plist:only-child { grid-column: 1 / -1; }
.plist summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px 10px 22px; border-radius: 20px; }
.plist-title { flex: 1; font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.4; color: var(--aqua-800); }
.plist-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.plist-body { padding: 0 22px 20px; }
.plist-rows { list-style: none; margin: 0; padding: 0; }
.plist-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(47, 74, 68, .09); }
.plist-name { min-width: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.plist-name small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.plist-price { flex: none; max-width: 48%; text-align: right; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--aqua-800); }
.plist-price small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.plist-note { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.plist-cta { margin-top: 16px; min-height: 48px; font-size: 15px; }
.plist-rows li.is-ask, .plist-rows li.is-book { align-items: center; }
.plist-ask { flex: none; max-width: 52%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.plist-ask-text { font-size: 13px; line-height: 1.45; color: var(--muted); }
.plist-ask-btn, .plist-book-btn { min-height: 44px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.plist-book { flex: none; max-width: 48%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.plist-book .plist-price { max-width: none; }

/* ข้อเสนอพิเศษ (ผังเต็ม) + หมายเหตุท้ายหมวด */
.promos { margin-top: 20px; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--gold-line); background: #FBFAF6; }
.promos-title { font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 1.4; color: var(--aqua-800); }
.promos-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.promos-list li, .faq-promos li { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.promos-list strong, .faq-promos strong { display: block; font-family: var(--display); font-weight: 500; font-size: 15.5px; color: var(--aqua-800); }
.price-notes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 6px; }
.price-notes li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.price-notes li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-deep); }

/* ไม่มีสคริปต์: ทุกหมวดเรียงกันแบบย่อ ไม่มีตัวเลข */
.pricing-static { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pstatic { padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid rgba(47, 74, 68, .1); }
.pstatic h3 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--aqua-800); }
.pstatic p { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.pstatic .pstatic-tiers { margin-top: 12px; font-size: 14px; color: var(--aqua-700); }
.pstatic-note { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }

/* ----- จองยังไง */
.book-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.book-steps li { position: relative; padding: 26px 26px 28px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(47, 74, 68, .08); }
.book-n {
  display: block; font-family: var(--latin); font-weight: 500; font-size: 44px; line-height: 1; color: var(--gold-text);
}
.book-steps h3 { margin-top: 16px; font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.45; color: var(--aqua-800); }
.book-steps p { margin-top: 6px; font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* ----- ดูแลจากระยะไกล (kiosk) */
.care { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.care li { background: var(--paper); border: 1px solid rgba(47, 74, 68, .08); border-radius: 22px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.care h3 { margin-top: 6px; font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.45; color: var(--aqua-800); }
.care p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* ----- คำถาม: ปุ่มกางคำตอบ วงกลม + หมุนเป็น × */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font: inherit; }
.faq-item button {
  width: 100%; min-height: 64px; padding: 16px 0; border: 0; background: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.5; color: var(--aqua-800);
}
.faq-icon {
  flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 122, .7); transition: transform .3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.3px; margin: -.65px 0 0 -6px; background: var(--gold-deep);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item [aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease, visibility 0s; }
.faq-a > div { overflow: hidden; }
.faq-a p, .faq-promos { padding: 0 52px 22px 0; color: var(--muted); font-size: 16px; }
.faq-promos { list-style: none; margin: 0; display: grid; gap: 10px; }
/* ปิดแล้วต้องพ้นจาก screen reader ด้วย visibility รอให้หดเสร็จก่อนค่อยซ่อน */
.faq-a.is-closed { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s ease, visibility 0s .35s; }

/* ----- ปิดท้าย (พื้นมิ้นต์) */
.contact {
  position: relative; padding: var(--section) 0 72px; text-align: center;
  background: linear-gradient(180deg, var(--ivory) 0%, #E6F1ED 38%, var(--mint) 100%);
}
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.28; color: var(--aqua-800); }
.contact-lead { margin-top: 14px; max-width: 32em; color: var(--muted); font-size: 17px; }
.contact-actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-actions .btn { min-width: 200px; }
.contact-phone { margin-top: 18px; font-size: 15px; color: var(--muted); }
.contact-phone a { color: var(--aqua-800); font-weight: 600; text-underline-offset: 4px; display: inline-block; padding: 10px 2px; margin: -10px 0; }
.contact-more { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--muted); }
.contact-more a { color: var(--aqua-700); text-underline-offset: 4px; display: inline-block; padding: 10px 2px; margin: -10px 0; }
.contact-more .dot { color: var(--gold-deep); }
.contact-empty { margin-top: 24px; color: var(--muted); font-size: 16px; padding: 14px 24px; border: 1px dashed rgba(63, 101, 93, .4); border-radius: 16px; background: rgba(253, 252, 248, .8); }

.biz-row {
  margin-top: 64px; width: min(640px, 100%); text-align: left;
  padding: 8px 22px; border-radius: 20px; background: rgba(255, 253, 249, .72); border: 1px solid rgba(47, 74, 68, .1);
}
.biz-title { padding: 12px 0 4px; font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.biz-link {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 10px 0;
  border-top: 1px solid rgba(47, 74, 68, .08); text-decoration: none; font-size: 15.5px; line-height: 1.5; color: var(--aqua-800);
}
.biz-title + .biz-link { border-top: 0; }
.biz-link i { font-style: normal; color: var(--gold-deep); transition: transform .3s var(--ease); }
@media (hover: hover) { .biz-link:hover span { text-decoration: underline; text-underline-offset: 4px; } .biz-link:hover i { transform: translateX(4px); } }

/* ----- ท้ายหน้า */
.site-footer { background: var(--mint); padding: 8px 0 44px; }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-top: 36px; border-top: 1px solid rgba(47, 74, 68, .1); }
.footer-logo { width: 160px; height: auto; }
.footer-tag { font-family: var(--latin); font-weight: 500; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); }
.footer-meta { margin-top: 8px; display: flex; gap: 22px; font-size: 14px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.footer-meta a { color: var(--aqua-700); display: inline-block; padding: 10px 0; margin: -10px 0; }

/* ------------------------------------------------------------------ หน้า kiosk และ business */
.hero-sub { padding-bottom: 72px; }
.hero-sub .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'facts'; }
.hero-sub .hero-copy { max-width: 820px; }
.hero-sub .hero-title { font-size: clamp(36px, 4.2vw, 54px); }
.hero-sub .hero-lead + .hero-lead { margin-top: 8px; }
.hero-sub .hero-facts { max-width: 720px; }

.feat-tabs { display: none; max-width: 560px; }
.js .feat-tabs { display: grid; }
.seg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--seg); }
.seg [role="tab"] {
  min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--muted);
  font: 500 14px/1.3 var(--sans); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s;
}
.seg [role="tab"][aria-selected="true"] { background: #fff; color: var(--aqua-800); box-shadow: 0 4px 12px -6px rgba(47, 74, 68, .35); }
.seg [role="tab"]:focus-visible { outline-offset: 1px; border-radius: 12px; }
.feat-panel + .feat-panel { margin-top: 48px; }
.js .feat-panel, .js .feat-panel + .feat-panel { margin-top: 24px; }
.feat-group { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.4; color: var(--aqua-800); }
/* มีแท็บแล้ว ชื่อกลุ่มซ้ำกับแท็บ ซ่อนจากตาแต่ตัวอ่านหน้าจอยังได้ยินเป็นหัวข้อของแผง */
.js .feat-group { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.feat-for { margin-top: 4px; font-size: 15px; color: var(--muted); }
.js .feat-for { margin-top: 0; }
.feat-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.feat { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; background: var(--paper); border: 1px solid rgba(47, 74, 68, .08); border-radius: 18px; }
.feat-icon {
  flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 12px; overflow: visible;
  background: var(--mint-50); color: var(--aqua-700);
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.feat h4 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.45; color: var(--aqua-800); }
.feat p { margin-top: 4px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

.footer-home { font-size: 14px; }
.footer-home a { color: var(--aqua-700); text-underline-offset: 4px; display: inline-block; padding: 10px 0; margin: -10px 0; }

/* ------------------------------------------------------------------ ของที่ลอยทับหน้า */
/* ปุ่มลอย: ใช้ได้เมื่อมีสคริปต์ จอแคบเป็นแถบเล็กมุมขวาล่าง จอกว้างเหลือแค่ปุ่ม LINE (ถ้าตั้งไว้) */
.float { display: none; }
.js .float {
  display: flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  gap: 8px; align-items: center;
  transform: translateY(140%); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease-sheet), opacity .4s, visibility 0s .4s;
}
.js .float.is-shown { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease-sheet), opacity .4s; }
.float-book, .float-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 26px;
  font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 16px 32px -14px rgba(20, 35, 30, .6);
}
.float-book { background: var(--aqua-800); color: var(--ivory); }
.float-line { background: #fff; color: var(--aqua-800); border: 1px solid rgba(47, 74, 68, .3); }
.float-line svg { width: 22px; height: 22px; fill: currentColor; }
.float :focus-visible { outline-offset: 2px; border-radius: 26px; }

.backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(20, 35, 30, .4);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(84%, 360px);
  background: var(--ivory); padding: 76px 26px 36px; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  transform: translateX(105%); visibility: hidden;
  transition: transform .4s var(--ease-sheet), visibility 0s .4s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease-sheet); }
.drawer-close { position: absolute; top: 12px; right: 16px; }
.drawer-list, .drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-list a {
  display: flex; align-items: center; min-height: 56px; padding: 10px 0;
  border-bottom: 1px solid rgba(47, 74, 68, .1); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; color: var(--aqua-800);
}
.drawer-small { margin-top: 28px; font-size: 13px; color: var(--muted); }
.drawer-links a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--aqua-700); text-underline-offset: 4px; }
.drawer-cta { margin-top: auto; width: 100%; min-height: 52px; font-size: 15px; }
.lang-drawer + .drawer-cta { margin-top: 20px; }

/* แผ่นจองคิว จอกว้างเป็นกล่องกลางจอ (ค่าเริ่ม) จอแคบเป็นแผ่นเลื่อนขึ้นจากล่าง (ใน media query) */
.sheet {
  position: fixed; left: 50%; top: 50%; z-index: 62;
  width: min(480px, 100% - 48px); max-height: min(90vh, 780px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--ivory); border-radius: 28px; padding: 28px 32px 30px;
  box-shadow: 0 40px 80px -30px rgba(20, 35, 30, .5);
  opacity: 0; visibility: hidden; transform: translate(-50%, -46%) scale(.98);
  transition: transform .4s var(--ease-sheet), opacity .3s, visibility 0s .4s;
}
.sheet.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: transform .4s var(--ease-sheet), opacity .3s; }
.sheet-handle { display: none; width: 40px; height: 4px; border-radius: 2px; background: rgba(47, 74, 68, .2); margin: 0 auto 18px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-head .icon-btn { margin: -4px -4px 0 0; }
.sheet-title { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.4; letter-spacing: -.01em; color: var(--aqua-800); }
html[lang="en"] .sheet-title { font-family: var(--latin); font-weight: 500; font-size: 28px; }

.bk-form { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; line-height: 1.4; color: var(--muted); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 14px;
  border-radius: 14px; border: 1px solid var(--field-line); background: #fff;
  /* 16px: Safari บน iPhone ซูมหน้าทั้งหน้าเมื่อแตะช่องที่ตัวอักษรเล็กกว่า 16px */
  font-family: var(--sans); font-size: 16px; line-height: 1.3; color: var(--aqua-800);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field textarea { height: auto; min-height: 76px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.field-opt { color: var(--muted); }
.field input[type="date"] { line-height: 46px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232F4A44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-radius: 14px; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-err { font-size: 13px; line-height: 1.5; color: var(--error); }
.field-err:empty { display: none; }
.form-err { font-size: 13px; color: var(--error); }
.form-err:empty { display: none; }
/*
 * กับดักบอท (honeypot) ส่งไปพร้อมคำขอเมื่อมี bookingEndpoint คนไม่เห็น ตัวอ่านหน้าจอไม่อ่าน (inert)
 * ไม่ใช้ display:none เพราะบอทบางตัวข้ามช่องที่ซ่อนแบบนั้น แต่กรอกช่องที่อยู่นอกจอ
 */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bk-submit { margin-top: 4px; width: 100%; min-height: 52px; font-size: 15px; }
.bk-note { margin-top: -4px; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }

/*
 * ปฏิทินวันว่าง (availabilityEndpoint) สถานะบอกด้วยสีและรูปทรงคู่กันเสมอ ไม่ใช้สีอย่างเดียว
 *   ว่าง = จุดทึบบนพื้นมิ้นต์ · เหลือบางช่วง = ครึ่งวงบนพื้นทองอ่อน · เต็ม = กากบาท ตัวเลขขีดฆ่า · ปิดรับออนไลน์ = ขีด
 * ตัวเลขของทุกสถานะผ่าน 4.5:1 บนพื้นของมัน (วัดแล้ว ดู README) วันที่อยู่นอกช่วงจองจางลงโดยตั้งใจ
 * (เลือกไม่ได้และประกาศ aria-disabled)
 */
.cal {
  margin-top: 2px; padding: 8px 8px 14px; background: #fff;
  border: 1px solid rgba(47, 74, 68, .16); border-radius: 18px;
}
.cal:focus { outline: none; }
.cal.is-invalid { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 4px; }
.cal-title { flex: 1; min-width: 0; text-align: center; font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--aqua-800); }
html[lang="en"] .cal-title { font-family: var(--latin); font-weight: 500; font-size: 21px; font-variant-numeric: lining-nums; }
.cal-nav { box-shadow: none; }
.cal-next svg { transform: rotate(180deg); }
.cal-nav[aria-disabled="true"] { cursor: default; }
.cal-nav[aria-disabled="true"] svg { opacity: .3; }
@media (hover: hover) { .cal-nav:not([aria-disabled="true"]):hover { background-color: var(--mint-50); } }

.cal-grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 3px; }
.cal-grid th { padding: 2px 0 4px; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--muted); text-align: center; }
.cal-grid td { padding: 0; text-align: center; vertical-align: top; }
.cal-day {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; min-height: 46px; margin: 0; padding: 4px 0; border: 1px solid transparent; border-radius: 12px;
  background: transparent; color: var(--muted); font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1;
  font-variant-numeric: tabular-nums; cursor: pointer;
}
.cal-day.is-wait { background: var(--soft); cursor: default; }
.cal-day.is-open { background: var(--mint-50); color: var(--aqua-800); font-weight: 600; }
.cal-day.is-limited { background: #FBF3E7; color: var(--ink); font-weight: 600; }
.cal-day.is-full .cal-n { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cal-day.is-past { color: #8A9590; font-weight: 400; }
.cal-day[aria-disabled="true"] { cursor: not-allowed; }
.cal-day.is-today { border-color: var(--field-line); }
.cal-day.is-picked { background: var(--aqua-800); border-color: var(--aqua-800); color: var(--ivory); }
.cal-day.is-picked .cal-ico { color: var(--ivory); }
.cal-day:focus-visible { outline-offset: 1px; border-radius: 12px; z-index: 1; }
@media (hover: hover) {
  .cal-day.is-open:not(.is-picked):hover, .cal-day.is-limited:not(.is-picked):hover { border-color: var(--aqua-600); }
}
.cal.is-busy .cal-grid tbody { opacity: .45; }

/* สัญลักษณ์สถานะ (ในช่องวัน คำอธิบาย และช่วงเวลา) */
.cal-ico { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; color: var(--muted); }
.cal-ico.is-open { border-radius: 50%; background: currentColor; color: var(--aqua-600); }
.cal-ico.is-limited { border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); color: var(--gold-text); }
.cal-ico.is-full::before, .cal-ico.is-full::after {
  content: ''; position: absolute; left: -1px; top: 3.25px; width: 10px; height: 1.5px; border-radius: 1px; background: currentColor;
}
.cal-ico.is-full::before { transform: rotate(45deg); }
.cal-ico.is-full::after { transform: rotate(-45deg); }
.cal-ico.is-none { visibility: hidden; }
.cal-ico.is-closed { width: 9px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }

.cal-status { padding: 6px 4px 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
/* หลังโหลดเสร็จ ข้อความสรุปเดือนมีไว้ให้ตัวอ่านหน้าจอ (aria-live) ตาไม่ต้องเห็นซ้ำ */
.cal-status:not(.is-shown) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cal-fail {
  margin: 8px 4px 0; padding: 12px 14px; border-radius: 12px; background: var(--soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.cal-fail p { flex: 1 1 100%; font-size: 14px; line-height: 1.5; color: var(--ink); }
.cal-fail .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.cal-legend {
  list-style: none; margin: 10px 0 0; padding: 0 6px;
  display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted);
}
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cal-note { margin-top: 2px; padding: 0 6px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.cal-hint { margin: 12px 4px 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }

/* ช่วงเวลาของวันที่เลือก: ตัวเลือกวิทยุจริง (ลูกศรเลื่อนในกลุ่ม ช่วงที่เต็มหรือปิดเป็น disabled) */
.cal-slots { min-width: 0; margin: 12px 0 0; padding: 12px 4px 0; border: 0; border-top: 1px solid var(--line); }
.cal-slots legend {
  float: left; width: 100%; padding: 0; margin-bottom: 8px;
  font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--aqua-800);
}
.slot-opts { clear: both; display: grid; gap: 8px; }
.slot { position: relative; display: block; }
/* .cal นำหน้า: กฎ .field input (ช่องกรอกเต็มความกว้าง) ต้องไม่มาถึงตัวเลือกวิทยุ */
.cal .slot-in { position: absolute; top: 50%; left: 16px; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; }
.slot-body {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px;
  border: 1px solid var(--field-line); border-radius: 14px; background: #fff; cursor: pointer;
}
/* วงกลมตัวเลือก: ยังไม่เลือกเป็นวงเปล่า เลือกแล้วเป็นวงหนา ไม่ได้บอกด้วยสีอย่างเดียว */
.slot-body::before {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--field-line); background: #fff;
}
.slot-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.slot-name { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--aqua-800); }
.slot-time { font-size: 14px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.slot-st { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: right; }
.slot-st.is-open { color: var(--aqua-700); }
.slot-st.is-asked { color: var(--gold-text); }
.slot-none .slot-name { font-weight: 500; }
.slot-in:checked + .slot-body { border-color: var(--aqua-800); box-shadow: inset 0 0 0 1px var(--aqua-800); background: var(--mint-50); }
.slot-in:checked + .slot-body::before { border: 5px solid var(--aqua-800); }
.slot-in:focus-visible + .slot-body { outline: 3px solid var(--aqua-700); outline-offset: 2px; }
.slot-in:disabled + .slot-body { cursor: not-allowed; background: var(--soft); border-color: rgba(47, 74, 68, .16); }
.slot-in:disabled + .slot-body::before { border-style: dashed; background: transparent; }
.slot-in:disabled + .slot-body .slot-name { color: var(--muted); }
@media (hover: hover) { .slot-in:not(:disabled):not(:checked) + .slot-body:hover { border-color: var(--aqua-700); } }
.slot-note { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--gold-text); }
.slot-note:empty { margin: 0; }

.bk-done { padding: 22px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.bk-done-title { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.4; color: var(--aqua-800); }
.bk-done-body { max-width: 320px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.bk-summary {
  width: 100%; margin-top: 6px; padding: 14px 16px; text-align: left; white-space: pre-line;
  background: #fff; border: 1px solid rgba(47, 74, 68, .1); border-radius: 14px;
  font-size: 14px; line-height: 1.7; color: var(--ink);
}
.bk-summary:empty { display: none; }
.bk-done-actions { margin-top: 8px; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.bk-done-actions .btn { width: 100%; min-height: 48px; font-size: 15px; }

/* ------------------------------------------------------------------ สลับภาษา TH | EN */
/* ปุ่มละ 44px (ขอบใสนับเป็นพื้นที่กด) ตัวที่เลือกเป็นเม็ดทึบ ไม่ได้บอกด้วยสีตัวอักษรอย่างเดียว */
.lang {
  display: inline-flex; align-items: center; flex: none;
  border: 1px solid rgba(47, 74, 68, .2); border-radius: 999px; background: rgba(255, 255, 255, .7);
}
.lang-btn {
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 5px solid transparent; background-clip: padding-box; border-radius: 999px; background-color: transparent;
  font: 600 12px/1 var(--sans); letter-spacing: .08em; color: var(--aqua-800);
  transition: background-color .25s, color .25s;
}
.lang-btn[aria-pressed="true"] { background-color: var(--aqua-800); color: var(--ivory); }
.lang-btn:focus-visible { outline-offset: -1px; border-radius: 999px; }
.lang-drawer { margin-top: 24px; align-self: flex-start; }
.lang-footer { margin-top: 4px; }

/* ------------------------------------------------------------------ หัวข้อภาษาอังกฤษ */
/* Noto Sans Thai ในโฟลเดอร์นี้มีแต่อักษรไทย หัวข้ออังกฤษจึงใช้ Cormorant ของแบรนด์ */
html[lang="en"] .hero-title, html[lang="en"] .section-head h2, html[lang="en"] .contact h2 {
  font-family: var(--latin); font-weight: 500; letter-spacing: -.005em; font-variant-numeric: lining-nums;
}
html[lang="en"] .hero-title { font-size: clamp(40px, 4vw, 56px); line-height: 1.08; }
html[lang="en"] .hero-sub .hero-title { font-size: clamp(40px, 4.4vw, 58px); }
html[lang="en"] .section-head h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.1; }
html[lang="en"] .contact h2 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.08; }
html[lang="en"] .hero-title em::after { bottom: .02em; }

/* กล่องดูรูปทั้งหมดของงาน จอกว้างกลางจอ จอแคบเต็มจอ */
.lightbox {
  position: fixed; left: 50%; top: 50%; z-index: 63;
  width: min(980px, 100% - 48px); max-height: min(94vh, 940px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 14px; padding: 22px 24px;
  background: var(--ivory); border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(20, 35, 30, .55);
  opacity: 0; visibility: hidden; transform: translate(-50%, -48%) scale(.98);
  transition: transform .4s var(--ease-sheet), opacity .3s, visibility 0s .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: transform .4s var(--ease-sheet), opacity .3s; }
.lb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lb-heading { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lb-type:empty, .lb-meta:empty, .lb-summary:empty { display: none; }
.lb-type { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--mint-50); color: var(--aqua-700); font-size: 12.5px; line-height: 1.5; }
.lb-title { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--aqua-800); }
.lb-meta { font-size: 14px; color: var(--muted); }
.lb-figure {
  margin: 0; display: flex; align-items: center; justify-content: center; min-height: 200px;
  background: #1F2826; border-radius: 16px; overflow: hidden; touch-action: pan-y; user-select: none;
}
.lb-img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(66vh, 660px); object-fit: contain; }
.lb-nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.lb-next svg { transform: rotate(180deg); }
.lb-count { min-width: 64px; text-align: center; font-size: 14px; font-weight: 500; color: var(--aqua-800); font-variant-numeric: tabular-nums; }
.lb-summary { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 62em; }

/* ------------------------------------------------------------------ เผยตอนเลื่อน */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ จอกลาง */
@media (max-width: 1080px) {
  .hero-grid { column-gap: 40px; }
  .how { grid-template-columns: 1fr; gap: 18px; }
  .gets, .care, .book-steps { gap: 14px; }
  .tier { padding: 28px 20px 20px; }
  .tier-amount { font-size: 40px; }
  .tier-name { font-size: 28px; }
}
@media (max-width: 899px) {
  .header-nav, .lang-header { display: none; }
  .header-actions { margin-left: auto; }
  .js .menu-btn { display: flex; }
  .menu-btn[hidden] { display: none !important; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: 'copy' 'visual' 'facts'; }
  .hero-visual { margin-top: 40px; max-width: 560px; }
  .samples { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .sample-landscape { grid-column: 1 / -1; }
  .gets, .care, .book-steps { grid-template-columns: 1fr; }
  .tiers, .budget-list, .guest-list { grid-template-columns: 1fr; max-width: 520px; }
  .tier.is-featured { margin-block: 0; padding-block: 30px 22px; }
  .price-lists, .promos-list { grid-template-columns: 1fr; }
  .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ มือถือ (ออกแบบที่ 390px ก่อน) */
@media (max-width: 760px) {
  :root { --gutter: 32px; --header-h: 64px; --section: 48px; }
  body { font-size: 16px; }

  .header-row { justify-content: space-between; gap: 10px; }
  .header-logo { width: 112px; margin-left: -8px; }
  .header-book { min-height: 44px; padding: 0 16px; font-size: 14px; box-shadow: none; border: 4px solid transparent; background-clip: padding-box; }

  .hero { padding: calc(var(--header-h) + 26px) 0 48px; }
  .hero-title { font-size: 31px; line-height: 1.38; }
  .hero-lead { margin-top: 14px; font-size: 16px; line-height: 1.7; }
  .hero-actions { margin-top: 22px; gap: 10px; flex-wrap: nowrap; }
  .hero-actions .btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; font-size: 15px; }
  .hero-note { margin-top: 14px; font-size: 13px; }
  .hero-visual { margin-top: 24px; }
  .hero-table { aspect-ratio: 1 / .7; border-radius: 22px; }
  .hero-strip { left: 18%; top: 4%; width: 21.5%; --u: .215cqi; }
  .hero-46 { right: 16%; top: 11%; width: 33%; --u: .33cqi; }
  .hero-spark { width: 18px; height: 18px; }
  .sample-tag { left: 12px; bottom: 12px; font-size: 12.5px; padding: 4px 12px; }
  .hero-facts { margin-top: 26px; padding-top: 18px; }
  .hero-facts li { padding: 0 8px; }
  .hero-facts strong { font-size: 14px; line-height: 1.35; }
  .hero-facts span { font-size: 12.5px; }

  .section-head { margin-bottom: 26px; }
  .section-head h2 { font-size: 25px; line-height: 1.4; }
  .section-lead { margin-top: 8px; font-size: 15px; line-height: 1.7; }

  .samples { gap: 12px; }
  .sample { gap: 8px; }
  .sample-art { height: 214px; border-radius: 18px; }
  .sample-landscape .sample-art { height: 188px; }
  .sample-landscape .print { width: 80%; --u: .8cqi; }
  .sample-flag { left: 10px; top: 10px; font-size: 11.5px; padding: 2px 9px; }
  .sample-name { font-size: 13px; }
  .sample-name strong { font-size: 15px; }
  .sample-portrait .print { width: 70%; --u: .7cqi; }
  .sample-strip .print { width: 42%; --u: .42cqi; }

  .gets { gap: 20px; }
  .get { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 0; border: 0; background: none; border-radius: 0; }
  .get-icon { grid-row: 1 / span 2; }
  .get h3 { margin-top: 0; font-size: 17px; }
  .get p { font-size: 14.5px; line-height: 1.7; }
  .gets-close { margin-top: 20px; font-size: 14.5px; line-height: 1.7; }
  .how { margin-top: 28px; padding: 20px; border-radius: 18px; }
  .how-title { font-size: 17px; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .how-steps li { font-size: 14px; gap: 10px; }
  .how-n { width: 30px; height: 30px; font-size: 15px; }

  .tier, .tier.is-featured { padding: 22px 20px 16px; border-radius: 20px; }
  .tier-badge { margin-bottom: 8px; }
  .tier-name { font-size: 28px; }
  .tier-name.is-th { font-size: 19px; }
  .tier-tag { font-size: 13.5px; }
  .tier-price { margin-top: 12px; padding-top: 12px; }
  .tier-amount { font-size: 38px; }
  .tier-amount.is-word { font-size: 20px; }
  .tier-unit { font-size: 13px; }
  .tier-bullets { margin-top: 12px; gap: 6px; }
  .tier-bullets li { font-size: 14px; line-height: 1.55; padding-left: 22px; }
  .tier-more { padding-top: 6px; }
  .tier-more summary { font-size: 13.5px; }
  .tier-specs dt { font-size: 12.5px; }
  .tier-specs dd { font-size: 13px; }
  .tier-cta { min-height: 48px; font-size: 14.5px; }
  .tiers { gap: 12px; }
  /* หน้าแรกบนมือถือ: ชื่อกับราคาอยู่แถวเดียวกัน ข้อเด่นเต็มความกว้าง การ์ดสามใบจึงจบในราวหนึ่งหน้าจอครึ่ง */
  [data-layout="home"] > .tiers .tier { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: end; }
  [data-layout="home"] > .tiers .tier > * { grid-column: 1 / -1; }
  [data-layout="home"] > .tiers .tier-badge { justify-self: start; }
  [data-layout="home"] > .tiers .tier-name { grid-column: 1; align-self: end; }
  [data-layout="home"] > .tiers .tier-tag { display: none; }
  [data-layout="home"] > .tiers .tier-price { grid-column: 2; grid-row: auto; margin: 0; padding: 0; border: 0; flex-direction: column; align-items: flex-end; text-align: right; }
  [data-layout="home"] > .tiers .tier-from { margin: 0; }
  [data-layout="home"] > .tiers .tier-amount { font-size: 34px; }
  [data-layout="home"] > .tiers .tier-unit { font-size: 12.5px; }
  [data-layout="home"] > .tiers .tier-bullets { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gold-line); }
  [data-layout="home"] > .tiers .tier.is-featured .tier-bullets { border-top-color: rgba(228, 208, 183, .35); }

  .offer { margin-top: 20px; }
  .offer summary { padding: 12px 14px 12px 18px; gap: 2px 10px; }
  .offer-title { font-size: 14.5px; }
  .offer-teaser { font-size: 14px; flex-basis: 100%; order: 3; }
  .offer-terms { font-size: 12.5px; order: 4; }
  .offer-body { padding: 0 14px 16px; }
  .alt { margin-top: 12px; }
  .alt summary { padding: 12px 14px 12px 18px; min-height: 64px; align-items: flex-start; flex-wrap: wrap; }
  .alt-head { flex-basis: calc(100% - 50px); }
  .alt-title { font-size: 16px; }
  .alt-from { font-size: 13.5px; }
  .alt-open { order: 3; flex-basis: 100%; font-size: 13.5px; }
  .alt .plist-icon { order: 2; }
  .alt-body { padding: 0 14px 16px; }
  .btier { padding: 16px 16px 14px; border-radius: 16px; }
  .btier-name { font-size: 22px; }
  .btier-name.is-th { font-size: 16px; }
  .btier-amount { font-size: 29px; }
  .btier-bullets li { font-size: 13.5px; }
  .budget { margin-top: 36px; }
  .guest-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; }
  .guest-name { grid-column: 1; font-size: 15px; }
  .guest-note { grid-column: 1; font-size: 12.5px; }
  .guest-price { grid-column: 2; grid-row: 1 / span 2; font-size: 30px; }
  .guest-price.is-word { font-size: 18px; }
  .price-subhead { margin: 32px 0 14px; font-size: 17px; }
  .price-lists { margin-top: 20px; gap: 10px; }
  .plist summary { min-height: 56px; padding: 8px 12px 8px 18px; }
  .plist-title { font-size: 15.5px; }
  .plist-count { font-size: 12px; }
  .plist-icon { width: 28px; height: 28px; }
  .plist-icon::before, .plist-icon::after { width: 10px; margin-left: -5px; }
  .plist-body { padding: 0 16px 16px; }
  .plist-rows li { gap: 12px; padding: 10px 0; }
  .plist-name { font-size: 14px; }
  .plist-name small { font-size: 12.5px; }
  .plist-price { font-size: 14px; }
  .plist-note { font-size: 12.5px; }
  .plist-cta { width: 100%; }
  .plist-rows li.is-ask, .plist-rows li.is-book { flex-direction: column; align-items: stretch; gap: 8px; }
  .plist-ask, .plist-book { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; text-align: left; }
  .plist-book .plist-price { text-align: left; }
  .promos { padding: 16px 18px; border-radius: 18px; }
  .price-notes { margin-top: 18px; }
  .price-notes li { font-size: 12.5px; }
  .pricing-static { grid-template-columns: 1fr; gap: 10px; }
  .pstatic { padding: 18px 20px; border-radius: 18px; }

  .book-steps { gap: 18px; }
  .book-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; padding: 0; border: 0; background: none; border-radius: 0; }
  .book-n { grid-row: 1 / span 2; font-size: 34px; }
  .book-steps h3 { margin-top: 2px; font-size: 16.5px; }
  .book-steps p { font-size: 14.5px; line-height: 1.7; }
  .care li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 18px; border-radius: 18px; }
  .care-icon { grid-row: 1 / span 2; }
  .care h3 { margin-top: 0; font-size: 16.5px; }
  .care p { font-size: 14.5px; line-height: 1.7; }

  .faq-item button { min-height: 56px; padding: 12px 0; font-weight: 400; font-size: 15.5px; }
  .faq-icon { width: 28px; height: 28px; }
  .faq-icon::before, .faq-icon::after { width: 10px; margin-left: -5px; }
  .faq-a p, .faq-promos { padding: 0 36px 16px 0; font-size: 14.5px; line-height: 1.75; }

  .contact { padding: 56px 0 44px; }
  .contact h2 { font-size: 26px; line-height: 1.4; }
  .contact-lead { margin-top: 10px; font-size: 15px; line-height: 1.7; }
  .contact-actions { margin-top: 22px; width: 100%; flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .biz-row { margin-top: 40px; padding: 4px 18px; }
  .biz-link { font-size: 14.5px; }

  .site-footer { padding: 0 0 100px; }
  .footer-row { padding-top: 28px; }
  .footer-logo { width: 128px; }
  .footer-tag { font-size: 12px; letter-spacing: .22em; }
  .footer-meta { margin-top: 4px; font-size: 13px; gap: 16px; }

  .hero-sub { padding-bottom: 40px; }
  .hero-sub .hero-title { font-size: 29px; }

  .feat-tabs { max-width: none; }
  .feat-tabs [role="tab"] { font-size: 13px; }
  .feat { padding: 16px; gap: 14px; border-radius: 16px; }
  .feat-icon { width: 38px; height: 38px; padding: 8px; border-radius: 11px; }
  .feat h4 { font-size: 15.5px; }
  .feat p { font-size: 13.5px; line-height: 1.7; }

  .work-scroll {
    margin: 0 -16px; border-radius: 0; padding-bottom: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .work-scroll::-webkit-scrollbar { display: none; }
  .work-scroll:focus-visible { outline-offset: -3px; }
  .work-list { display: flex; gap: 12px; width: max-content; padding: 0 16px; }
  .work-card { flex: none; width: min(290px, calc(100vw - 72px)); scroll-snap-align: start; }
  .work-body { padding: 14px 16px 18px; }
  .work-title { font-size: 16.5px; }

  .lightbox {
    left: 0; top: 0; width: 100%; height: 100%; max-height: none; border-radius: 0;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
    transform: translateY(3%);
  }
  .lightbox.is-open { transform: none; }
  .lb-title { font-size: 19px; }
  .lb-figure { flex: 1 1 auto; }
  .lb-img { max-height: 66vh; max-height: 66dvh; }

  /* แผ่นจองคิวเลื่อนขึ้นจากล่าง */
  .sheet {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 90vh; max-height: 90dvh;
    border-radius: 28px 28px 0 0; padding: 12px 20px calc(30px + env(safe-area-inset-bottom));
    box-shadow: 0 -20px 50px -20px rgba(20, 35, 30, .4);
    opacity: 1; transform: translateY(105%);
    transition: transform .45s var(--ease-sheet), visibility 0s .45s;
  }
  .sheet.is-open { transform: none; transition: transform .45s var(--ease-sheet); }
  .sheet-handle { display: block; }
  .sheet-title { font-size: 21px; }

  html[lang="en"] .hero-title { font-size: 38px; line-height: 1.08; }
  html[lang="en"] .hero-sub .hero-title { font-size: 36px; }
  html[lang="en"] .section-head h2 { font-size: 31px; line-height: 1.12; }
  html[lang="en"] .contact h2 { font-size: 32px; line-height: 1.12; }
}
@media (min-width: 900px) {
  /* จอกว้างมีปุ่มเช็กคิวบนหัวเว็บอยู่แล้ว ปุ่มลอยเหลือแค่ LINE */
  .float-book { display: none; }
  .js .float { right: 28px; bottom: 28px; }
}
@media (max-width: 380px) {
  /* ปฏิทินเต็มความกว้างจอ ช่องวันยังกว้างพอแตะ (44px ที่จอ 320) */
  .cal { margin-inline: -20px; padding-inline: 0; border-radius: 0; border-inline: 0; }
  .cal-grid { border-spacing: 1px 3px; }
  .cal-head { padding-inline: 8px; }
  .hero-title { font-size: 28px; }
  .hero-actions .btn { font-size: 14px; }
  .header-book { padding: 0 12px; font-size: 13px; }
  html[lang="en"] .hero-title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* transition: none ไม่ใช่ระยะเวลาสั้นๆ: ถ้าทุกตัวมี transition .01ms ปุ่มข้างใน dialog จะ "ค่อยๆ" รับ visibility
     จากกล่องแม่ แล้ว focus() ตอนเปิดไม่ติด (เจอจริง 2569-09-26 โฟกัสหลุดไปที่ body) */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .hero-title em::after { transform: scaleX(1); }
}
