/* ซินแสไม้เท้าทอง — ธีมกระดาษสา แดงชาด ทองเส้นบาง */

@font-face {
  font-family: "Plex Thai";
  src: url("../fonts/ibm-plex-sans-thai-400-thai.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Plex Thai";
  src: url("../fonts/ibm-plex-sans-thai-400-latin.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Thai";
  src: url("../fonts/ibm-plex-sans-thai-500-thai.woff2") format("woff2");
  font-weight: 500; font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Plex Thai";
  src: url("../fonts/ibm-plex-sans-thai-500-latin.woff2") format("woff2");
  font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Thai";
  src: url("../fonts/ibm-plex-sans-thai-600-thai.woff2") format("woff2");
  font-weight: 600; font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Plex Thai";
  src: url("../fonts/ibm-plex-sans-thai-600-latin.woff2") format("woff2");
  font-weight: 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Serif Thai";
  src: url("../fonts/noto-serif-thai-thai.woff2") format("woff2");
  font-weight: 600 700; font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Serif Thai";
  src: url("../fonts/noto-serif-thai-latin.woff2") format("woff2");
  font-weight: 600 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "HanSeal";
  src: url("../fonts/han-seal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+4E00-9FFF;
}

:root {
  --paper: #fbf7f0;
  --paper-2: #f4ece0;
  --card: #fffdf9;
  --ink: #2a1c16;
  --ink-2: #5b483e;
  --muted: #7d6a5f;
  --line: #e6dac8;
  --red: #a8161d;
  --red-ink: #8c1117;
  --red-deep: #6e0d12;
  --gold: #c9a14a;
  --gold-soft: #ecd59a;
  --line-green: #06c755;
  --sans: "Plex Thai", "Noto Sans Thai", "Sukhumvit Set", system-ui, sans-serif;
  --serif: "Serif Thai", "Noto Serif Thai", Georgia, serif;
  --wrap: 1120px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 28, 22, 0.06), 0 8px 24px rgba(42, 28, 22, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
p { margin: 0 0 14px; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.45; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.38; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .narrow { margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
.small { font-size: 0.92rem; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.3;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05b04b; color: #fff; }
.btn-line::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2.5C6.2 2.5 1.5 6.3 1.5 11c0 4.2 3.7 7.7 8.8 8.4.3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.5s5.9-3.5 8.1-6c1.5-1.6 2.3-3.3 2.3-5.3 0-4.7-4.7-8.5-10.4-8.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-light:hover { background: #fff; color: var(--red-ink); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .cta-row { justify-content: center; }

/* ---------- หัวเว็บ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 8px; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; color: var(--red-ink); }
.brand small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav a:hover { color: var(--red); background: var(--paper-2); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; }

/* ---------- ส่วนหัวหน้าแรก: กรอบทองคู่ กลอนคู่แนวตั้ง ภาพในกรอบทอง ---------- */
.hero { padding: 28px 0 8px; }
.hero-frame {
  position: relative;
  display: grid; grid-template-columns: 60px 1.12fr 0.88fr 60px; gap: 30px; align-items: center;
  padding: 40px 28px;
  background:
    radial-gradient(90% 120% at 80% 0%, rgba(255, 196, 120, 0.18), transparent 60%),
    linear-gradient(160deg, #c11d24 0%, var(--red) 45%, var(--red-deep) 100%);
  color: #fff;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 7px var(--red), inset 0 0 0 8px var(--gold), 0 24px 48px -28px rgba(110, 13, 18, 0.7);
}
.couplet {
  align-self: stretch; margin: 0;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  font-family: "HanSeal", serif; font-size: 1.7rem; letter-spacing: 0.5em; line-height: 1;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  background: rgba(255, 240, 210, 0.06);
  padding: 18px 0;
}
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); color: #fff; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(201, 161, 74, 0.7); }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero .eyebrow { color: var(--gold-soft); }
.hero-lead { font-size: 1.08rem; color: rgba(255, 255, 255, 0.92); }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(201, 161, 74, 0.5); font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-soft); flex: none; }
.hero-figure { margin: 0; padding: 8px; background: linear-gradient(135deg, #e8c46a, var(--gold) 50%, #a87d2a); border: 1px solid #f3d27a; box-shadow: 0 18px 36px -16px rgba(40, 0, 0, 0.6); }
.hero-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

.eyebrow { display: block; margin: 0 0 12px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; color: var(--red); }

/* ---------- ส่วนทั่วไป ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; margin-top: 12px; }
.center .section-head, .section-head.center { margin-inline: auto; text-align: center; }

/* ปัญหา */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { padding: 28px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pain-no { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 600; font-size: 0.95rem; }
.pain h3 { margin-bottom: 8px; }
.pain p { color: var(--ink-2); margin: 0; }
.pull { margin: 40px auto 0; max-width: 680px; text-align: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.6; color: var(--red-ink); }

/* สิ่งที่จะได้รู้ */
.learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.learn-col { padding: 30px 28px; background: var(--card); border-radius: var(--radius); border-top: 3px solid var(--red); box-shadow: var(--shadow); }
.learn-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.learn-col h3 span { font-family: "HanSeal", serif; font-weight: 400; font-size: 1.5rem; color: var(--red); line-height: 1; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); line-height: 1.7; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks li strong { color: var(--ink); }
.note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* ขั้นตอน */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 50%; border: 1.5px solid var(--red); color: var(--red);
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); }
.kbd { display: inline-block; padding: 0 8px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); font-weight: 500; white-space: nowrap; }

/* ราคา */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.tier { position: relative; display: flex; flex-direction: column; height: 100%; padding: 32px 28px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.tier-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.tier-for { color: var(--muted); font-size: 0.95rem; margin: 0 0 18px; min-height: 3.4em; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price b { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.price s { color: var(--muted); font-size: 1rem; }
.price-note { font-size: 0.88rem; color: var(--red); font-weight: 500; margin: 0 0 20px; min-height: 1.6em; }
.tier .ticks { margin-bottom: 26px; flex: 1; align-content: start; }
.tier .ticks li { font-size: 0.97rem; }
.tier-plus { font-weight: 600; color: var(--ink) !important; padding-left: 0 !important; }
.tier-plus::before { display: none; }
.tier-featured { border: 2px solid var(--red); box-shadow: 0 18px 40px -18px rgba(168, 22, 29, 0.45); }
.tier-badge { position: absolute; top: -14px; left: 28px; padding: 3px 14px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.85rem; font-weight: 600; }
.fine-center { margin-top: 26px; text-align: center; color: var(--muted); font-size: 0.92rem; }

/* บริการเสริมใน LINE */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.extra { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.extra img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.extra-body { padding: 24px 26px 26px; }
.extra-body h3 { margin-bottom: 8px; }
.extra-body p { color: var(--ink-2); margin: 0 0 8px; }
.extra-price { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--red-ink); font-weight: 600; font-size: 0.92rem; }

/* แถบภาพคั่น: ยันต์แปดทิศบนพื้นแดง */
.band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red-deep) 0%, var(--red) 55%, #b81b22 100%); color: #fff; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.band-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; min-height: 300px; padding: 56px 0; }
.band-bagua { position: absolute; right: -60px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); opacity: 0.35; pointer-events: none; }
.band-quote { position: relative; margin: 0; max-width: 760px; }
.band-quote p { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.5; }
.band-quote em { font-style: normal; color: var(--gold-soft); }
.band-quote footer { margin-top: 14px; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.band-quote footer::before { content: "— "; }
.band-couplet { position: relative; margin: 0; writing-mode: vertical-rl; font-family: "HanSeal", serif; font-size: 1.8rem; letter-spacing: 0.45em; color: var(--gold-soft); border: 1px solid var(--gold); padding: 16px 10px; background: rgba(110, 13, 18, 0.35); }

/* ประวัติย่อในหน้าแรก */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; max-width: 980px; margin-inline: auto; }
.about-grid p { color: var(--ink-2); font-size: 1.05rem; margin-top: 14px; }
.seal-disc { margin: 0; position: relative; width: 280px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #c11d24, var(--red-deep)); box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--gold), 0 24px 48px -20px rgba(110, 13, 18, 0.6); }
.seal-disc::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(236, 213, 154, 0.6); }
.seal-disc img { width: 64%; height: auto; }
.extras + .note { margin-top: 22px; }

/* คำมั่น */
.promise { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.promise-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.promise-list .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--red); }
.promise-list .ic svg { width: 22px; height: 22px; }
.promise-list strong { display: block; margin-bottom: 2px; }
.promise-list p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* คำถาม */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 56px 18px 22px; font-weight: 600; font-size: 1.04rem; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg);
  transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* บทความ */
.article-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  display: flex; flex-direction: column; gap: 8px; padding: 26px; min-height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease;
}
.article-card:hover { border-color: var(--red); color: var(--ink); transform: translateY(-2px); }
.article-card .tag { font-size: 0.85rem; font-weight: 600; color: var(--red); }
.article-card h3 { font-size: 1.15rem; }
.article-card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.article-card .more { margin-top: auto; padding-top: 8px; color: var(--red); font-weight: 600; font-size: 0.95rem; }

/* ปิดท้าย */
.final { background: radial-gradient(100% 120% at 50% 0%, #c22027 0%, var(--red) 40%, var(--red-deep) 100%); color: #fff; }
.final-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 72px 0; }
.final h2 { color: #fff; margin-bottom: 12px; }
.final p { color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; margin: 0; }
.final .cta-row { margin-top: 26px; }
.qr { margin: 0; padding: 16px; background: #fff; border-radius: 16px; text-align: center; color: var(--ink); }
.qr img { width: 168px; height: 168px; }
.qr figcaption { margin-top: 6px; font-size: 0.88rem; font-weight: 500; }

/* ท้ายเว็บ */
.site-footer { background: #22150f; color: #d8cbbd; padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: #f0e3d3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.site-footer h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; color: #a8968a; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #a8968a; font-size: 0.85rem; }
.footer-bottom p { margin: 0 0 4px; }

/* ปุ่มติดล่างบนมือถือ */
.sticky-cta { display: none; }

/* ---------- หน้าเนื้อหา (บทความ ข้อกำหนด) ---------- */
.page-head { padding: 56px 0 8px; }
.crumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-head .lede { font-size: 1.12rem; color: var(--ink-2); }
.meta { font-size: 0.9rem; color: var(--muted); }
.prose { padding: 16px 0 72px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: #3b2b24; line-height: 1.9; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; display: grid; gap: 6px; }
.prose .box { margin: 28px 0; padding: 22px 24px; background: var(--paper-2); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; }
.prose .box p:last-child { margin: 0; }
.prose .box strong { color: var(--ink); }
.inline-cta { margin: 40px 0 0; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.inline-cta h2 { margin: 0 0 8px; font-size: 1.3rem; }
.inline-cta p { margin: 0; }
.inline-cta .cta-row { margin-top: 18px; }
.list-articles { display: grid; gap: 16px; padding: 8px 0 72px; }
.list-articles .article-card { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.list-articles .article-card > div { flex: 1 1 420px; }
.missing { padding: 96px 0; text-align: center; }

/* หน้าประวัติ */
.about-hero { background: linear-gradient(160deg, #c11d24 0%, var(--red) 45%, var(--red-deep) 100%); color: #fff; border-bottom: 3px solid var(--gold); }
.about-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; padding: 56px 0 64px; }
.about-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.about-hero h1 em { font-style: normal; color: var(--gold-soft); }
.about-hero .eyebrow { color: var(--gold-soft); }
.about-hero .seal-disc { box-shadow: 0 0 0 6px var(--red-deep), 0 0 0 8px var(--gold), 0 24px 48px -20px rgba(40, 0, 0, 0.6); }
.crumb-light, .crumb-light a { color: rgba(255, 255, 255, 0.75); }
.prose-intro h2 { margin-bottom: 18px; }
.prose-intro p { color: #3b2b24; font-size: 1.06rem; line-height: 1.9; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin-inline: auto; }
.tool-grid p { color: var(--ink-2); margin: 0; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin-inline: auto; counter-reset: rule; }
.principles li { position: relative; padding: 28px 28px 26px 84px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: rule; }
.principles li::before { content: counter(rule); position: absolute; left: 26px; top: 26px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--red); color: var(--gold-soft); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--gold); }
.principles h3 { margin-bottom: 6px; }
.principles p { margin: 0; color: var(--ink-2); }

/* ---------- จอกลาง ---------- */
@media (max-width: 1080px) {
  .hero-frame { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .couplet { writing-mode: horizontal-tb; padding: 8px 0; font-size: 1.15rem; letter-spacing: 0.6em; text-indent: 0.6em; }
  .hero-figure { max-width: 640px; }
}

@media (max-width: 980px) {
  .pains, .learn, .steps, .tiers, .article-cards { grid-template-columns: 1fr; }
  .tiers { max-width: 520px; margin-inline: auto; gap: 28px; }
  .tier-for, .price-note { min-height: 0; }
  .promise { grid-template-columns: 1fr; gap: 28px; }
  .extras { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 220px 1fr; gap: 36px; }
  .seal-disc { width: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- มือถือ ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 80px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .header-inner { min-height: 60px; gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand small { display: none; }
  .header-cta { display: none; }
  .nav-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--card);
    font-weight: 500; cursor: pointer;
  }
  .nav-btn::before { content: ""; width: 16px; height: 10px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(42, 28, 22, 0.1);
    display: none;
  }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.02rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--gold); outline-offset: 2px; }
  .hero { padding: 16px 0 0; }
  .hero .wrap { width: calc(100% - 20px); }
  .hero-frame { padding: 22px 18px; gap: 18px; }
  .hero-lead { font-size: 1.04rem; }
  .hero .cta-row .btn { width: 100%; }
  .extras { grid-template-columns: 1fr; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 48px; }
  .about-hero .seal-disc { width: 170px; order: -1; justify-self: center; }
  .tool-grid, .principles { grid-template-columns: 1fr; }
  .principles li { padding: 24px 22px 22px 76px; }
  .principles li::before { left: 22px; top: 24px; }
  .band-inner { grid-template-columns: 1fr; min-height: 0; padding: 48px 0; text-align: center; }
  .band-couplet { display: none; }
  .band-bagua { right: 50%; width: 360px; height: 360px; transform: translate(50%, -50%); opacity: 0.18; }
  .about-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .about-grid .cta-row { justify-content: center; }
  .seal-disc { width: 180px; }
  .final-inner { grid-template-columns: 1fr; text-align: center; padding: 56px 0; }
  .final .cta-row { justify-content: center; }
  .final .cta-row .btn { width: 100%; }
  .qr { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 247, 240, 0.96); border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { width: 100%; min-height: 50px; }
}
