/* ==========================================================================
   Lex Barrister Law Firm — ระบบดีไซน์ (รุ่น 2 · 25 พ.ย. 2569 · Web)
   แนวคิด: ดำ-ทอง = หรู · มั่นคง · น่าไว้วางใจ  |  น้ำเสียง = อบอุ่น สงบ เหมือนแพทย์ดูแลผู้ป่วย
   ตัวอักษร: หัวข้อ Cormorant Garamond (อังกฤษ) + Trirong (ไทย) = เชิงคลาสสิกแบบเอกสารกฎหมาย
             เนื้อความ IBM Plex Sans Thai / IBM Plex Sans (ชุดเดียวกับ VTA อ่านง่ายบนจอ)
   การเคลื่อนไหว: สไลด์ Hero (6 วิ เหมือน VTA) · เส้นทองวาดตัวเอง · เนื้อหาค่อย ๆ ลอยขึ้นเมื่อเลื่อนถึง ·
                 เปลี่ยนหน้าแบบจางซ้อน (View Transitions) · ผู้ที่ตั้ง "ลดการเคลื่อนไหว" จะเห็นแบบนิ่ง
   ========================================================================== */

/* ---------- ① ตัวแปร ---------- */
:root {
  --bg: #070707;
  --bg-2: #0d0d0c;
  --panel: #141413;
  --panel-2: #191917;
  --line: #262522;
  --line-2: #34322c;
  --gold: #cfa503;          /* ทองแบรนด์ — บนพื้นดำเท่านั้น (9.04:1) */
  --gold-2: #e6c14a;        /* ทองอ่อนตอนชี้ */
  --gold-3: #8a6a02;        /* ทองเข้ม เส้นตกแต่ง */
  --gold-grad: linear-gradient(100deg, #a88604 0%, #e9c95a 35%, #cfa503 55%, #f3dc85 75%, #b08c05 100%);
  --white: #f6f4ee;
  --text: #e6e3da;
  --muted: #aaa699;         /* ≥ 6:1 บนการ์ด */
  --dim: #8a877c;
  --warn-bg: #3a3000;
  --warn-line: #cfa503;
  --error: #ff8a7a;
  --ok: #8fd19e;
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --sans: "IBM Plex Sans Thai", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Trirong", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
html[lang="en"] { --sans: "IBM Plex Sans", "IBM Plex Sans Thai", system-ui, sans-serif; }

/* ---------- ② พื้นฐาน ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.8;
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="en"] body { line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--white); margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.38; letter-spacing: .005em; }
h1, h2, .card h3 { text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 600; letter-spacing: .01em; line-height: 1.18; }
p { margin: 0; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[id] { scroll-margin-top: 100px; }
.gold { color: var(--gold); }
.gold-text { background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
             animation: shimmer 9s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- ③ เปลี่ยนหน้าแบบจางซ้อน (Chrome/Edge/Safari รุ่นใหม่ · เบราว์เซอร์เก่าเปลี่ยนหน้าปกติ) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.site-header { view-transition-name: header; }
main { animation: page-in .7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- ④ กล่องเหลือง "รอข้อมูล" (ห้ามแต่งข้อมูล) ---------- */
.todo { display: inline-block; background: var(--warn-bg); border: 1px dashed var(--warn-line); color: #ffe27a; border-radius: 6px; padding: 0 8px;
        font: 600 .8em/1.7 var(--sans); vertical-align: middle; }
.todo-box { background: var(--warn-bg); border: 1px dashed var(--warn-line); color: #ffe9a3; border-radius: 10px; padding: 12px 16px; font-size: 14.5px; line-height: 1.7; font-family: var(--sans); }
.todo-box b { color: #fff3c4; }
.proto-ribbon { background: #000; border-bottom: 1px solid var(--gold-3); color: #e8d896; text-align: center; font-size: 13px; padding: 6px 16px; }
.proto-ribbon button { background: var(--gold); color: #000; border: 0; border-radius: 999px; padding: 2px 12px; margin-left: 10px; font: 700 12.5px/1.6 var(--sans); cursor: pointer; }
html.hide-todo .todo, html.hide-todo .todo-box { display: none !important; }

/* ---------- ⑤ แถบบน + หัวเว็บ ---------- */
.topbar { background: #000; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; justify-content: flex-end; min-height: 36px; }
.topbar a { text-decoration: none; color: var(--text); }
.topbar a:hover { color: var(--gold-2); }
.topbar .hours { margin-right: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 7, 7, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
               border-bottom: 1px solid var(--line); transition: background .3s; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
                      background: linear-gradient(90deg, transparent, var(--gold-3), var(--gold), var(--gold-3), transparent); opacity: .55; }
.site-header .bar { display: flex; align-items: center; gap: 22px; height: 84px; transition: height .3s var(--ease);
                    width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
html.scrolled .site-header .bar { height: 68px; }
html.scrolled .site-header { background: rgba(5, 5, 5, .97); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 46px; height: 46px; flex-shrink: 0; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-6deg); }
.brand .name { display: flex; flex-direction: column; line-height: 1; }
.brand .name b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; color: var(--white); font-size: 23px; letter-spacing: .16em; }
.brand .name small { color: var(--gold); font: 600 10.5px/1 var(--sans); letter-spacing: .42em; margin-top: 6px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); margin-left: auto; }
.nav a { position: relative; color: var(--white); font-weight: 500; font-size: 16px; text-decoration: none; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
                          transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a.btn-gold[aria-current="page"] { color: #0a0800; }   /* หน้าปรึกษา: ปุ่มทองต้องตัวอักษรดำ ไม่ใช่ทองบนทอง */
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 15.5px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; flex-shrink: 0; }
.lang a { color: var(--muted); font: 600 12.5px/1 var(--sans); padding: 7px 10px; border-radius: 999px; text-decoration: none; letter-spacing: .06em; }
.lang a[aria-current="true"] { background: var(--gold); color: #000; }
.lang a:not([aria-current="true"]):hover { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; color: var(--white); }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* ---------- ⑥ ปุ่ม ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px;
       border-radius: 999px; font: 600 16.5px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
       transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: #0a0800; box-shadow: 0 8px 28px -12px rgba(207, 165, 3, .65); }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 12px 34px -10px rgba(207, 165, 3, .8); }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg);
                   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transition: left .7s var(--ease); }
.btn-gold:hover::after { left: 130%; }
.btn-dark { background: transparent; color: var(--white); border-color: #57544a; }
.btn-dark:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05b04b; }
.btn-black { background: #0a0a0a; color: #fff; }
.btn-black:hover { background: #222; }

/* ---------- ⑦ หัวข้อส่วน ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section.alt::before, .section.alt::after { content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 165, 3, .35), transparent); }
.section.alt::before { top: 0; } .section.alt::after { bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font: 600 13px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
html[lang="th"] .eyebrow:not(:lang(en)) { letter-spacing: .06em; }   /* ภาษาไทยห่างมากแล้วสระลอย อ่านยาก */
.sec-title { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 14px; }
html[lang="en"] .sec-title { font-size: clamp(34px, 3.6vw, 52px); }
.lead { color: var(--muted); font-size: clamp(16.5px, 1.3vw, 18.5px); max-width: 50em; }
.sec-head { margin-bottom: clamp(34px, 4vw, 56px); }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.sec-head.center .lead { margin-inline: auto; }
.ornament { display: block; width: 120px; height: 14px; margin: 18px auto 0; color: var(--gold); }

/* ---------- ⑧ Hero สไลด์ (เปลี่ยนทุก 6 วินาที แบบเดียวกับ VTA) ---------- */
.hero { position: relative; overflow: hidden; background: #050505; min-height: min(calc(100vh - 120px), 820px); display: flex; align-items: center; }
.hero .slides { position: absolute; inset: 0; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero .slide.is-on { opacity: 1; }
.hero .slide .glow { position: absolute; inset: 0; }
.hero .slide:nth-child(1) .glow { background: radial-gradient(900px 600px at 78% 40%, rgba(207, 165, 3, .16), transparent 62%), linear-gradient(180deg, #050505, #0b0a07); }
.hero .slide:nth-child(2) .glow { background: radial-gradient(900px 600px at 70% 60%, rgba(207, 165, 3, .14), transparent 62%), linear-gradient(160deg, #060606, #0d0b06); }
.hero .slide:nth-child(3) .glow { background: radial-gradient(900px 600px at 82% 30%, rgba(207, 165, 3, .15), transparent 62%), linear-gradient(200deg, #050505, #0c0a05); }
.hero .art { position: absolute; right: max(2vw, calc((100vw - var(--wrap)) / 2 - 40px)); top: 50%; width: min(600px, 50vw); transform: translateY(-50%) scale(1);
             color: var(--gold); opacity: .95; }
.hero .slide.is-on .art { animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: translateY(-50%) scale(1.06); } to { transform: translateY(-50%) scale(1); } }
.art path, .art line, .art circle, .art rect, .art polyline, .art ellipse { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.slide.is-on .art path, .slide.is-on .art line, .slide.is-on .art circle, .slide.is-on .art rect, .slide.is-on .art polyline, .slide.is-on .art ellipse {
  animation: draw 3.2s var(--ease) forwards; }
.slide.is-on .art .d2 { animation-delay: .5s !important; } .slide.is-on .art .d3 { animation-delay: 1s !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .caption { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 70px; z-index: 3; text-align: right; }
.hero .caption span { display: none; color: var(--gold-2); font: italic 500 20px/1.3 var(--serif); }
.hero .caption small { display: none; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.hero[data-i="0"] .caption .c0, .hero[data-i="1"] .caption .c1, .hero[data-i="2"] .caption .c2 { display: block; animation: fade-up .9s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .78) 45%, rgba(5, 5, 5, .15) 75%, rgba(5, 5, 5, 0) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: clamp(56px, 10vh, 110px) 0 clamp(80px, 12vh, 120px); }
.hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.22; margin-bottom: 22px; max-width: 13.5em; }
html[lang="en"] .hero h1 { font-size: clamp(44px, 5.6vw, 82px); line-height: 1.06; }
.hero h1 .l2 { display: block; font-size: .6em; line-height: 1.45; margin-top: 10px; }
.hero .hero-in > * { max-width: 640px; }
html[lang="en"] .hero .hero-in > * { max-width: 700px; }
.hero .hero-in > .hero-actions { max-width: none; }
.hero .sub { color: #e8e5dc; font-size: clamp(17px, 1.45vw, 20px); max-width: 33em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .dots { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 10px; }
.dots button { width: 28px; height: 3px; border-radius: 2px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .3); transition: background .3s, width .3s; }
.dots button[aria-current="true"] { background: var(--gold); width: 46px; }
.hero .hero-in > * { animation: fade-up 1s var(--ease) both; }
.hero .hero-in > *:nth-child(2) { animation-delay: .12s; } .hero .hero-in > *:nth-child(3) { animation-delay: .24s; } .hero .hero-in > *:nth-child(4) { animation-delay: .36s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } }
.scroll-cue { position: absolute; z-index: 3; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue::before { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* หัวหน้าย่อย (หน้าอื่นที่ไม่ใช่หน้าแรก) */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line);
             background: radial-gradient(900px 420px at 88% 0%, rgba(207, 165, 3, .13), transparent 62%), #060606; }
.page-hero .art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(420px, 40vw); color: var(--gold); opacity: .35; }
.page-hero .art * { animation: draw 3s var(--ease) forwards; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(36px, 4.2vw, 60px); margin: 6px 0 18px; max-width: 16em; }
html[lang="en"] .page-hero h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.1; }
.page-hero .sub { color: #e2dfd6; font-size: clamp(16.5px, 1.35vw, 19px); max-width: 40em; }
.page-hero > .wrap > * { animation: fade-up .9s var(--ease) both; }
.page-hero > .wrap > *:nth-child(2) { animation-delay: .1s; } .page-hero > .wrap > *:nth-child(3) { animation-delay: .2s; } .page-hero > .wrap > *:nth-child(4) { animation-delay: .3s; }
.crumbs { font-size: 13.5px; color: var(--dim); margin-bottom: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

/* ---------- ⑨ ค่อย ๆ ลอยขึ้นเมื่อเลื่อนถึง (ทำงานเมื่อ JS พร้อมเท่านั้น — ถ้า JS ไม่ทำงาน เนื้อหายังเห็นครบ) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- ⑩ การ์ด ---------- */
.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid #2a2925; border-radius: var(--radius); padding: clamp(24px, 2.4vw, 32px); }
.card h3 { color: var(--white); font-size: clamp(21px, 1.7vw, 25px); margin-bottom: 10px; }
html[lang="en"] .card h3 { font-size: clamp(23px, 1.9vw, 28px); }
.card p { color: var(--muted); font-size: 16px; }
.card ul { color: var(--muted); font-size: 15.5px; margin: 12px 0 0; padding-left: 1.15em; }
.card li + li { margin-top: 5px; }
.card .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: .02em; }
.card .go::after { content: "→"; transition: transform .3s var(--ease); }
.card .go:hover::after { transform: translateX(5px); }
.card .ico { width: 42px; height: 42px; color: var(--gold); margin-bottom: 18px; }
.practice { display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.practice::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.practice:hover { border-color: rgba(207, 165, 3, .45); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(207, 165, 3, .45); }
.practice:hover::before { transform: scaleX(1); }
.practice .kw { color: var(--dim); font-size: 13.5px; margin-top: 10px; line-height: 1.7; }
.practice .go { margin-top: auto; padding-top: 18px; }
.practice.feature { grid-column: span 2; background: linear-gradient(135deg, #1e1a0b, #151412 60%); border-color: rgba(207, 165, 3, .5); }
.badge { display: inline-block; align-self: flex-start; background: var(--gold); color: #000; font: 700 12px/1 var(--sans); letter-spacing: .08em; border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; }

/* ---------- ⑪ แนวทางแบบแพทย์ดูแลผู้ป่วย ---------- */
.care { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: c; position: relative; }
.care::before { content: ""; position: absolute; left: 6%; right: 6%; top: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-3), var(--gold), var(--gold-3), transparent); }
.care li { position: relative; text-align: center; padding: 0 8px; counter-increment: c; }
.care .ring { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: #0b0b0a;
              border: 1px solid var(--gold); color: var(--gold); box-shadow: 0 0 0 8px var(--bg-2); }
.care .ring svg { width: 32px; height: 32px; }
.care .ring::after { content: "0" counter(c); position: absolute; top: -8px; right: -8px; background: var(--gold); color: #000; border-radius: 999px; font: 700 11px/1 var(--sans); padding: 5px 7px; }
.care b { display: block; font-family: var(--serif); color: var(--white); font-size: 23px; line-height: 1.35; }
.care i { display: block; font-style: normal; color: var(--gold); font-size: 13.5px; letter-spacing: .08em; margin: 4px 0 10px; }
.care span { display: block; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

.promise { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.promise svg { width: 30px; height: 30px; color: var(--gold); grid-row: span 2; margin-top: 4px; }
.promise h3 { font-size: 20px; margin: 0; }
.promise p { font-size: 15.5px; }

.quote { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.quote p { font: italic 500 clamp(24px, 2.6vw, 36px)/1.5 var(--serif); color: var(--white); }
html[lang="th"] .quote p { font-style: normal; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.7; }
.quote .mark { display: block; color: var(--gold); font: 600 90px/0.6 "Cormorant Garamond", serif; margin-bottom: 14px; }
.quote cite { display: block; margin-top: 18px; color: var(--gold); font: normal 600 13px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; }

/* ---------- ⑫ ทีม ---------- */
.person { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.person .avatar { width: 120px; height: 150px; border-radius: 10px; background: linear-gradient(160deg, #1d1b16, #0f0f0e); border: 1px solid var(--gold-3);
                  display: grid; place-items: center; color: var(--dim); font-size: 12px; text-align: center; line-height: 1.5; padding: 8px; }
.person .avatar svg { width: 64px; height: 64px; }   /* เว็บจริง: ยังไม่มีรูป → ตราสำนักงาน */
.person .role { color: var(--gold); font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.person h3 { font-size: 25px; margin: 6px 0 2px; }
.person .alt-name { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; font-style: italic; font-family: var(--serif); }
.person p { color: var(--muted); font-size: 15.5px; }
.person .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { border: 1px solid var(--line-2); color: #d9d5c9; border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.notice { border-left: 2px solid var(--gold); padding: 6px 0 6px 18px; color: var(--muted); font-size: 15px; margin-top: 26px; }

/* ---------- ⑬ ขั้นตอน ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid #2a2925; border-radius: 12px; padding: 24px 20px; counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; color: var(--gold); font: 600 34px/1 var(--serif); margin-bottom: 14px; }
.steps b { display: block; color: var(--white); font-size: 16.5px; line-height: 1.5; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 14.5px; line-height: 1.75; display: block; }

/* ---------- ⑭ กล่องค่าบริการปรึกษา ---------- */
.fee { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; border: 1px solid rgba(207, 165, 3, .55); border-radius: 16px;
       background: linear-gradient(135deg, #17140a, #0f0f0e 70%); padding: clamp(22px, 2.6vw, 34px); }
.fee svg { width: 44px; height: 44px; color: var(--gold); }
.fee h3 { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 8px; }
.fee h2, .fee h3 { font-variant-numeric: lining-nums; }   /* Cormorant ใช้ตัวเลขแบบหัวต่ำ "₅oo" → บังคับตัวเลขสูงเท่ากัน อ่าน 500 ชัด */
.fee p { color: var(--text); }
.fee p + p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ---------- ⑮ แบบฟอร์ม ---------- */
.consult { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.consult-side .card + .card { margin-top: 18px; }
.channels { display: grid; gap: 12px; margin-top: 18px; }
.channel { display: flex; align-items: center; gap: 14px; background: #0c0c0b; border: 1px solid #2a2925; border-radius: 12px; padding: 14px 16px; text-decoration: none; transition: border-color .3s; }
.channel:hover { border-color: var(--gold); }
.channel svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.channel b { display: block; color: var(--white); font-size: 16px; line-height: 1.45; font-weight: 600; }
.channel small { color: var(--muted); font-size: 13.5px; }
.form { background: linear-gradient(180deg, #161614, #121211); border: 1px solid #2e2c27; border-radius: 18px; padding: clamp(22px, 3vw, 40px); position: relative; }
.form::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.form h2 { font-size: clamp(25px, 2.2vw, 32px); margin-bottom: 6px; }
.form .hint { color: var(--muted); font-size: 14.5px; }
.form fieldset { border: 0; margin: 28px 0 0; padding: 0; }
.form legend { color: var(--gold); font: 600 14px/1.4 var(--sans); letter-spacing: .08em; padding: 0; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.form legend .stepnum { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { color: var(--white); font-weight: 500; font-size: 15px; }
.field .req { color: var(--gold); }
.field .opt { color: var(--dim); font-weight: 400; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; background: #0a0a09; color: var(--white); border: 1px solid #3a3832; border-radius: 10px; padding: 12px 14px;
  font: 400 16px/1.6 var(--sans); min-height: 50px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(207, 165, 3, .22); }
.field .help { color: var(--dim); font-size: 13px; line-height: 1.6; }
.field .err { color: var(--error); font-size: 13.5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; border: 1px solid #3a3832; background: #0a0a09; border-radius: 999px; padding: 9px 16px; font-size: 14.5px; color: var(--text); cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.urgent { display: none; background: #2a1408; border: 1px solid #a0521d; color: #ffc9a3; border-radius: 10px; padding: 10px 14px; font-size: 14.5px; }
.urgent.show { display: block; animation: fade-up .5s var(--ease) both; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-top: 10px; }
.consent input { width: 21px; height: 21px; margin-top: 4px; accent-color: var(--gold); flex-shrink: 0; }
.consent a { color: var(--gold); }
.form .submit-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.form .fine { color: var(--dim); font-size: 13px; line-height: 1.75; margin-top: 16px; }
.form-done { display: none; text-align: center; padding: 20px 4px; }
.form-done.show { display: block; animation: fade-up .7s var(--ease) both; }
.form-done svg { width: 64px; height: 64px; color: var(--gold); margin: 0 auto 12px; }
.form-done h2 { margin-bottom: 8px; }
.form-done pre { text-align: left; background: #0a0a09; border: 1px solid #2a2925; border-radius: 10px; padding: 14px; color: var(--muted); font-size: 12.5px;
                 white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto; margin-top: 16px; }

/* ---------- ⑯ FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 920px; margin-inline: auto; }
.faq-list details { background: var(--panel); border: 1px solid #2a2925; border-radius: 12px; padding: 0 clamp(18px, 2vw, 26px); transition: border-color .3s; }
.faq-list details[open] { border-color: rgba(207, 165, 3, .45); }
.faq-list summary { display: flex; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; padding: 19px 0; color: var(--white);
                    font-weight: 500; font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.6; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font: 400 26px/1 var(--serif); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .ans { color: var(--muted); padding: 0 0 22px; }
.faq-list .ans p + p { margin-top: 8px; }
.faq-list details[open] .ans { animation: fade-up .45s var(--ease) both; }

/* ---------- ⑰ บทความ / เนื้อหายาว ---------- */
.post { display: flex; flex-direction: column; }
.post .cat { color: var(--gold); font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.post h3 { font-size: 21px; margin: 10px 0; }
.post .meta { margin-top: auto; padding-top: 14px; color: var(--dim); font-size: 13px; }
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(26px, 2.3vw, 34px); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--gold); font-size: 21px; margin: 26px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 14px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--white); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 60px); align-items: start; }
.aside-sticky { position: sticky; top: 100px; }
.svc-block { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 22px; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block .no { color: var(--gold); font: 600 40px/1 var(--serif); }
.svc-block h2 { font-size: clamp(25px, 2.2vw, 32px); margin-bottom: 10px; }
.svc-block .ask { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.svc-block .ask span { border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; font-size: 13.5px; color: #d9d5c9; }
.svc-block .go { display: inline-flex; gap: 8px; margin-top: 14px; color: var(--gold); font-weight: 600; text-decoration: none; }
.svc-block .go::after { content: "→"; transition: transform .3s; }
.svc-block .go:hover::after { transform: translateX(5px); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.areas span { background: #12110f; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px; font-size: 14.5px; }

/* ---------- ⑱ แถบเชิญชวนทอง ---------- */
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
            background: var(--gold-grad); background-size: 200% 100%; animation: shimmer 12s ease-in-out infinite; color: #0a0800;
            border-radius: 18px; padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3vw, 44px); }
.cta-band h2 { color: #0a0800; font-size: clamp(26px, 2.5vw, 36px); margin-bottom: 6px; }
.cta-band p { color: #2b2200; font-size: 16.5px; max-width: 40em; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ⑲ ติดต่อ ---------- */
.office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 34px); align-items: stretch; }
.office dl { margin: 0; }
.office dl > div { padding: 16px 0; border-bottom: 1px solid #2d2b26; }
.office dl > div:last-child { border-bottom: 0; }
.office dt { color: var(--gold); font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.office dd { margin: 6px 0 0; color: var(--white); font-size: 17px; line-height: 1.65; }
.office dd small { display: block; color: var(--muted); font-size: 14px; }
.map { position: relative; min-height: 380px; border-radius: 16px; overflow: hidden; background: #12110e; display: block; text-decoration: none; border: 1px solid var(--line-2); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .label { position: absolute; left: 8%; right: 8%; bottom: 7%; background: rgba(5, 5, 5, .94); border: 1px solid var(--gold-3); border-radius: 12px; padding: 16px 20px; }
.map .label b { display: block; color: var(--gold); font: 600 20px/1.3 var(--serif); }
.map .label span { color: var(--muted); font-size: 14px; }
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- ⑳ ท้ายเว็บ ---------- */
.site-footer { position: relative; background: #040404; padding: clamp(48px, 6vw, 72px) 0 110px; border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: var(--gold); font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.legal-note { border-top: 1px solid #1c1b18; margin-top: 34px; padding-top: 20px; color: var(--dim); font-size: 13px; line-height: 1.85; }

/* ---------- ㉓ ถาม-ตอบกฎหมาย · หนังสือตอบข้อหารือ (หน้า qa.html) ---------- */
.qa-tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; border: 1px solid #3a3832; background: #0a0a09; color: var(--text); border-radius: 999px; padding: 8px 16px;
        font: 500 14.5px/1.4 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 600; }
.qa-search { flex: 0 1 340px; }
.qa-search input { width: 100%; min-height: 46px; background: #0a0a09; color: var(--white); border: 1px solid #3a3832; border-radius: 999px; padding: 10px 18px;
                   font: 400 15.5px/1.5 var(--sans); }
.qa-search input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(207, 165, 3, .22); }
.qa-list { display: grid; gap: 16px; }
.qa-empty { text-align: center; color: var(--muted); padding: 28px; border: 1px dashed var(--line-2); border-radius: 12px; margin-top: 16px; }
.opinion { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid #2a2925; border-radius: var(--radius); transition: border-color .3s; }
.opinion[hidden] { display: none; }
.opinion:hover, .opinion[open] { border-color: rgba(207, 165, 3, .5); }
.opinion > summary { display: block; list-style: none; cursor: pointer; padding: clamp(20px, 2.4vw, 30px); }
.opinion > summary::-webkit-details-marker { display: none; }
.op-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--dim); font-size: 13.5px; }
.op-no { color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.op-cat { border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 12px; color: #d9d5c9; }
.opinion summary h3 { font-size: clamp(20px, 1.8vw, 26px); margin: 12px 0 8px; }
.op-ex { display: block; color: var(--muted); font-size: 15.5px; }
.op-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold); font-weight: 600; font-size: 15px; }
.op-open::after { content: "↓"; transition: transform .3s var(--ease); }
.opinion[open] .op-open::after { transform: rotate(180deg); }
.op-open .o-open, .opinion[open] .op-open .o-closed { display: none; }
.opinion[open] .op-open .o-open { display: inline; }
.opinion[open] .op-ex { display: none; }
.op-body { padding: 0 clamp(14px, 2.4vw, 30px) clamp(22px, 2.8vw, 34px); }
.opinion[open] .op-body { animation: fade-up .5s var(--ease) both; }
/* ตัวหนังสือ — จัดแบบหนังสือราชการ/บันทึกทางกฎหมาย: หัวจดหมาย · เลขที่ · ชื่อเรื่อง · หัวข้อซ้าย เนื้อหาขวา · ลงนามท้าย */
.letter { position: relative; overflow: hidden; max-width: 880px; margin-inline: auto; background: #0b0b0a; border: 1px solid #2c2a24; border-radius: 12px;
          padding: clamp(22px, 3.4vw, 48px); }
.letter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); }
.letter[data-mark]::after { content: attr(data-mark); position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
                            font: 700 clamp(64px, 11vw, 140px)/1 var(--serif); color: rgba(207, 165, 3, .07); transform: rotate(-16deg); }
.lh { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--gold-3); }
.lh svg { width: 48px; height: 48px; flex-shrink: 0; }
.lh b { display: block; color: var(--white); font: 600 19px/1.3 var(--serif); letter-spacing: .03em; }
.lh small { display: block; color: var(--gold); font: 600 11px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.lh .ref { margin-left: auto; text-align: right; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.doc-title { text-align: center; color: var(--white); font: 600 clamp(21px, 2vw, 27px)/1.4 var(--serif); letter-spacing: .02em; }
.doc-sub { text-align: center; color: var(--dim); font-size: 13.5px; margin: 4px 0 22px; }
.letter section { display: grid; grid-template-columns: 158px minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-top: 1px solid #1f1e1a; }
.letter h4 { color: var(--gold); font: 600 14.5px/1.7 var(--sans); letter-spacing: .03em; }
.letter section p, .letter section li { color: var(--text); font-size: 16px; line-height: 1.8; }
.letter section ol { margin: 0; padding-left: 1.25em; }
.letter section li + li { margin-top: 6px; }
.letter .law { border-left: 2px solid var(--gold-3); padding: 2px 0 2px 14px; color: var(--muted); font-size: 15px; }
.letter .law + .law { margin-top: 10px; }
.letter .law b { color: var(--white); font-weight: 600; }
.sign { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: end; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--gold-3); }
.op-note { color: var(--dim); font-size: 13px; line-height: 1.8; }
.sign .who { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 14px; color: var(--muted); line-height: 1.7; }
.sign .who b { color: var(--white); font: 600 17px/1.5 var(--serif); }
.sigline { display: block; width: 210px; height: 40px; border-bottom: 1px dotted #6d6a60; margin-bottom: 8px; }
.consent.publish { background: #12110d; border: 1px solid var(--gold-3); border-radius: 12px; padding: 14px 16px; margin-top: 0; }
.consent.publish b { color: var(--gold); }

/* ---------- ㉑ แถบติดต่อลอยบนมือถือ ---------- */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(5, 5, 5, .97);
                border-top: 1px solid var(--gold-3); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; animation: fade-up .6s .4s var(--ease) both; }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 12px; text-decoration: none;
                  font-size: 13px; font-weight: 600; color: var(--white); background: #161614; }
  .mobile-bar a svg { width: 21px; height: 21px; }
  .mobile-bar a.line { background: #06c755; color: #fff; }
  .mobile-bar a.form-go { background: var(--gold); color: #000; }
}

/* ---------- ㉒ จอกลาง / มือถือ ---------- */
@media (max-width: 1100px) {
  .g4, .care { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care { row-gap: 36px; } .care::before { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 16px; } .nav a { font-size: 15px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; order: 5; }
  .lang { margin-left: auto; }
  .nav { position: fixed; top: var(--hdr, 84px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #070707; border-bottom: 1px solid var(--gold-3);
         padding: 8px var(--gutter) 22px; transform: translateY(-140%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid #1b1a17; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice.feature { grid-column: 1 / -1; }
  .consult, .office, .two-col { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
  .hero .art { width: 92vw; right: -20vw; opacity: .35; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 5, 5, .6), rgba(5, 5, 5, .9)); }
  .hero .caption { display: none; }
  .page-hero .art { opacity: .18; width: 70vw; }
  .topbar .hours { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .bar { height: 70px; gap: 10px; } html.scrolled .site-header .bar { height: 62px; }
  .brand svg { width: 38px; height: 38px; }
  .brand .name b { font-size: 18px; letter-spacing: .12em; }
  .brand .name small { font-size: 9px; letter-spacing: .32em; }
  .g2, .g3, .g4, .fields, .care, .steps, .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .person { grid-template-columns: 1fr; }
  .person .avatar { width: 100%; height: 120px; }
  .svc-block { grid-template-columns: 1fr; gap: 8px; }
  .fee { grid-template-columns: 1fr; }
  .cta-band .acts, .cta-band .btn { width: 100%; }
  .qa-search { flex: 1 1 100%; }
  .letter section, .sign { grid-template-columns: 1fr; }
  .lh .ref { margin-left: 0; text-align: left; width: 100%; }
  .sign .who { align-items: flex-start; text-align: left; }
  .topbar { display: none; }
  .scroll-cue { display: none; }
}
/* โหมดถ่ายภาพหน้าจอทั้งหน้า (?shot=1) — หยุดการเคลื่อนไหว แสดงทุกอย่างครบ ซ่อนแถบลอยมือถือ */
html.shot *, html.shot *::before, html.shot *::after { animation: none !important; transition: none !important; }
html.shot .art * { stroke-dashoffset: 0 !important; }
html.shot [data-reveal] { opacity: 1 !important; transform: none !important; }
html.shot .mobile-bar { display: none !important; }
html.shot .site-header { position: relative; }
html.shot .hero .caption .c0 { display: block; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .art * { stroke-dashoffset: 0 !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
