/* tastemaker: surface=marketing narrative · structure=ตามเว็บอ้างอิงที่ลูกค้าเลือก (hero-slider → products → pillars-dark → about-split → masonry-works → steps → quotes → promo-band → faq-split → quote-form)
   mood=premium/trustworthy (brand-fixed palette, ไม่ได้สุ่ม) · contrast: ทุกคู่ที่ใช้ผ่าน 4.5 (ดู .tastemaker/style-lock.md)
   SURIYA CANVAS | สุริยะผ้าใบ — บิล 690929-07 */

:root {
  --ink: #15201b;
  --paper: #f6f1e6;
  --surface: #fffdf8;
  --sand: #efe7d6;
  --forest: #0f3b2c;
  --forest-2: #145038;
  --deep: #0a2a20;
  --night: #0a1712;
  --gold: #c8a04a;
  --gold-light: #e2c27a;
  --gold-ink: #84641c;
  --muted: #56665e;
  --muted-dark: #a9b9b0;
  --line: #ddd4c0;
  --line-green: #07813c;

  --font: 'Kanit', 'Noto Sans Thai', system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --sec: clamp(64px, 9vw, 104px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 2px rgba(15, 59, 44, .06), 0 10px 30px -12px rgba(15, 59, 44, .16);
  --shadow-up: 0 2px 4px rgba(15, 59, 44, .06), 0 22px 40px -16px rgba(15, 59, 44, .24);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; font-weight: 400;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; stroke-width: 1.75; }
.brand { width: 20px; height: 20px; flex: none; }

/* ---------------- ปุ่ม ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(10, 23, 18, .18); backdrop-filter: blur(6px); }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: var(--gold-light); }
  .btn-forest:hover { background: var(--forest-2); }
  .btn-line:hover { background: #066d33; }
  .btn-outline:hover { background: var(--forest); color: #fff; }
  .btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
  .btn:hover .ico:last-child { transform: translateX(3px); }
}
.btn .ico { transition: transform .2s var(--ease); }

/* ---------------- หัวเว็บ ---------------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--surface); }
.nav::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(10, 23, 18, .35); opacity: 0; transition: opacity .25s var(--ease); }
.nav.is-scrolled::after { opacity: 1; }
.topbar { background: var(--forest); color: #e8efe9; font-size: 14px; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; min-height: 36px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.topbar .ico { width: 16px; height: 16px; color: var(--gold-light); }
.topbar a { margin-left: auto; font-weight: 500; color: #fff; }
.nav-row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo-img { height: 70px; width: auto; mix-blend-mode: multiply; }
.logo-text { font-weight: 600; font-size: 20px; color: var(--forest); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links > a {
  position: relative; padding: 10px 14px; text-decoration: none; font-weight: 500; color: var(--ink); border-radius: 10px;
  transition: color .2s var(--ease);
}
.nav-links > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold);
  transform: scaleX(.02); opacity: 0; transform-origin: left; transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-links > a[aria-current="page"] { color: var(--forest); }
.nav-links > a[aria-current="page"]::after { transform: none; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .nav-links > a:hover::after { transform: none; opacity: 1; } }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav-toggle, .nav-mobile-cta { display: none; }

@media (max-width: 1080px) {
  .nav-cta .btn-outline { display: none; }
}
@media (max-width: 900px) {
  .topbar .topbar-addr { display: none; }
  .nav-row { min-height: 64px; gap: 12px; }
  .logo-img { height: 52px; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--surface); color: var(--forest); cursor: pointer;
  }
  .nav-toggle .i-close, .menu-open .nav-toggle .i-open { display: none; }
  .menu-open .nav-toggle .i-close { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h, 100px) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--surface); padding: 8px var(--gut) 20px; box-shadow: 0 24px 40px -20px rgba(10, 23, 18, .4);
    border-top: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
    max-height: calc(100dvh - 100px); overflow: auto;
  }
  .menu-open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links > a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
  .nav-links > a::after { display: none; }
  .nav-links > a[aria-current="page"] { color: var(--gold-ink); }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 16px; }
}
@media (max-width: 560px) {
  .topbar .wrap { justify-content: space-between; gap: 12px; font-size: 13px; }
  .topbar a { margin-left: 0; }
}

/* ---------------- ส่วนทั่วไป ---------------- */
.sec { padding: var(--sec) 0; }
.tone-paper { background: var(--paper); }
.tone-surface { background: var(--surface); }
.tone-sand { background: var(--sand); }
.tone-forest { background: var(--forest); color: #f2f5f1; }
.tone-deep { background: var(--deep); color: #f2f5f1; }
.tone-gold { background: linear-gradient(0deg, var(--sand), var(--sand)); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head > div { max-width: 720px; }
.sec-head h2, .about-text h2, .prose h2 {
  font-size: clamp(26px, 3.4vw, 40px); color: var(--forest); position: relative; padding-top: 22px;
}
.sec-head h2::before, .about-text h2::before, .prose h2::before {
  content: ''; position: absolute; top: 0; left: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--gold);
}
.sec-head.is-center { justify-content: center; text-align: center; }
.sec-head.is-center h2::before { left: 50%; margin-left: -24px; }
.sec-intro { margin-top: 14px; color: var(--muted); font-size: 18px; }
.tone-forest .sec-head h2, .tone-deep .sec-head h2 { color: #fff; }
.tone-forest .sec-intro, .tone-deep .sec-intro { color: var(--muted-dark); }
.sec-head h1 { font-size: clamp(30px, 4vw, 48px); color: var(--forest); }
.more {
  display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 500; color: var(--gold-ink);
  text-decoration: none; padding: 8px 0; border-bottom: 1.5px solid currentColor;
}
.more .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .more:hover .ico { transform: translateX(4px); } }
@media (max-width: 640px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
}

.prose p + p { margin-top: 14px; }
.prose.narrow { max-width: 760px; }
.prose h2 { margin-bottom: 18px; }

/* ---------------- แบนเนอร์ ---------------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero-track { position: relative; display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; display: grid; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.hero-slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; z-index: 1; }
.hero-media, .hero-shade { grid-area: 1 / 1; }
.hero-media { overflow: hidden; position: relative; min-height: 100%; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: translateY(var(--para, 0)) scale(1.04); }
.hero-slide.is-on .hero-media img { animation: hero-drift 9s var(--ease) both; }
@keyframes hero-drift { from { scale: 1.06; } to { scale: 1; } }
.hero-shade { z-index: 1; background:
  linear-gradient(90deg, rgba(10, 42, 32, .88) 0%, rgba(10, 42, 32, .62) 42%, rgba(10, 42, 32, .1) 78%),
  linear-gradient(0deg, rgba(10, 23, 18, .7) 0%, rgba(10, 23, 18, 0) 45%); }
.hero-body { grid-area: 1 / 1; z-index: 2; align-self: end; padding-top: 72px; padding-bottom: 116px; }
.hero-body > * { max-width: 680px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px; color: var(--gold-light); font-weight: 500; font-size: 16px; margin-bottom: 16px;
}
.hero-kicker::before { content: ''; width: 32px; height: 2px; background: var(--gold); }
.hero-title { font-size: clamp(32px, 5vw, 60px); line-height: 1.22; font-weight: 600; text-wrap: balance; }
.hero-sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: #dfe8e2; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-slide.is-on .hero-body > * { animation: hero-in .8s var(--ease) both; }
.hero-slide.is-on .hero-body > :nth-child(2) { animation-delay: .06s; }
.hero-slide.is-on .hero-body > :nth-child(3) { animation-delay: .12s; }
.hero-slide.is-on .hero-body > :nth-child(4) { animation-delay: .18s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-full .hero-slide { min-height: min(86vh, 800px); }
.hero-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.hero-ui > * { pointer-events: auto; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.hero-dots span { width: 40px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .38); transform: scaleX(.7); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.hero-dots [aria-current="true"] span { background: var(--gold); transform: none; }
.hero-arrows { display: flex; align-items: center; gap: 8px; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(10, 23, 18, .25); color: #fff;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .hero-arrows button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); } }
.hero-count { font-size: 14px; color: rgba(255, 255, 255, .8); min-width: 64px; text-align: center; }
.hero-count b { color: #fff; font-weight: 600; }

.hero-compact .hero-slide { min-height: clamp(300px, 42vh, 420px); }
.hero-compact .hero-body { padding-top: 56px; padding-bottom: 56px; align-self: end; }
.hero-compact .hero-title { font-size: clamp(30px, 4.2vw, 50px); }
.hero-compact .hero-sub { font-size: 17px; }
.hero-compact .hero-ui { bottom: 16px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.crumbs .ico { width: 14px; height: 14px; opacity: .7; }
.crumbs-dark { color: var(--muted); }
.crumbs-dark a { color: var(--forest); border-color: var(--line); }

.hero-split { background: var(--forest); }
.hero-split .hero-slide { grid-template-columns: 1fr 1fr; min-height: min(78vh, 680px); }
.hero-split .hero-media { grid-area: 1 / 2; }
.hero-split .hero-shade { display: none; }
.hero-split .hero-body { grid-area: 1 / 1; align-self: center; padding: 64px var(--gut); max-width: 640px; justify-self: end; }

@media (max-width: 719px) {
  .hero-full .hero-slide { min-height: 68vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(10, 42, 32, .94) 0%, rgba(10, 42, 32, .62) 50%, rgba(10, 23, 18, .15) 100%); }
  .hero-body { padding-bottom: 96px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-ui { bottom: 22px; }
  .hero-count { display: none; }
  .hero-arrows button { width: 44px; height: 44px; }
  .hero-compact .hero-slide { min-height: 260px; }
  .hero-compact .hero-body { padding-bottom: 40px; }
  .hero-split .hero-slide { grid-template-columns: 1fr; }
  .hero-split .hero-media { grid-area: 1 / 1; max-height: 44vh; }
  .hero-split .hero-body { grid-area: 2 / 1; padding: 32px var(--gut) 96px; }
}

/* ---------------- สินค้า / บริการ ---------------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .2s var(--ease); position: relative;
}
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-up); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-3px); } .card:hover::after { opacity: 1; } }
.card-pic { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; display: block; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-pic img { scale: 1.04; } }
.card-nopic { display: grid; place-items: center; height: 100%; color: var(--gold-ink); }
.card-nopic .ico { width: 40px; height: 40px; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 14px; font-weight: 500; color: var(--gold-ink); }
.card h3, .card h4, .card-h { font-size: 20px; color: var(--forest); }
.card-h a { text-decoration: none; }
.card-text { color: var(--muted); font-size: 16px; line-height: 1.65; }
.card-price { font-weight: 600; font-size: 18px; color: var(--forest); }
.card-price s { margin-left: 8px; font-weight: 400; color: var(--muted); font-size: 15px; }
.card-sold { color: #9b2c1f; font-weight: 500; }
.card-cta {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  color: var(--forest); font-weight: 500; text-decoration: none; min-height: 44px;
}
.card-cta span { border-bottom: 1.5px solid var(--gold); }
.card-cta .ico { width: 18px; height: 18px; color: var(--gold-ink); transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .card-cta:hover .ico { transform: translateX(4px); } }
.card[hidden], .row-item[hidden] { display: none; }

.rows { display: grid; gap: 14px; }
.row-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.row-item .card-pic { border-radius: 10px; }
.row-item h3 { font-size: 20px; color: var(--forest); }
.row-item p { color: var(--muted); font-size: 16px; }
.row-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-right: 10px; }

.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 32px; }
.search {
  display: flex; align-items: center; gap: 10px; flex: 1 1 280px; max-width: 420px; min-height: 50px; padding: 0 18px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted);
  transition: border-color .2s var(--ease);
}
.search:focus-within { border-color: var(--forest); }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 16px; color: var(--ink); min-height: 46px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip span { font-size: 13px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--gold-light); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--forest); } }
.empty { padding: 40px 0 8px; text-align: center; color: var(--muted); }
.empty a { color: var(--forest); font-weight: 500; }

@media (max-width: 1023px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 767px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 14px 14px 16px; gap: 6px; }
  .card h3, .card h4 { font-size: 17px; }
  .card-text { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-cat { font-size: 13px; }
  .card-cta { font-size: 15px; padding-top: 8px; }
  .row-item { grid-template-columns: 110px 1fr; gap: 14px; }
  .row-cta { grid-column: 1 / -1; align-items: flex-start; padding: 0; }
  .filter { gap: 12px; }
  .search { max-width: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------------- จุดเด่น (แถบเข้ม) ---------------- */
.pillars { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.pillar {
  position: relative; padding: 28px 24px 30px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(226, 194, 122, .18);
}
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pillar-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(200, 160, 74, .14); color: var(--gold-light); }
.pillar-ico .ico { width: 26px; height: 26px; }
.pillar-no { font-size: 40px; font-weight: 600; line-height: 1; color: rgba(226, 194, 122, .28); }
.pillar h3 { font-size: 20px; color: #fff; }
.pillar p { margin-top: 10px; color: var(--muted-dark); font-size: 16px; }
@media (max-width: 1023px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .pillars { grid-template-columns: 1fr; gap: 12px; }
  .pillar { padding: 22px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .pillar-top { grid-row: span 2; flex-direction: column; margin: 0; }
  .pillar-no { display: none; }
  .pillar p { margin-top: 4px; }
}

/* ---------------- ขั้นตอน ---------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); position: relative; }
.step { position: relative; }
.step-mark { position: relative; display: flex; align-items: center; margin-bottom: 22px; }
.step-mark::after { content: ''; flex: 1; height: 2px; margin-left: 14px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); opacity: .7; }
.step:last-child .step-mark::after { display: none; }
.step-no {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--forest); color: var(--gold-light); font-weight: 600; font-size: 20px;
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--line);
}
.step-ico { display: inline-flex; color: var(--gold-ink); margin-bottom: 8px; }
.step-ico .ico { width: 26px; height: 26px; }
.step h3 { font-size: 20px; color: var(--forest); }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 28px; }
  .step-mark { flex-direction: column; margin: 0; align-self: stretch; }
  .step-mark::after { width: 2px; height: auto; margin: 10px 0 0; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px); }
  .step:last-child { padding-bottom: 0; }
  .step-body { padding-top: 6px; }
}

/* ---------------- เกี่ยวกับ ---------------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about.pic-right .about-pic { order: 2; }
.about.no-pic { grid-template-columns: 1fr; max-width: 820px; }
.about-pic { margin: 0; position: relative; }
.about-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-pic::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: var(--radius); background: var(--forest);
}
.about.pic-right .about-pic::before { inset: 18px 18px -18px -18px; }
.tone-sand .about-pic { isolation: isolate; }
.about-pic { z-index: 0; }
.about-text .prose { margin-top: 22px; color: #2c3a33; }
.about-text .btn { margin-top: 30px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about.pic-right .about-pic { order: 0; }
  .about-pic::before { inset: 12px -10px -12px 12px; }
  .about.pic-right .about-pic::before { inset: 12px 12px -12px -10px; }
}

/* ---------------- ผลงาน (ไม่ครอป สัดส่วนจริง ไม่มีกรอบ) ---------------- */
.gal { column-count: var(--cols, 4); column-gap: 16px; }
.gal-item { break-inside: avoid; margin: 0 0 16px; }
.gal-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.gal-open img { width: 100%; height: auto; transition: scale .5s var(--ease); }
.gal-badge {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 23, 18, .6); color: #fff; backdrop-filter: blur(4px); transition: background-color .2s var(--ease);
}
.gal-open[data-video] { cursor: pointer; }
.gal-open[data-video] .gal-badge { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 64px; height: 64px; background: var(--gold); color: var(--ink); }
.gal-open[data-video] .gal-badge .ico { width: 28px; height: 28px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .gal-open:hover img { scale: 1.03; }
  .gal-open:hover .gal-badge { background: var(--gold); color: var(--ink); }
}
.gal-item figcaption { padding: 10px 2px 0; font-size: 15px; line-height: 1.5; }
.gal-item figcaption b { display: block; font-weight: 500; color: var(--forest); }
.gal-item figcaption span { color: var(--muted); font-size: 14px; }
@media (max-width: 1023px) { .gal { column-count: 3; } }
@media (max-width: 479px) { .gal { column-count: 2; column-gap: 10px; } .gal-item { margin-bottom: 12px; } .gal-item figcaption { font-size: 14px; } }

dialog.light { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible; color: #fff; }
dialog.light::backdrop { background: rgba(10, 23, 18, .9); }
.light-media img, .light-media video { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; background: #000; }
.light-cap { text-align: center; margin-top: 12px; font-size: 16px; color: #e8efe9; }
.light-x {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; z-index: 2;
  background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center;
}
.light-x .ico { width: 24px; height: 24px; }

/* ---------------- รีวิว ---------------- */
.quotes { column-count: 3; column-gap: 20px; }
.quote { margin: 0 0 20px; break-inside: avoid; background: var(--surface); border-radius: var(--radius); padding: 28px 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.quote-mark { width: 34px; height: 26px; fill: var(--gold); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.quote figcaption b { display: block; font-weight: 500; color: var(--forest); }
.quote figcaption span span { color: var(--muted); font-size: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-text { display: grid; place-items: center; background: var(--forest); color: var(--gold-light); font-weight: 600; font-size: 18px; }
@media (max-width: 960px) { .quotes { column-count: 2; } }
@media (max-width: 600px) { .quotes { column-count: 1; } .quote { padding: 22px 20px 20px; margin-bottom: 12px; } }

/* ---------------- คำถามที่พบบ่อย ---------------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 130px; }
.faq-side .sec-head { margin-bottom: 24px; }
.faq-ask { padding: 24px; border-radius: var(--radius); background: var(--sand); }
.faq-ask p { font-weight: 500; color: var(--forest); }
.faq-ask-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.faq-ask-btns .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 500; font-size: 18px; color: var(--forest); line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--gold-ink); transition: transform .25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq-a { padding: 0 22px 22px; color: #34423b; }
.faq-a p + p { margin-top: 10px; }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-ask { order: 2; }
  .faq summary { font-size: 17px; padding: 18px; }
  .faq-a { padding: 0 18px 18px; }
}

/* ---------------- แถบชวนติดต่อ ---------------- */
.sec-cta { padding: clamp(56px, 8vw, 88px) 0; position: relative; overflow: hidden; }
.tone-deep.sec-cta::before {
  content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(226, 194, 122, .18); box-shadow: 0 0 0 60px rgba(226, 194, 122, .03), 0 0 0 120px rgba(226, 194, 122, .02);
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta-rule { width: 56px; height: 3px; border-radius: 3px; background: var(--gold); }
.cta-inner h2 { font-size: clamp(24px, 3.2vw, 38px); max-width: 860px; }
.tone-deep .cta-inner h2 { color: #fff; }
.tone-gold .cta-inner h2 { color: var(--forest); }
.tone-gold { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 560px) { .cta-actions { width: 100%; } .cta-actions .btn { flex: 1 1 100%; } }

/* ---------------- ติดต่อ + ฟอร์มขอใบเสนอราคา ---------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact.no-form { grid-template-columns: 1fr 1fr; }
.contact-note { color: var(--muted); margin-bottom: 22px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li, .hours { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico, .contact-list .brand, .hours > .ico {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--sand); color: var(--forest); flex: none;
}
.contact-list .brand { color: var(--line-green); }
.contact-list small, .hours small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.contact-list a { color: var(--forest); font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-list .c-phone a { font-size: 26px; font-weight: 600; letter-spacing: .01em; }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; gap: 16px; justify-content: space-between; min-width: 220px; }
.hours li span:first-child { color: var(--ink); }
.hours .closed { color: #9b2c1f; }
.map-box { margin-top: 24px; }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); display: block; background: var(--sand); }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--forest); font-weight: 500; text-decoration: none; min-height: 44px; }
.map-link .ico { width: 18px; height: 18px; }
.map-link span { border-bottom: 1.5px solid var(--gold); }

.lead { background: var(--paper); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 16px; border: 1px solid var(--line); }
.lead-head h3 { font-size: 26px; color: var(--forest); }
.lead-head p { color: var(--muted); margin-top: 4px; font-size: 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field label i { color: #9b2c1f; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font-size: 16px; line-height: 1.5;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink);
  transition: border-color .2s var(--ease); appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3b2c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d8a83; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(200, 160, 74, .35); }
.field.bad input, .field.bad textarea, .field.bad select { border-color: #9b2c1f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { font-size: 15px; min-height: 1.5em; }
.msg.ok { color: var(--line-green); font-weight: 500; }
.msg.bad { color: #9b2c1f; }
.lead button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) {
  .contact, .contact.no-form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } .contact-list .c-phone a { font-size: 22px; } }

/* ---------------- บทความ ---------------- */
.a-wrap { max-width: 800px; }
.a-wrap h1 { font-size: clamp(28px, 4vw, 44px); color: var(--forest); margin-top: 8px; }
.a-meta { color: var(--muted); font-size: 15px; margin-top: 8px; }
.a-cover { margin: 28px 0; }
.a-cover img { border-radius: var(--radius); width: 100%; }
.a-lead { font-size: 20px; color: #2c3a33; }
.a-toc { margin: 24px 0; padding: 20px 24px; background: var(--sand); border-radius: 12px; }
.a-body h2 { margin: 36px 0 12px; }
.a-body h3 { margin: 24px 0 8px; color: var(--forest); }
.a-body p, .a-body ul, .a-body ol { margin: 0 0 14px; }
.a-body blockquote { margin: 20px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); }
.a-fig { margin: 24px 0; } .a-fig img { border-radius: 12px; } .a-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.a-embed { margin-top: 40px; } .a-embed h3 { margin-bottom: 14px; color: var(--forest); }
.a-cta { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--sand); display: grid; gap: 12px; justify-items: start; }

/* ---------------- ท้ายเว็บ ---------------- */
.foot { background: var(--night); color: #cdd8d1; padding: 72px 0 0; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.foot-name { font-size: 22px; font-weight: 600; color: var(--gold-light); margin-bottom: 12px; }
.foot-brand p:not(.foot-name) { color: var(--muted-dark); max-width: 420px; }
.foot-h { font-weight: 600; color: #fff; margin-bottom: 14px; font-size: 17px; }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-col a, .foot-col p { display: flex; align-items: flex-start; gap: 10px; color: #cdd8d1; text-decoration: none; padding: 6px 0; line-height: 1.6; }
.foot-col .ico, .foot-col .brand { width: 18px; height: 18px; margin-top: 4px; color: var(--gold-light); }
@media (hover: hover) and (pointer: fine) { .foot-col a:hover { color: var(--gold-light); } }
.foot-col a[aria-current="page"] { color: var(--gold-light); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s var(--ease); }
.social .brand, .social .ico { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .social a:hover { background: var(--gold); color: var(--ink); } }
.foot-bottom { padding-bottom: 24px; color: #8fa097; }
.foot-bottom small { display: block; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } .foot { padding-top: 56px; } }

/* ---------------- ปุ่มติดต่อลอย ---------------- */
.float-contact { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .float-contact {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .96); backdrop-filter: blur(10px);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -20px rgba(10, 23, 18, .4);
  }
  .fc { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-weight: 500; text-decoration: none; font-size: 16px; }
  .fc-call { background: var(--forest); color: #fff; }
  .fc-line { background: var(--line-green); color: #fff; }
  .float-contact:has(.fc:only-child) { grid-template-columns: 1fr; }
}
@media (min-width: 901px) {
  .float-contact { display: flex; flex-direction: column; gap: 10px; position: fixed; right: 22px; bottom: 22px; z-index: 40; }
  .fc { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(10, 23, 18, .45); transition: transform .2s var(--ease); }
  .fc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fc .ico, .fc .brand { width: 26px; height: 26px; }
  .fc-call { background: var(--forest); color: #fff; }
  .fc-line { background: var(--line-green); color: #fff; }
}
@media (min-width: 901px) and (hover: hover) and (pointer: fine) { .fc:hover { transform: translateY(-2px); } }

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

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

.nw { white-space: nowrap; }

/* ---------------- จุดกดบนมือถือต้องสูงอย่างน้อย 44px ---------------- */
.crumbs a, .contact-list a, .foot-col a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-list a { padding: 4px 0; }
.foot-col a { padding: 0; }
@media (max-width: 900px) {
  .topbar .wrap { min-height: 44px; }
  .topbar a { min-height: 44px; }
  .nav-links > a { min-height: 52px; display: flex; align-items: center; }
}
