/* The Square · Novotel Bangkok IMPACT · สีน้ำเงิน Novotel + ส้มโลโก้ The Square */
:root {
  --blue: #1E22AA; --blue-d: #14177a; --orange: #F9A11B; --orange-d: #c97a00;
  --ink: #1b1d2a; --grey: #5d6068; --line: #e6e2d9; --cream: #fbf6ec; --white: #fff;
  --r: 18px; --shadow: 0 14px 40px rgba(20, 23, 122, .12);
  --f: 'Montserrat', 'IBM Plex Sans Thai', system-ui, sans-serif;
}
.l-zh { --f: 'Montserrat', 'Noto Sans SC', system-ui, sans-serif; }
.l-ja { --f: 'Montserrat', 'Noto Sans JP', system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--f); color: var(--ink); background: var(--white); font-variant-numeric: lining-nums; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
/* ไทยไม่ตัดกลางคำ: ขึ้นบรรทัดใหม่ที่ช่องว่าง ถ้ายาวเกินจอค่อยตัด */
.l-th { word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--grey); font-size: .9em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: #fff; padding: 8px 14px; }
.hp { position: absolute; left: -9999px; }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.4em; border-radius: 999px; font: 600 15px/1.2 var(--f); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9em 1.8em; font-size: 16px; }
.btn-o { background: var(--orange); color: #1b1300; }
.btn-o:hover { background: #ffb43d; }
.btn-b { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: #06C755; color: #fff; }

/* ---------- หัวเว็บ ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.hdr-in { display: flex; align-items: center; gap: 20px; width: min(1280px, 100% - 32px); margin: 0 auto; height: 76px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav > a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; opacity: .92; }
.nav > a:hover, .nav > a[aria-current] { opacity: 1; box-shadow: inset 0 -2px var(--orange); }
.langs { display: flex; gap: 2px; border-left: 1px solid rgba(255,255,255,.3); padding-left: 14px; }
.langs a { color: #fff; text-decoration: none; font-size: 13px; padding: 4px 7px; border-radius: 6px; opacity: .75; }
.langs a[aria-current] { opacity: 1; background: rgba(255,255,255,.18); }
.hdr.solid, body:not(.home):not(.has-hero) .hdr { background: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.crumbs { padding-top: 92px; font-size: 13px; color: var(--grey); }
.crumbs a { color: var(--grey); }

/* ---------- Hero หน้าแรก ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-bg img { animation: kb 18s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,60,.55) 0%, rgba(10,12,60,.15) 35%, rgba(10,12,60,.82) 78%, rgba(10,12,60,.95) 100%); }
.hero-in, .phero-in { text-shadow: 0 2px 18px rgba(5,6,40,.55); }
.hero-in { padding: 140px 0 72px; max-width: 900px; margin-left: max(16px, calc((100% - 1200px) / 2)); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8em; opacity: .9; }
.l-th .kicker, .l-zh .kicker, .l-ja .kicker { letter-spacing: .04em; }
.k-o { color: var(--orange-d); opacity: 1; }
.sec-blue .k-o { color: var(--orange); }
.stamp { display: inline-block; font: 800 14px/1 var(--f); letter-spacing: .28em; text-transform: uppercase; color: #1b1300; background: var(--orange); padding: 10px 16px 10px 20px; border-radius: 6px; transform: rotate(-2deg); box-shadow: 0 8px 24px rgba(249,161,27,.45); margin-bottom: 18px; animation: pulse 2.8s ease-in-out infinite; }
.stamp-b { animation: none; }
@keyframes pulse { 50% { box-shadow: 0 8px 34px rgba(249,161,27,.85); } }
.h1 { font-size: clamp(42px, 8vw, 96px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.l-th .h1, .l-zh .h1, .l-ja .h1 { letter-spacing: 0; line-height: 1.15; }
.h1.dark { font-size: clamp(32px, 5vw, 56px); color: var(--blue); }
.tagline { font-size: clamp(20px, 3vw, 30px); font-weight: 300; color: var(--orange); margin-bottom: .6em; }
.lead { font-size: clamp(17px, 1.8vw, 20px); max-width: 720px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.chips li { border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- หัวหน้าย่อย ---------- */
.phero { position: relative; color: #fff; isolation: isolate; overflow: hidden; min-height: 70vh; display: flex; align-items: flex-end; }
.phero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,60,.25), rgba(10,12,60,.9)); }
.phero-in { padding: 120px 0 56px; }
.phero .h1 { font-size: clamp(34px, 5.5vw, 64px); }
body:not(.home) .crumbs + main .phero { min-height: 62vh; }

/* ---------- section ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec.top { padding-top: 32px; }
.sec-blue { background: radial-gradient(circle at 85% 0%, #2d33d6 0, var(--blue) 45%, var(--blue-d) 100%); color: #fff; }
.sec-cream { background: var(--cream); }
.h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--blue); }
.sec-blue .h2 { color: #fff; }
.h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; color: var(--blue); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.rounded { border-radius: var(--r); }

/* bento ไฮไลต์ */
.bento { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; counter-reset: b; }
.b-card { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; }
.b-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.b-card:hover img { transform: scale(1.06); }
.b-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(10,12,60,.88)); }
.b-0 { grid-column: span 2; grid-row: span 2; }
.b-1, .b-2, .b-3, .b-4 { grid-column: span 2; }
.b-txt { position: absolute; inset: auto 0 0; padding: 20px 22px; }
.b-txt h3 { font-size: 22px; margin-bottom: .25em; }
.b-0 .b-txt h3 { font-size: clamp(26px, 3vw, 38px); }
.b-txt p { margin: 0; font-size: 15px; opacity: .92; }
.b-no { display: block; font-weight: 800; color: var(--orange); font-size: 14px; letter-spacing: .1em; }

/* ราคา */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 20px; }
.price { position: relative; background: #fff; color: var(--ink); border-radius: var(--r); padding: 30px 26px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.p-hi { outline: 3px solid var(--orange); }
.p-best { background: linear-gradient(160deg, #fff7e8, #fff); outline: 3px solid var(--orange); }
.p-flag { position: absolute; top: -14px; left: 22px; margin: 0; background: var(--orange); color: #1b1300; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.p-name { font-weight: 700; color: var(--blue); margin: 0 0 4px; font-size: 18px; }
.p-num { font: 800 clamp(44px, 5vw, 60px)/1 var(--f); margin: 0 0 12px; color: var(--ink); }
.p-num .cur { font-size: .45em; vertical-align: .9em; margin-right: 2px; }
.p-num small { font-size: 16px; font-weight: 500; color: var(--grey); }
.p-cond { font-size: 15px; color: var(--grey); margin: 0; }
.p-notes { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.p-notes li::before { content: '✓ '; color: var(--orange); font-weight: 700; }
.sec:not(.sec-blue) .p-notes { color: var(--grey); }

/* 4 ภาค */
.reg { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg li { border-radius: 14px; padding: 18px; background: var(--cream); border-left: 5px solid var(--orange); }
.reg-northeast { border-color: #e2582b !important; } .reg-central { border-color: var(--blue) !important; } .reg-south { border-color: #2e9b6a !important; }
.reg h3 { font-size: 18px; color: var(--blue); margin-bottom: 4px; }
.reg p { margin: 0; font-size: 15px; color: var(--grey); }
.stack { position: relative; padding-bottom: 60px; }
.stack > img:first-child { border-radius: var(--r); width: 82%; aspect-ratio: 4/5; object-fit: cover; }
.stack-sm { position: absolute; right: 0; bottom: 0; width: 52%; border-radius: var(--r); border: 6px solid #fff; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }

/* แจ้งเตือน + ฟอร์ม */
.notify { margin-top: 24px; }
.nform { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 12px; align-items: end; text-align: left; }
.nform .chk { grid-column: 1 / -1; order: 3; }
.form label, .nform label { display: block; }
.form label > span, .nform label > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
input, select, textarea { width: 100%; font: 16px/1.4 var(--f); padding: 12px 14px; border: 1.5px solid #d8d3c7; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(249,161,27,.45); border-color: var(--orange); }
.chk { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14px; }
.chk input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.n-or { margin-top: 18px; font-size: 15px; color: var(--grey); }
.ok { background: #e3f6e8; color: #145a2c; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.err { background: #fde8e6; color: #8a1f12; padding: 12px 16px; border-radius: 12px; }
.warn { background: #fff3d6; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.formbox { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.formbox.left { text-align: left; margin: 24px 0; }
.notify-box { border-radius: var(--r); padding: clamp(22px, 3vw, 34px); }
.notify-box .nform { grid-template-columns: 1fr; }
.formbox .nform { grid-template-columns: 1fr; }
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.accor { background: var(--cream); border-radius: 12px; padding: 14px; display: grid; gap: 12px; }
.hint { font-size: 14px; color: var(--grey); margin: 0; }
.total { font-size: 18px; margin: 4px 0; }
.total b { font-size: 28px; color: var(--blue); }

/* การ์ด */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { display: grid; grid-template-rows: 280px auto; background: var(--cream); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.duo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.duo-card img { width: 100%; height: 100%; object-fit: cover; }
.duo-card > div { padding: 26px; }
.more { font-weight: 700; color: var(--blue); }
.grid3 { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-t { padding: 20px 22px; }
.card-t h3 { color: var(--blue); font-size: 20px; }
.card-t p { margin: 0; color: var(--grey); font-size: 15px; }
.steps { padding-left: 0; list-style: none; counter-reset: s; margin: 0 0 28px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 16px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.park { display: flex; gap: 18px; align-items: center; background: #fff; border: 2px solid var(--blue); border-radius: var(--r); padding: 16px 20px; margin: 0 0 24px; }
.park-p { flex: none; margin: 0; width: 64px; height: 64px; border-radius: 14px; background: var(--blue); color: #fff; font: 800 28px/64px var(--f); text-align: center; }
.park h3 { margin: 0 0 2px; color: var(--blue); font-size: 18px; }
.park p:last-child { margin: 0; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; margin: 24px 0 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-0 { grid-column: span 2; grid-row: span 2; } .g-1 { grid-column: span 2; } .g-4, .g-7 { grid-row: span 2; }
.offers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 18px; }
.offer { background: var(--cream); border-radius: var(--r); padding: 28px; border-top: 6px solid var(--orange); }
.offer h3 { color: var(--blue); }
.o-num { font: 800 46px/1 var(--f); margin-bottom: 14px; }
.o-num small { font-size: 16px; font-weight: 500; color: var(--grey); }

/* เมนู */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: thin; }
.tabs a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--cream); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.tabs a:hover { background: var(--orange); }
.msec { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.mlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.mi { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mi:not(.has-img) { grid-template-columns: 1fr auto; }
.mi img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.mi h3 { font-size: 17px; margin: 0 0 2px; }
.mi-en { font-size: 13px; color: var(--grey); margin: 0; }
.mi-d { font-size: 14px; color: var(--grey); margin: 4px 0 0; }
.mi-p { font-weight: 700; color: var(--blue); margin: 0; white-space: nowrap; }
.tags { margin: 6px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: 12px; background: #e6f4ea; color: #1d6b35; border-radius: 999px; padding: 2px 9px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 28px; color: var(--orange-d); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item h3 { font-size: 18px; margin: 0; font-weight: 600; }
.faq-item p { color: var(--grey); padding-bottom: 8px; }

/* ท้ายเว็บ */
.ftr { background: #0f1150; color: rgba(255,255,255,.85); padding: 56px 0 90px; font-size: 15px; }
.ftr a { color: #fff; }
.ftr-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.ftr-logo { width: 170px; }
.ftr-tag { color: var(--orange); margin-top: 10px; }
.ftr-h { font-size: 15px; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 6px; }
.ftr-c { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: 13px; opacity: .7; }
.dock { display: none; }

/* ---------- จอเล็ก ---------- */
@media (max-width: 1080px) {
  .burger { display: block; margin-left: auto; }
  .hdr-book { display: none; }
  .nav { position: fixed; inset: 76px 0 auto; background: var(--blue); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; margin: 0; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav.open { transform: none; visibility: visible; }
  .nav > a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 17px; }
  .langs { border: 0; padding: 14px 0 0; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split, .duo { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .b-0 { grid-column: span 2; grid-row: span 1; height: 320px; }
  .b-1, .b-2, .b-3, .b-4 { grid-column: span 1; }
  .b-4 { grid-column: span 2; }
  .prices, .offers, .grid3 { grid-template-columns: 1fr; gap: 26px; }
  .mlist { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .nform { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .logo img { width: 120px; }
  .hdr-in { height: 64px; }
  .nav { top: 64px; }
  .crumbs { padding-top: 76px; }
  .hero-in, .phero-in { text-shadow: 0 2px 18px rgba(5,6,40,.55); }
.hero-in { padding: 110px 0 96px; }
  .bento { grid-template-columns: 1fr; }
  .b-0, .b-1, .b-2, .b-4 { grid-column: span 1; }
  .reg { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; }
  .mi img { width: 72px; height: 72px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; inset: auto 0 0; z-index: 40; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--blue); background: var(--cream); }
  .dock svg { width: 18px; height: 18px; fill: currentColor; }
  .dock .d-line { background: #06C755; color: #fff; }
  .dock .d-book { background: var(--orange); color: #1b1300; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
/* ราคาในคอลัมน์แคบ (หน้าจอง) เรียงลงทีละใบ */
.split .prices { grid-template-columns: 1fr; gap: 24px; }
.p-num { white-space: nowrap; }
.nform button { order: 4; }
.h1kw { display: block; font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; letter-spacing: .02em; margin-top: 10px; margin-bottom: 6px; opacity: .9; }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(10,12,60,.45) 0%, rgba(10,12,60,.15) 18%, rgba(10,12,60,.55) 40%, rgba(10,12,60,.9) 62%, rgba(10,12,60,.96) 100%); } .hero-in { padding-top: 46vh; } }
button:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- hero สไลด์ (Jeff 22 ต.ค. 69: หลายภาพ เน้นอาหารไทย 4 ภาค → Sashimi → กุ้งแม่น้ำ) ---------- */
.slides { position: absolute; inset: 0; z-index: -2; background: #0b0d3a; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.on img { animation: kb2 7s ease-out forwards; }
@keyframes kb2 { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero { align-items: center; }
.hero-in { padding: 110px 0 96px; }
.hero .h1 { font-size: clamp(42px, 6.4vw, 84px); }
.hero .tagline { margin-bottom: .4em; }
.hero .lead { font-size: clamp(16px, 1.5vw, 18px); }
.sl-nav { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 2; }
.sl-cap { margin: 0; color: #fff; font-weight: 600; font-size: 15px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); }
.sl-cap::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 9px; vertical-align: 1px; }
.sl-bars { display: flex; gap: 8px; }
.sl-tab { background: none; border: 0; padding: 12px 0; width: 46px; cursor: pointer; }
.sl-tab i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.sl-tab i::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.sl-tab.on i::after { animation: prog var(--dur, 6s) linear forwards; }
.sl-tab.done i::after { transform: scaleX(1); }
.hero.paused .sl-tab.on i::after { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }

/* แถบวิ่ง */
.ticker { background: var(--orange); color: #1b1300; overflow: hidden; white-space: nowrap; padding: 14px 0; font-weight: 700; font-size: 17px; }
.tk-in { display: inline-flex; gap: 28px; align-items: center; animation: tick 38s linear infinite; padding-left: 28px; }
.tk-in b { color: var(--blue); font-size: 14px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* หัวเว็บโปร่งแบบกระจกเมื่อเลื่อน */
.hdr.solid { background: rgba(30,34,170,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }

/* ค่อย ๆ ปรากฏตอนเลื่อนถึง (เฉพาะเมื่อมี JS) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.b-card.rv:nth-child(2) { transition-delay: .08s; } .b-card.rv:nth-child(3) { transition-delay: .16s; } .b-card.rv:nth-child(4) { transition-delay: .24s; } .b-card.rv:nth-child(5) { transition-delay: .32s; }

@media (max-width: 700px) {
  .hero { align-items: flex-end; }
  .hero-in { padding: 100px 0 84px; }
  .sl-nav { bottom: auto; top: 74px; }
  .sl-cap { font-size: 13px; padding: 5px 12px; }
  .sl-tab { width: 22px; }
  .sl-bars { gap: 5px; }
  .hero .chips li:last-child { display: none; }
  .ticker { font-size: 15px; padding: 11px 0; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } .tk-in { animation: none; } .js .rv { opacity: 1; transform: none; } }
.h1sub { display: block; font-size: .3em; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--orange); margin-top: 12px; }
.l-th .h1sub, .l-zh .h1sub, .l-ja .h1sub { letter-spacing: .32em; }
.gallery figure:last-child:nth-child(3) { grid-column: span 2; }
/* แกลเลอรีแบบคอลัมน์ (masonry) ภาพไม่ถูกครอปหัวท้าย ไม่มีช่องว่าง */
.gallery { display: block; columns: 4 220px; column-gap: 12px; }
.gallery figure { break-inside: avoid; margin: 0 0 12px; grid-column: auto !important; grid-row: auto !important; }
.gallery img { height: auto; }

/* ---------- hero ใหม่ทุกหน้า (Jeff 22 ต.ค. 69: ทันสมัยขึ้น สไลด์ภาพ ไม่มี breadcrumb) ---------- */
body:not(.home):not(.has-hero) main { padding-top: 76px; }
.hero { min-height: 100svh; }
.hero-page { min-height: 88svh; }
.hero::after { background: linear-gradient(90deg, rgba(8,10,52,.88) 0%, rgba(8,10,52,.62) 38%, rgba(8,10,52,.12) 70%, rgba(8,10,52,0) 100%), linear-gradient(180deg, rgba(8,10,52,.55) 0%, rgba(8,10,52,0) 22%, rgba(8,10,52,0) 70%, rgba(8,10,52,.7) 100%); }
.hero-in { max-width: 760px; padding: 120px 0 150px; }
.hkick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .06em; margin-bottom: 22px; }
.pill-live { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #1b1300; padding: 6px 14px 6px 12px; border-radius: 999px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; text-shadow: none; }
.pill-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1b1300; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero .h1 { font-size: clamp(40px, 5.6vw, 78px); letter-spacing: -.025em; }
.hero-page .h1 { font-size: clamp(34px, 4.4vw, 62px); }
.hero .h1sub { font-size: clamp(13px, 1.25vw, 17px); letter-spacing: .38em; margin-top: 14px; }
.hero .h1kw { font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; opacity: .85; margin-top: 8px; }
.hshort { font-size: clamp(16px, 1.35vw, 18px); max-width: 620px; opacity: .95; margin: 18px 0 22px; }
.hero .stamp { display: none; }
/* แถบภาพย่อ */
.sl-nav { bottom: 34px; align-items: flex-end; }
.sl-thumbs { display: flex; gap: 10px; }
.sl-thumbs .sl-tab { position: relative; width: 92px; height: 62px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255,255,255,.35); opacity: .7; transition: opacity .3s, transform .3s, border-color .3s; }
.sl-thumbs .sl-tab img { width: 100%; height: 100%; object-fit: cover; }
.sl-thumbs .sl-tab:hover { opacity: 1; transform: translateY(-3px); }
.sl-thumbs .sl-tab.on { opacity: 1; border-color: #fff; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.sl-thumbs .sl-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; margin: 0; border-radius: 0; background: rgba(0,0,0,.35); }
.sl-thumbs .sl-tab.done i::after { transform: scaleX(0); }
.sl-cap { order: 0; }
.intro { padding: 56px 0 0; }
.intro .lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink); border-left: 4px solid var(--orange); padding-left: 22px; }
.logo-color { width: min(320px, 70%); height: auto; margin: 0 0 22px; }
.logo-c { margin: 0 auto 22px; }
@media (max-width: 900px) { .sl-thumbs .sl-tab { width: 64px; height: 44px; } }
@media (max-width: 700px) {
  .hero, .hero-page { min-height: 100svh; }
  .hero::after { background: linear-gradient(180deg, rgba(8,10,52,.55) 0%, rgba(8,10,52,.1) 20%, rgba(8,10,52,.5) 45%, rgba(8,10,52,.92) 66%, rgba(8,10,52,.97) 100%); }
  .hero-in { padding: 36vh 0 40px; }
  .sl-nav { top: 74px; bottom: auto; align-items: center; justify-content: flex-end; }
  .sl-nav .sl-cap { display: none; }
  .sl-thumbs { gap: 6px; }
  .sl-thumbs .sl-tab { width: 34px; height: 34px; border-radius: 50%; border-width: 2px; }
  .sl-thumbs .sl-tab i { display: none; }
  .hshort { margin: 12px 0 16px; }
}
