/* หนมไทยครูทราย — โทนน้ำเงินเข้มคู่ทอง หรูหรา ทางการ น่าเชื่อถือ */
:root {
  --navy: #101d45;
  --navy-2: #1a2b5e;
  --navy-3: #26397a;
  --ink: #1b2240;
  --muted: #4d5575;
  --gold: #c9a24b;
  --gold-2: #e4c779;
  --gold-ink: #7a5a14;
  --cream: #faf6ec;
  --paper: #ffffff;
  --line: #e7dfcb;
  --line-green: #06c755;
  --r: 14px;
  --shadow: 0 1px 2px rgba(16, 29, 69, .06), 0 8px 24px rgba(16, 29, 69, .08);
  --shadow-up: 0 2px 4px rgba(16, 29, 69, .08), 0 14px 32px rgba(16, 29, 69, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.75 'IBM Plex Sans Thai', system-ui, sans-serif;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-3); }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.nw { white-space: nowrap; }
h1, h2 { text-wrap: balance; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ic { width: 22px; height: 22px; flex: none; }
.brand-ic { width: 20px; height: 20px; flex: none; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; line-height: 1.3;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05b04b; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(16, 29, 69, .25); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- แถบบน ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(201, 162, 75, .35); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brandmark { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brandmark img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.brandmark-name { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; line-height: 1.25; white-space: nowrap; }
.brandmark-name { min-width: 0; }
.brandmark-name .bn { white-space: normal; }
.brandmark-name .bn > span { white-space: nowrap; }
@media (max-width: 479px) { .brandmark-name { font-size: 15px; } }
.topbar-in > .btn { flex: none; white-space: nowrap; }
.brandmark-name small { font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--gold-2); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: #e9ecf6; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--gold-2); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent; color: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .top-line { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--navy); padding: 8px 16px 16px; border-bottom: 1px solid rgba(201, 162, 75, .35);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
}

/* ---------- แบนเนอร์สไลด์ ---------- */
.hero { position: relative; height: min(70vh, 680px); min-height: 460px; background: var(--navy); color: #fff; overflow: hidden; }
@media (min-width: 1024px) { .hero { height: min(82vh, 760px); } }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1s ease; }
.slide.is-on { opacity: 1; }
.slide-img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 44, .3) 0%, rgba(10, 18, 44, .55) 35%, rgba(10, 18, 44, .9) 100%); }
@media (min-width: 900px) { .hero-shade { background: linear-gradient(90deg, rgba(10, 18, 44, .9) 0%, rgba(10, 18, 44, .6) 45%, rgba(10, 18, 44, .1) 80%); } }
.hero-in { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 72px; }
@media (min-width: 900px) { .hero-in { align-items: center; padding-bottom: 0; } .hero-in .wrap > * { max-width: 600px; } }
.hero h1 { color: #fff; font-size: clamp(32px, 7vw, 60px); line-height: 1.3; margin-bottom: 12px; }
.h1-shop { display: block; font-size: clamp(16px, 2.4vw, 20px); color: var(--gold-2); font-weight: 600; margin-bottom: 4px; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: #e8ebf5; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.hero-ctrl > button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dots { display: flex; gap: 2px; }
.dot { width: 28px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; }
.dot::after { content: ''; position: absolute; left: 6px; right: 6px; top: 18px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); }
.dot[aria-current="true"]::after { background: var(--gold-2); }

.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--gold-ink); margin-bottom: 10px; }
.eyebrow-light { color: var(--gold-2); }

/* ---------- ส่วนทั่วไป ---------- */
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }
.h2 { font-size: clamp(26px, 4.2vw, 40px); margin-bottom: 14px; }
.h3 { font-size: 22px; margin: 40px 0 16px; }
.lead { font-size: 18px; color: var(--muted); }
.sec-head { max-width: 760px; margin-bottom: 32px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.more-row { margin-top: 32px; }
.aeo-lead { max-width: 820px; color: var(--muted); margin-bottom: 28px; }
.note { font-size: 15px; color: var(--muted); margin-top: 14px; }

.intro { background: var(--paper); padding-bottom: 32px; }
.intro .lead { margin-bottom: 0; }

/* จุดเด่น */
.highlights { background: var(--paper); }
.hl-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .hl-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.hl { background: var(--cream); border-radius: var(--r); padding: 22px 16px; text-align: center; }
.hl-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: var(--gold-2); margin-bottom: 12px; }
.hl-ic .ic { width: 26px; height: 26px; }
.hl h3 { font-size: 17px; margin-bottom: 6px; }
.hl p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* การ์ดบริการ */
.sv-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .sv-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.sv { overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
@media (hover: hover) and (pointer: fine) { .sv:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); } }
.sv-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.sv-media { display: block; background: #eee6d3; overflow: hidden; }
.sv-media img { width: 100%; height: 100%; object-fit: contain; }
.sv-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 18px; flex: 1; }
@media (min-width: 768px) { .sv-body { padding: 18px 20px 22px; } }
.sv-cat { font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.sv-title { font-weight: 700; color: var(--navy); font-size: 17px; line-height: 1.4; }
.sv-sum { font-size: 15px; color: var(--muted); line-height: 1.6; }
.price { font-weight: 700; color: var(--navy-3); margin: 0; }
.sv-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy-3); }
.sv-more .ic { width: 18px; height: 18px; }
@media (max-width: 479px) { .sv-sum { display: none; } .sv-title { font-size: 15px; } }

/* โปรโมชั่น */
.promo { background: var(--navy); color: #e8ebf5; }
.promo .h2 { color: #fff; }
.promo-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .promo-in { grid-template-columns: 5fr 6fr; gap: 56px; } }
.promo-media { margin: 0; max-width: 460px; width: 100%; justify-self: center; }
.promo-media img { width: 100%; height: 100%; border-radius: 6px; }
.promo-text .btn { margin-top: 8px; }
.promo .note { color: #b9c0dc; }

/* วิดีโอ */
.video-sec { background: var(--paper); }
.video-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .video-in { grid-template-columns: 4fr 7fr; gap: 48px; } }
.video-box { width: 100%; background: #000; border-radius: 6px; overflow: hidden; }
.video-box video { width: 100%; height: 100%; }

/* รีวิว */
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .rv-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .rv-list { grid-template-columns: repeat(4, 1fr); } }
.rv { padding: 20px; display: flex; flex-direction: column; }
.rv blockquote { margin: 10px 0 14px; flex: 1; }
.rv blockquote p { margin: 0; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.star { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rv-name { margin: 0; font-weight: 700; color: var(--navy); }
.rv-name span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { background: var(--paper); }
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
.qa { background: var(--cream); border-radius: 12px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 600; color: var(--navy); min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { transition: transform .2s; color: var(--gold-ink); }
.qa[open] summary .ic { transform: rotate(180deg); }
.qa-a { padding: 0 18px 16px; color: var(--muted); }
.qa-a p:last-child { margin: 0; }

/* แถบชวนติดต่อ */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #e8ebf5; padding: 56px 0; border-top: 3px solid var(--gold); }
.cta-band .h2 { color: #fff; }
.cta-in { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr auto; } }
.cta-in p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- หน้าใน ---------- */
.page-hero { background: var(--navy); color: #e8ebf5; padding: 40px 0 44px; border-bottom: 3px solid var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 48px); }
.page-hero .eyebrow { color: var(--gold-2); }
.page-lead { margin: 12px 0 0; max-width: 760px; font-size: 18px; color: #d3d8ea; }
.page-hero-sm { padding: 16px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; margin-bottom: 14px; color: #b9c0dc; }
.page-hero-sm .crumbs { margin: 0; }
.crumbs a { color: #d3d8ea; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.chip span { font-size: 13px; background: var(--cream); padding: 0 8px; border-radius: 999px; color: var(--gold-ink); }
.cat-block + .cat-block { margin-top: 56px; }

/* ตารางราคา */
.prices { background: var(--paper); }
.price-table { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.pt-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.pt-row:nth-child(even) { background: #fcfaf4; }
.pt-head { display: none; }
.pt-name { font-weight: 600; color: var(--navy); }
.pt-unit { grid-column: 1; font-size: 15px; color: var(--muted); }
.pt-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; color: var(--navy-3); text-align: right; }
@media (min-width: 640px) {
  .pt-row { grid-template-columns: 2fr 1fr 1fr; align-items: center; }
  .pt-unit { grid-column: auto; }
  .pt-price { grid-column: auto; grid-row: auto; }
  .pt-head { display: grid; background: var(--navy) !important; color: #fff; font-weight: 600; border-top: 0; }
}

/* หน้ารายละเอียด */
.item-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .item-in { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .item-media { position: sticky; top: 92px; } }
.item-main { width: 100%; }
.item-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: start; }
.item-text h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.item-sum { font-size: 18px; color: var(--muted); }
.price-lg { font-size: 22px; margin-bottom: 16px; }
.prose p { margin-bottom: 1em; }
.item-where { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: 15px; }
.item-where .ic { color: var(--gold-ink); margin-top: 3px; }
.item-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.related { background: var(--paper); }
.related .h2 { margin-bottom: 24px; }

/* รูปขยายได้ / masonry */
.zoom { display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; width: 100%; }
.ph { display: block; overflow: hidden; background: #eee6d3; }
.ph img { width: 100%; height: 100%; object-fit: contain; }
.masonry { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 10px; }
@media (min-width: 480px) { .masonry { columns: 3; } }
@media (min-width: 1024px) { .masonry { columns: 4; column-gap: 20px; } }
.m-item { break-inside: avoid; margin-bottom: 10px; }
@media (min-width: 1024px) { .m-item { margin-bottom: 20px; } }
.cap { font-size: 14px; color: var(--muted); margin: 6px 2px 0; line-height: 1.5; }

/* TikTok */
.tiktok { background: var(--paper); }
.tt-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 760px; }
@media (min-width: 768px) { .tt-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tt { aspect-ratio: 9/16; background: var(--navy); border-radius: 6px; overflow: hidden; position: relative; }
.tt-play { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: pointer; }
.tt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.tt-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(16, 29, 69, .8); color: #fff; display: flex; align-items: center; justify-content: center; }
.tt-btn .ic { fill: currentColor; margin-left: 3px; }
.tt-tag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; gap: 6px; align-items: center; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.tt-tag .brand-ic { width: 14px; height: 14px; }
.tt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* เกี่ยวกับเรา */
.about-in { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .about-in { grid-template-columns: 5fr 7fr; gap: 56px; } }
.about-media, .deities-media { margin: 0; overflow: hidden; border-radius: 6px; }
.about-media img, .deities-media img { width: 100%; height: 100%; }
.quote { margin: 24px 0 0; padding: 20px 22px; background: var(--navy); color: #fff; border-radius: var(--r); display: flex; gap: 14px; }
.quote .ic { color: var(--gold-2); flex: none; }
.quote p { margin: 0; font-weight: 600; font-size: 18px; }
.deities { background: var(--paper); }
.deities-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .deities-in { grid-template-columns: 7fr 4fr; gap: 56px; } }
.deity-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.deity { display: flex; gap: 14px; background: var(--cream); border-radius: var(--r); padding: 18px; }
.deity-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold-2); display: flex; align-items: center; justify-content: center; }
.deity h3 { font-size: 19px; margin-bottom: 4px; }
.deity p { margin: 0; color: var(--muted); }

/* ติดต่อ */
.contact-in { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .contact-in { grid-template-columns: 5fr 6fr; gap: 48px; } }
.contact-info { display: grid; gap: 12px; }
.info { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 14px; }
.info li { display: flex; gap: 12px; align-items: flex-start; }
.info .ic, .info .brand-ic { color: var(--gold-ink); margin-top: 4px; }
.lbl { display: block; font-size: 14px; color: var(--muted); }
.sub { display: block; font-size: 15px; color: var(--muted); }
.qr { display: none; }
@media (min-width: 900px) { .qr { display: flex; gap: 16px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 14px; } .qr img { width: 112px; height: 112px; } .qr strong { display: block; color: var(--navy); } .qr p { margin: 0; font-size: 15px; color: var(--muted); } }
.map { margin-top: 32px; border-radius: var(--r); overflow: hidden; background: #e6e2d6; aspect-ratio: 4/3; }
@media (min-width: 768px) { .map { aspect-ratio: 21/8; } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ฟอร์ม */
.lead-form { padding: 22px 18px; }
@media (min-width: 768px) { .lead-form { padding: 32px; } }
.lead-form .h3 { margin: 0 0 6px; }
.help { font-size: 15px; color: var(--muted); }
.f { margin-bottom: 14px; }
.f label { display: block; font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.req { color: #b4232c; margin-left: 2px; }
.f input, .f select, .f textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #cfd3e2; border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--navy-3); outline: none; box-shadow: 0 0 0 3px rgba(38, 57, 122, .18); }
.f .err { display: none; color: #b4232c; font-size: 14px; margin: 6px 0 0; }
.f.has-err input, .f.has-err select, .f.has-err textarea { border-color: #b4232c; }
.f.has-err .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.ok { color: #17663a; background: #e6f4ea; padding: 12px 14px; border-radius: 10px; }
.form-status.bad { color: #b4232c; }

/* ---------- ท้ายหน้า ---------- */
.footer { background: #0b1533; color: #c4cae0; padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); font-size: 15px; }
@media (min-width: 1024px) { .footer { padding-bottom: 28px; } }
.footer-in { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-in { grid-template-columns: 1.4fr 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; background: #fff; }
.footer-name { font-weight: 700; color: #fff; font-size: 18px; margin: 0; }
.footer-tag { margin: 0; color: var(--gold-2); }
.footer-h { color: var(--gold-2); font-weight: 600; margin-bottom: 8px; }
.footer-col p { margin: 0 0 6px; }
.footer a { color: #e8ebf5; }
.footer-nav, .socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-nav a { text-decoration: none; display: inline-block; padding: 2px 0; }
.soc { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 2px 0; }
.copy { margin: 32px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8e96b5; }

/* ปุ่มลอยมือถือ */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 246, 236, .96); border-top: 1px solid var(--line); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.dock-line { background: var(--line-green); color: #fff; }
.dock-call { background: var(--navy); color: #fff; }
@media (min-width: 1024px) { .dock { display: none; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 10, 26, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: #e8ebf5; margin-top: 10px; text-align: center; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* เนื้อหาปรากฏตอนเลื่อนถึง (เล่นครั้งเดียว) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
