/* บ้านทำป้ายไซน์โปรดักชั่น — หน้าตาเว็บฝั่งลูกค้า
   ครีมอุ่น ทางการ น่าเชื่อถือ · หัวเว็บดำ โลโก้เขียวเรืองแสง · ตัวอักษรใหญ่ อ่านง่ายสำหรับผู้สูงอายุ
   กฎเหล็ก: ทุกส่วนต้องยังสวยเมื่อข้อความสั้นมากหรือยาวมาก และต้องไม่ล้นจอที่ 360px */

:root {
  --accent: #0a8f4c;
  --accent-deep: #076a38;
  --glow: #2bd47f;
  --ink: #1b1f1c;
  --muted: #4a514b;
  --paper: #f5efe3;
  --paper-2: #ece3d1;
  --card: #fbf8f1;
  --line: #d9ceb8;
  --brass: #9c7631;
  --dark: #0d0f0e;
  --dark-2: #161a17;
  --radius: 14px;
  --font: 'IBM Plex Sans Thai Looped', 'IBM Plex Sans Thai', 'Noto Sans Thai', sans-serif;
  --display: var(--font);
  --gap: clamp(56px, 8vw, 104px);
  --pad: clamp(16px, 4vw, 32px);
  --max: 1180px;
  --bar: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 18px; line-height: 1.75; -webkit-text-size-adjust: 100%;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { body { font-size: 19px; } }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.35; margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.sec { padding-block: var(--gap); }
.sec-alt { background: var(--paper-2); }
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2, .about-text h2, .rt-head {
  font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; position: relative; padding-top: 18px;
}
.sec-head h2::before, .about-text h2::before, .rt-head::before {
  content: ''; position: absolute; top: 0; left: 0; width: 48px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brass));
}
.sec-head p { color: var(--muted); font-size: 1.05em; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--accent-deep);
  background: var(--accent-deep); color: #fff; font: 600 18px/1.3 var(--font); text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn svg { font-size: 20px; transition: transform .2s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-glow { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 0 rgba(43, 212, 127, 0); }
.btn-glow:hover { box-shadow: 0 0 28px rgba(43, 212, 127, .45); }
.btn-ghost { background: transparent; color: var(--accent-deep); }
.btn-ghost:hover { background: var(--accent-deep); color: #fff; }
.btn-sm { min-height: 46px; padding: 9px 20px; font-size: 17px; }
.btn-big { width: 100%; min-height: 60px; font-size: 20px; }
.btn-line { background: #06c755; border-color: #06c755; }
.btn-line:hover { background: #05a647; border-color: #05a647; }
.btn-hero-line { min-height: 60px; padding: 12px 30px; font-size: 20px; box-shadow: 0 10px 28px rgba(6, 199, 85, .3); text-align: center; }
.btn-hero-line svg { font-size: 28px; fill: #fff; stroke: none; }
.linkish { background: none; border: 0; padding: 8px 0; color: var(--accent-deep); font: 600 17px var(--font); text-decoration: underline; cursor: pointer; }

/* ---------- กรอบรูป + QR ไลน์มุมขวาบน ---------- */
.frame { position: relative; display: block; }
.qr {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 74px; padding: 4px 4px 2px;
  background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
}
.qr svg { width: 66px; height: 66px; stroke: none; }
.qr small { font: 700 11px/1.2 var(--font); color: #06a14a; padding: 1px 0 2px; }
@media (max-width: 479px) { .qr { width: 60px; top: 8px; right: 8px; } .qr svg { width: 52px; height: 52px; } .qr small { font-size: 10px; } }

/* ---------- หัวเว็บ ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--dark); color: #f3efe6; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; flex: 1 1 auto; }
.logo-mark {
  position: relative; flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 0 22px rgba(255, 214, 10, .28), inset 0 0 0 1px rgba(255,255,255,.08);
}
/* โลโก้ไฟนีออนสีเหลืองของร้าน แสดงตามไฟล์จริง ไม่ย้อมสี */
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.logo-text b { font-size: clamp(16px, 4.4vw, 20px); letter-spacing: .1px; white-space: nowrap; }
.logo-text small { font-size: 14px; color: #b9c2bb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-call { display: none; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; white-space: nowrap; }
.nav-call svg { color: var(--glow); }
.menu { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; width: 100%; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.menu::-webkit-scrollbar { display: none; }
.menu a {
  flex: none; padding: 8px 13px; border-radius: 999px; white-space: nowrap; color: #d9ded9; text-decoration: none; font-size: 17px; font-weight: 600;
  transition: background .2s, color .2s;
}
.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu a[aria-current="page"] { background: var(--accent); color: #fff; }
@media (min-width: 1024px) {
  .nav-in { flex-wrap: nowrap; padding-block: 12px; }
  .logo { flex: 0 1 auto; }
  .menu { width: auto; margin: 0 0 0 auto; padding: 0; order: 2; overflow: visible; }
  .menu a { padding: 8px 11px; font-size: 16.5px; }
  .nav-call { display: inline-flex; order: 3; margin-left: 8px; }
}
@media (max-width: 1023px) {
  .nav-in { justify-content: center; }
  .logo { flex: 0 1 auto; justify-content: center; }
  .logo-text { align-items: center; text-align: center; }
  .menu { justify-content: safe center; }
}
/* พิมพ์ในฟอร์มบนมือถือ: หัวเว็บไม่ค้างบนจอ และซ่อนแถบล่าง คีย์บอร์ดจะได้ไม่บังช่องที่พิมพ์ */
body.typing .nav { position: relative; }
body.typing .bar { display: none; }
body.typing { padding-bottom: 0; }
@media (min-width: 1024px) and (max-width: 1279px) { .nav-call span { display: none; } .nav-call { font-size: 24px; } .logo-text small { display: none; } }

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #f5f2ea; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 72% 50%, rgba(43, 212, 127, .16), transparent 70%),
              radial-gradient(40% 50% at 12% 90%, rgba(156, 118, 49, .14), transparent 70%);
}
.hero-view { overflow: hidden; position: relative; }
.hero-track { display: flex; transition: transform .6s var(--ease); }
.hero-slide {
  flex: 0 0 100%; min-width: 0; display: grid; gap: 22px; align-items: center;
  padding: 22px max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))) 26px;
}
.hero-body { order: 2; }
.hero-pic { order: 1; display: flex; justify-content: center; align-items: center; }
.hero-pic .frame { display: inline-block; }
.hero-pic img {
  width: auto; height: auto; max-width: 100%; max-height: 34vh; border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 60px rgba(43, 212, 127, .12);
}
.hero-title { font-size: clamp(28px, 7.4vw, 56px); line-height: 1.3; margin-bottom: 10px; }
@media (max-width: 599px) { .hero-slide { gap: 16px; padding-top: 16px; } .hero-sub { margin-bottom: 16px; font-size: 17px; } .hero-ctrl { padding-bottom: 14px; } }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: #cdd4ce; max-width: 34ch; margin-bottom: 22px; }
.hero-ctrl { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; padding-bottom: 22px; }
.hero-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06);
  color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 22px; transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.16); }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.35); transition: width .3s var(--ease), background .3s; }
.hero-dots button[aria-current="true"]::before { width: 26px; background: var(--glow); }
@media (min-width: 900px) {
  .hero-slide { grid-template-columns: 1fr 1.1fr; gap: 48px; padding-block: 56px 40px; min-height: 560px; }
  .hero-body { order: 1; }
  .hero-pic { order: 2; }
  .hero-pic img { max-height: 500px; }
}
/* split = พื้นครีม ข้อความเข้ม */
.hero-split { background: var(--paper-2); color: var(--ink); }
.hero-split .hero-sub { color: var(--muted); }
.hero-split .hero-glow { opacity: .5; }
.hero-split .hero-arrow { color: var(--ink); border-color: var(--line); background: #fff; }
.hero-split .hero-dots button::before { background: var(--line); }
.hero-split .hero-dots button[aria-current="true"]::before { background: var(--accent); }
.hero-split .hero-pic img { box-shadow: 0 14px 40px rgba(40, 30, 10, .18); }
/* compact = แถบหัวหน้ารอง */
.hero-compact .hero-slide { padding-block: 26px; }
.hero-compact .hero-title { font-size: clamp(28px, 5vw, 46px); }
.hero-compact .hero-pic img { max-height: 30vh; }
@media (min-width: 900px) {
  .hero-compact .hero-slide { min-height: 0; padding-block: 44px; grid-template-columns: 1.4fr 1fr; }
  .hero-compact .hero-pic img { max-height: 300px; }
}

/* ---------- จุดเด่น ---------- */
.features-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(60, 45, 15, .1); }
.feature-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 14px;
  background: var(--dark); color: var(--glow); font-size: 28px; box-shadow: 0 0 18px rgba(43, 212, 127, .18);
}
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 17px; line-height: 1.65; }
@media (max-width: 479px) { .feature { padding: 16px 14px; } .feature h3 { font-size: 18px; } .feature p { font-size: 16px; } }

/* ---------- เกี่ยวกับ ---------- */
.about { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .about.pic-right .about-pic { order: 2; }
  .about.no-pic { grid-template-columns: 1fr; max-width: 820px; }
}
.about-pic { display: flex; justify-content: center; }
.about-pic .frame { display: inline-block; }
.about-pic img { width: auto; max-height: 560px; border-radius: var(--radius); }
.about-text p { font-size: 1.05em; }
.about-text .btn { margin-top: 10px; }

/* ---------- งานที่รับทำ ---------- */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(60, 45, 15, .12); }
.card-pic { position: relative; display: block; aspect-ratio: 4 / 3; background: #e7dfcd; overflow: hidden; }
/* โชว์รูปเต็มไม่ครอป รูปแนวตั้งวางกลางกรอบ */
.card-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card-cat { font-size: 15px; font-weight: 600; color: var(--brass); }
.card h3, .card h2, .card h4 { font-size: 21px; }
.card p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.card-price { font-weight: 700; color: var(--accent-deep); font-size: 20px; }
.card-price s { color: var(--muted); font-weight: 400; margin-left: 8px; font-size: 16px; }
.card-sold { color: #9a3b1f; font-weight: 600; }
@media (max-width: 479px) {
  .card-body { padding: 12px 12px 14px; }
  .card h3, .card h2 { font-size: 18px; }
  .card p { font-size: 15.5px; }
  .card-body .btn { align-self: stretch; padding-inline: 10px; font-size: 16px; }
}
.cards-list { grid-template-columns: 1fr; }
.card-row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; }
.card-row .card-pic { aspect-ratio: auto; height: 100%; min-height: 150px; }
@media (min-width: 768px) { .cards-list { grid-template-columns: 1fr; } .card-row { grid-template-columns: 340px 1fr; } }

/* ---------- ผลงาน (พื้นดำ ให้โลหะเด่น) ---------- */
.sec-dark { background: var(--dark); color: #f1ede4; position: relative; }
.sec-dark .sec-head p { color: #b8c0b9; }
.gal-video { margin: 0 0 28px; }
.gal-video .frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 60px rgba(43, 212, 127, .12); }
.gal-video video { width: 100%; height: auto; background: #000; }
.gal-video figcaption, .gal-item figcaption { padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.gal-video figcaption b { font-size: 20px; }
.gal-video figcaption span, .gal-item figcaption span { color: #b8c0b9; font-size: 16px; line-height: 1.55; }
.gal { columns: 2; column-gap: 10px; }
@media (min-width: 480px) { .gal { columns: 3; } }
@media (min-width: 1024px) { .gal { columns: var(--cols, 3); column-gap: 18px; } }
.gal-item { break-inside: avoid; margin: 0 0 10px; }
@media (min-width: 1024px) { .gal-item { margin-bottom: 18px; } }
.gal-item .frame { border-radius: 10px; overflow: hidden; }
.gal-item img { width: 100%; height: auto; transition: transform .4s var(--ease); }
.gal-item a:hover img { transform: scale(1.03); }
.gal-item figcaption b { font-size: 16px; font-weight: 600; }
@media (max-width: 479px) { .gal-item figcaption span { display: none; } .gal-item figcaption b { font-size: 15px; } }

/* ---------- เสียงจากลูกค้า ---------- */
.quotes { display: grid; gap: 16px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.quote figcaption { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.quote figcaption .frame img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption .qr { display: none; }
.quote figcaption span span { display: block; color: var(--muted); font-size: 16px; }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.05em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--accent-deep); border-bottom: 2.5px solid var(--accent-deep); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-a { padding: 0 0 18px; color: var(--muted); }

/* ---------- แถบชวนติดต่อ ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 auto 22px; max-width: 26ch; }
.cta-dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 90% at 50% 120%, rgba(43, 212, 127, .3), transparent 70%);
}
.cta-dark .wrap { position: relative; }
.cta-soft { background: var(--paper-2); }

/* ---------- ขอใบเสนอราคา ---------- */
.quote-sec { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.contact { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.45fr 1fr; gap: 36px; } }
.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 16px 40px rgba(60, 45, 15, .08);
}
.steps { list-style: none; display: flex; gap: 8px; margin: 0 0 20px; padding: 0; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--paper-2); color: var(--muted); font-weight: 600; font-size: 16px; }
.steps li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; flex: none; }
.steps li.on { background: var(--accent-deep); color: #fff; }
.steps li.on b { background: var(--glow); color: var(--dark); }
.lead .step-1 { display: grid; gap: 16px; }
.lead .step-1[hidden], .lead .step-2[hidden] { display: none; }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.lead label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 17px; }
.lead label em { color: #b5461f; font-style: normal; }
.lead input, .lead select, .lead textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 1.5px solid #cbbfa6; border-radius: 10px;
  background: #fff; color: var(--ink); font: 18px/1.5 var(--font);
}
.lead select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.lead textarea { min-height: 120px; resize: vertical; }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 143, 76, .18); }
.lead .tick { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; margin: 0; }
.lead .tick input { width: 24px; height: 24px; min-height: 0; accent-color: var(--accent-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.msg.bad { color: #b5461f; }
.msg.ok { color: var(--accent-deep); }
.step-2 h3 { font-size: 22px; margin: 18px 0 6px; }
.step-2 .hint { color: var(--muted); }
.done { display: flex; gap: 12px; align-items: flex-start; background: #e3f3e8; color: #0b5a31; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.done svg { font-size: 26px; stroke-width: 2.4; }
.send-file { display: grid; gap: 12px; margin: 16px 0 8px; }
@media (min-width: 600px) { .send-file { grid-template-columns: 1fr 1fr; } }
.send-file .btn { min-height: 58px; font-size: 19px; }
.send-file .btn svg { font-size: 24px; }

.contact-info { display: grid; gap: 18px; }
.contact-info .note { background: var(--card); border-left: 4px solid var(--brass); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > svg { font-size: 24px; padding: 11px; width: 48px; height: 48px; border-radius: 12px; background: var(--dark); color: var(--glow); }
.contact-list small { display: block; color: var(--muted); font-size: 15px; line-height: 1.3; }
.contact-list a { font-weight: 700; font-size: 1.08em; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--accent-deep); text-decoration: underline; }
.qr-big { display: flex; align-items: center; gap: 16px; background: var(--dark); color: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 0 34px rgba(43, 212, 127, .16); }
.qr-big svg { width: 120px; height: 120px; stroke: none; border-radius: 8px; flex: none; }
.qr-big span { font-weight: 600; line-height: 1.55; }
.hours h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 8px; }
.hours h3 svg { color: var(--accent-deep); }
.hours ul, .foot-hours { list-style: none; margin: 0; padding: 0; }
.hours li, .foot-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours .closed { color: #b5461f; font-weight: 600; }
.map-wrap { margin-top: 28px; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- ข้อความอิสระ ---------- */
.rt p { font-size: 1.04em; }

/* ---------- บทความ ---------- */
.page-band { background: var(--dark); color: #fff; padding: 44px 0 36px; }
.page-band h1 { font-size: clamp(30px, 5vw, 48px); }
.page-band p { color: #c6cec8; margin-top: 6px; }
.a-wrap { max-width: 800px; }
.crumbs { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--accent-deep); }
.a-wrap h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 10px; }
.a-meta { color: var(--muted); font-size: 16px; }
.a-cover, .a-fig { margin: 24px 0; }
.a-cover img, .a-fig img { border-radius: var(--radius); width: 100%; height: auto; }
.a-fig figcaption { color: var(--muted); font-size: 16px; margin-top: 8px; }
.a-lead { font-size: 1.15em; color: var(--ink); }
.a-toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.a-toc ol { margin: 8px 0 0; padding-left: 22px; }
.a-body h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 36px 0 12px; }
.a-body h3 { font-size: 22px; margin: 26px 0 10px; }
.a-body a { color: var(--accent-deep); }
.a-body blockquote { margin: 24px 0; padding: 14px 20px; border-left: 4px solid var(--brass); background: var(--card); border-radius: 0 10px 10px 0; }
.a-body cite { color: var(--muted); font-size: 16px; }
.a-embed, .a-cta { margin-top: 36px; }
.a-embed h3 { font-size: 22px; margin-bottom: 14px; }
.a-cta { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 24px; }
.a-cta .btn { margin-top: 12px; }
.empty { color: var(--muted); }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--dark); color: #d4d9d4; padding: 56px 0 24px; font-size: 17px; }
.foot-in { display: grid; gap: 32px; }
@media (min-width: 768px) { .foot-in { grid-template-columns: 1.4fr 1.2fr 1fr; } .foot-nav { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .foot-in { grid-template-columns: 1.5fr 1.3fr 1fr .8fr; } .foot-nav { grid-column: auto; } }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand b { color: #fff; font-size: 20px; }
.foot-brand p { margin: 4px 0 0; color: #aab3ac; }
.foot-about { font-size: 16px; }
.foot h2 { font-size: 18px; color: #fff; margin-bottom: 12px; }
.foot-col p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.foot-col p svg { margin-top: 5px; color: var(--glow); }
.foot a { color: #e7ece7; text-decoration: none; }
.foot a:hover { color: var(--glow); }
.foot-hours li { border-bottom-color: rgba(255,255,255,.1); font-size: 16px; }
.foot-nav { display: flex; flex-direction: column; gap: 6px; }
.foot-nav h2 { margin-bottom: 6px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 20px; }
.foot-copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 18px; color: #8d978f; }

/* ---------- แถบติดต่อค้างล่างจอ ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; height: calc(var(--bar) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: rgba(13, 15, 14, .96); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; min-width: 0; transition: background .2s;
}
.bar a:hover { background: rgba(255,255,255,.06); }
.bar a svg { font-size: 28px; }
.bar-line svg { color: #06c755; }
.bar-map svg { fill: #e53935; stroke: #fff; stroke-width: 1.3; }
.bar-fb svg { color: #4c8df6; }
.bar-call svg { color: var(--glow); }
.bar a.bar-quote { background: var(--accent); flex: 1.5; }
.bar a.bar-quote:hover { background: var(--accent-deep); }
@media (max-width: 480px) { .bar a { flex-direction: column; gap: 2px; font-size: 13.5px; } .bar a svg { font-size: 30px; } .bar a.bar-quote { flex: 1.4; } }
@media (min-width: 1024px) { .bar { justify-content: center; } .bar a { flex: 0 1 220px; } .bar a.bar-quote { flex: 0 1 300px; } }

/* ---------- กดดูรูปเต็ม ---------- */
.light { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.light::backdrop { background: rgba(5, 7, 6, .9); }
.light figure { margin: 0; }
.light img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; border-radius: 8px; }
.light figcaption { color: #fff; text-align: center; padding-top: 8px; }
.light button {
  position: fixed; top: 14px; right: 14px; width: 52px; height: 52px; border-radius: 50%; border: 0; z-index: 3;
  background: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}

/* ---------- เคลื่อนไหวตอนเลื่อนถึง ---------- */
.js-rv .rv { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js-rv .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- โลโก้ LINE ของจริง ---------- */
.line-logo { border-radius: 22%; }
.contact-list li > svg.line-logo { padding: 0; background: none; }
.btn-line .line-logo { box-shadow: 0 0 0 2px #fff; }
.btn-hero-line .line-logo { font-size: 30px; }
.bar a svg.line-logo { font-size: 30px; }
.qr-big + * .line-logo, .foot-col p .line-logo { font-size: 22px; }

/* ---------- ปุ่มผลงานในเฟซบุ๊ก (สีฟ้า Facebook) ---------- */
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-fb { background: #0866ff; border-color: #0866ff; color: #fff; }
.btn-fb:hover { background: #0656d6; border-color: #0656d6; }
.btn-fb .fb-logo { font-size: 26px; }
.fb-logo { border-radius: 50%; }
.bar-fb svg.fb-logo { font-size: 30px; }
.social a .fb-logo { font-size: 26px; }
@media (max-width: 479px) { .hero-btns .btn { flex: 1 1 100%; } }

/* ---------- แก้รอบ 3 (ไฟล์ แก้ลูกค้า) ---------- */
/* ปุ่มผลงานในเฟซบุ๊ก อยู่ใต้ปุ่มไลน์ ขนาดเท่ากัน */
.hero-btns { flex-direction: column; align-items: flex-start; }
.hero-btns .btn { min-width: min(100%, 360px); }
@media (max-width: 479px) { .hero-btns { align-items: stretch; } }
/* แถบล่าง: ไลน์กับขอใบเสนอราคากว้างกว่าปุ่มอื่น */
.bar a.bar-line { flex: 1.35; }
.bar a.bar-quote { flex: 1.6; }
.bar a.bar-line svg.line-logo { font-size: 34px; }
@media (min-width: 1024px) { .bar a.bar-line { flex: 0 1 260px; } .bar a.bar-quote { flex: 0 1 320px; } }
/* รายการหัวข้อพร้อมเครื่องหมายถูก */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li > svg { flex: none; margin-top: 6px; font-size: 20px; color: var(--accent-deep); stroke-width: 2.4; }
.note .ticks + p, .note p + .ticks { margin-top: 10px; }
.services p { margin: 0 0 10px; }
.services strong, .rt strong, .note strong { color: var(--ink); }

/* ---------- ปุ่มเลื่อนสไลด์อยู่เหนือปุ่มไลน์ ---------- */
.hero-body .hero-ctrl { justify-content: flex-start; gap: 10px; padding: 0; margin: 0 0 18px; }
@media (max-width: 599px) { .hero-body .hero-ctrl { justify-content: space-between; padding: 0; } }
/* ไอคอน e-Tax พื้นขาว */
.feature-icon.etax { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(30, 167, 225, .15); }
.feature-icon.etax svg { width: 40px; height: 40px; }

/* การ์ดที่ยังไม่มีรูป */
.card-nopic { border-top: 4px solid var(--accent); }
.card-nopic .card-body { padding-top: 20px; }

/* ไอคอน e-Tax ใช้สีธีมเหมือนไอคอนอื่น (ทับพื้นขาวเดิม) */
.feature-icon.etax { background: var(--dark); box-shadow: 0 0 18px rgba(43, 212, 127, .18); color: var(--glow); }
.feature-icon.etax svg { width: 36px; height: 36px; stroke-width: 3.2; }

/* ปุ่มบนการ์ดไม่ตัดบรรทัดบนจอแคบ */
.card-body .btn { white-space: nowrap; }
@media (max-width: 479px) { .card-body .btn { font-size: 15px; gap: 6px; padding-inline: 8px; } .card-body .btn svg { font-size: 16px; } }

/* ปุ่มผลงานในเฟซบุ๊ก: โลโก้ f ใหญ่ขึ้น มีวงขาวเรืองรอบ */
.btn-fb .fb-logo { font-size: 34px; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 6px rgba(255, 255, 255, .85)); }
