/* FOREVER BOBAE — ขาว + เทาเข้ม เรียบ สะอาดตา (ลูกค้าเปลี่ยนโทนจากครีม 2026-10-07)
   ฟอนต์ Ekkamai Vibe ทั้งเว็บ (ลูกค้าเลือกเอง · SIL OFL ใช้บนเว็บได้ · โฮสต์เองที่ /fonts)
   น้ำหนัก: 400 เนื้อหา / 500 (ไฟล์ Bold ซึ่งค่อนข้างบาง) / 600-800 ใช้ไฟล์ Heavy ให้หัวข้อหนาชัด
   รูปตาราง/ผลงานแสดงสัดส่วนจริง ไม่ครอป ไม่มีกรอบ ไม่มีเงารอบรูป */

@font-face { font-family: 'Ekkamai Vibe'; src: url('/fonts/ekkamai-vibe-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Ekkamai Vibe'; src: url('/fonts/ekkamai-vibe-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Ekkamai Vibe'; src: url('/fonts/ekkamai-vibe-bold.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Ekkamai Vibe'; src: url('/fonts/ekkamai-vibe-heavy.woff2') format('woff2'); font-weight: 700; font-display: swap; }


:root {
  --paper: #ffffff;          /* พื้นขาว */
  --paper-2: #f3f3f4;        /* เทาอ่อน คั่นส่วน */
  --card: #f6f6f7;
  --ink: #1c1d20;            /* เทาเกือบดำ 17:1 บนขาว */
  --ink-2: #55575d;          /* ข้อความรอง 7.2:1 */
  --line: #e3e3e6;
  --accent: #2f3136;         /* เทาเข้ม 13:1 บนขาว */
  --accent-ink: #111214;
  --deep: #26272b;           /* พื้นเทาเข้มท้ายเว็บ */
  --line-green: #06c755;
  --font: 'Ekkamai Vibe', 'Noto Sans Thai', system-ui, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.42; margin: 0 0 .4em; font-weight: 600; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; min-height: 44px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; line-height: 1.4;
  transition: background .2s var(--ease), transform .2s var(--ease), color .2s;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 12px 28px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn.is-line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.btn.is-line:hover { background: #05a849; border-color: #05a849; }
.btn.is-line svg { fill: currentColor; stroke: none; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- หัวเว็บ ---------- */
.topbar { background: var(--deep); color: #d4d4d8; font-size: 14px; line-height: 1.5; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: inherit; text-decoration: none; }
.tb-tag { font-weight: 600; color: #fff; }
.tb-meta { display: flex; gap: 18px; }
.tb-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.tb-meta svg { width: 15px; height: 15px; opacity: .8; }

.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; }
.logo { min-height: 44px; }
.logo img { width: 176px; max-width: 100%; height: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: background .2s;
}
.menu > a:not(.btn):hover { background: var(--paper-2); }
.menu > a[aria-current="page"] { color: var(--accent); background: #ececee; }
.menu-line { margin-left: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 12px 11px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper-2); }
.hero-track { display: flex; transition: transform .6s var(--ease); }
.hero-slide { flex: 0 0 100%; min-width: 0; position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-title { font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; line-height: 1.4; margin: 0 0 .35em; color: var(--ink); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin: 0 0 1.3em; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* แบบแยกครึ่ง: ข้อความบนพื้นครีม รูปชนขอบขวา สัดส่วน 16:9 เต็มรูป ไม่ตัดใคร */
.hero-split .hero-slide { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 15fr); align-items: center; }
.hero-split .hero-media { order: 2; aspect-ratio: 16 / 9; }
.hero-split .hero-copy { order: 1; padding: 48px clamp(24px, 4vw, 64px) 72px max(16px, calc((100vw - var(--wrap)) / 2)); }

/* แบบรูปเต็มจอ: ข้อความทับรูปทางซ้าย มีพื้นครีมไล่ให้อ่านออก */
.hero-full .hero-slide { min-height: clamp(460px, 74vh, 760px); display: flex; align-items: center; }
.hero-full .hero-media { position: absolute; inset: 0; }
.hero-full .hero-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 34%, rgba(255, 255, 255, 0) 62%); }
.hero-full .hero-copy { position: relative; width: min(100% - 32px, var(--wrap)); margin-inline: auto; padding: 56px 0 80px; }
.hero-full .hero-copy > * { max-width: 560px; }

/* แบบแถบเตี้ย (หน้ารอง): ข้อความซ้าย รูปขวาตามสัดส่วนจริง */
.hero-compact { background: var(--paper-2); }
.hero-compact .hero-slide { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px;
  padding: 44px max(16px, calc((100vw - var(--wrap)) / 2)); }
.hero-compact .hero-media { order: 2; }
.hero-compact .hero-media img { width: auto; max-height: 300px; max-width: min(46vw, 520px); object-fit: contain; }
.hero-compact .hero-title { font-size: clamp(30px, 4vw, 48px); }

.hero-nav { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; align-items: center; gap: 10px; pointer-events: none; }
.hero-nav > * { pointer-events: auto; }
.hero-split .hero-nav { left: max(16px, calc((100vw - var(--wrap)) / 2)); right: auto; justify-content: flex-start; }
.hero-arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; }
.hero-arrow:hover { background: #fff; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots { gap: 0; }
.hero-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 99px; background: rgba(28, 29, 32, .25); transition: width .3s var(--ease), background .3s; }
.hero-dots button[aria-current="true"]::before { width: 28px; background: var(--accent); }

/* ---------- ส่วนทั่วไป ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-sand { background: var(--paper-2); }
.sec + .sec:not(.sec-sand) { padding-top: clamp(24px, 4vw, 48px); }
.sec-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); }
.sec-head h1, .sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sec-head h1 { font-size: clamp(30px, 4.2vw, 52px); }
.sec-head p { color: var(--ink-2); font-size: 18px; margin-bottom: 0; }
.sec-head h1 + p, .sec-head h2 + p { margin-top: .2em; }
.prose p:last-child { margin-bottom: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 32px; font-weight: 600; text-decoration: none; color: var(--accent); }
.more svg { transition: transform .2s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* จุดเด่น */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #ececee; color: var(--accent); margin-bottom: 14px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: .25em; }
.feature p { color: var(--ink-2); margin: 0; font-size: 16px; line-height: 1.65; }

/* เกี่ยวกับ */
.about { display: grid; gap: 32px; align-items: center; }
.about-pic { margin: 0; }
.about-pic img { width: 100%; border-radius: var(--radius); }
.about-text h1, .about-text h2 { font-size: clamp(28px, 3.4vw, 42px); }
.about-text .prose { color: var(--ink-2); margin-bottom: 24px; }

/* การ์ดสินค้า — รูปสัดส่วนจริง กดขยาย */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card-pic { position: relative; display: block; background: #fff; }
.card-pic img { width: 100%; }
.zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(28, 29, 32, .72); color: #fff; opacity: .9; transition: transform .2s var(--ease); }
.zoom svg { width: 18px; height: 18px; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.card-body h3, .card-body h4 { font-size: 17px; margin: 0; }
.card-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.card-ask { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 -8px; font-size: 15px; font-weight: 600; color: #04893a; text-decoration: none; }
.card-ask svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.card-ask:hover span { text-decoration: underline; }
.card-price { font-weight: 700; color: var(--accent); }
.card-price s { color: var(--ink-2); font-weight: 400; margin-left: 8px; }
.card-sold { color: var(--ink-2); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(20, 20, 24, .45); }
  .card:hover .zoom { transform: scale(1.08); }
}

.rows { display: grid; gap: 12px; }
.row-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.row-body { padding: 12px 16px 12px 0; }
.row-body h3 { font-size: 18px; margin: 0 0 4px; }
.row-body p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ผลงาน — masonry ความสูงตามรูปจริง */
.gal { columns: 2; column-gap: 10px; }
.gal-item { break-inside: avoid; margin: 0 0 10px; }
.gal-item a { display: block; }
.gal-item img, .gal-item video { width: 100%; border-radius: 14px; }
.gal-item[hidden] { display: none; }
.gal-more { display: flex; justify-content: center; margin-top: 28px; }
.gal-more .btn { flex-direction: column; gap: 0; min-width: 240px; padding-block: 10px; background: var(--paper); }
.gal-more .btn:hover { background: var(--accent); }
.gal-more small { font-size: 14px; font-weight: 400; opacity: .8; }
.gal-item figcaption { padding: 10px 2px 6px; font-size: 15px; line-height: 1.55; }
.gal-item figcaption b { display: block; font-weight: 600; }
.gal-item figcaption span { color: var(--ink-2); }

/* เสียงลูกค้า */
.quotes { display: grid; gap: 14px; }
.quote { margin: 0; background: var(--card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 16px; font-size: 17px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption span { display: flex; flex-direction: column; line-height: 1.5; }
.quote small { color: var(--ink-2); font-size: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* คำถาม */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .25s var(--ease); color: var(--accent); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }

/* ขั้นตอน */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--card); border-radius: var(--radius); padding: 18px; }
.step-no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 19px; }
.steps h3 { font-size: 18px; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* แถบชวนติดต่อ */
.cta-band { padding: clamp(48px, 7vw, 84px) 0; }
.cta-dark { background: var(--deep); color: #f4f4f5; }
.cta-soft { background: #ececee; }
.cta-in { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.cta-text { font-size: clamp(26px, 3.6vw, 46px); font-weight: 700; line-height: 1.42; margin: 0; max-width: 15em; text-wrap: balance; }

/* ติดต่อ */
.contact { display: grid; gap: 28px; align-items: start; }
.contact-info .prose { color: var(--ink-2); margin-bottom: 20px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #ececee; color: var(--accent); }
.contact-list div { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.contact-list small { color: var(--ink-2); font-size: 14px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; margin-block: -10px; }
.contact-list a:hover { color: var(--accent); }
.hours { background: var(--card); border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); }
.hours h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.hours h3 svg { color: var(--accent); }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 16px; }
.hours .closed { color: var(--ink-2); }
.lead { background: var(--card); border-radius: 22px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); display: grid; gap: 14px; }
.lead h3 { font-size: 21px; margin: 0; }
.f { display: grid; gap: 6px; }
.f2 { display: grid; gap: 14px; }
.f label { font-weight: 600; font-size: 15px; }
.f label small { font-weight: 400; color: var(--ink-2); }
.lead input, .lead textarea {
  font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .2s;
}
.lead input:focus, .lead textarea:focus { outline: none; border-color: var(--accent); }
.lead textarea { resize: vertical; min-height: 110px; }
.lead .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { margin: 0; font-size: 15px; min-height: 1.5em; }
.msg.ok { color: #1d7a3e; font-weight: 600; }
.msg.bad { color: #b3261e; font-weight: 600; }
.map-wrap { margin-top: 28px; display: grid; gap: 12px; justify-items: start; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); background: var(--paper-2); }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--deep); color: #c4c5ca; padding: 64px 0 120px; font-size: 16px; }
.foot a { color: #f4f4f5; text-decoration: none; }
.foot-list a, .foot-nav a, .foot-map { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.foot-list { gap: 0 !important; }
.foot-nav { gap: 0 !important; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot h2 { font-size: 15px; color: #9a9ca3; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; }
.foot-grid { display: grid; gap: 36px; }
.logo-inv img { filter: invert(1) sepia(.2); width: 160px; }
.foot-brand p { margin: 16px 0; max-width: 30em; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-list li { display: flex; align-items: center; gap: 10px; }
.foot-list svg, .foot-map svg { color: #a1a1aa; }
.foot-addr { margin-bottom: 10px; }
.foot-map { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-nav .btn { display: none; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); }
.social a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.copy { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #8b8d94; }

/* ปุ่มลอยล่างจอมือถือ: ไลน์กับโทรเท่านั้น */
.float-contact { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.float-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 999px;
  font-weight: 600; text-decoration: none; color: #fff; box-shadow: 0 10px 24px -12px rgba(15, 15, 18, .55); }
.fl-line { background: var(--line-green); }
.fl-line svg { fill: currentColor; stroke: none; }
.fl-call { background: var(--deep); }

/* ---------- รูปขยาย ---------- */
.light { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.light::backdrop { background: rgba(18, 18, 20, .88); }
.light figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.light img { max-width: 96vw; max-height: 86vh; width: auto; border-radius: 10px; background: #fff; }
.light figcaption { color: #f4f4f5; font-size: 16px; text-align: center; }
.light figcaption:empty { display: none; }
.light-x { position: fixed; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #f4f4f5; color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 2; }

/* ---------- บทความ ---------- */
.crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.a-meta { color: var(--ink-2); font-size: 15px; }
.a-cover { margin: 24px 0; }
.a-cover img { border-radius: var(--radius); width: 100%; }
.a-lead { font-size: 19px; }
.a-toc { background: var(--card); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.a-body h2 { margin-top: 1.6em; font-size: 28px; }
.a-fig { margin: 24px 0; }
.a-fig img { border-radius: 14px; }
.a-fig figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.a-embed { margin-top: 40px; }
.a-cta { margin: 32px 0; padding: 24px; border-radius: var(--radius); background: var(--paper-2); }
blockquote { margin: 24px 0; padding-left: 18px; border-left: 3px solid var(--accent); }

/* ---------- ปรากฏตอนเลื่อนถึง (เฉพาะเมื่อ JS ทำงาน) ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- จอขนาดต่างๆ ---------- */
@media (min-width: 480px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gal { columns: 3; }
  .f2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .features { grid-template-columns: repeat(min(var(--cols, 3), 4), minmax(0, 1fr)); gap: 16px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .about { grid-template-columns: 1fr 1fr; gap: 56px; }
  .about.pic-right .about-pic { order: 2; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
  .contact.no-form { grid-template-columns: 1fr 1fr; }
  .contact.no-form .map-wrap { margin-top: 0; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; }
  .float-contact { display: none; }
  .foot { padding-bottom: 48px; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .steps li { grid-template-columns: 1fr; }
  .gal { column-gap: 16px; }
  .gal-item { margin-bottom: 16px; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .gal { columns: var(--cols, 3); }
  .feature { padding: 26px 24px; }
}

@media (max-width: 899px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0 0 auto 0; top: 0; padding: 92px 20px 28px; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 4px; z-index: -1;
    transform: translateY(-100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; box-shadow: 0 20px 40px -24px rgba(15, 15, 18, .4); }
  .menu > a:not(.btn) { font-size: 19px; padding: 12px 16px; }
  .menu-line { margin: 12px 0 0; }
  .menu-open .menu { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .hdr-in { min-height: 64px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .topbar .tb-meta { display: none; }
  .logo img { width: 156px; }
  .topbar .wrap { min-height: 34px; font-size: 14px; }
  .hero-split .hero-slide { grid-template-columns: 1fr; }
  .hero-split .hero-media { order: 0; }
  .hero-split .hero-copy { padding: 22px 16px 64px; }
  .hero-split .hero-nav { left: 4px; bottom: 6px; }
  .hero-full .hero-slide { min-height: min(70vh, 600px); align-items: flex-end; }
  .hero-full .hero-media::after { background: linear-gradient(0deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 42%, rgba(255, 255, 255, 0) 72%); }
  .hero-full .hero-copy { padding: 40px 0 72px; }
  .hero-compact .hero-slide { grid-template-columns: 1fr; gap: 20px; padding-block: 28px 36px; }
  .hero-compact .hero-media { order: 2; }
  .hero-compact .hero-media img { max-width: 100%; max-height: 260px; }
  .hero-arrow { display: none; }
  .hero-title { font-size: clamp(28px, 8vw, 36px); }
  .sec-head h1 { font-size: clamp(28px, 8vw, 36px); }
  .map { height: 280px; }
  .lead .btn { justify-self: stretch; }
}

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

/* =====================================================================
   ชั้นตกแต่ง (รอบ 2 — "ให้ว้าวขึ้น") ทุกการเคลื่อนไหวผูกกับการเลื่อน/การปรากฏ ไม่วิ่งเองตามเวลา
   ===================================================================== */

/* พื้นผิวกระดาษอุ่นๆ บนพื้นครีม */
body, .sec-sand {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .2 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hdr { transition: box-shadow .3s var(--ease); }
.hdr.scrolled { box-shadow: 0 12px 30px -24px rgba(20, 20, 24, .6); }

/* ---------- แบนเนอร์หน้าแรก ---------- */
.hero-split { background-color: var(--paper-2); }
.hero-split .hero-copy {
  position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(rgba(28, 29, 32, .09) 1px, transparent 1.3px) 0 0 / 18px 18px;
}
.hero-media { overflow: hidden; }
@media (min-width: 768px) {
  /* รูปเต็มความสูงของแบนเนอร์ ไม่เหลือขอบว่างบน-ล่าง (ครอปข้างได้นิดเดียว จุดสำคัญอยู่กลางภาพ) */
  .hero-split .hero-media { align-self: stretch; aspect-ratio: auto; min-height: 100%; }
  .hero-split .hero-media picture { display: block; height: 100%; }
  .hero-split .hero-media img { height: 100%; aspect-ratio: auto !important; }
  .hero-split .hero-copy { padding-block: 36px 84px; }
  .hero-split .hero-title { font-size: clamp(34px, 4.3vw, 62px); }
  .hero-split .swatches { margin-top: 22px; }
}
.hero-media img { will-change: transform; }
.hero-title { letter-spacing: -.01em; }
.hl { position: relative; display: inline-block; color: #6b6e76; font-style: normal; white-space: nowrap; }
.hl svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em; stroke: var(--accent); stroke-width: 5; fill: none;
  stroke-dasharray: 220; stroke-dashoffset: 220; animation: hl-draw 1.1s .45s var(--ease) forwards; overflow: visible; }
@keyframes hl-draw { to { stroke-dashoffset: 0; } }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(28, 29, 32, .12);
  transition: transform .25s var(--ease); }
@media (hover: hover) { .swatches i:hover { transform: translateY(-3px) scale(1.12); } }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ตราวงกลม */
.badge { position: absolute; z-index: 3; width: 156px; height: 156px; display: grid; place-items: center;
  left: calc(37.5% - 78px); bottom: 34px; pointer-events: none; }
.badge::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--paper);
  box-shadow: 0 22px 44px -22px rgba(20, 20, 24, .7); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); stroke: none; will-change: transform; }
.badge-ring text { font: 700 13.5px var(--font); letter-spacing: .04em; }
.badge-core { position: relative; width: 66px; height: 66px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.badge-core .tee { width: 36px; height: 36px; }
.tee { stroke: rgba(28, 29, 32, .18); stroke-width: .5; flex: none; }
.hero-full .badge { left: auto; right: 6%; bottom: 60px; }

/* แถบวิ่งชื่อหมวด */
.ribbon { background: var(--accent); color: #fff; overflow: hidden; padding: 16px 0; position: relative; z-index: 2; }
.ribbon-track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap; will-change: transform;
  font-weight: 600; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.4; padding-left: 26px; }
.ribbon .tee { width: 34px; height: 34px; stroke: rgba(0, 0, 0, .2); }

/* ---------- แบนเนอร์หน้ารอง ---------- */
.hero-compact { background: radial-gradient(rgba(28, 29, 32, .08) 1px, transparent 1.3px) 0 0 / 18px 18px, var(--paper-2); }
.hero-compact .hero-track { position: relative; z-index: 1; }
.hero-ghost { position: absolute; z-index: 0; width: 520px; height: 520px; left: 38%; top: -120px; fill: rgba(47, 49, 54, .045); stroke: none; pointer-events: none; transform: rotate(-12deg); }
.hero-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.hero-crumb a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.hero-crumb a:hover { color: var(--accent); }
.hero-crumb span:last-child { color: var(--accent); font-weight: 600; }
.hero-compact .hero-media { overflow: visible; }
.hero-compact .hero-media img { transform: rotate(2.5deg); box-shadow: 0 34px 60px -34px rgba(20, 20, 24, .65); }

/* แถบหมวดติดหัวจอ (หน้าสินค้า) */
.cat-nav { position: sticky; top: 72px; z-index: 30; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.cat-nav-in { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.cat-nav-in::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .2s, color .2s, border-color .2s; }
.cat-nav a:hover { border-color: var(--accent); color: var(--accent); }
.cat-nav a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
[id^="cat-"] { scroll-margin-top: 150px; }

/* ---------- หัวข้อส่วน ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--accent); font-size: 15px; letter-spacing: .1em; }
.eyebrow b { font-weight: 700; }
.eyebrow i { display: block; width: 46px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head h1, .sec-head h2 { letter-spacing: -.01em; }

/* ---------- จุดเด่นแบบ bento ---------- */
.feature { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature-no { position: absolute; top: 12px; right: 16px; font-size: 44px; font-weight: 700; line-height: 1; color: rgba(47, 49, 54, .1); }
.features .feature:first-child { background: var(--deep); border-color: var(--deep); color: #f4f4f5; }
.features .feature:first-child p { color: #c4c5ca; }
.features .feature:first-child .feature-icon { background: var(--accent); color: #fff; }
.features .feature:first-child .feature-no { color: rgba(255, 255, 255, .16); }
@media (hover: hover) and (pointer: fine) {
  .feature:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(20, 20, 24, .5); }
}

/* ---------- การ์ด / ผลงาน ---------- */
.card { border-radius: 22px; }
.card-pic { overflow: hidden; }
.card-pic img, .gal-item img { transition: transform .5s var(--ease); }
.gal-item a { overflow: hidden; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-pic img, .gal-item a:hover img { transform: scale(1.035); }
}

/* ---------- เกี่ยวกับ: แผ่นสีซ้อนหลังรูป ---------- */
.about-pic { position: relative; }
.about-pic::before { content: ''; position: absolute; inset: 22px -16px -16px 22px; border-radius: var(--radius); background: var(--accent); }
.about.pic-right .about-pic::before { inset: 22px 22px -16px -16px; }
.about-pic img { position: relative; }

/* ---------- คำถามสองคอลัมน์ ---------- */
.faq-layout { display: grid; gap: 8px; }
.faq-ask { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 20px; color: #04893a; font-weight: 600; text-decoration: none; }
.faq-ask svg { fill: currentColor; stroke: none; }
.faq-ask:hover span { text-decoration: underline; }
.faq details { transition: border-color .2s, background .2s; }
.faq details[open] { background: #fff; border-color: #d4d4d8; box-shadow: inset 4px 0 0 var(--accent); }
.faq summary:hover { color: var(--accent); }

/* ---------- แถบชวนทัก ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-in { position: relative; z-index: 1; }
.cta-tees { position: absolute; right: max(-30px, calc((100vw - var(--wrap)) / 2 - 60px)); top: 50%;
  display: grid; grid-template-columns: repeat(4, 66px); gap: 12px; transform: translateY(-50%) rotate(-8deg); pointer-events: none; }
.cta-tees .tee { width: 66px; height: 66px; stroke: rgba(0, 0, 0, .25); }
.cta-soft .cta-tees .tee { stroke: rgba(28, 29, 32, .2); }

/* ---------- ท้ายเว็บ: โลโก้ใหญ่ ---------- */
.foot-mark { margin-top: 36px; opacity: .1; }
.foot-mark img { width: 100%; height: auto; filter: invert(1); }
.foot-mark span { display: block; font-size: min(10.4vw, 128px); font-weight: 700; line-height: 1.2; color: #fff; white-space: nowrap; letter-spacing: -.01em; text-align: center; }

/* ---------- ขนาดจอ ---------- */
@media (min-width: 768px) {
  .hero-full .hero-title { font-size: clamp(36px, 5vw, 70px); }
  .hero-compact .hero-title { font-size: clamp(32px, 4.2vw, 54px); }
  .sec-head h1, .sec-head h2 { font-size: clamp(32px, 4vw, 52px); }
  .features .feature:first-child { grid-row: span 1; }
}
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq-side { position: sticky; top: 110px; }
}
@media (max-width: 1100px) and (min-width: 768px) {
  .cta-tees { opacity: .35; }
}
@media (max-width: 899px) {
  .cat-nav { top: 64px; }
}
@media (max-width: 767px) {
  .badge { width: 104px; height: 104px; left: auto; right: 12px; bottom: auto; top: calc(56.25vw - 64px); }
  .badge-ring text { font-size: 14.5px; }
  .badge-core { width: 44px; height: 44px; }
  .badge-core .tee { width: 26px; height: 26px; }
  .hero-full .badge { top: 16px; right: 12px; }
  .hero-split .hero-copy { padding-top: 30px; }
  .ribbon { padding: 12px 0; }
  .ribbon .tee { width: 26px; height: 26px; }
  .hero-ghost { width: 300px; height: 300px; left: auto; right: -80px; top: -40px; }
  .hero-compact .hero-media img { transform: rotate(1.5deg); }
  .cta-tees { position: relative; right: auto; top: auto; transform: none; margin: 0 16px 24px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .cta-tees .tee { width: 100%; height: auto; aspect-ratio: 1; }
  .cta-tees .tee:nth-child(n+7) { display: none; }
  .about-pic::before { inset: 14px -10px -10px 14px; }
  .about.pic-right .about-pic::before { inset: 14px -10px -10px 14px; }
  .about-pic { margin-right: 10px; }
  .foot-mark { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl svg { stroke-dashoffset: 0; }
  .hero-copy > * { animation: none; }
}

