:root {
  --navy-900: #0A2352;
  --navy-700: #123C7E;
  --navy-500: #2C5AA8;
  --gold-500: #F5B32B;
  --gold-700: #C98F14;     /* พื้นปุ่ม เส้นขอบ ไล่สี */
  --gold-ink: #8A6109;     /* ตัวหนังสือสีทองบนพื้นสว่าง 5.53:1 */
  --gold-050: #FDF4E0;
  --line-green: #06C755;      /* สีแบรนด์ LINE แท้ ใช้กับไอคอนที่ไม่มีตัวหนังสือทับ */
  --line-btn: #038638;        /* ปุ่มที่มีตัวหนังสือขาว ผ่าน AA ที่ 4.70:1 */
  --line-btn-dark: #026A2C;
  --line-bg: #F2F3F3;
  --red-cta: #D0242A;  /* ใช้เฉพาะหัวเรื่องหน้าสอบถามเพิ่มเติม ให้เข้ากับแบนเนอร์ */
  --grey-050: #F4F6FA;
  --grey-100: #E8EDF5;
  --grey-300: #D5DEEC;
  --text: #0A2352;
  --text-soft: #5B6779;
  --white: #FFFFFF;
  --radius: 22px;   /* การ์ด แผง กล่องใหญ่ */
  --radius-md: 14px; /* กรอบรูปด้านใน ไทล์แกลเลอรี */
  --radius-pill: 999px;
  --ease-lift: cubic-bezier(.34, 1.4, .5, 1);  /* เกินเป้านิดหนึ่งแล้วนิ่ง ให้รู้สึกเด้ง */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --space-section: 88px;
  --space-tight: 56px;
  --font-head: 'Kanit', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Thai', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(1.875rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.nb { white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--space-section) 0; }
.section--compact { padding: var(--space-tight) 0; }
/* section พื้นขาวสองอันติดกันไม่มีอะไรคั่น ให้ขีดบาง ๆ บอกว่าขึ้นเรื่องใหม่ */
.section + .section:not([class*="--"]) { border-top: 1px solid var(--grey-100); }
.section--tint { background: var(--grey-050); }
.section--navy { background: var(--navy-900); color: var(--white); position: relative; }
.section--navy::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500), var(--gold-700));
}
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 6px;
}
.section--navy .eyebrow { color: var(--gold-500); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head--page { margin-bottom: 48px; }
/* ขีดทองใต้หัวหน้าเพจ — ให้สีแบรนด์มีบทบาทเชิงโครงสร้าง ไม่ใช่แค่สีปุ่ม */
.section-head--page::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 20px auto 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-700)); border-radius: 3px;
}
.section-head p { color: var(--text-soft); margin-top: 8px; }
.section--navy .section-head p { color: #B9C6DD; }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 500; font-size: 0.9375rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease;
}
/* แผงสีวิ่งเข้าจากซ้ายตอน hover แทนการสลับสีพื้นดื้อ ๆ */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s ease-out;
}
.btn:hover::before { transform: scaleX(1); }
/* บนจอสัมผัส ลิงก์ในเมนูและฟุตเตอร์ต้องสูงพอให้นิ้วกดไม่พลาด (WCAG 2.5.8 = 24px, Apple แนะนำ 44px)
   ใช้ pointer: coarse เพื่อไม่ให้เมนูบนจอคอมที่ใช้เมาส์บวมขึ้นโดยไม่จำเป็น */
/* การ์ดที่ไม่มีรูป — ใช้แถบทองซ้ายเป็นจุดนำสายตาแทน */
.card--text { display: block; border-left: 4px solid var(--gold-500); }
.line-hero .btn--line { box-shadow: 0 8px 24px rgba(3, 134, 56, .28); }
.card--text .card__body { text-align: left; padding: 24px 24px 26px; }
.card--text h3 { margin-bottom: 8px; }
.card--text p { color: var(--text-soft); font-size: .9375rem; }
.card__more {
  display: inline-block; margin-top: 14px; font-family: var(--font-head);
  font-size: .875rem; font-weight: 500; color: var(--gold-ink);
}
.card--text:hover .card__more { color: var(--navy-700); }

/* การ์ดบทความบนหน้าแรก ใช้โครง .card เดิมทั้งเงาและรูปเต็มกรอบ เปลี่ยนแค่จัดข้อความ
   ชิดซ้ายตาม mockup และตรึง "อ่านเพิ่มเติม" ไว้ล่างสุด ให้สามใบมีบรรทัดล่างตรงกัน
   แม้หัวข้อจะกินหนึ่งบรรทัดบ้างสองบรรทัดบ้าง */
.card--read { display: flex; flex-direction: column; }
.card--read .card__body { display: flex; flex-direction: column; flex: 1; text-align: left; padding: 18px 20px 22px; }
.card--read .card__title { font-size: 1.0625rem; margin-top: 0; }
.card--read .card__more { margin-top: auto; padding-top: 12px; }
.card--read:hover .card__more { color: var(--navy-700); }
.service-card__no {
  display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 600;
  line-height: 1; color: var(--gold-ink); margin-bottom: 10px;
}
.brand-card h3 { color: var(--navy-700); letter-spacing: .04em; }

/* หน้าติดต่อ */
.contact-quick {
  background: var(--navy-900); color: var(--white); border-radius: var(--radius);
  padding: 34px 32px; align-self: start;
}
.contact-quick h2 { color: var(--white); margin-bottom: 10px; }
.contact-quick p { color: #B9C6DD; font-size: .9375rem; margin-bottom: 24px; }
.contact-quick__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.quote-steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin-bottom: 30px; }
.quote-steps li {
  counter-increment: step; position: relative; padding: 18px 20px 18px 62px;
  background: var(--white); border-radius: var(--radius-md); border-left: 4px solid var(--gold-500);
  box-shadow: 0 1px 2px rgba(10, 35, 82, .05), 0 8px 20px rgba(10, 35, 82, .06);
}
.quote-steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; color: var(--gold-500);
}
.quote-steps strong { display: block; font-family: var(--font-head); font-weight: 500; }
.quote-steps span { color: var(--text-soft); font-size: .9375rem; }
.quote-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* แถบชวนแชท LINE ใต้ hero — จุดที่คนเห็นทันทีที่เลื่อนลงนิดเดียว */
.line-bar-wrap { padding: 28px 0 8px; }
.line-bar {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  background: var(--line-btn); color: var(--white);
  border-radius: 26px; padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(3, 134, 56, .26);
  transition: transform .38s var(--ease-lift), box-shadow .38s var(--ease-out);
}
.line-bar:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(3, 134, 56, .34); }
.line-bar__mark {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; flex: none;
}
.line-bar__icon { width: 42px; height: 42px; color: var(--line-btn); }
.line-float svg { color: var(--white); }
.line-bar__text strong {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.3;
}
.line-bar__text span { display: block; font-size: .9375rem; margin-top: 2px; }
.line-bar__btn {
  background: var(--white); color: var(--line-btn); border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem;
  padding: 14px 32px; white-space: nowrap; flex: none;
}

/* แบนเนอร์ LINE ประจำทุกหน้า — ภาพที่บอสออกแบบไว้ */
.line-strip-wrap { padding: 28px 0 8px; }
.line-strip {
  /* มุมโค้งวัดจากตัวภาพจริง (รัศมี 3.63% ของด้านกว้าง) เผื่ออีกนิดให้ตัดขาวที่มุมออกหมด
     ใช้หน่วยเปอร์เซ็นต์เพราะภาพอัตราส่วนคงที่ มุมจึงโค้งเท่ากันทุกความกว้างจอ */
  display: block; border-radius: 3.8% / 13%; overflow: hidden;
  box-shadow: 0 10px 30px rgba(3, 134, 56, .26);
  transition: transform .38s var(--ease-lift), box-shadow .38s var(--ease-out);
}
.line-strip:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(3, 134, 56, .34); }
.line-strip img { display: block; width: 100%; height: auto; }

/* จอมือถือให้แบนเนอร์ชนขอบจอทั้งสองด้าน กว้างขึ้นอีก 40px
   ตัวหนังสือในภาพจะได้ใหญ่ที่สุดเท่าที่อัตราส่วนภาพนี้ทำได้ */
@media (max-width: 640px) {
  .line-strip-wrap .wrap { padding-left: 0; padding-right: 0; }
  .line-strip { box-shadow: 0 6px 18px rgba(3, 134, 56, .2); }
}

/* ปุ่ม LINE ลอยมุมขวาล่าง ตามคนไปทุกหน้าบนจอใหญ่
   บนมือถือมีแถบ CTA ล่างจออยู่แล้ว จึงซ่อนไว้ไม่ให้ซ้อนกัน */
.line-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--line-btn); color: var(--white);
  border-radius: var(--radius-pill); padding: 14px 22px;
  font-family: var(--font-head); font-weight: 500; font-size: .9375rem;
  box-shadow: 0 10px 28px rgba(3, 134, 56, .34);
  transition: transform .38s var(--ease-lift), box-shadow .38s var(--ease-out);
}
.line-float:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(3, 134, 56, .42); }
.line-float svg { width: 22px; height: 22px; color: var(--white); }

/* ฟุตเตอร์ 4 คอลัมน์ พร้อม QR และช่องทางโซเชียล */
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 40px; }
.footer-phones { margin-top: 14px; }
.footer-follow { min-width: 200px; }
.footer-qr {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--radius-md); padding: 10px; margin-bottom: 18px;
}
.footer-qr img { width: 100%; height: auto; border-radius: 6px; image-rendering: crisp-edges; }
.footer-qr span { color: var(--navy-900); font-size: .8125rem; line-height: 1.5; font-weight: 500; }
.site-footer .social, .social { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; max-width: 220px; }
/* ไอคอนใช้สีแบรนด์จริงเป็นสีพื้นตั้งแต่แรก ไม่ใช่รอให้เอาเมาส์ชี้
   ลูกค้าจึงกวาดตาเจอช่องที่ตัวเองใช้ได้ทันที และบนมือถือที่ไม่มี hover ก็เห็นสีครบ */
.social__link {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
  transition: transform .38s var(--ease-lift), filter .2s ease;
}
.social__link:hover { transform: translateY(-5px); filter: brightness(1.12); }
.social__icon { width: 30px; height: 30px; }
.social__link--facebook .social__icon { width: 40px; height: 40px; margin-bottom: -8px; }
.social__link--line .social__icon { width: 34px; height: 34px; }
.social__link--youtube .social__icon { width: 26px; height: 26px; }
.social__link--line      { background: #06C755; }
.social__link--facebook  { background: #1877F2; }
/* โลโก้ทางการมีวงกลมมาในไฟล์แล้ว จึงไม่ต้องมีพื้นหลังซ้อน */
.social__link--img { background: none !important; }
.social__img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.social__link--instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social__link--youtube   { background: #FF0000; }
.social__link--tiktok    { background: var(--white); color: #010101; }
.social__link--x         { background: var(--white); color: #000; }
.social__link--shopee    { background: #EE4D2D; }
.social__link--lazada    { background: #0F146D; }

/* ทำไมต้องเรา — รูปโรงงานจริงคู่กับเหตุผลที่มีหลักฐาน
   วางเป็นสองคอลัมน์เพื่อไม่ให้ซ้ำจังหวะกับ 4 การ์ดเรียงแถวที่มีอยู่แล้วอีก 3 จุดบนหน้าเดียวกัน */
.why__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.why__media { margin: 0; }
.why__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 18px 44px rgba(10, 35, 82, .18);
}
.why__media figcaption { margin-top: 12px; font-size: .8125rem; color: var(--text-soft); text-align: center; }
.why__body h2 { margin: 6px 0 26px; }
.why__list { list-style: none; display: grid; gap: 22px; }
.why__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.why__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-050); color: var(--gold-ink);
}
.why__icon svg { width: 26px; height: 26px; }
.why__list h3 { font-size: 1.0625rem; }
.why__list p { color: var(--text-soft); font-size: .9375rem; margin-top: 3px; line-height: 1.7; }
/* ตัวเลข/หลักฐานประกอบแต่ละข้อ เป็นสิ่งที่แยกเราออกจากคำโฆษณาทั่วไป */
.why__proof {
  display: inline-block; margin-top: 8px; margin-right: 12px;
  font-family: var(--font-head); font-weight: 500; font-size: .875rem;
  color: var(--navy-900); background: var(--grey-050); border-radius: var(--radius-pill); padding: 5px 14px;
}
.why__link { font-family: var(--font-head); font-size: .875rem; font-weight: 500; color: var(--gold-ink); white-space: nowrap; }
.why__link:hover { color: var(--navy-700); }

/* ลูกค้าพูดถึงเรา — วางบนพื้นน้ำเงินเพื่อให้การ์ดขาวเด้งออกมา
   เดิมเป็นการ์ดขาวบนพื้นเทาอ่อน ซึ่งแทบไม่มีความต่างของสี ทุกอย่างเลยดูแบนจมกันไปหมด */
.rv-section { padding-bottom: 72px; }
.rv { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: stretch; gap: 10px; }
.rv__track {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 20px; scrollbar-width: none;
}
.rv__track::-webkit-scrollbar { display: none; }
.rv__track:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; border-radius: var(--radius); }
.rv__card {
  scroll-snap-align: start; position: relative; background: var(--white);
  border-radius: var(--radius); padding: 46px 26px 24px;
  box-shadow: 0 10px 30px rgba(2, 12, 34, .28);
  display: flex; flex-direction: column; gap: 14px; min-height: 240px;
}
/* เครื่องหมายคำพูดตัวโตเป็นจุดนำสายตาของการ์ด แทนแถบสีบาง ๆ ที่ไม่สื่ออะไร */
.rv__mark {
  position: absolute; top: 6px; left: 22px;
  font-family: var(--font-head); font-size: 4.5rem; line-height: 1;
  color: var(--gold-500); opacity: .55; pointer-events: none;
}
.rv__quote {
  font-family: var(--font-head); font-size: 1.125rem; font-weight: 500; line-height: 1.65;
  color: var(--navy-900); margin: 0;
}
.rv__tag {
  align-self: flex-start; font-family: var(--font-head); font-size: .75rem; letter-spacing: .06em;
  color: var(--gold-ink); background: var(--gold-050); border-radius: var(--radius-pill); padding: 4px 14px;
}
.rv__by { margin-top: auto; font-size: .8125rem; color: var(--text-soft); }
.rv__nav {
  align-self: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08);
  color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .38s var(--ease-lift);
}
.rv__nav:hover { background: var(--gold-500); border-color: var(--gold-500); color: #3A2300; transform: translateY(-3px); }
.rv__nav[disabled] { opacity: .3; cursor: default; transform: none; }

/* แถบข้อเท็จจริง — อยู่บนพื้นน้ำเงินโดยตรง ไม่ใช้กล่องขาวอีกชุด
   จะได้ไม่กลายเป็นกล่องขาวเรียงกัน 8 ใบติดกันเหมือนเดิม */
.rv__facts {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px; margin-top: 34px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.rv__facts li { display: grid; gap: 6px; }
.rv__factno { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--gold-500); line-height: 1; }
.rv__facts strong { font-family: var(--font-head); font-weight: 500; color: var(--white); }
.rv__factnote { font-size: .875rem; color: #B9C6DD; line-height: 1.7; }

.rv__proof { margin-top: 38px; }
.rv__proofhead { font-size: .875rem; color: #B9C6DD; margin-bottom: 14px; }
.rv__proofrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rv__proofpic {
  display: block; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1 / 1; background: var(--navy-700);
  transition: transform .38s var(--ease-lift), box-shadow .38s var(--ease-out);
}
.rv__proofpic:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(2, 12, 34, .4); }
.rv__proofpic:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.rv__proofpic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.rv__proofpic:hover img { transform: scale(1.06); }

/* หน้าเทียบสินค้า และบล็อกช่วยตัดสินใจในหน้าสินค้า */
.crumbs { color: var(--text-soft); font-size: .875rem; margin-bottom: 20px; }
.crumbs a:hover { color: var(--gold-ink); }
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; min-width: 720px; }
.cmp thead th { background: var(--navy-900); color: var(--white); font-family: var(--font-head); font-weight: 500; padding: 14px; text-align: left; }
.cmp thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.cmp thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.cmp td, .cmp th[scope="row"] { padding: 14px; border-bottom: 1px solid var(--grey-100); text-align: left; vertical-align: top; }
.cmp tbody tr:nth-child(even) { background: var(--grey-050); }
.cmp th[scope="row"] a { font-family: var(--font-head); font-weight: 500; color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.cmp th[scope="row"] a:hover { color: var(--gold-ink); }
.cmp__note { margin-top: 16px; font-size: .875rem; color: var(--text-soft); line-height: 1.7; }

/* ย่อหน้าตอบสั้นใต้ชื่อสินค้า — ประโยคที่อยู่ได้ด้วยตัวเองสำหรับคนที่กวาดตาและสำหรับ AI ที่ดึงคำตอบไปตอบแทน */
.product-answer { font-size: 1.0625rem; line-height: 1.85; color: var(--navy-900); border-left: 3px solid var(--gold-500); padding-left: 16px; margin-bottom: 18px; }
@media (max-width: 640px) { .product-answer { font-size: 1rem; padding-left: 13px; } }

/* Shared OPP Decision Framework — กรอบเดียวใช้ทุกหน้า
   หัวข้อ ย่อหน้านำ และปัจจัยเด่นมาจาก recommendation ของรุ่นนั้น จึงต่างกันทุกหน้า
   หลักการกลางกับปัจจัยที่เหลือพับไว้ใน details เพราะซ้ำกันทุกหน้าตามตั้งใจ */
.decide-frame { background: var(--gold-050); border-radius: var(--radius-md); padding: 28px 30px; }
.decide-frame__eyebrow { font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.decide-frame h2 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); margin-bottom: 12px; }
.decide-frame__lead { line-height: 1.85; max-width: 78ch; }
.decide-frame__label { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); margin: 22px 0 10px; }
.decide-frame__key, .decide-frame__rest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; list-style: none; }
.decide-frame__key li, .decide-frame__rest li { position: relative; padding-left: 20px; font-size: .9375rem; line-height: 1.7; }
.decide-frame__key li::before, .decide-frame__rest li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-ink); }
.decide-frame__key li { font-weight: 600; color: var(--navy-900); }
.decide-frame__rest li { color: var(--text-soft); }
.decide-frame__rest li::before { background: var(--grey-300); }
.decide-frame__more { margin-top: 22px; border-top: 1px solid rgba(138, 97, 9, .18); padding-top: 16px; }
.decide-frame__more summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); line-height: 1.6; }
.decide-frame__more summary:hover { color: #4A2E00; }
.decide-frame__more > p { margin-top: 12px; line-height: 1.85; max-width: 78ch; color: var(--text-soft); font-size: .9375rem; }
.decide-frame__cta { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(138, 97, 9, .18); font-size: .9375rem; line-height: 1.8; }
.decide-frame .btn { margin-top: 16px; }
@media (max-width: 640px) { .decide-frame { padding: 22px; } .decide-frame__key, .decide-frame__rest { grid-template-columns: minmax(0, 1fr); } }

.decide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.decide-pick { margin-top: 32px; background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--gold-500); padding: 24px 26px; }
.decide-pick strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; margin-bottom: 8px; }
.decide-pick p { color: var(--text-soft); }
.decide-pick__not { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--grey-100); font-size: .9375rem; line-height: 1.8; }
.decide-pick__not strong { display: inline; font-size: inherit; font-family: var(--font-head); margin: 0; }

.ask-list { counter-reset: ask; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ask-list li { counter-increment: ask; position: relative; padding: 14px 18px 14px 54px; background: var(--white); border-radius: var(--radius-md); }
.ask-list li::before { content: counter(ask); position: absolute; left: 18px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-900); color: var(--white); font-size: .8125rem; display: grid; place-items: center; font-family: var(--font-head); }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { background: var(--grey-050); border-radius: var(--radius-md); border-left: 4px solid var(--gold-500); }
.faq__item summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 500; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: right; color: var(--gold-ink); font-size: 1.25rem; line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 22px 20px; color: var(--text-soft); line-height: 1.8; }
/* FAQ บนหน้าแรกมีลิงก์ไปหน้าเต็มต่อท้ายคำตอบ จึงมี <p> สองก้อนในหนึ่งข้อ
   กฎด้านบนใส่ระยะล่างให้ทุก <p> ถ้าปล่อยไว้จะเว้นล่างซ้อนกันสองชั้น */
.faq--home { margin-inline: auto; }

/* ขั้นตอนการผลิตบนหน้าแรก อยู่ในบล็อกพื้นน้ำเงินร่วมกับตัวเลขกำลังผลิต
   ใช้กริดที่ยุบเองตามที่เหลือ ไม่ล็อกจำนวนคอลัมน์ เพราะจำนวนขั้นอาจเปลี่ยนได้ */
.steps { margin-top: 48px; }
.steps__head { font-family: var(--font-head); font-weight: 500; font-size: 1.125rem; color: var(--white); }
.steps__note { color: #A9BBD8; font-size: .9375rem; margin: 4px 0 22px; }
.steps__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); overflow: hidden;
}
.steps__list li { display: flex; gap: 12px; align-items: flex-start; padding: 20px 20px 22px; background: var(--navy-900); min-width: 0; }
.steps__no {
  font-family: var(--font-head); font-weight: 600; font-size: .8125rem;
  color: var(--gold-500); flex: none; padding-top: 2px; font-variant-numeric: tabular-nums;
}
.steps__list strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9375rem; line-height: 1.45; color: var(--white); }
.steps__sub { display: block; font-size: .8125rem; line-height: 1.6; color: #A9BBD8; margin-top: 4px; }
.faq__item p + p { padding-top: 0; }
.faq__more a { font-family: var(--font-head); font-weight: 500; color: var(--gold-ink); }
.faq__more a:hover { color: var(--navy-700); }

@media (pointer: coarse) {
  .nav a, .site-footer ul a, .footer-bottom a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .product-gallery__thumbs button { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn::before { transition: none; }
  .card, .card__media img, .cat-card, .gal__tile, .gal__tile img,
  .gal-preview__tile, .gal-preview__tile img { transition: none !important; }
  .card:hover, .cat-card:hover, .gal__tile:hover, .gal-preview__tile:hover { transform: none; }
}
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold-500); color: #4A2E00; }
.btn--gold::before { background: var(--gold-700); }
.btn--gold:hover { color: #3A2300; }
.btn--line { background: var(--line-btn); color: var(--white); }
.btn--line::before { background: var(--line-btn-dark); }
.btn--ghost { border-color: var(--grey-300); color: var(--navy-900); }
.btn--ghost::before { background: var(--gold-500); }
.btn--ghost:hover { color: #4A2E00; border-color: var(--gold-500); }
.section--navy .btn--ghost,
.contact-quick .btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900); color: var(--white);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
/* โลโก้ต้นฉบับเป็นหงส์สีกรมท่าบนพื้นโปร่งใส แถบหัวเว็บก็สีกรมท่า จึงใช้ไฟล์
   ที่ระบายเป็นสีขาวไว้แล้ว ไม่ใช้ filter เพราะเปลืองแรงวาดตอนเลื่อนหน้า */
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: .9375rem; }
.nav a { color: #C7D4E8; padding: 6px 0; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-500); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.5rem; margin-left: auto; }

/* ของเดิมแบ่งช่องเป็นสัดส่วนคงที่ 1 : 1.15 ผลคือยิ่งจอกว้าง รูปยิ่งโตไม่มีเพดาน
   ส่วนช่องตัวหนังสือกลับแคบลง เพราะระยะขอบซ้ายคำนวณจากความกว้างจอแล้วไปกินที่ของมันเอง
   วัดจริง 26 ส.ค. 2569 — ที่ 1440px ตัวหนังสือได้ 495px ที่ 2560px เหลือ 456px ส่วนรูปโตจาก 762 เป็น 1,361px
   เปลี่ยนเป็นล็อกเพดานรูปไว้ แล้วที่เหลือทั้งหมดตกเป็นของตัวหนังสือ */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(46vw, 700px)); min-height: 620px; background: var(--navy-900); color: var(--white); }
.hero__text { display: flex; align-items: center; padding: 76px 48px 76px max(20px, calc((100vw - 1200px) / 2)); }
.hero__inner { max-width: 760px; }
/* ขอบซ้ายของรูปเดิมชนพื้นน้ำเงินเป็นเส้นตรงกลางจอ ตาจึงอ่านว่าเป็นภาพสองชิ้น
   เอามาแปะต่อกัน (บอสทักเอง 26 ส.ค. 2569) แก้ด้วยการไล่สีน้ำเงินทับขอบซ้ายของรูป
   ให้จางหายเข้าไปในเนื้อภาพ แล้วมนมุมซ้ายของกรอบ ทำที่ ::after ทั้งหมด
   จึงไม่ต้องแตะไฟล์รูป และถอดคืนได้ด้วยการลบสองกฎนี้ทิ้ง
   ไล่จบที่ 36% เพราะคนในรูปเริ่มราว 45% ของความกว้าง ถ้าไล่ไกลกว่านี้จะไปคลุมตัวคน */
.hero__media { position: relative; border-radius: 150px 0 0 150px / 50% 0 0 50%; overflow: hidden; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(10, 35, 82, .55) 0%,
    rgba(10, 35, 82, .18) 12%,
    rgba(10, 35, 82, 0) 26%);
}
.hero__media picture { position: absolute; inset: 0; display: block; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
/* คำสั่งรอบใหม่ขอให้ Hero โปร่งขึ้น ระยะห่างจึงเพิ่มทั้งเหนือและใต้หัวเรื่อง
   ขนาดคงไว้ที่ 50px เพราะจุดตัดใน heroH1 ทำให้คำยาวไม่ต้องถูกตัดกลางคำอีกแล้ว */
.hero h1 { margin: 18px 0 22px; font-size: clamp(1.875rem, 3.6vw, 3.125rem); text-wrap: balance; }
/* เจาะจงที่ย่อหน้านำ ไม่ใช่ .hero p เพราะ eyebrow ก็เป็น <p> อยู่ในบล็อกเดียวกัน
   ถ้าใช้ .hero p กฎนี้จะไปทับสีทองของ eyebrow ด้วยความจำเพาะที่สูงกว่า */
.hero__lead { color: #C7D4E8; margin-bottom: 34px; max-width: 52ch; font-size: 1.0625rem; }
/* .eyebrow ปกติใช้ gold-ink ซึ่งเป็นทองเข้มสำหรับพื้นสว่าง บนพื้นน้ำเงินต้องใช้ทองอ่อน
   ไม่งั้นคอนทราสต์ตกเกณฑ์ AA เหมือนที่ .section--navy .eyebrow ทำอยู่แล้ว */
.hero .eyebrow { color: var(--gold-500); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* การ์ดจุดเด่นสามใบ อยู่นอก .hero แล้วแต่ยังใช้พื้นน้ำเงินต่อเนื่องกัน เพื่อให้อ่านเป็น
   บล็อกเดียวกับ hero และเพื่อให้กล่องโปร่งขอบบางยังทำงาน — ถ้าย้ายไปวางบนพื้นขาว
   จะไม่เห็นความโปร่งเลย เดิมการ์ดอยู่ในกล่องข้อความซึ่งกว้างแค่ 595px ได้ช่องละ 187px
   ซึ่งใส่ข้อความยาวตามสเปกไม่ลง ย้ายออกมากินเต็ม 1200px ได้ช่องละราว 380px */
.hero-strip { background: var(--navy-900); color: var(--white); padding: 6px 0 48px; }
.hero-points {
  list-style: none; margin: 0; padding: 22px 12px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
}
.hero-points__item { display: flex; gap: 14px; align-items: flex-start; padding: 0 18px; min-width: 0; }
.hero-points__item + .hero-points__item { border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-points__ico { width: 30px; height: 30px; flex: none; color: var(--gold-500); margin-top: 1px; }
.hero-points__ico svg { width: 100%; height: 100%; display: block; }
/* หัวข้อการ์ดเป็น <h2> จริงเพื่อให้เป็นหัวข้อที่ Google อ่านได้ แต่ต้องรีเซ็ตขนาด
   ไม่ให้กินสเกลของ h2 ปกติซึ่งใหญ่ถึง 30px */
.hero-points__title {
  font-size: 1rem; font-weight: 500; line-height: 1.45;
  color: var(--white); margin: 0 0 5px;
}
.hero-points__note { font-size: .875rem; line-height: 1.7; color: #A9BBD8; margin: 0; }
.brand-banner { border-radius: var(--radius-md); border: 1px solid var(--grey-300); margin-bottom: 32px; width: 100%; }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* การ์ดนิยามด้วยเงาอย่างเดียว ไม่ใช้เส้นขอบ และรูปเต็มกรอบไม่มีขอบว่าง
   เพราะรูปสตูดิโอมีสัดส่วนต่างกันตั้งแต่ 0.80 ถึง 1.78 ถ้าใช้ contain
   แต่ละใบจะเหลือขอบว่างไม่เท่ากัน กริดเลยดูไม่เป็นระเบียบ */
.card {
  background: var(--white); border: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 35, 82, .05), 0 8px 24px rgba(10, 35, 82, .07);
  transition: transform .38s var(--ease-lift), box-shadow .38s var(--ease-out);
  will-change: transform;
}
.card:hover, .card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 6px 12px rgba(10, 35, 82, .08), 0 24px 52px rgba(10, 35, 82, .16);
}
.card__media { background: var(--grey-050); aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
/* การ์ดที่หน้าปกเป็นภาพกราฟิกมีตัวหนังสือ ต้องเห็นเต็มใบ ตัดขอบไม่ได้ */
.card__media--fit { background: var(--white); }
.card__media--fit img { object-fit: contain; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__title { color: var(--gold-ink); }
.card__title { transition: color .2s ease; }
.card__body { padding: 16px 16px 22px; text-align: center; }
.card__brand { font-size: .75rem; letter-spacing: .1em; color: var(--gold-ink); font-family: var(--font-head); }
.card__title { font-family: var(--font-head); font-weight: 500; font-size: .9375rem; margin-top: 5px; line-height: 1.5; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 0; }
/* เดิมเป็นปุ่มสองแถวลอย ๆ ไม่มีป้ายบอกว่าแถวไหนคืออะไร และกินพื้นที่จอแรกทั้งจอบนมือถือ */
.filter-bar { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.filter-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; }
.filter-row__label {
  font-family: var(--font-head); font-size: .8125rem; letter-spacing: .08em;
  color: var(--text-soft); text-align: right;
}
.filter-row .filters { justify-content: flex-start; }
.filter {
  min-height: 44px; padding: 8px 20px; border-radius: var(--radius-pill); font-size: .875rem;
  border: 1px solid var(--grey-300); background: var(--white); color: var(--text-soft);
  font-family: var(--font-head); cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--gold-500); border-color: var(--gold-500); color: #4A2E00; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat__value {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--gold-500); text-shadow: 0 0 32px rgba(245, 179, 43, .35);
}
.stat__label { font-size: .875rem; color: #B9C6DD; margin-top: 4px; }
.stat__note { font-size: .8125rem; color: #8FA0BE; }

.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.product-gallery__main { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 18px; aspect-ratio: 4 / 3; overflow: hidden; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery__thumbs button { width: 68px; height: 68px; padding: 6px; border-radius: var(--radius-md); border: 1px solid var(--grey-300); background: var(--white); cursor: pointer; }
.product-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.product-gallery__thumbs button[aria-pressed="true"] { border-color: var(--gold-500); }
.spec-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--grey-100); font-size: .9375rem; }
.spec-row dt { color: var(--text-soft); min-width: 108px; }
.spec-row dd { font-weight: 500; }
.map-link { display: inline-block; margin-top: 6px; font-size: .875rem; font-weight: 400; color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.map-link:hover { color: var(--gold-ink); }
.article-body { max-width: 68ch; margin: 0 auto; }
.feature-list { list-style: none; display: grid; gap: 10px; }
.feature-list li { padding-left: 26px; position: relative; }
.spec-list { list-style: none; display: grid; gap: 10px; max-width: 520px; }
.spec-list li {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 18px;
  background: var(--grey-050); border-radius: var(--radius-md); font-size: .9375rem;
}
.spec-list li::before { content: "▸"; color: var(--gold-ink); font-weight: 600; }
.spec-list__note { margin-top: 16px; color: var(--text-soft); font-size: .9375rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 600; }

.sku-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.sku-table th, .sku-table td { padding: 12px 14px; border-bottom: 1px solid var(--grey-100); text-align: left; }
.sku-table thead th { background: var(--navy-900); color: var(--white); font-family: var(--font-head); font-weight: 500; }
.sku-empty { background: var(--gold-050); border: 1px dashed var(--gold-500); border-radius: var(--radius); padding: 20px; color: var(--text-soft); }

/* พรีวิวคลังรูปภาพ — กริดเห็นครบทุกใบ ไม่ต้องเลื่อนแนวนอน */
.gal-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gal-preview__tile {
  display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--grey-050); transition: box-shadow .38s var(--ease-out), transform .38s var(--ease-lift);
}
.gal-preview__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gal-preview__tile:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 35, 82, .2); }
.gal-preview__tile:hover img { transform: scale(1.05); }
.gal-preview__more { text-align: center; margin-top: 26px; }
.section--navy .gal-preview__tile { background: var(--navy-700); }

.site-footer { background: var(--navy-900); color: #B9C6DD; padding: 56px 0 0; font-size: .9375rem; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 18px 0; text-align: center; font-size: .8125rem; }

.cta-bar { display: none; }

/* แผนที่บริษัทบนหน้าติดต่อเรา */
.map-figure { margin: 0 auto; max-width: 1000px; }
.map-figure img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--grey-300); box-shadow: 0 12px 32px rgba(10, 35, 82, .12);
}
.map-figure a { display: block; position: relative; }
.map-figure__zoom { display: none; }
.map-figure figcaption { margin-top: 20px; text-align: center; }
.map-figure__label {
  display: block; font-family: var(--font-head); font-size: .8125rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px;
}
.map-landmarks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.map-landmarks li {
  background: var(--white); border: 1px solid var(--grey-300); border-radius: 999px;
  padding: 5px 14px; font-size: .875rem; color: var(--text-soft);
}
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }


/* เมนู LINE บนแถบนำทาง */
.nav__line { display: inline-flex; align-items: center; gap: 6px; color: var(--white) !important; }
.nav__line:hover { color: var(--line-green) !important; }
.nav__line-icon { width: 18px; height: 18px; flex: none; color: var(--line-green); }

/* หน้า "สอบถามเพิ่มเติม" */
.line-hero { background: var(--line-bg); text-align: center; }
.line-hero .eyebrow { color: var(--gold-ink); }
.line-hero__title { color: var(--red-cta); margin: 6px auto 14px; }
.line-hero__title > span { display: block; }
.line-hero__sub { color: var(--text-soft); max-width: 62ch; margin: 0 auto 36px; }
.line-banner { display: block; max-width: 1160px; margin: 0 auto; border-radius: 20px; overflow: hidden; }
.line-banner img { width: 100%; }
.line-banner:hover { transform: translateY(-2px); }
.line-banner { transition: transform .15s ease; }
.line-cta { margin-top: 32px; }
.btn--lg { padding: 16px 38px; font-size: 1.0625rem; }
.line-cta__alt { margin-top: 16px; color: var(--text-soft); font-size: .9375rem; }
.line-cta__alt a { font-weight: 500; color: var(--navy-700); white-space: nowrap; }
.topic-card {
  background: var(--white); border: 1px solid var(--grey-300); border-left: 4px solid var(--line-green);
  border-radius: var(--radius); padding: 20px 22px; font-family: var(--font-head); font-weight: 500;
}

/* คลังรูปภาพ */
.gal-intro { background: var(--navy-900); color: var(--white); }
.gal-intro .section-head p { color: #B9C6DD; }
.gal-group { margin-top: 44px; }
.gal-group:first-of-type { margin-top: 8px; }
.section-title, .gal-group__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--gold-500); }
.section-title h2, .gal-group__head h2 { font-size: 1.375rem; }
.section-title p, .gal-group__head p { color: var(--text-soft); font-size: .9375rem; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gal__tile {
  padding: 0; border: 0; background: var(--grey-050);
  border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; display: block;
  aspect-ratio: 4 / 3; transition: transform .38s var(--ease-lift), box-shadow .38s var(--ease-out);
}
.gal__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gal__tile:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 35, 82, .2); }
.gal__tile:hover img { transform: scale(1.06); }
.gal__tile:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.gal-empty { text-align: center; color: var(--text-soft); padding: 40px 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(6, 18, 42, .94);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px;
  grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; padding: 56px 12px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { grid-column: 2; grid-row: 1; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox__caption { grid-column: 1 / -1; grid-row: 2; color: #C7D4E8; font-size: .875rem; padding-top: 14px; text-align: center; }
.lightbox__close {
  position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 1.25rem; cursor: pointer;
}
.lightbox__nav {
  grid-row: 1; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 2rem; line-height: 1;
}
.lightbox__nav--prev { grid-column: 1; }
.lightbox__nav--next { grid-column: 3; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold-500); color: #4A2E00; }

/* การ์ดหมวดสินค้า — รูปซ้าย ข้อความขวา อ่านง่ายกว่ารูปบนข้อความล่างเมื่อวาง 3 คอลัมน์ */
.cat-card {
  display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: 14px; transition: border-color .2s ease, transform .38s var(--ease-lift), box-shadow .38s var(--ease-out);
}
.cat-card:hover { border-color: var(--gold-500); transform: translateY(-8px); box-shadow: 0 6px 12px rgba(10, 35, 82, .08), 0 24px 52px rgba(10, 35, 82, .16); }
.cat-card__media { background: var(--grey-050); border-radius: var(--radius-md); aspect-ratio: 1 / 1; overflow: hidden; padding: 8px; }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cat-card__body h3 { font-size: 1.0625rem; }
.cat-card__body p { color: var(--text-soft); font-size: .875rem; margin: 4px 0 8px; line-height: 1.6; }
.cat-card__count {
  display: inline-block; font-family: var(--font-head); font-size: .75rem; letter-spacing: .04em;
  color: var(--gold-ink); background: var(--gold-050); border-radius: 999px; padding: 3px 12px;
}

/* เมนู 10 อันเรียงแถวเดียวต้องใช้ความกว้าง 1034px (วัดจากหน้าจริง 26 ส.ค. 2569)
   เดิม 987px ตอนโลโก้ยังเป็นข้อความกว้าง 105px พอเปลี่ยนเป็นภาพหงส์สูง 44px
   โลโก้กว้างขึ้นเป็น 136px เมนูจึงต้องการที่มากขึ้น 31px จุดยุบเลยขยับ 1024 -> 1060px
   27 ส.ค. 2569 เพิ่ม "รับผลิต OEM" เป็นรายการที่ 11 เมนูกว้างขึ้นจาก 659 เป็น 940px
   วัดที่ 1061px แล้วหน้าเลื่อนซ้ายขวาได้จริง 76px จุดยุบจึงขยับ 1060 -> 1160px
   ลองหด gap เหลือ 14px แล้วยังล้นอยู่ ประหยัดได้แค่ 60px แต่เมนูอัดกันจนอ่านยาก จึงไม่เอา
   ถ้าเพิ่มเมนูหรือขยายโลโก้อีก ต้องวัดใหม่แล้วขยับเลขนี้ ไม่งั้นหน้าเว็บจะเลื่อนซ้ายขวาได้ในจอแคบ */
@media (max-width: 1160px) {
  .nav { display: none; }
  /* เมนู 11 อันสูงราว 500px แต่มือถือแนวนอนสูงแค่ 375px และแถบหัวเว็บเป็น sticky
     ของเดิมจึงล้นออกนอกจอ 144px แล้วเลื่อนหน้าลงก็ไม่ช่วย เพราะเมนูถูกตรึงไปกับแถบหัว
     ผลคือ "ติดต่อเรา" กับปุ่ม LINE สองอันท้ายกดไม่ได้เลยบนมือถือแนวนอน
     จำกัดความสูงเท่าที่เหลือจากแถบหัว แล้วให้เลื่อนในเมนูเองแทน */
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy-900); padding: 16px 20px; gap: 4px;
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-toggle { display: block; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  /* จอแคบรูปเรียงอยู่บนสุดเต็มความกว้าง ความสูงคงที่ทำให้จอกว้างขึ้นแล้วสัดส่วนเพี้ยน
     ที่ 768px กรอบกลายเป็น 753x320 ตัดทิ้ง 53% หัวคนหายทั้งสองคน
     ผูกความสูงกับความกว้างจอแทน และเลื่อนตำแหน่งขึ้นบนเพื่อรักษาหน้ากับหมวกไว้ */
  .hero__media { order: -1; height: min(88vw, 400px); }
  .hero__media img { object-position: 50% 18%; }
  /* จอแคบรูปขึ้นไปอยู่บนสุดเต็มความกว้าง รอยต่อกลายเป็นแนวนอน
     มุมมนข้างเดียวจะดูเบี้ยว จึงถอดออกแล้วไล่สีลงล่างเข้าหาพื้นน้ำเงินแทน */
  .hero__media { border-radius: 0; }
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(10, 35, 82, 0) 58%,
      rgba(10, 35, 82, .5) 84%,
      #0A2352 100%);
  }
  .hero__text { padding: 32px 20px 36px; }
  .hero__inner { max-width: none; }
  /* กว้างไม่พอให้สามใบยืนเรียงกัน เรียงลงมาแล้วสลับเส้นคั่นเป็นแนวนอน */
  .hero-strip { padding: 0 0 40px; }
  .hero-points { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 14px; }
  .hero-points__item { padding: 0 4px; gap: 12px; }
  .hero-points__item + .hero-points__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; }
  .hero-points__ico { width: 26px; height: 26px; }
  .hero-points__note { font-size: .8125rem; line-height: 1.6; }
}

@media (max-width: 1024px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .rv__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .decide-grid, .ask-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  .rv { grid-template-columns: minmax(0, 1fr); }
  .rv__nav { display: none; }
  .rv__track { grid-auto-columns: 86%; gap: 12px; }
  .rv__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .rv__proofrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv__proofhead { text-align: center; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-qr { max-width: 280px; }

  /* บนมือถือปุ่ม LINE ในหัวหน้าซ้ำกับแถบ CTA ล่างจอและแถบชวนแชทที่อยู่ถัดลงไปทันที
     ตัดออกเพื่อให้แถบชวนแชทขึ้นมาอยู่ในระยะที่เลื่อนถึงง่าย */
  .hero .hero-actions .btn--line { display: none; }
  .hero__media { height: min(88vw, 340px); }

  .line-bar { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 20px; }
  .line-bar__mark { width: 46px; height: 46px; }
  .line-bar__icon { width: 34px; height: 34px; }
  .line-bar__btn { grid-column: 1 / -1; text-align: center; padding: 14px; font-size: 1rem; }
  .line-bar-wrap { padding: 20px 0 0; }
  .line-float { display: none; }

  .filter-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .filter-row__label { text-align: left; }
  .filter { min-height: 40px; padding: 6px 14px; font-size: .8125rem; }


  .gal-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gal-group__head { flex-direction: column; gap: 2px; }
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 52px 8px 18px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.5rem; }

  .btn--lg { width: 100%; justify-content: center; }

  .map-figure__zoom {
    display: block; margin-top: 10px; text-align: center;
    font-size: .8125rem; color: var(--text-soft);
  }
  .map-figure__zoom::before { content: "🔍 "; }

  .section { padding: 56px 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  body { padding-bottom: 60px; }
  .cta-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  }
  .cta-bar a {
    padding: 18px; min-height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-head); font-weight: 500;
  }
  .cta-bar a:first-child { background: var(--gold-500); color: #4A2E00; }
  .cta-bar a:last-child { background: var(--line-btn); color: var(--white); }
  .sku-table thead { display: none; }
  .sku-table tr { display: block; border: 1px solid var(--grey-300); border-radius: 8px; margin-bottom: 10px; padding: 6px 12px; }
  .sku-table td { display: flex; justify-content: space-between; border: 0; padding: 6px 0; }
  .sku-table td::before { content: attr(data-label); color: var(--text-soft); }
}

/* ── Decision Content ───────────────────────────────────────────────
   หน้าคู่มือเลือกเทป โครงเดียวกันทุกหน้า คำตอบอยู่บนสุดเสมอ
   ลูกค้าที่มาจาก Google หรือ AI จะได้คำตอบก่อนต้องเลื่อน */
.guide-top h1 { max-width: 22ch; }
.guide-answer {
  margin-top: 24px; max-width: 82ch;
  border-left: 4px solid var(--gold-ink); background: var(--gold-050);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 22px 26px;
}
.guide-answer__label {
  font-family: var(--font-head); font-weight: 600; font-size: .8125rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px;
}
.guide-answer p + p { margin-top: 12px; }
.guide-answer p:not(.guide-answer__label) { line-height: 1.85; }

.guide-factors { list-style: none; counter-reset: gf; display: grid; gap: 14px; max-width: 90ch; }
.guide-factors li {
  counter-increment: gf; position: relative; padding-left: 52px;
  background: var(--white); border-radius: var(--radius-md); padding-top: 16px; padding-bottom: 16px; padding-right: 20px;
}
.guide-factors li::before {
  content: counter(gf); position: absolute; left: 16px; top: 16px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--navy-900); color: var(--white);
  font-family: var(--font-head); font-size: .8125rem; display: grid; place-items: center;
}
.guide-factors strong { display: block; font-family: var(--font-head); color: var(--navy-900); }
.guide-factors span { display: block; margin-top: 3px; font-size: .9375rem; color: var(--text-soft); line-height: 1.7; }

.guide-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-case {
  background: var(--white); border-radius: var(--radius-md); padding: 22px 24px;
  border-top: 3px solid var(--line-btn);
}
.guide-case__when { font-size: .875rem; color: var(--text-soft); }
.guide-case__pick {
  font-family: var(--font-head); font-weight: 600; font-size: 1.125rem;
  color: var(--navy-900); margin: 6px 0 8px;
}
.guide-case__why { font-size: .9375rem; line-height: 1.75; }
.guide-case__links { margin-top: 12px; font-size: .875rem; }

.guide-why { max-width: 84ch; }
.guide-why p { line-height: 1.9; }
.guide-why p + p { margin-top: 14px; }

.guide-next { list-style: none; display: grid; gap: 8px; max-width: 80ch; }
.guide-next a {
  display: block; background: var(--white); border-radius: var(--radius-md);
  padding: 15px 20px; font-family: var(--font-head); color: var(--navy-900);
  transition: transform .3s var(--ease-out);
}
.guide-next a:hover { transform: translateX(4px); }

.guide-list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.guide-list a {
  display: block; background: var(--white); border: 1px solid var(--grey-300);
  border-radius: var(--radius-md); padding: 20px 24px;
  transition: transform .32s var(--ease-lift), box-shadow .32s var(--ease-out);
}
.guide-list a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10, 35, 82, .1); }
.guide-list strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; color: var(--navy-900); }
.guide-list span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--text-soft); line-height: 1.7; }

/* §1 §27 บอกให้ชัดว่าอะไรเป็นสเปกจริง อะไรเป็นหลักการทั่วไป อะไรเป็นคำแนะนำ */
.evidence { border: 1px solid var(--grey-300); border-radius: var(--radius-md); padding: 26px 28px; }
.evidence h2 { font-size: 1.125rem; }
.evidence__intro { margin: 8px 0 20px; font-size: .9375rem; color: var(--text-soft); line-height: 1.75; }
.evidence__group + .evidence__group { margin-top: 18px; }
.evidence__level {
  display: inline-block; font-family: var(--font-head); font-size: .75rem;
  letter-spacing: .04em; border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 8px;
}
.evidence__level--verified_swan_fact { background: #E7F4EC; color: #0B5F30; }
.evidence__level--industry_reference { background: #EEF2F9; color: #24406F; }
.evidence__level--editorial_recommendation { background: var(--gold-050); color: var(--gold-ink); }
.evidence__group ul { list-style: none; display: grid; gap: 4px; }
.evidence__group li { position: relative; padding-left: 18px; font-size: .9375rem; line-height: 1.7; color: var(--text-soft); }
.evidence__group li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; }

@media (max-width: 900px) {
  .guide-cases { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .guide-answer { padding: 18px 20px; }
  .guide-factors li { padding-left: 46px; }
  .evidence { padding: 20px; }
}

/* ── Phase 2: หน้า OEM ─────────────────────────────────────────
   ใช้คลาสกลางของเว็บเป็นหลัก ส่วนนี้เติมเฉพาะที่หน้า OEM ต้องมีเอง */
.oem-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 44px; align-items: center; }
.oem-hero__sub { margin-top: 14px; max-width: 46ch; line-height: 1.85; color: var(--text-soft); }
.oem-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.oem-hero__media img { width: 100%; height: auto; border-radius: var(--radius-md); }
.oem-hero__media figcaption { margin-top: 8px; font-size: .8125rem; color: var(--text-soft); }

.oem-cap strong { display: block; font-family: var(--font-head); color: var(--navy-900); margin-bottom: 6px; }
.oem-cap p { font-size: .9375rem; line-height: 1.7; color: var(--text-soft); }

/* ป้ายกำกับช่องที่ยังไม่ยืนยัน — ให้ลูกค้าเห็นชัดว่าต้องคุยรายกรณี ไม่ใช่สเปกตายตัว */
.oem-ask {
  display: inline-block; margin-left: 8px; font-family: var(--font-head); font-size: .6875rem;
  letter-spacing: .04em; color: var(--gold-ink); background: var(--gold-050);
  border-radius: var(--radius-pill); padding: 2px 10px; vertical-align: middle;
}

.oem-mockups { align-items: start; }
.oem-mockup { position: relative; }
.oem-mockup img { width: 100%; height: auto; border-radius: var(--radius-md); background: var(--white); }
.oem-mockup figcaption {
  position: absolute; top: 10px; left: 10px; font-family: var(--font-head); font-size: .6875rem;
  letter-spacing: .05em; color: var(--navy-900); background: rgba(255, 255, 255, .88);
  border-radius: var(--radius-pill); padding: 3px 12px;
}

@media (max-width: 900px) {
  .oem-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* แบนเนอร์หัวหน้า OEM — สลับสัดส่วนภาพตามจอด้วย <picture> ตัวหนังสือในภาพจะได้ไม่เล็กเกินอ่าน */
.oem-banner-wrap { padding: 26px 0 0; }
.oem-banner {
  display: block; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 35, 82, .12);
  transition: transform .35s var(--ease-lift), box-shadow .35s var(--ease-out);
}
.oem-banner:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10, 35, 82, .18); }
.oem-banner img { display: block; width: 100%; height: auto; }
.oem-banner__note { margin-top: 8px; font-size: .75rem; color: var(--text-soft); }
.oem-hero { padding-top: 40px; }
/* กำกับว่าเป็นภาพถ่ายจริง ไม่ใช่ mockup — คนละสถานะกับรูปตัวอย่างด้านล่าง */
.oem-hero__real { color: var(--ok, #1F6B43); font-weight: 500; }

/* แถบแนะนำ OEM บนหน้ารวมสินค้า — ตั้งใจให้หน้าตาไม่เหมือนการ์ดสินค้า */
.oem-promo {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  margin-top: 28px; padding: 26px 30px;
  background: linear-gradient(100deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius); color: var(--white);
}
.oem-promo__eyebrow {
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-500); margin-bottom: 8px;
}
.oem-promo h2 { color: var(--white); font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
.oem-promo__sub { margin-top: 8px; color: #C6D6F5; font-size: .9375rem; line-height: 1.7; max-width: 56ch; }
.oem-promo__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.oem-promo__points li { position: relative; padding-left: 18px; font-size: .875rem; color: #E7EBF3; }
.oem-promo__points li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}
.oem-promo__cta { display: grid; gap: 10px; }
.oem-promo .btn--ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.oem-promo .btn--ghost:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 760px) {
  .oem-promo { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; }
  .oem-promo__cta { grid-template-columns: minmax(0, 1fr); }
}
