/* =========================================================
   SANYUANPUPAI.COM — อาณาจักรแห่งความเฮง
   Modern Chinese Luxury · Apple × Aman × Disney
   White 70% · Red 20% · Gold 10%
   ========================================================= */

:root {
  /* Palette */
  --white: #ffffff;
  --paper: #faf8f5;
  --paper-2: #f3efe9;
  --ink: #14110f;
  --ink-soft: #29241f;
  --ink-mute: #423a32;
  --line: rgba(26, 23, 21, 0.12);

  --red: #b8121a;
  --red-deep: #8e0d14;
  --red-bright: #d7212c;
  --red-tint: rgba(184, 18, 26, 0.06);

  --gold: #c0a062;
  --gold-soft: #d8c08a;
  --gold-deep: #9c7d3e;

  /* Type */
  --serif: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif;
  --sans: "Inter", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --thai: "Noto Sans Thai", "Inter", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1240px;
  --r: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; background: var(--paper); }
body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 17.5px;
  min-height: 100vh;
  background:
    radial-gradient(1100px 600px at 100% -8%, rgba(192,160,98,.07), transparent 60%),
    radial-gradient(900px 700px at -10% 105%, rgba(184,18,26,.04), transparent 55%),
    var(--paper);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
/* Premium scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--gold) var(--paper-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-soft), var(--gold-deep)); border-radius: 100px; border: 3px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }
/* App mode (standalone จากแอป/ระบบสมาชิก) — ซ่อนเมนู/ฟุตเตอร์/แชต + ตัดช่องว่างบน */
html.app .nav, html.app .footer, html.app .live-chat { display: none !important; }
/* โหมดแอป: ซ่อนเบรดครัมบ์ที่ลิงก์กลับหน้าแรกเว็บ — ให้ทุกเครื่องมือเป็นทิศทางเดียว (กลับผ่านแถบบนเท่านั้น) */
html.app .crumb { display: none !important; }
html.app body { padding-top: 56px; }
html.app .page-hero { display: none !important; }  /* โหมดแอปมือถือ: ไม่มี section hero ให้หัวเหมือนกันทุกหน้า */
html.app .section:first-of-type { padding-top: 16px; }
html.app .mp { padding-top: 14px; }  /* หน้าฮับ (เครื่องมือ/VIP/แซกี) ระยะห่างบนเท่าหน้าอื่น */
/* แถบบนโหมดแอป: ปุ่มกลับหน้ารวมเครื่องมือ */
html.app .app-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 12px; background: linear-gradient(180deg, #fffdf8, var(--paper)); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(192,160,98,.45); box-shadow: 0 8px 22px -16px rgba(40,25,10,.45); }
html.app .app-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(192,160,98,.6), transparent); }
html.app .app-bar .ab-back { font-family: var(--thai); font-weight: 800; color: var(--red); font-size: .95rem; display: inline-flex; align-items: center; gap: 5px; background: rgba(192,160,98,.16); border: 1px solid rgba(192,160,98,.4); border-radius: 99px; padding: 7px 14px 7px 9px; }
html.app .app-bar .ab-back svg { width: 18px; height: 18px; }
html.app .app-bar .ab-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--thai); font-weight: 800; color: var(--ink); font-size: 1.08rem; letter-spacing: .01em; }
html.app .app-bar .ab-brand .ab-mark { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; box-shadow: 0 4px 10px -5px rgba(154,110,30,.6); }
html.app .app-bar .ab-brand small { display: block; font-family: var(--sans,Inter); font-weight: 700; font-size: .54rem; letter-spacing: .22em; color: var(--gold-deep); text-transform: uppercase; margin-top: 1px; }
html.app .app-bar .ab-member { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--red); background: rgba(194,14,44,.1); border: 1px solid rgba(194,14,44,.25); }
html.app .app-bar .ab-member svg { width: 21px; height: 21px; }
/* โหมดแอป: หน้า hub ใช้ app-bar แบรนด์เหมือนกันทุกหน้า → ซ่อนหัวเดิม */
html.app .mp-top { display: none !important; }
/* บนคอม PC: โหมดแอปไม่ต้องซ่อนเมนูปกติ / ไม่ต้องมีแถบกลับ (เมนูเต็มแสดงอยู่แล้ว ใช้งานสะดวกกว่า) */
@media (min-width: 821px) {
  html.app .nav, html.app .footer { display: block !important; }
  html.app .live-chat { display: revert !important; }
  html.app .app-bar { display: none !important; }
  html.app body { padding-top: 0; }
  html.app .page-hero { display: block !important; padding-top: 170px; }
  html.app .section:first-of-type { padding-top: 100px; }
}
/* ปุ่มลอยกลับหน้ารวมเครื่องมือ (หน้าเครื่องมือ · เฉพาะตอนไม่ใช่โหมดแอป) */
.tool-back-fab { position: fixed; left: 16px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 6px; font-family: var(--thai); font-weight: 700; font-size: .9rem; color: var(--red); background: rgba(255,255,255,.95); border: 1px solid var(--line); box-shadow: 0 12px 32px -14px rgba(0,0,0,.4); border-radius: 100px; padding: 11px 18px; backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); transition: border-color .25s, transform .25s; }
.tool-back-fab:hover { border-color: var(--red); transform: translateY(-2px); }
.tool-back-fab svg { width: 17px; height: 17px; }
@media (min-width: 900px) { .tool-back-fab { left: 24px; bottom: 24px; } }

/* Thai text uses Thai stack */
:lang(th), .th { font-family: var(--thai); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(54px, 8vw, 104px) 0; position: relative; }
.center { text-align: center; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow.solo::before { display: none; }

h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
.display {
  font-family: var(--thai);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--thai);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.lead {
  font-family: var(--thai);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  color: var(--ink-soft);
  line-height: 1.7;
}
.muted { color: var(--ink-mute); }
.gold-text { color: var(--gold-deep); }
.red-text { color: var(--red); }

/* ===== Global form controls (ใช้ทุกหน้าเครื่องมือ — single source) ===== */
.chi-tool { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px,3vw,34px); box-shadow: 0 26px 60px -42px rgba(0,0,0,.35); }
.nc-input { font-family: var(--thai); font-size: 1.06rem; font-weight: 500; padding: 13px 16px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.nc-input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(192,160,98,.22); }
select.nc-input { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239c7d3e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; cursor: pointer; }
/* เครื่องมือทุกหน้า: ช่อง select / ช่องกรอกที่ยังไม่ได้ใส่คลาส → ทำให้เข้าธีมเหมือน .nc-input อัตโนมัติ */
.chi-q select:not([class]), .chi-tool select:not([class]),
.chi-q input[type="text"]:not([class]), .chi-q input[type="tel"]:not([class]), .chi-q input[type="number"]:not([class]),
.chi-tool input[type="text"]:not([class]), .chi-tool input[type="tel"]:not([class]), .chi-tool input[type="number"]:not([class]) {
  font-family: var(--thai); font-size: 1.04rem; font-weight: 500; padding: 13px 16px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.chi-q select:not([class]):focus, .chi-tool select:not([class]):focus,
.chi-q input:not([class]):focus, .chi-tool input:not([class]):focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(192,160,98,.22); }
.chi-q select:not([class]), .chi-tool select:not([class]) { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239c7d3e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.zbtn { font-family: var(--thai); font-size: 1rem; font-weight: 600; padding: 11px 20px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .2s; }
.zbtn:hover { border-color: var(--gold-deep); }
.zbtn.sel { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 10px 24px -12px rgba(184,18,26,.6); }
.osgrp { text-align: left; }

.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--thai); font-weight: 600; font-size: 1rem;
  padding: 16px 30px; border-radius: 100px; border: 1px solid transparent;
  background-color: var(--bg);
  background-image: linear-gradient(135deg, rgba(255,255,255,.16), rgba(0,0,0,.10));
  color: #fff; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
  box-shadow: 0 12px 30px -12px rgba(184,18,26,.5), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(184,18,26,.6), inset 0 1px 0 rgba(255,255,255,.24); }
.btn:active { transform: translateY(-1px); }
.btn .ico { font-size: 1.1em; }
.btn.ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.02); box-shadow: none; }
.btn.gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold), var(--gold-soft));
  color: #fff; box-shadow: 0 10px 30px -10px rgba(192,160,98,.6);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* magnetic shine */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: all .5s var(--ease);
}
.nav.scrolled {
  background: rgba(250,248,245,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 44px -26px rgba(40,25,10,.5);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
/* Dragon image logo · แสดงผ่าน CSS background ตั้งแต่เฟรมแรก (กันโลโก้เดิมแว่บ) */
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: #ffffff url("../img/logo.png") center / 82% no-repeat;
  border: 1.5px solid var(--gold);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.35), inset 0 0 0 1px rgba(192,160,98,.25);
  overflow: hidden;
}
.brand .mark svg,
.brand .mark .logo-img { display: none; }
.brand-name { font-family: var(--thai); font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .28em; color: var(--gold-deep); text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--thai); font-size: .95rem; color: var(--ink-soft); font-weight: 500;
  position: relative; padding: 4px 0; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width .4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 22px; font-size: .9rem; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ---------- Full-width mega-menu ---------- */
.nav-group { position: relative; }
.nav-top {
  font-family: var(--thai); font-size: .95rem; color: var(--ink-soft); font-weight: 500;
  background: none; border: 0; cursor: pointer; padding: 10px 0; display: inline-flex; align-items: center; gap: 5px;
  position: relative; transition: color .3s;
}
.nav-top .chev { width: .68em; height: .68em; transition: transform .35s var(--ease); opacity: .7; }
.nav-top::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 2px; width: 0; background: var(--red); transition: width .4s var(--ease); }
.nav-group:hover .nav-top, .nav-group:focus-within .nav-top, .nav-group.active .nav-top { color: var(--red); }
.nav-group:hover .nav-top::after, .nav-group.active .nav-top::after { width: 100%; }
.nav-group:hover .nav-top .chev, .nav-group:focus-within .nav-top .chev { transform: rotate(180deg); }

.nav-panel {
  position: fixed; left: 0; right: 0; top: var(--nav-h, 74px);
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 36px 60px -34px rgba(26,23,21,.3);
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity .26s var(--ease), transform .3s var(--ease); z-index: 40;
}
/* แถบกลับ (โหมดแอป/standalone) */
.app-backbar { position: sticky; top: 0; z-index: 60; background: linear-gradient(180deg,#fff,#fbf6ea); border-bottom: 1px solid rgba(192,160,98,.45); padding: max(8px, env(safe-area-inset-top)) 16px 8px; box-shadow: 0 4px 14px -10px rgba(40,25,10,.4); }
.app-backbar a { font-family: var(--thai); font-weight: 800; color: var(--gold-deep); text-decoration: none; font-size: 1rem; display: inline-flex; align-items: center; gap: 4px; }
.app-backbar a:active { opacity: .6; }
/* บนคอม PC เมนูปกติแสดงอยู่แล้ว → ซ่อนแถบกลับ (โชว์เฉพาะมือถือ/แอป) */
@media (min-width: 821px) { .app-backbar { display: none; } }
.nav-panel::before { content: ""; position: absolute; top: -26px; left: 0; right: 0; height: 26px; }
.nav-group:hover > .nav-panel, .nav-group:focus-within > .nav-panel { opacity: 1; pointer-events: auto; transform: none; }
.mega-inner { display: flex; justify-content: center; gap: clamp(32px, 5vw, 84px); padding: 40px 0 46px; align-items: flex-start; }
.mega-col { min-width: 0; }
.mega-col h4 { font-family: var(--thai); font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 12px; }
.mega-col { flex: 0 1 auto; min-width: 168px; }
.mega-col a { display: flex; align-items: center; gap: 11px; padding: 8px 0; font-family: var(--thai); font-size: .95rem; line-height: 1.35; color: var(--ink-soft); transition: color .2s; }
.mega-col a::after { display: none; }
.mega-col a .ico-svg { width: 1.15rem; height: 1.15rem; color: var(--gold-deep); flex: none; transition: color .2s, transform .2s; }
.mega-col a:hover { color: var(--red); }
.mega-col a:hover .ico-svg { color: var(--red); transform: translateX(2px); }
.mega-feature {
  margin-left: auto; align-self: stretch; flex: none; width: 264px;
  background: linear-gradient(160deg, var(--c1, #b8121a), var(--c2, #6a0a0f)); color: #fff;
  border-radius: 16px; padding: 26px; display: flex; flex-direction: column;
}
.mega-feature .mf-eyebrow { font-family: var(--thai); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.mega-feature .mf-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin: 14px 0; }
.mega-feature .mf-ic .ico-svg { width: 1.45rem; height: 1.45rem; }
.mega-feature h5 { font-family: var(--thai); font-weight: 800; font-size: 1.25rem; line-height: 1.3; }
.mega-feature p { font-family: var(--thai); font-size: .9rem; opacity: .85; margin-top: 8px; line-height: 1.55; flex: 1; }
.mega-feature .mf-cta { margin-top: 16px; font-family: var(--thai); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 6px; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; padding-top: 116px; padding-bottom: 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .mesh {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
}
.mesh.m1 { width: 50vw; height: 50vw; right: -10vw; top: -10vw; background: radial-gradient(circle, rgba(184,18,26,.20), transparent 70%); }
.mesh.m2 { width: 40vw; height: 40vw; left: -8vw; bottom: -8vw; background: radial-gradient(circle, rgba(192,160,98,.22), transparent 70%); }
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 70px 70px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; width: 100%; }
.hero h1 { font-family: var(--thai); font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.08; letter-spacing: -.02em; }
.hero h1 .grad {
  background: linear-gradient(110deg, var(--red-deep), var(--red), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 26px 0 36px; max-width: 540px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,160,98,.20), transparent 68%);
  filter: blur(34px); z-index: 0; pointer-events: none;
}

/* Dragon orb */
.orb {
  position: relative; width: min(440px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--paper) 45%, var(--paper-2));
  box-shadow: 0 40px 90px -30px rgba(140,13,20,.35), inset 0 0 60px rgba(255,255,255,.8), inset 0 0 0 1px rgba(192,160,98,.35);
  display: grid; place-items: center;
}
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.orb .ring.r2 { inset: 8%; border-style: dashed; border-color: rgba(192,160,98,.4); animation: spin 40s linear infinite; }
.orb .ring.r3 { inset: 16%; border-color: rgba(184,18,26,.18); animation: spin 60s linear infinite reverse; }
.orb .dragon { width: 62%; color: var(--red); filter: drop-shadow(0 12px 24px rgba(184,18,26,.3)); animation: float 7s var(--ease-soft) infinite; }
.orb .spark { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-mute); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint .bar { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0%{ transform: scaleY(0); transform-origin: top; } 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px) scale(.99); filter: blur(4px); transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: opacity .4s ease; transform: none; filter: none; } }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* ---------- Three pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 40px 32px; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
  position: relative; overflow: hidden;
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.18); border-color: rgba(192,160,98,.5); }
.pillar .ic { font-size: 2.4rem; margin-bottom: 18px; display: block; }
.pillar h3 { font-family: var(--thai); font-size: 1.4rem; margin-bottom: 14px; }
.pillar .p-sub { font-family: var(--thai); color: var(--ink-soft); font-size: .96rem; line-height: 1.5; margin: -4px 0 18px; }
.pillar ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pillar .p-quote { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--thai); color: var(--gold-deep); font-size: .96rem; font-weight: 600; line-height: 1.5; }
.pillar li { font-family: var(--thai); color: var(--ink-soft); padding-left: 18px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.plus { display: grid; place-items: center; font-size: 2rem; color: var(--gold); }
.sum-tag {
  margin-top: 46px; text-align: center; font-family: var(--thai);
  font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 700;
}
.sum-tag .pill { display:inline-block; background: var(--red); color:#fff; padding: 4px 22px; border-radius: 100px; }
.sum-line { text-align: center; margin-top: 50px; font-family: var(--thai); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.5; color: var(--ink); }

/* enriched pillar body + related tags */
.pillar .p-body { font-family: var(--thai); color: var(--ink-soft); font-size: .98rem; line-height: 1.75; margin: 0 0 16px; }
.pillar .rel-label { font-family: var(--thai); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.pillar .rel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar .rel-tags span { font-family: var(--thai); font-size: .82rem; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; }

/* 30/70 force weighting close */
.force-close { margin-top: 64px; text-align: center; }
.force-close .fc-title { font-family: var(--thai); font-weight: 800; font-size: clamp(1.6rem,3.4vw,2.4rem); color: var(--ink); }
.force-close .fc-lead { font-family: var(--thai); color: var(--ink-soft); font-size: clamp(1.02rem,1.6vw,1.18rem); line-height: 1.75; max-width: 720px; margin: 16px auto 0; }
.force-close .fc-lead b { color: var(--ink); }
.force-weight { display: flex; align-items: stretch; justify-content: center; gap: clamp(10px,2vw,20px); flex-wrap: wrap; margin: 40px auto 0; max-width: 880px; }
.fw { flex: 1; min-width: 210px; max-width: 280px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 24px; text-align: center; }
.fw .pct { font-family: var(--thai); font-weight: 800; font-size: clamp(2.2rem,5vw,3.2rem); line-height: 1; }
.fw .nm { font-family: var(--thai); font-weight: 700; font-size: 1.2rem; margin-top: 8px; }
.fw .ds { font-family: var(--thai); color: var(--ink-soft); font-size: .9rem; margin-top: 8px; line-height: 1.55; }
.fw.sky .pct, .fw.sky .nm { color: var(--gold-deep); }
.fw.earth .pct, .fw.earth .nm { color: var(--red); }
.fw.human { background: var(--ink); border-color: var(--ink); }
.fw.human .pct { color: var(--gold-soft); font-size: clamp(1.4rem,3vw,1.8rem); }
.fw.human .nm { color: #fff; }
.fw.human .ds { color: rgba(255,255,255,.72); }
.fw-op { display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.fc-result { margin-top: 30px; font-family: var(--thai); font-weight: 800; font-size: clamp(1.5rem,3.4vw,2.4rem); }
.fc-result .eq { color: var(--gold); }
.fc-result .adv { color: var(--red); }
.force-close .fc-note { font-family: var(--thai); color: var(--ink-soft); font-size: clamp(1rem,1.5vw,1.12rem); line-height: 1.8; max-width: 720px; margin: 28px auto 0; }
.force-close .fc-dna { font-family: var(--thai); font-weight: 700; font-size: clamp(1.15rem,2vw,1.5rem); margin-top: 22px; }
@media (max-width: 720px) {
  .force-weight { flex-direction: column; align-items: center; }
  .fw { max-width: 100%; width: 100%; }
  .fw-op { display: none; }
}

/* ---------- Energy lines / fengshui add-ons ---------- */
.hero-chip { font-family: var(--thai); font-size: .88rem; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px; }
.ncard .edesc { font-family: var(--thai); color: var(--ink-soft); font-size: .92rem; line-height: 1.6; margin-top: 6px; }
.energy-head { display: flex; align-items: center; gap: 12px; }
.energy-head h3 { margin: 0; }

/* Premium gold band */
.gold-band { background: linear-gradient(125deg, var(--gold-deep), var(--gold) 55%, var(--gold-soft)); color: #1a1715; border-radius: 28px; padding: clamp(48px,7vw,88px); text-align: center; position: relative; overflow: hidden; }
.gold-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.35), transparent 45%); pointer-events: none; }
.gold-band .inner { position: relative; z-index: 2; }
.gold-band h2 { font-family: var(--thai); font-weight: 800; font-size: clamp(1.7rem,3.6vw,2.6rem); color: #1a1715; line-height: 1.3; }
.gold-band .formula { font-family: var(--thai); font-weight: 700; font-size: clamp(1.05rem,2vw,1.4rem); margin: 18px 0 6px; color: var(--red-deep); }
.gold-band p { font-family: var(--thai); color: rgba(26,23,21,.78); max-width: 620px; margin: 8px auto 0; }
.eco-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.eco-row .eco { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.55); border: 1px solid rgba(26,23,21,.12); border-radius: 100px; padding: 10px 18px; font-family: var(--thai); font-weight: 600; font-size: .92rem; color: #1a1715; }
.eco-row .eco .ico-svg { width: 1.15rem; height: 1.15rem; color: var(--red); }
.eco-vs { font-family: var(--thai); margin-top: 26px; color: rgba(26,23,21,.7); font-size: .95rem; }

/* ---------- The Hidden Advantage ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 50px; }
.adv-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 30px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); position: relative; overflow: hidden; }
.adv-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -32px rgba(0,0,0,.2); }
.adv-card .ic { color: var(--red); margin-bottom: 16px; line-height: 0; }
.adv-card .ic .ico-svg { width: 2rem; height: 2rem; }
.adv-card h3 { font-family: var(--thai); font-size: 1.3rem; margin-bottom: 12px; }
.adv-card .desc { font-family: var(--thai); color: var(--ink-soft); line-height: 1.7; font-size: .96rem; flex: 1; }
.adv-card .checks { list-style: none; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.adv-card .checks li { font-family: var(--thai); font-size: .92rem; color: var(--ink); display: flex; align-items: flex-start; gap: 10px; }
.adv-card .checks li .ico-svg { width: 1.1rem; height: 1.1rem; color: #2e9c6b; flex: none; margin-top: 2px; stroke-width: 2.6; }
.adv-card .more { margin-top: 20px; font-family: var(--thai); font-weight: 600; color: var(--red); display: inline-flex; gap: 6px; transition: gap .3s; }
.adv-card:hover .more { gap: 12px; }
.adv-close { text-align: center; max-width: 780px; margin: 54px auto 0; font-family: var(--thai); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.55; }
.adv-close .red-text { color: var(--red); }
@media (max-width: 860px) { .adv-grid { grid-template-columns: 1fr; } }

/* ---------- Equation / diagram ---------- */
.equation { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 50px auto; max-width: 520px; }
.eq-node {
  width: 100%; text-align: center; padding: 26px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--white); position: relative;
  font-family: var(--thai);
}
.eq-node .big { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.eq-node .label { color: var(--ink-mute); margin-top: 6px; font-size: .95rem; }
.eq-node.sky { border-color: rgba(192,160,98,.5); background: linear-gradient(180deg,#fff,rgba(192,160,98,.06)); }
.eq-node.sky .big { color: var(--gold-deep); }
.eq-node.earth { border-color: rgba(184,18,26,.4); background: linear-gradient(180deg,#fff,var(--red-tint)); }
.eq-node.earth .big { color: var(--red); }
.eq-node.result { background: var(--ink); color: #fff; border: none; }
.eq-node.result .label { color: rgba(255,255,255,.65); }
.eq-arrow { width: 1px; height: 40px; background: var(--ink-mute); position: relative; margin: 6px 0; }
.eq-arrow::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink-mute); }

/* ---------- Navigation system cards ---------- */
.nav-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.ncard {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 26px; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  position: relative; overflow: hidden;
}
.ncard::before { content:""; position:absolute; left:0; top:0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ncard:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.22); }
.ncard:hover::before { transform: scaleX(1); }
.ncard .ic { font-size: 2.2rem; margin-bottom: 16px; }
.ncard h3 { font-family: var(--thai); font-size: 1.25rem; margin-bottom: 8px; }
.ncard .en { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.05rem; }
.ncard .arrow { margin-top: 22px; color: var(--red); font-weight: 600; font-family: var(--thai); display: inline-flex; gap: 6px; transition: gap .3s; }
.ncard:hover .arrow { gap: 14px; }

/* ---------- Dashboard / scores ---------- */
.dash-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dash {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 34px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.25);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.dash-head .title { font-family: var(--thai); font-weight: 700; font-size: 1.1rem; }
.dash-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,.18); }
.score-main { display: flex; align-items: center; gap: 26px; margin-bottom: 30px; }
.gauge { position: relative; width: 140px; height: 140px; flex: none; }
.gauge svg { transform: rotate(-90deg); }
.gauge .val { position: absolute; inset: 0; display: grid; place-items: center; }
.gauge .val b { font-size: 2.2rem; font-weight: 800; font-family: var(--sans); }
.gauge .val span { display:block; font-size:.7rem; letter-spacing:.2em; color: var(--ink-mute); text-transform: uppercase; }
.score-main .meta .k { font-family: var(--thai); font-weight: 700; font-size: 1.2rem; }
.score-main .meta .s { font-family: var(--thai); color: var(--ink-mute); }
.bars { display: flex; flex-direction: column; gap: 18px; }
.bar-row .top { display: flex; justify-content: space-between; font-family: var(--thai); font-size: .92rem; margin-bottom: 7px; }
.bar-row .track { height: 8px; border-radius: 100px; background: var(--paper-2); overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 100px; width: 0; transition: width 1.6s var(--ease); background: linear-gradient(90deg, var(--red), var(--gold)); }

/* ---------- Chat (Hoklong) ---------- */
.chat-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.chat {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.25);
}
.chat-top { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-top .av { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color:#fff; display: grid; place-items: center; }
.chat-top .av svg { width: 22px; height: 22px; }
.chat-top .nm { font-family: var(--thai); font-weight: 700; }
.chat-top .st { font-family: var(--thai); font-size: .78rem; color: #2ecc71; }
.chat-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.msg { max-width: 80%; padding: 13px 17px; border-radius: 16px; font-family: var(--thai); font-size: .95rem; line-height: 1.55; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute); animation: blink 1.2s infinite; }
.typing i:nth-child(2){ animation-delay:.2s;} .typing i:nth-child(3){ animation-delay:.4s;}
@keyframes blink { 0%,60%,100%{ opacity:.25; transform: translateY(0);} 30%{ opacity:1; transform: translateY(-3px);} }
.chat-input { display: flex; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line); }
.chat-input .box { flex: 1; background: var(--paper); border-radius: 100px; padding: 12px 18px; color: var(--ink-mute); font-family: var(--thai); font-size: .9rem; }
.chat-input .send { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }

/* ---------- Tools grid ---------- */
.tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 54px; }
.tool {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 20px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
}
.tool:hover { transform: translateY(-8px); background: var(--ink); color: #fff; box-shadow: 0 26px 50px -26px rgba(0,0,0,.4); }
.tool:hover .tname { color: #fff; }
.tool .ic { font-size: 2.1rem; margin-bottom: 14px; }
.tool .tname { font-family: var(--thai); font-weight: 600; font-size: 1rem; transition: color .4s; }

/* ---------- Case study ---------- */
.case {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 40px 90px -50px rgba(0,0,0,.3);
}
.case .col { padding: 48px 44px; }
.case .col.before { background: var(--paper); }
.case .col.after { background: linear-gradient(180deg, #fff, var(--red-tint)); }
.case .tag { font-family: var(--thai); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; margin-bottom: 22px; }
.case .before .tag { color: var(--ink-mute); }
.case .after .tag { color: var(--red); }
.case .q { font-family: var(--thai); font-size: 1.18rem; line-height: 1.7; color: var(--ink-soft); }
.case .stat { margin-top: 26px; display: flex; gap: 26px; }
.case .stat .n { font-size: 2rem; font-weight: 800; }
.case .after .stat .n { color: var(--red); }
.case .stat .l { font-family: var(--thai); font-size: .82rem; color: var(--ink-mute); }

/* ---------- Be Original ---------- */
.original { background: var(--white); }
.original .wrap { display: grid; place-items: center; text-align: center; min-height: 60vh; }
.original .big {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(120deg, var(--ink), var(--red), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(50px,7vw,90px); text-align: center; position: relative; overflow: hidden; }
.cta-band .mesh { position: absolute; width: 40vw; height: 40vw; border-radius: 50%; filter: blur(80px); }
.cta-band .mesh.a { background: radial-gradient(circle, rgba(184,18,26,.5), transparent 70%); top: -20%; left: -5%; }
.cta-band .mesh.b { background: radial-gradient(circle, rgba(192,160,98,.4), transparent 70%); bottom: -25%; right: -5%; }
.cta-band h2 { font-family: var(--thai); font-weight: 800; font-size: clamp(1.8rem,4vw,3rem); position: relative; }
.cta-band p { position: relative; color: rgba(255,255,255,.7); font-family: var(--thai); margin: 18px auto 34px; max-width: 560px; }
.cta-band .btn-row { position: relative; justify-content: center; }
.cta-band .btn.ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); padding: 60px 0 32px; border-top: 1px solid var(--line); }
/* ซ่อนเมนู+footer เฉพาะบนมือถือ (หน้าสมาชิก/คู่มือ) — บน PC แสดงปกติ */
@media (max-width: 820px) {
  body.hide-chrome-mobile .nav,
  body.hide-chrome-mobile .footer { display: none !important; }
  body.hide-chrome-mobile { padding-top: 0 !important; }
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer .desc { font-family: var(--thai); color: var(--ink-soft); max-width: 320px; }
.fcol h4 { font-family: var(--thai); font-size: .95rem; margin-bottom: 16px; color: var(--ink); }
.fcol a { display: block; font-family: var(--thai); color: var(--ink-soft); padding: 6px 0; transition: color .3s, padding-left .3s; }
.fcol a:hover { color: var(--red); padding-left: 6px; }
.fcol a.tel { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.fcol a.tel .ico-svg { width: 1rem; height: 1rem; color: var(--red); flex: none; }
.fcol a.tel:hover { padding-left: 0; color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: transform .4s var(--ease), background .35s, color .35s, border-color .35s; }
.socials a:hover { padding-left: 0; background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.socials .ico-svg { width: 1.2rem; height: 1.2rem; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--thai); font-size: .85rem; color: var(--ink-mute); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.footer-top .footer-tagline { font-family: var(--thai); color: var(--ink-soft); max-width: 440px; font-size: .95rem; }
.footer-mega { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 34px 26px; }
.footer-mega .fcol h4 { margin-bottom: 14px; font-size: .95rem; }
.footer-mega .fcol a { display: block; font-family: var(--thai); color: var(--ink-soft); font-size: .86rem; padding: 5px 0; transition: color .3s, padding-left .3s; }
.footer-mega .fcol a:hover { color: var(--red); padding-left: 6px; }
.footer-pillars { display: flex; flex-direction: column; gap: 26px; }
.footer-pillar .p-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.footer-pillar .p-name { font-family: var(--sans); font-weight: 800; font-size: 1rem; letter-spacing: .01em; color: var(--ink); }
.footer-pillar .p-tag { font-family: var(--thai); font-size: .82rem; color: var(--ink-mute); }
.footer-pillar .p-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 22px; }
.footer-pillar .fcol h4 { margin-bottom: 8px; font-size: .85rem; }
.footer-pillar .fcol a { display: block; font-family: var(--thai); color: var(--ink-soft); font-size: .82rem; line-height: 1.35; padding: 2.5px 0; transition: color .3s, padding-left .3s; }
.footer-pillar .fcol a:hover { color: var(--red); padding-left: 6px; }
/* single-group pillars: flow links into multiple columns to fill width */
.footer-pillar .p-groups.solo { display: block; }
.footer-pillar .p-groups.solo .lks { column-width: 150px; column-gap: 26px; }
.footer-pillar .p-groups.solo .lks a { break-inside: avoid; }
.footer-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-contact .phones { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-contact .phones a { font-family: var(--thai); color: var(--ink-soft); }
.footer-contact .phones a.tel { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.footer-contact .phones a.tel .ico-svg { width: 1rem; height: 1rem; color: var(--red); }
.footer-contact .phones a:hover { color: var(--red); }
.footer-contact .socials { margin-top: 0; }
.footer-legal { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; font-family: var(--thai); font-size: .8rem; color: var(--ink-mute); }
.footer-legal .copy { margin-right: 20px; }
.footer-legal .links { display: flex; flex-wrap: wrap; }
.footer-legal .links a { padding: 0 14px; border-left: 1px solid var(--line); color: var(--ink-mute); transition: color .3s; }
.footer-legal .links a:first-child { padding-left: 0; border-left: none; }
.footer-legal .links a:hover { color: var(--red); padding-left: 14px; }
.footer-legal .links a:first-child:hover { padding-left: 0; }
.footer-legal .region { margin-left: auto; }
@media (max-width: 700px) { .footer-legal .region { margin-left: 0; } .footer-legal .links a:first-child { padding-left: 0; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden;
  background: radial-gradient(900px 520px at 100% -10%, rgba(192,160,98,.11), transparent 60%), radial-gradient(720px 520px at -10% 115%, rgba(184,18,26,.06), transparent 55%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(192,160,98,.55), transparent); }
/* ลายเส้นคอนสเตลเลชันสไตล์แบรนด์ (ใช้กับทุก hero อัตโนมัติ) */
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64%; z-index: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' fill='none' stroke='%23bfa05f' stroke-width='1.4'%3E%3Cpath d='M60 250 L260 190 L450 230 L640 160 L840 205 L1040 140 L1180 185' opacity='.45'/%3E%3Cpath d='M260 190 L285 70 M640 160 L615 60 M1040 140 L1085 55' opacity='.28'/%3E%3Cg fill='%23bfa05f' stroke='none' opacity='.5'%3E%3Ccircle cx='60' cy='250' r='3'/%3E%3Ccircle cx='260' cy='190' r='3.6'/%3E%3Ccircle cx='450' cy='230' r='3'/%3E%3Ccircle cx='640' cy='160' r='4.2'/%3E%3Ccircle cx='840' cy='205' r='3'/%3E%3Ccircle cx='1040' cy='140' r='3.6'/%3E%3Ccircle cx='285' cy='70' r='2.6'/%3E%3Ccircle cx='615' cy='60' r='2.6'/%3E%3Ccircle cx='1085' cy='55' r='2.6'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center bottom; background-size: 1180px auto; }
@media (max-width: 760px) { .page-hero { padding-top: 104px; } .page-hero::before { background-size: 760px auto; opacity: .4; } }
/* มือถือ: ทำ hero ให้กระชับเหมือนแอป — ลดความสูง ซ่อนลายตกแต่ง ตัวอักษรเล็กลง */
@media (max-width: 700px) {
  .page-hero { padding-bottom: 14px; }
  .page-hero::before, .page-hero .hero-art, .page-hero .mesh { display: none !important; }
  .page-hero::after { opacity: .5; }
  .page-hero .display { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .page-hero .lead { font-size: .95rem; line-height: 1.65; margin-top: 10px; }
  .page-hero .eyebrow { font-size: .74rem; }
  .page-hero .sub { font-size: .95rem; }
}
/* โหมดแอป: hero กระชับสุด (มี app-bar อยู่แล้ว) */
html.app .page-hero { padding-top: 18px; padding-bottom: 12px; }
/* หน้าที่ซ่อนเมนูบนมือถือ ไม่ต้องเว้นที่ว่างเผื่อเมนู */
@media (max-width: 820px) {
  body.hide-chrome-mobile .page-hero { padding-top: 26px; }
  body.hide-chrome-mobile .lo-hero { padding-top: 28px; }
  body.hide-chrome-mobile .fut { padding-top: 28px; }
}
.page-hero .mesh { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.page-hero .mesh.a { width: 38vw; height: 38vw; right: -8vw; top: -12vw; background: radial-gradient(circle, rgba(184,18,26,.22), transparent 70%); }
.page-hero .mesh.b { width: 30vw; height: 30vw; left: -8vw; bottom: -20vw; background: radial-gradient(circle, rgba(192,160,98,.25), transparent 70%); }
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; }
.crumb { font-family: var(--thai); font-size: .85rem; color: var(--ink-mute); margin-bottom: 18px; }
.crumb a:hover { color: var(--red); }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: clamp(60px,8vw,110px); }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .visual { order: 2; }
.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px;
  box-shadow: 0 36px 80px -50px rgba(0,0,0,.3); position: relative; overflow: hidden;
}
.feature-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { font-family: var(--thai); padding-left: 30px; position: relative; color: var(--ink-soft); }
.feature-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* pricing / packages */
.pkgs { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 50px; }
.pkg { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 38px 32px; transition: transform .5s var(--ease), box-shadow .5s; position: relative; }
.pkg:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.2); }
.pkg.featured { border-color: var(--red); box-shadow: 0 30px 70px -36px rgba(184,18,26,.5); }
.pkg.featured::before { content: "ยอดนิยม"; position: absolute; top: 20px; right: 20px; background: var(--red); color:#fff; font-family: var(--thai); font-size: .72rem; padding: 4px 12px; border-radius: 100px; }
.pkg-guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 18px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(184,18,26,.07), rgba(192,160,98,.12)); border: 1px solid rgba(184,18,26,.2); }
.pkg-guarantee svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 1px; }
.pkg-guarantee b { font-family: var(--thai); font-size: .9rem; color: var(--red); display: block; line-height: 1.35; }
.pkg-guarantee small { font-family: var(--thai); font-size: .76rem; color: var(--ink-soft); display: block; margin-top: 3px; }
.pkg h3 { font-family: var(--thai); font-size: 1.4rem; margin-bottom: 8px; }
.pkg .price { font-size: 2.2rem; font-weight: 800; margin: 14px 0; }
.pkg .price small { font-size: .9rem; color: var(--ink-mute); font-weight: 400; font-family: var(--thai); }
.pkg ul { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.pkg li { font-family: var(--thai); padding-left: 26px; position: relative; color: var(--ink-soft); }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ---------- Package / pricing section ---------- */
.steps-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.flow-step { display: flex; align-items: center; gap: 16px; padding: 18px 26px; }
.flow-step .n {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem; box-shadow: 0 8px 20px -8px rgba(184,18,26,.6);
}
.flow-step .tx { font-family: var(--thai); line-height: 1.35; }
.flow-step .tx b { display: block; font-weight: 700; font-size: 1.05rem; }
.flow-step .tx span { color: var(--ink-mute); font-size: .9rem; }
.flow-sep { display: grid; place-items: center; color: var(--gold); font-size: 1.4rem; }

.pkg .desc { font-family: var(--thai); color: var(--ink-soft); font-size: .95rem; line-height: 1.6; min-height: 96px; margin-bottom: 6px; }
.pkg .old { font-family: var(--thai); font-weight: 700; color: var(--red); font-size: .9rem; background: var(--red-tint); display: inline-block; padding: 3px 12px; border-radius: 100px; margin: -6px 0 14px; }
.pkg .gets {
  font-family: var(--thai); font-weight: 700; font-size: .9rem; color: var(--red);
  display: flex; align-items: center; gap: 10px; margin: 4px 0 4px;
}
.pkg .gets::before, .pkg .gets::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.pkg .icotop { font-size: 2.6rem; line-height: 1; margin-bottom: 8px; }
.pkg.tier-basic { border-top: 4px solid #2f6db0; }
.pkg.tier-insight { border-top: 4px solid #2e9c6b; }
.pkg.tier-master { border-top: 4px solid var(--red); }
.pkg .tier-name { font-family: var(--sans); font-weight: 800; letter-spacing: .08em; font-size: 1.5rem; }
.pkg.tier-basic .tier-name { color: #2f6db0; }
.pkg.tier-insight .tier-name { color: #2e9c6b; }
.pkg.tier-master .tier-name { color: var(--red); }
.pkg .tagline { font-family: var(--thai); font-weight: 700; font-size: 1.05rem; margin: 6px 0 0; }

.bonus-band {
  margin-top: 36px; background: var(--ink); color: #fff; border-radius: 22px;
  padding: 32px 40px; text-align: center; position: relative; overflow: hidden;
}
.bonus-band .mesh { position: absolute; width: 30vw; height: 30vw; border-radius: 50%; filter: blur(70px); }
.bonus-band .mesh.a { background: radial-gradient(circle, rgba(184,18,26,.5), transparent 70%); top: -40%; left: 10%; }
.bonus-band .mesh.b { background: radial-gradient(circle, rgba(192,160,98,.45), transparent 70%); bottom: -50%; right: 10%; }
.bonus-band .gift { position: relative; font-family: var(--thai); font-weight: 800; font-size: clamp(1.2rem,2.6vw,1.7rem); }
.bonus-band .gift .hl { color: var(--gold-soft); }
.bonus-band .sub { position: relative; font-family: var(--thai); color: rgba(255,255,255,.75); margin-top: 8px; }

/* ---------- Line icons ---------- */
.ico-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: none; stroke: currentColor; flex: none; }
.eyebrow .ico-svg { width: 1.05em; height: 1.05em; vertical-align: -0.18em; margin-right: 2px; }
.btn .ico .ico-svg { width: 1.15em; height: 1.15em; }
/* icon containers: give them an accent color (currentColor drives the stroke) */
.pillar .ic, .ncard .ic, .tool .ic, .benefit .ic { color: var(--red); }
.tool:hover .ic { color: #fff; }
.icotop { color: var(--red); }
.pkg.tier-basic .icotop { color: #2f6db0; }
.pkg.tier-insight .icotop { color: #2e9c6b; }
.pkg.tier-master .icotop { color: var(--red); }
/* ฮวงจุ้ย: แพ็กเกจมาตรฐาน (global · ใช้ทุกหน้าประเภทสถานที่) */
.pkgs .pkg { display: flex; flex-direction: column; }
.pkgs .pkg .btn { margin-top: auto; }
.pkg .result-tag { align-self: flex-start; font-family: var(--thai); font-size: .74rem; font-weight: 700; letter-spacing: .03em; color: var(--gold-deep); background: linear-gradient(135deg, rgba(192,160,98,.16), rgba(184,18,26,.05)); border: 1px solid rgba(192,160,98,.4); padding: 4px 13px; border-radius: 100px; margin: 6px 0 2px; }
.pkg .price .from { font-family: var(--thai); font-size: .9rem; font-weight: 600; color: var(--ink-mute); margin-right: 4px; }
.pkg .fit-for { font-family: var(--thai); font-size: .85rem; color: var(--ink-soft); line-height: 1.6; margin: 4px 0 22px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pkg .fit-for span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 5px; }
.pkgs.has-strategic { grid-template-columns: repeat(4, 1fr); }
.pkg.tier-strategic { border-top: 4px solid var(--gold-deep); }
.pkg.tier-strategic .tier-name, .pkg.tier-strategic .icotop { color: var(--gold-deep); }
.fs-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(12px,2.5vw,26px); max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; background: linear-gradient(180deg,#fff,var(--paper)); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; box-shadow: 0 20px 50px -34px rgba(0,0,0,.2); }
.fss-item { display: flex; align-items: center; gap: 8px; font-family: var(--thai); }
.fss-k { font-weight: 800; color: var(--red); font-size: 1.05rem; }
.fss-eq { color: var(--gold); font-weight: 800; }
.fss-v { font-weight: 600; color: var(--ink); }
.fss-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 720px) { .fss-dot { display: none; } .fs-summary { flex-direction: column; gap: 10px; } }
.phil-card .pic { color: var(--red); }
.phil-card:nth-child(2) .pic { color: var(--gold-deep); }
.phil-card:nth-child(3) .pic { color: var(--ink); }
.phil-card:nth-child(4) .pic { color: #2e9c6b; }
.tl-step .dot { color: var(--gold-deep); }
.tf-node .box { color: var(--red); }
.candle .em { color: var(--red); }
.article .thumb { color: var(--red); }
.bar-row .top .ico-svg { width: 1.05em; height: 1.05em; vertical-align: -0.16em; margin-right: 6px; color: var(--gold-deep); }
.gift .ico-svg { color: var(--gold-soft); width: 1.1em; height: 1.1em; vertical-align: -0.16em; margin-right: 4px; }
.footer-bottom .ico-svg { color: var(--gold-deep); width: 1.05em; height: 1.05em; vertical-align: -0.16em; }
.cta-band h2 .ico-svg { color: var(--gold-soft); }
.compare .yes .ico-svg, .compare .no .ico-svg { width: 1.05em; height: 1.05em; stroke-width: 2.4; vertical-align: -0.12em; }

/* ---------- Comparison table ---------- */
.compare-wrap { margin-top: 44px; overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 70px -50px rgba(0,0,0,.25); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-family: var(--thai); }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 700; font-size: 1rem; color: rgba(255,255,255,.92); background: var(--ink); padding-top: 20px; padding-bottom: 20px; position: relative; }
.compare thead th:first-child { background: var(--ink); text-align: left; color: rgba(255,255,255,.7); font-weight: 600; }
.compare thead th.c-basic { background: #2a2421; }
.compare thead th.c-insight { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #fff; }
.compare thead th.c-insight::after { content: "ยอดนิยม"; display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; margin-top: 5px; color: rgba(255,255,255,.85); }
.compare thead th.c-master { background: linear-gradient(180deg, var(--red-bright), var(--red-deep)); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); background: var(--paper); }
.compare tbody td { font-size: .95rem; color: var(--ink-soft); }
.compare td.hl { background: rgba(192,160,98,.09); font-weight: 600; color: var(--ink); border-left: 1px solid rgba(192,160,98,.25); border-right: 1px solid rgba(192,160,98,.25); }
.compare .yes { color: #2e9c6b; }
.compare .yes .ico-svg { width: 1.2em; height: 1.2em; stroke-width: 2.6; }
.compare .no { color: var(--ink-mute); opacity: .55; }
.compare .no .ico-svg { width: 1em; height: 1em; stroke-width: 2.2; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(184,18,26,.03); }
.compare tbody tr:hover td.hl { background: rgba(192,160,98,.14); }
.note-line { font-family: var(--thai); text-align: center; color: var(--ink-mute); font-size: .9rem; margin-top: 22px; }

/* mobile comparison cards (no horizontal scroll) */
.compare-cards { display: none; }
.compare-cards .cc { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px -40px rgba(0,0,0,.25); }
.compare-cards .cc-head { padding: 15px 20px; color: #fff; font-family: var(--thai); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.compare-cards .cc.basic .cc-head { background: #2a2421; }
.compare-cards .cc.insight .cc-head { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.compare-cards .cc.master .cc-head { background: linear-gradient(90deg, var(--red-bright), var(--red-deep)); }
.compare-cards .cc-head .pop { font-size: .66rem; font-weight: 700; letter-spacing: .08em; background: rgba(255,255,255,.25); padding: 3px 11px; border-radius: 100px; }
.compare-cards .cc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--thai); font-size: .94rem; }
.compare-cards .cc-row .k { color: var(--ink-mute); }
.compare-cards .cc-row .v { font-weight: 600; color: var(--ink); text-align: right; display: inline-flex; align-items: center; gap: 6px; }
.compare-cards .cc-row .v.yes { color: #2e9c6b; }
.compare-cards .cc-row .v.no { color: var(--ink-mute); opacity: .5; }
.compare-cards .cc-row .v .ico-svg { width: 1.15em; height: 1.15em; stroke-width: 2.4; }
@media (max-width: 720px) {
  .compare-wrap { display: none; }
  .compare-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
}

/* ---------- Benefits row ---------- */
.benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 50px; }

/* ---------- Mobile grid collapse (override inline repeat columns) ---------- */
@media (max-width: 820px) {
  .nav-cards, .benefits, .pkgs, .tool-grid, .book-grid, .story-grid { grid-template-columns: 1fr 1fr !important; }
  .pillars { grid-template-columns: 1fr 1fr 1fr !important; }
}
@media (max-width: 520px) {
  .nav-cards, .benefits, .pkgs, .tool-grid, .book-grid, .story-grid, .reviews, .start-grid, .pillars { grid-template-columns: 1fr !important; }
}
.benefit { text-align: center; padding: 30px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .5s var(--ease), box-shadow .5s; }
.benefit:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.2); }
.benefit .ic { font-size: 2rem; margin-bottom: 14px; }
.benefit h4 { font-family: var(--thai); font-size: 1.08rem; margin-bottom: 8px; color: var(--red); }
.benefit p { font-family: var(--thai); font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Candle products ---------- */
.candles { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 50px; align-items: end; }
.candle { text-align: center; background: linear-gradient(180deg,#fff,var(--red-tint)); border: 1px solid var(--line); border-radius: 22px; padding: 36px 26px; transition: transform .5s var(--ease), box-shadow .5s; position: relative; }
.candle:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -32px rgba(184,18,26,.35); }
.candle.feat { border-color: var(--red); box-shadow: 0 30px 70px -36px rgba(184,18,26,.45); }
.candle.feat::before { content: "รุ่นเปิดทรัพย์"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-family: var(--thai); font-size: .72rem; padding: 4px 14px; border-radius: 100px; }
.candle .em { font-size: clamp(2.6rem,6vw,4rem); line-height: 1; margin-bottom: 14px; }
.candle .sz { font-family: var(--thai); font-weight: 700; font-size: 1.3rem; }
.candle .pr { font-size: 2rem; font-weight: 800; color: var(--red); margin-top: 6px; }
.candle .pr small { font-size: .9rem; font-weight: 400; color: var(--ink-mute); font-family: var(--thai); }

/* article cards */
.articles { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 50px; }
.article { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.article:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.22); }
.article .thumb { height: 180px; background: linear-gradient(135deg, var(--red-tint), rgba(192,160,98,.18)); display: grid; place-items: center; font-size: 3rem; }
.article .body { padding: 26px; }
.article .cat { font-family: var(--thai); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.article h3 { font-family: var(--thai); font-size: 1.2rem; margin: 10px 0 12px; line-height: 1.35; }
.article p { font-family: var(--thai); color: var(--ink-soft); font-size: .92rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 50px; }
.step { position: relative; padding: 34px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: var(--thai); font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-family: var(--thai); color: var(--ink-soft); font-size: .95rem; }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 50px; text-align: center; }
.stat-strip .n { font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 800; color: var(--red); line-height: 1; }
.stat-strip .l { font-family: var(--thai); color: var(--ink-mute); margin-top: 8px; }

/* divider quote */
.quote-band { text-align: center; max-width: 880px; margin: 0 auto; }
.quote-band .big-q { font-family: var(--thai); font-weight: 700; font-size: clamp(1.6rem,3.4vw,2.6rem); line-height: 1.4; }

/* =========================================================
   ABOUT PAGE — premium editorial
   ========================================================= */
.ab-section { padding: clamp(90px, 14vw, 200px) 0; position: relative; }
.ab-eyebrow { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 28px; display: block; }
.ab-h { font-family: var(--thai); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.12; letter-spacing: -.02em; }
.ab-sub { font-family: var(--thai); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.45; color: var(--ink); }
.ab-body { font-family: var(--thai); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.85; color: var(--ink-soft); }
.ab-narrow { max-width: 760px; }
.ab-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

/* big 30/70 stat */
.bigstat { display: flex; gap: 50px; flex-wrap: wrap; margin-top: 44px; }
.bigstat .item .n { font-size: clamp(3rem,7vw,5.5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.bigstat .item:first-child .n { color: var(--gold-deep); }
.bigstat .item:last-child .n { color: var(--red); }
.bigstat .item .l { font-family: var(--thai); color: var(--ink-soft); margin-top: 10px; font-size: 1.05rem; }

/* Venn of person/time/place */
.venn { position: relative; width: min(440px, 92%); aspect-ratio: 1; margin: 0 auto; }
.venn .c { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; mix-blend-mode: multiply; font-family: var(--thai); font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.venn.in .c { opacity: 1; transform: scale(1); }
.venn .c span { font-size: 1.15rem; }
.venn .c1 { top: 0; left: 50%; transform: translateX(-50%) scale(.6); background: rgba(184,18,26,.16); color: var(--red-deep); }
.venn.in .c1 { transform: translateX(-50%) scale(1); }
.venn .c2 { bottom: 4%; left: 2%; background: rgba(192,160,98,.22); color: var(--gold-deep); transition-delay: .15s; }
.venn .c3 { bottom: 4%; right: 2%; background: rgba(26,23,21,.10); color: var(--ink); transition-delay: .3s; }
.venn .core { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; }
.venn .core b { font-family: var(--thai); font-weight: 800; color: var(--red); background: #fff; padding: 8px 20px; border-radius: 100px; box-shadow: 0 10px 30px -12px rgba(184,18,26,.5); opacity: 0; transition: opacity .8s .6s var(--ease); }
.venn.in .core b { opacity: 1; }

/* Timeline */
.timeline { position: relative; margin-top: 60px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--red)); }
.tl-step { text-align: center; position: relative; }
.tl-step .dot { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.5rem; position: relative; z-index: 2; box-shadow: 0 10px 24px -12px rgba(0,0,0,.2); }
.tl-step:last-child .dot { border-color: var(--red); background: var(--red); }
.tl-step h4 { font-family: var(--thai); font-size: 1.05rem; }
.tl-step p { font-family: var(--thai); font-size: .85rem; color: var(--ink-mute); margin-top: 4px; }

/* Founder */
.founder { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.founder .mesh { position: absolute; border-radius: 50%; filter: blur(100px); }
.founder .mesh.a { width: 36vw; height: 36vw; background: radial-gradient(circle, rgba(184,18,26,.4), transparent 70%); top: -10%; right: -8%; }
.founder .mesh.b { width: 30vw; height: 30vw; background: radial-gradient(circle, rgba(192,160,98,.3), transparent 70%); bottom: -15%; left: -8%; }
.founder .grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,6vw,80px); align-items: center; }
.portrait { position: relative; aspect-ratio: 3/4; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #2a2421, #161311); border: 1px solid rgba(192,160,98,.35); box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); display: grid; place-items: center; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(192,160,98,.2); pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { display: grid; place-items: center; gap: 16px; text-align: center; color: rgba(216,192,138,.85); padding: 30px; }
.portrait .ph svg { width: 92px; height: 92px; opacity: .9; }
.portrait .ph .mono { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold-soft); }
.portrait .ph small { font-family: var(--thai); font-size: .78rem; color: rgba(255,255,255,.4); max-width: 200px; }
.founder .role { font-family: var(--thai); letter-spacing: .25em; text-transform: uppercase; font-size: .78rem; color: var(--gold-soft); font-weight: 600; }
.founder .name { font-family: var(--thai); font-weight: 800; font-size: clamp(1.5rem,3vw,2.3rem); margin: 8px 0 4px; }
.founder .name-en { font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.6); font-size: 1.1rem; }
.founder .f-h { font-family: var(--thai); font-weight: 700; font-size: clamp(1.4rem,2.6vw,2rem); line-height: 1.3; margin: 26px 0 18px; }
.founder .f-body { font-family: var(--thai); color: rgba(255,255,255,.72); line-height: 1.85; }
.founder .chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.founder .chips span { font-family: var(--thai); font-size: .85rem; padding: 7px 16px; border-radius: 100px; border: 1px solid rgba(192,160,98,.4); color: var(--gold-soft); }
.founder blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin-top: 26px; font-family: var(--thai); font-weight: 600; font-size: clamp(1.2rem,2.2vw,1.6rem); line-height: 1.5; color: #fff; }

/* Philosophy cards */
.phil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.phil-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 38px 28px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); position: relative; overflow: hidden; }
.phil-card:hover { transform: translateY(-10px); box-shadow: 0 36px 70px -36px rgba(0,0,0,.25); }
.phil-card .pic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 22px; background: var(--red-tint); }
.phil-card:nth-child(2) .pic { background: rgba(192,160,98,.14); }
.phil-card:nth-child(3) .pic { background: rgba(26,23,21,.06); }
.phil-card:nth-child(4) .pic { background: rgba(46,156,107,.12); }
.phil-card h3 { font-family: var(--thai); font-size: 1.4rem; margin-bottom: 10px; }
.phil-card p { font-family: var(--thai); color: var(--ink-soft); font-size: .98rem; line-height: 1.7; }
.phil-bottom { text-align: center; margin-top: 50px; font-family: var(--thai); font-weight: 700; font-size: clamp(1.3rem,2.6vw,1.9rem); color: var(--ink); }

/* Vision dark */
.vision-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.vision-dark .mesh { position: absolute; width: 44vw; height: 44vw; border-radius: 50%; filter: blur(110px); }
.vision-dark .mesh.a { background: radial-gradient(circle, rgba(184,18,26,.4), transparent 70%); top: -20%; left: -5%; }
.vision-dark .mesh.b { background: radial-gradient(circle, rgba(192,160,98,.32), transparent 70%); bottom: -25%; right: -5%; }
.vision-dark .inner { position: relative; z-index: 2; }
.vision-dark .ab-sub { color: #fff; }
.vision-dark .ab-body { color: rgba(255,255,255,.72); }
.vlist { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px 40px; margin-top: 36px; max-width: 700px; }
.vlist li { font-family: var(--thai); font-size: 1.15rem; padding-left: 34px; position: relative; color: rgba(255,255,255,.9); }
.vlist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold); }

/* Future transform */
.transform { display: flex; align-items: center; justify-content: center; gap: clamp(20px,4vw,50px); margin-top: 60px; flex-wrap: wrap; }
.tf-node { text-align: center; }
.tf-node .box { width: 130px; height: 130px; border-radius: 26px; display: grid; place-items: center; font-size: 3rem; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 50px -30px rgba(0,0,0,.2); }
.tf-node.ai .box { background: var(--ink); color: var(--gold-soft); border: none; }
.tf-node p { font-family: var(--thai); margin-top: 16px; font-weight: 600; }
.tf-arrow { font-size: 2rem; color: var(--gold); }
.tf-arrow .small { font-family: var(--serif); font-style: italic; font-size: .9rem; display: block; color: var(--ink-mute); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .nav-cards, .tools { grid-template-columns: repeat(2,1fr); }
  .dash-split, .chat-split, .feature-row, .feature-row.flip .visual { grid-template-columns: 1fr; }
  .feature-row.flip .visual { order: 0; }
  .case { grid-template-columns: 1fr; }
  .pillars, .steps, .pkgs, .articles { grid-template-columns: 1fr; }
  .ab-split, .founder .grid { grid-template-columns: 1fr; }
  .founder .grid .portrait { max-width: 340px; margin: 0 auto; }
  .venn { width: min(340px, 80%); margin: 8px auto 0; }
  .stat-strip, .footer-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0;
    background: #faf8f5; padding: 20px 26px 26px; gap: 6px;
    border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(26,23,21,.3); max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav.open .nav-group { width: 100%; }
  .nav.open .nav-top { width: 100%; justify-content: space-between; padding: 13px 0; font-size: 1rem; font-weight: 700; border-top: 1px solid var(--line); }
  .nav.open .nav-top::after { display: none; }
  .nav.open .nav-top .chev { display: inline-block; width: 1em; height: 1em; opacity: .8; transition: transform .3s var(--ease); }
  .nav.open .nav-group.open .nav-top .chev { transform: rotate(180deg); }
  .nav.open .nav-panel {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    box-shadow: none; border: 0; background: transparent;
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .nav.open .nav-group.open .nav-panel { max-height: 1600px; }
  .nav.open .nav-panel .mega-inner { display: block; padding: 4px 0 10px 12px; }
  .nav.open .nav-panel .wrap { padding: 0; max-width: none; }
  .nav.open .mega-col { margin-bottom: 8px; }
  .nav.open .mega-col h4 { margin: 12px 0 4px; }
  .nav.open .mega-col a { padding: 8px 4px; font-size: .95rem; }
  .nav.open .mega-feature { display: none; }
  .nav.open .nav-links > a { padding: 13px 0; font-weight: 700; border-top: 1px solid var(--line); }
  .nav.open .nav-links > a:first-child { border-top: 0; }
}
@media (max-width: 560px) {
  .tools { grid-template-columns: repeat(2,1fr); }
  .pillars .plus { transform: rotate(90deg); }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   OUTCOMES (What you'll get)
   ========================================================= */
.outcomes { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px 28px; margin-top: 44px; }
.outcome { display: flex; gap: 16px; align-items: flex-start; }
.outcome .oi { width: 46px; height: 46px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; flex: none; color: var(--red); }
.outcome .oi .ico-svg { width: 1.35rem; height: 1.35rem; }
.outcome .ot b { display: block; font-family: var(--thai); font-size: 1.05rem; color: var(--ink); }
.outcome .ot span { font-family: var(--thai); color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
@media (max-width: 720px) { .outcomes { grid-template-columns: 1fr; } }

/* =========================================================
   ASSESSMENTS / TOOLS
   ========================================================= */
.assess-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 50px; }
.assess-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 26px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; display: flex; flex-direction: column; }
.assess-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -32px rgba(0,0,0,.2); }
.assess-card .ic { font-size: 0; color: var(--red); margin-bottom: 16px; }
.assess-card .ic .ico-svg { width: 2rem; height: 2rem; }
.assess-card h3 { font-family: var(--thai); font-size: 1.2rem; margin-bottom: 8px; }
.assess-card p { font-family: var(--thai); color: var(--ink-soft); font-size: .92rem; line-height: 1.6; flex: 1; }
.assess-card .free { display: inline-block; align-self: flex-start; margin-bottom: 14px; background: rgba(46,156,107,.12); color: #2e9c6b; font-family: var(--thai); font-weight: 700; font-size: .72rem; padding: 4px 12px; border-radius: 100px; }
.assess-card .soon { background: rgba(192,160,98,.16); color: var(--gold-deep); }
.assess-card .go { margin-top: 18px; font-family: var(--thai); font-weight: 600; color: var(--red); display: inline-flex; gap: 6px; transition: gap .3s; }
.assess-card:hover .go { gap: 12px; }

/* Chi Energy interactive */
.chi-tool { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px,4vw,48px); box-shadow: 0 40px 90px -50px rgba(0,0,0,.3); max-width: 760px; margin: 50px auto 0; }
.chi-q { margin-bottom: 26px; }
.chi-q .qh { font-family: var(--thai); font-weight: 700; font-size: 1.08rem; margin-bottom: 12px; }
.chi-opts { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 10px; }
.chi-opts button { font-family: var(--thai); font-size: .92rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; transition: all .25s; }
.chi-opts button:hover { border-color: var(--gold); }
.chi-opts button.sel { background: var(--red); color: #fff; border-color: var(--red); }
.chi-tool .run { width: 100%; justify-content: center; margin-top: 8px; }
.chi-result { display: none; margin-top: 12px; }
.chi-result.show { display: block; animation: fadeUp .8s var(--ease); }
@keyframes fadeUp { from { opacity:0; transform: translateY(20px);} to {opacity:1;transform:none;} }
.chi-score { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line); margin-top: 20px; }
.chi-score .big { font-size: 3.6rem; font-weight: 800; line-height: 1; color: var(--red); }
.chi-score .big small { font-size: 1.2rem; color: var(--ink-mute); font-weight: 400; }
.chi-score .lvl { font-family: var(--thai); }
.chi-score .lvl b { font-size: 1.2rem; }
.chi-rec { background: var(--paper); border-radius: 16px; padding: 22px 24px; margin-top: 18px; font-family: var(--thai); }
.chi-rec h4 { color: var(--red); margin-bottom: 10px; }

/* Energy projection (เช็คพลังชีวิต) */
.proj { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 8px; }
.proj .now, .proj .aft { text-align: center; }
.proj .num { font-size: clamp(2.6rem,7vw,3.6rem); font-weight: 800; line-height: 1; }
.proj .num small { font-size: 1.1rem; color: var(--ink-mute); font-weight: 400; }
.proj .now .num { color: var(--ink-mute); }
.proj .aft .num { color: var(--red); }
.proj .lab { font-family: var(--thai); font-size: .9rem; margin-top: 8px; }
.proj .now .lab { color: var(--ink-mute); }
.proj .aft .lab { color: var(--red); font-weight: 600; }
.proj .arrow { color: var(--gold); font-size: 1.9rem; display: grid; place-items: center; }
.proj .arrow small { display: block; font-family: var(--thai); font-size: .68rem; color: var(--ink-mute); }
@media (max-width: 560px) { .proj { grid-template-columns: 1fr; gap: 10px; } .proj .arrow { transform: rotate(90deg); } }

/* Photo gallery (masonry) */
.photo-gallery { column-count: 3; column-gap: 14px; margin-top: 46px; }
.ph-item { break-inside: avoid; margin-bottom: 14px; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--red-tint), rgba(192,160,98,.16)); min-height: 120px; cursor: pointer; }
.ph-item img { display: block; width: 100%; height: auto; filter: saturate(1.08) contrast(1.02); transition: transform .7s var(--ease), filter .5s; }
.ph-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(184,18,26,.22)); opacity: .55; transition: opacity .5s; pointer-events: none; }
.ph-item:hover img { transform: scale(1.07); filter: saturate(1.15) contrast(1.04); }
.ph-item:hover::after { opacity: .25; }
@media (max-width: 860px) { .photo-gallery { column-count: 2; } }
@media (max-width: 540px) { .photo-gallery { column-count: 1; } }

/* Life level ladder */
.ladder { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.rung { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); opacity: .5; transition: opacity .45s var(--ease), background .45s, box-shadow .45s, border-color .45s; }
.rung.on { opacity: 1; background: linear-gradient(180deg,#fff,var(--red-tint)); border-color: rgba(184,18,26,.4); box-shadow: 0 18px 44px -30px rgba(184,18,26,.45); }
.rung .rt { font-family: var(--thai); }
.rung .rt b { font-size: 1.12rem; }
.rung .rt span { display: block; color: var(--ink-mute); font-size: .85rem; margin-top: 2px; }
.rung.on .rt span { color: var(--red); font-weight: 600; }
.rung .you { font-family: var(--thai); font-size: .72rem; font-weight: 700; color: #fff; background: var(--red); padding: 6px 14px; border-radius: 100px; opacity: 0; flex: none; }
.rung.on .you { opacity: 1; }
.level-tag { display: inline-block; font-family: var(--thai); font-weight: 700; font-size: .8rem; letter-spacing: .04em; color: #fff; background: var(--red); padding: 5px 16px; border-radius: 100px; }

/* Imperial vs common comparison */
.imp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.imp-card { border-radius: 20px; padding: 30px 28px; font-family: var(--thai); }
.imp-card.common { background: var(--paper); border: 1px solid var(--line); }
.imp-card.imperial { background: var(--ink); color: #fff; }
.imp-card h4 { font-size: 1.15rem; margin-bottom: 16px; }
.imp-card.common h4 { color: var(--ink-mute); }
.imp-card.imperial h4 { color: var(--gold-soft); }
.imp-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.imp-card li { padding-left: 20px; position: relative; line-height: 1.5; }
.imp-card.common li { color: var(--ink-soft); }
.imp-card.imperial li { color: rgba(255,255,255,.85); }
.imp-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; }
.imp-card.common li::before { background: var(--ink-mute); }
.imp-card.imperial li::before { background: var(--gold); }
@media (max-width: 700px) { .imp-grid { grid-template-columns: 1fr; } }

/* Life Score graphs */
.ls-graph { margin-bottom: 26px; }
.ls-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--thai); font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.ls-head b { font-size: 1.5rem; color: var(--ink); }
.ls-head b small { color: var(--ink-mute); font-size: .9rem; font-weight: 400; }
.ls-track { height: 16px; border-radius: 100px; background: #efe7d6; border: 1px solid rgba(120,86,24,.20); box-shadow: inset 0 1px 3px rgba(40,25,10,.10); overflow: hidden; margin: 10px 0; }
.ls-track .lf { height: 100%; min-width: 16px; width: 0; border-radius: 100px; transition: width 1.6s var(--ease); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 1px 0 4px rgba(40,25,10,.30); }
.ls-track .lf.duang { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.ls-track .lf.life { background: linear-gradient(180deg, var(--red-bright), var(--red-deep)); }
.ls-band { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Payment badges */
.pay-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 36px auto 0; max-width: 900px; }
.pay-badges span { font-family: var(--thai); font-size: .9rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.pay-badges .ico-svg { width: 1.05rem; height: 1.05rem; color: #2e9c6b; }

/* =========================================================
   SUCCESS STORIES
   ========================================================= */
.story-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.story-tabs button { font-family: var(--thai); font-size: .92rem; padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); cursor: pointer; transition: all .3s; }
.story-tabs button.on, .story-tabs button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.story { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; display: none; }
.story.show { display: block; }
.story:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.22); }
.story .top { padding: 24px 26px 0; }
.story .cat { font-family: var(--thai); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.story h3 { font-family: var(--thai); font-size: 1.18rem; margin: 8px 0 0; line-height: 1.4; }
.story .who { font-family: var(--thai); color: var(--ink-mute); font-size: .85rem; margin-top: 6px; }
.story .flow { padding: 18px 26px 26px; }
.flow-step2 { display: flex; gap: 14px; padding: 9px 0; font-family: var(--thai); }
.flow-step2 .lab { flex: none; width: 78px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; padding-top: 3px; }
.flow-step2 .val { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.flow-step2 .val.res { color: var(--ink); font-weight: 700; }

/* Hall of Prosperity */
.hall { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hall .mesh { position: absolute; width: 40vw; height: 40vw; border-radius: 50%; filter: blur(110px); }
.hall .mesh.a { background: radial-gradient(circle, rgba(192,160,98,.4), transparent 70%); top: -25%; right: -8%; }
.hall .mesh.b { background: radial-gradient(circle, rgba(184,18,26,.4), transparent 70%); bottom: -25%; left: -8%; }
.hall .inner { position: relative; z-index: 2; }
.hall-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 46px; }
.honoree { background: rgba(255,255,255,.04); border: 1px solid rgba(192,160,98,.3); border-radius: 18px; padding: 28px 22px; text-align: center; transition: transform .5s var(--ease), background .4s; }
.honoree:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.honoree .av { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(160deg,#2a2421,#161311); border: 1px solid rgba(192,160,98,.4); display: grid; place-items: center; color: var(--gold-soft); font-family: var(--serif); font-style: italic; font-size: 1.4rem; }
.honoree .nm { font-family: var(--thai); font-weight: 700; }
.honoree .role { font-family: var(--thai); font-size: .82rem; color: var(--gold-soft); margin-top: 4px; }
.honoree .quote { font-family: var(--thai); font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 12px; line-height: 1.5; }

/* =========================================================
   MEMBERSHIP / DRAGON CLUB
   ========================================================= */
.dash-preview { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 50px; }
.dash-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.dash-card h3 { font-family: var(--thai); font-size: 1.15rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.dash-card h3 .ico-svg { width: 1.2rem; height: 1.2rem; color: var(--red); }
.dash-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dash-card li { font-family: var(--thai); color: var(--ink-soft); padding-left: 18px; position: relative; }
.dash-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

@media (max-width: 860px) {
  .assess-grid, .story-grid, .hall-grid, .dash-preview { grid-template-columns: 1fr; }
  .hall-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   PHILOSOPHY / MANIFESTO
   ========================================================= */
.mani-q { font-family: var(--thai); font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.25; letter-spacing: -.01em; }
.mani-q .hl { color: var(--red); }
.mani-lead { font-family: var(--thai); font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.8; color: var(--ink-soft); }
.mani-body { font-family: var(--thai); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.95; color: var(--ink-soft); }
.mani-body p { margin-bottom: 1.1em; }
.mani-body strong { color: var(--ink); font-weight: 700; }
.pull { font-family: var(--thai); font-weight: 700; font-size: clamp(1.5rem,3vw,2.4rem); line-height: 1.4; border-left: 3px solid var(--gold); padding-left: 26px; margin: 14px 0; }

/* Dragon Prosperity Equation */
.eq-hero { text-align: center; }
.eq-x { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 36px); flex-wrap: wrap; margin: 10px 0 6px; }
.eq-x .term { display: flex; flex-direction: column; align-items: center; }
.eq-x .term b { font-family: var(--thai); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.eq-x .term .en { font-family: var(--serif); font-style: italic; color: var(--ink-mute); font-size: .95rem; margin-top: 8px; }
.eq-x .term.sky b { color: var(--gold-deep); }
.eq-x .term.earth b { color: #2e9c6b; }
.eq-x .term.human b { color: var(--red); }
.eq-x .op { font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.4rem); color: var(--gold); }
.eq-x .res { font-family: var(--thai); font-weight: 800; font-size: clamp(1.6rem,3.4vw,2.6rem); }
.eq-note { font-family: var(--thai); color: var(--ink-mute); margin-top: 16px; font-size: 1rem; }
.eq-note b { color: var(--red); }

.scen-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.scen { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; }
.scen .combo { display: flex; flex-direction: column; gap: 6px; font-family: var(--thai); margin-bottom: 16px; }
.scen .combo span { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.scen .combo span.bad { color: var(--red); }
.scen .arrow { font-family: var(--thai); color: var(--ink-mute); font-size: .85rem; margin: 6px 0; }
.scen .out { font-family: var(--thai); font-weight: 800; font-size: 1.3rem; }
.scen .out.fail { color: var(--red); }

/* Myth vs Reality */
.mvr { display: flex; flex-direction: column; gap: 16px; margin-top: 44px; }
.mvr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mvr-cell { border-radius: var(--r); padding: 26px 28px; font-family: var(--thai); }
.mvr-cell .tag { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mvr-cell.myth { background: var(--paper); border: 1px solid var(--line); }
.mvr-cell.myth .tag { color: var(--ink-mute); }
.mvr-cell.real { background: linear-gradient(180deg,#fff,var(--red-tint)); border: 1px solid rgba(184,18,26,.25); }
.mvr-cell.real .tag { color: var(--red); }
.mvr-cell .txt { font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.mvr-mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mvr-mark.x { background: rgba(138,130,122,.15); color: var(--ink-mute); }
.mvr-mark.v { background: var(--red); color: #fff; }
.mvr-mark .ico-svg { width: 13px; height: 13px; stroke-width: 2.6; }

/* FAQ accordion */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--thai); font-weight: 700; font-size: clamp(1.05rem,1.8vw,1.3rem); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary .pm { width: 26px; height: 26px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary .pm::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq summary .pm::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details[open] summary { color: var(--red); }
.faq .ans { font-family: var(--thai); color: var(--ink-soft); line-height: 1.85; padding: 0 0 24px; max-width: 820px; font-size: 1.05rem; }
.faq .ans .first { font-weight: 600; color: var(--ink); }

/* Manifesto closing (dark) */
.mani-close { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(48px,7vw,96px); text-align: center; position: relative; overflow: hidden; }
.mani-close .mesh { position: absolute; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(110px); }
.mani-close .mesh.a { background: radial-gradient(circle, rgba(184,18,26,.45), transparent 70%); top: -25%; left: -5%; }
.mani-close .mesh.b { background: radial-gradient(circle, rgba(192,160,98,.35), transparent 70%); bottom: -30%; right: -5%; }
.mani-close .inner { position: relative; z-index: 2; }
.mani-close .big-claim { font-family: var(--thai); font-weight: 800; font-size: clamp(1.8rem,4vw,3rem); line-height: 1.3; }
.mani-close .big-claim .gold { color: var(--gold-soft); }
.mani-close .be { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem,6vw,4rem); margin-top: 30px; background: linear-gradient(110deg,#fff,var(--gold-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 860px) {
  .scen-grid { grid-template-columns: 1fr; }
  .mvr-row { grid-template-columns: 1fr; }
}

/* ---------- Premium motion add-ons ---------- */
.qi-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; z-index: 1; pointer-events: none; }
.orb { overflow: hidden; }
.orb .dragon, .orb .ring, .orb .spark { position: relative; z-index: 2; }
.dust-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.page-hero .inner, .founder .grid, .vision-dark .inner { position: relative; z-index: 2; }

.scroll-prog { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--red), var(--gold)); box-shadow: 0 0 10px rgba(192,160,98,.5); }

/* card light-sweep on hover */
.ncard, .tool, .pkg, .candle, .phil-card, .article { position: relative; overflow: hidden; }
.ncard::after, .tool::after, .pkg::after, .candle::after, .phil-card::after, .article::after {
  content: ""; position: absolute; top: 0; left: 0; width: 60%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-180%) skewX(-12deg); transition: transform .9s var(--ease); z-index: 3;
}
.ncard:hover::after, .tool:hover::after, .pkg:hover::after, .candle:hover::after, .phil-card:hover::after, .article:hover::after { transform: translateX(280%) skewX(-12deg); }
.tool:hover::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); }

/* =========================================================
   CUSTOMER REVIEWS (per-service testimonials)
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.rev-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; position: relative; overflow: hidden; }
.rev-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.2); }
.rev-card .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.rev-card .stars .ico-svg { width: 1.05rem; height: 1.05rem; fill: var(--gold); stroke: none; }
.rev-card .rq { font-family: var(--thai); font-size: 1.08rem; line-height: 1.7; color: var(--ink); font-weight: 600; flex: 1; }
.rev-card .rq::before { content: "“"; font-family: var(--serif); color: var(--gold); font-size: 2.4rem; line-height: 0; vertical-align: -.3em; margin-right: 4px; }
.rev-card .rfoot { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.rev-card .rav { width: 44px; height: 44px; border-radius: 50%; flex: none; background: linear-gradient(160deg, var(--red-tint), #fff); border: 1px solid rgba(184,18,26,.2); display: grid; place-items: center; color: var(--red); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.rev-card .rname { font-family: var(--thai); font-weight: 700; font-size: .98rem; color: var(--ink); }
.rev-card .rrole { font-family: var(--thai); font-size: .82rem; color: var(--ink-mute); margin-top: 2px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* =========================================================
   EBOOKS — CSS-designed covers, grid, detail
   ========================================================= */
.book-cover {
  position: relative; aspect-ratio: 1 / 1.42; border-radius: 5px 11px 11px 5px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px 22px 22px 28px;
  color: #fff; background: linear-gradient(155deg, var(--c1, #b8121a), var(--c2, #6a0a0f));
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.book-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,0)); }
.book-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 42%); pointer-events: none; }
.book-cover .bc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; position: relative; z-index: 2; }
.book-cover .bc-brand { font-family: var(--thai); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }
.book-cover .bc-motif { width: 1.5rem; height: 1.5rem; opacity: .55; flex: none; }
.book-cover .bc-main { position: relative; z-index: 2; }
.book-cover .bc-rule { width: 30px; height: 2px; background: rgba(255,255,255,.6); margin-bottom: 14px; }
.book-cover .bc-title { font-family: var(--thai); font-weight: 800; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.24; text-shadow: 0 1px 12px rgba(0,0,0,.2); }
.book-cover .bc-sub { font-family: var(--thai); font-size: .74rem; opacity: .85; margin-top: 8px; line-height: 1.4; }

/* grid */
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; margin-top: 54px; }
.book-card { display: flex; flex-direction: column; }
.book-card .bc-link { display: block; }
.book-card:hover .book-cover { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 36px 60px -24px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.1); }
.book-meta { margin-top: 18px; display: flex; flex-direction: column; flex: 1; }
.book-meta .bm-cat { font-family: var(--thai); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.book-meta h3 { font-family: var(--thai); font-size: 1.12rem; line-height: 1.4; margin: 6px 0 0; }
.book-meta .bm-hook { font-family: var(--thai); color: var(--ink-soft); font-size: .9rem; line-height: 1.55; margin-top: 8px; }
.book-meta .bm-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.book-meta .bm-price { font-family: var(--thai); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.book-meta .bm-price small { font-weight: 500; color: var(--ink-mute); font-size: .8rem; }
.book-meta .bm-link { font-family: var(--thai); font-weight: 600; color: var(--red); font-size: .9rem; display: inline-flex; gap: 5px; transition: gap .3s; }
.book-card:hover .bm-link { gap: 11px; }

/* detail */
.ebook-detail { display: grid; grid-template-columns: 330px 1fr; gap: 54px; align-items: start; }
.ebook-detail .cover-col { position: sticky; top: 100px; }
.ebook-detail .cover-col .book-cover { aspect-ratio: 1 / 1.42; }
.ebook-detail .cover-col .buy { margin-top: 26px; }
.ebook-detail .ed-cat { font-family: var(--thai); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.ebook-detail h1 { font-family: var(--thai); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.2; margin: 10px 0 0; }
.ebook-detail .ed-sub { font-family: var(--thai); color: var(--ink-soft); font-size: clamp(1.05rem,1.6vw,1.2rem); line-height: 1.7; margin-top: 16px; }
.ed-section { margin-top: 44px; }
.ed-section > h2 { font-family: var(--thai); font-size: 1.35rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.ed-section > h2 .ico-svg { width: 1.2rem; height: 1.2rem; color: var(--red); }
.excerpt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 36px; position: relative; }
.excerpt .ex-chap { font-family: var(--thai); font-weight: 700; color: var(--gold-deep); font-size: .92rem; margin-bottom: 14px; }
.excerpt .ex-body { font-family: var(--thai); line-height: 1.95; color: var(--ink-soft); }
.excerpt .ex-body p { margin-bottom: 1em; }
.excerpt .ex-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, var(--paper)); border-radius: 0 0 var(--r) var(--r); }
.ebook-stars { display: inline-flex; gap: 3px; color: var(--gold); vertical-align: middle; }
.ebook-stars .ico-svg { width: 1rem; height: 1rem; fill: var(--gold); stroke: none; }
@media (max-width: 1000px) { .book-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .ebook-detail { grid-template-columns: 1fr; gap: 36px; }
  .ebook-detail .cover-col { position: static; max-width: 270px; margin: 0 auto; width: 100%; }
}
@media (max-width: 680px) { .book-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } }

/* =========================================================
   VIDEO EXPLAINER (under hero) + HOKLONG TV
   ========================================================= */
.vid-section { background: var(--white); }
.vid-block { max-width: 980px; margin: 0 auto; }
.vid-block + .vid-block { margin-top: 70px; padding-top: 60px; border-top: 1px solid var(--line); }
.vid-block .vid-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.vid-block .vid-eyebrow { font-family: var(--thai); font-size: .82rem; letter-spacing: .1em; color: var(--gold-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.vid-block .vid-eyebrow .ico-svg { width: 1.05rem; height: 1.05rem; color: var(--gold-deep); }
.vid-block h2 { font-family: var(--thai); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; margin-top: 10px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: linear-gradient(150deg, #1c1815, #2a2421); box-shadow: 0 34px 70px -34px rgba(26,23,21,.6); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .vf-ph { position: absolute; inset: 0; display: grid; place-items: center; }
.video-frame .vf-ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(184,18,26,.32), transparent 60%); }
.video-frame .vf-ph::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 100% 4px; opacity: .25; }
.vf-inner { position: relative; z-index: 2; text-align: center; }
.vf-play { width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; margin: 0 auto; display: grid; place-items: center; background: rgba(255,255,255,.96); box-shadow: 0 14px 36px -10px rgba(0,0,0,.5); transition: transform .4s var(--ease), box-shadow .4s; }
.vf-play .ico-svg { width: 2rem; height: 2rem; fill: var(--red); stroke: none; margin-left: 4px; }
.video-frame:hover .vf-play { transform: scale(1.08); box-shadow: 0 18px 44px -10px rgba(184,18,26,.5); }
.vf-soon { margin-top: 18px; font-family: var(--thai); color: rgba(255,255,255,.8); font-size: .92rem; letter-spacing: .04em; }
.vf-soon b { color: var(--gold-soft); font-weight: 700; }
.vid-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px 40px; align-items: center; margin-top: 28px; }
.vid-points { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.vid-points li { font-family: var(--thai); color: var(--ink-soft); padding-left: 26px; position: relative; font-size: 1.02rem; }
.vid-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--red-tint); }
.vid-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.vid-cta .vc-label { font-family: var(--thai); color: var(--ink-mute); font-size: .9rem; }
@media (max-width: 760px) { .vid-body { grid-template-columns: 1fr; gap: 22px; } .vid-cta { align-items: stretch; } .vid-cta .btn { width: 100%; justify-content: center; } }

/* HOKLONG TV library */
.tv-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.tv-tabs button { font-family: var(--thai); font-size: .92rem; padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); cursor: pointer; transition: all .3s; }
.tv-tabs button.on, .tv-tabs button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.tv-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; display: none; }
.tv-card.show { display: block; }
.tv-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.22); }
.tv-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--c1, #2a2421), var(--c2, #14110f)); display: grid; place-items: center; }
.tv-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.12), transparent 60%); }
.tv-thumb .tv-play { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.tv-thumb .tv-play .ico-svg { width: 1.4rem; height: 1.4rem; fill: var(--red); stroke: none; margin-left: 3px; }
.tv-thumb .tv-soon { position: absolute; z-index: 2; top: 12px; right: 12px; font-family: var(--thai); font-size: .72rem; color: #fff; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.25); padding: 4px 10px; border-radius: 100px; }
.tv-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.tv-card .tv-open { display: inline-flex; gap: 5px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--thai); font-weight: 600; color: var(--red); font-size: .9rem; transition: gap .3s; }
.tv-card:hover .tv-open { gap: 11px; }
.tv-meta { padding: 20px 22px; }
.tv-meta .tv-cat { font-family: var(--thai); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.tv-meta h3 { font-family: var(--thai); font-size: 1.12rem; line-height: 1.4; margin: 6px 0 0; }
.tv-meta p { font-family: var(--thai); color: var(--ink-soft); font-size: .9rem; line-height: 1.55; margin-top: 8px; }
@media (max-width: 860px) { .tv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tv-grid { grid-template-columns: 1fr; } }

/* =========================================================
   LIVE CHAT — floating contact launcher (single source)
   ========================================================= */
.live-chat { position: fixed; right: 22px; bottom: 22px; z-index: 350; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.lc-panel { display: flex; flex-direction: column; gap: 10px; width: 256px; padding: 16px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 70px -28px rgba(26,23,21,.5); transform: translateY(16px) scale(.96); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.live-chat.open .lc-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lc-head { font-family: var(--thai); font-weight: 700; color: var(--ink); font-size: 1rem; padding: 2px 4px 6px; }
.lc-head small { display: block; font-weight: 500; color: var(--ink-mute); font-size: .82rem; margin-top: 3px; }
.lc-opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: background .25s, border-color .25s, transform .25s; }
.lc-opt:hover { transform: translateX(-2px); background: var(--paper); }
.lc-opt .lc-ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; color: #fff; }
.lc-opt .lc-ic .ico-svg { width: 1.25rem; height: 1.25rem; }
.lc-opt.line .lc-ic { background: #06c755; }
.lc-opt.fb .lc-ic { background: #0866ff; }
.lc-opt.tel .lc-ic { background: var(--red); }
.lc-opt .lc-tx b { display: block; font-family: var(--thai); font-weight: 700; color: var(--ink); font-size: .95rem; }
.lc-opt .lc-tx span { font-family: var(--thai); color: var(--ink-mute); font-size: .8rem; }
.lc-toggle { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(160deg, #d11a23, var(--red)); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 36px -10px rgba(184,18,26,.6); transition: transform .35s var(--ease), box-shadow .35s; position: relative; pointer-events: auto; }
.lc-toggle:hover { transform: scale(1.07); }
.lc-toggle .ico-svg { width: 1.7rem; height: 1.7rem; transition: opacity .25s, transform .25s; }
.lc-toggle .ic-close { position: absolute; opacity: 0; transform: rotate(-45deg); }
.live-chat.open .lc-toggle .ic-chat { opacity: 0; transform: rotate(45deg); }
.live-chat.open .lc-toggle .ic-close { opacity: 1; transform: rotate(0); }
.lc-toggle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(184,18,26,.5); animation: lc-pulse 2.6s infinite; }
.live-chat.open .lc-toggle::after { animation: none; }
@keyframes lc-pulse { 0% { box-shadow: 0 0 0 0 rgba(184,18,26,.45); } 70% { box-shadow: 0 0 0 16px rgba(184,18,26,0); } 100% { box-shadow: 0 0 0 0 rgba(184,18,26,0); } }
@media (max-width: 600px) { .live-chat { right: 16px; bottom: 16px; } .lc-panel { width: 232px; } }

/* =========================================================
   TOOLKIT CATALOG (tools.html) — distinct "instrument tile" style
   ========================================================= */
.tool-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 38px; }
.tool-tabs button { font-family: var(--thai); font-size: .92rem; padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); cursor: pointer; transition: all .3s; }
.tool-tabs button.on, .tool-tabs button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.tool-tile { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; overflow: hidden; display: none; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.tool-tile.show { display: flex; }
.tool-tile::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px); background-size: 20px 20px; opacity: .05; -webkit-mask: radial-gradient(circle at 108% -8%, #000, transparent 58%); mask: radial-gradient(circle at 108% -8%, #000, transparent 58%); pointer-events: none; }
.tool-tile:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.22); border-color: rgba(192,160,98,.5); }
.tool-tile .tt-no { position: absolute; top: 20px; right: 22px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--line); z-index: 1; }
.tt-chip { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--c1, #b8121a), var(--c2, #6a0a0f)); box-shadow: 0 14px 26px -12px rgba(26,23,21,.5); }
.tt-chip .ico-svg { width: 1.65rem; height: 1.65rem; }
.tool-tile h3 { position: relative; z-index: 1; margin-top: 18px; font-family: var(--thai); font-size: 1.15rem; line-height: 1.35; }
.tool-tile p { position: relative; z-index: 1; font-family: var(--thai); color: var(--ink-soft); font-size: .93rem; line-height: 1.6; margin-top: 8px; flex: 1; }
.tt-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.tt-pill { font-family: var(--thai); font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 100px; display: inline-flex; align-items: center; gap: 5px; }
.tt-pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.tt-pill.ready { color: #1f7a4d; background: rgba(46,156,107,.12); }
.tt-pill.ready .dot { background: #2e9c6b; }
.tt-pill.soon { color: var(--gold-deep); background: var(--paper); }
.tt-pill.soon .dot { background: var(--gold); }
.tt-open { font-family: var(--thai); font-weight: 600; color: var(--red); font-size: .9rem; display: inline-flex; gap: 5px; transition: gap .3s; }
a.tool-tile:hover .tt-open { gap: 11px; }
.tool-tile.is-soon { opacity: .96; }
.tool-tile.is-soon .tt-open { color: var(--ink-mute); }
a.tool-tile { text-decoration: none; color: inherit; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tool-grid { grid-template-columns: 1fr; } }

/* =========================================================
   TESLA-STYLE PRODUCT GRID (shop)
   ========================================================= */
.tesla-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; margin-top: 52px; }
.tprod { display: block; text-decoration: none; color: inherit; text-align: center; }
.tprod-media { position: relative; aspect-ratio: 1 / 1; background: var(--paper); border-radius: 16px; display: grid; place-items: center; overflow: hidden; transition: background .45s var(--ease); }
.tprod-media .ico-svg { width: 36%; height: 36%; color: #ddd5c9; transition: transform .55s var(--ease), color .45s; }
.tprod:hover .tprod-media { background: #f1ece4; }
.tprod:hover .tprod-media .ico-svg { transform: scale(1.09); color: var(--gold); }
.tprod-tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family: var(--thai); font-size: .72rem; color: var(--ink-mute); background: var(--white); border: 1px solid var(--line); padding: 4px 12px; border-radius: 100px; }
.tprod-name { font-family: var(--thai); font-weight: 700; font-size: 1.08rem; margin-top: 20px; color: var(--ink); }
.tprod-sub { font-family: var(--thai); color: var(--ink-mute); font-size: .9rem; margin-top: 5px; }
.tprod-price { font-family: var(--thai); color: var(--ink-soft); font-size: .98rem; margin-top: 10px; }
.tprod-price .soon { color: var(--gold-deep); font-weight: 600; }
.tprod-price b { color: var(--ink); font-weight: 800; }
@media (max-width: 860px) { .tesla-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; } }
@media (max-width: 480px) { .tesla-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; } }

/* =========================================================
   BEFORE / AFTER COMPARISON SLIDER
   ========================================================= */
.ba-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.ba-card .ba-title { font-family: var(--thai); font-weight: 700; font-size: 1.05rem; margin-top: 16px; text-align: center; color: var(--ink); }
.ba-card .ba-sub { font-family: var(--thai); color: var(--ink-mute); font-size: .88rem; text-align: center; margin-top: 4px; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(26,23,21,.42); user-select: none; touch-action: none; }
.ba .side { position: absolute; inset: 0; }
.ba .side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba .after { background: linear-gradient(150deg, #2e6b4a, #14331f); }
.ba .before { background: linear-gradient(150deg, #6f6a64, #3a3631); clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.ba .lab { position: absolute; bottom: 12px; z-index: 3; font-family: var(--thai); font-size: .76rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25); padding: 4px 12px; border-radius: 100px; backdrop-filter: blur(4px); }
.ba .after .lab { right: 12px; }
.ba .before .lab { left: 12px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; z-index: 4; box-shadow: 0 0 8px rgba(0,0,0,.3); }
.ba-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.35); color: var(--red); }
.ba-grip svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 5; }
@media (max-width: 900px) { .ba-wrap { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; } }

/* =========================================================
   OCCASION GRID (calendar — สิ่งที่วางแผนได้)
   ========================================================= */
.occasions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 46px; }
.occ { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 14px; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.occ:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -28px rgba(0,0,0,.22); border-color: rgba(192,160,98,.5); }
.occ .oc-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; color: var(--red); }
.occ .oc-ic .ico-svg { width: 1.45rem; height: 1.45rem; }
.occ span { font-family: var(--thai); font-size: .95rem; color: var(--ink); font-weight: 600; line-height: 1.35; }
@media (max-width: 900px) { .occasions { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .occasions { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   START ROUTER (homepage — เริ่มต้นตรงไหนดี)
   ========================================================= */
.start-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 18px; margin-top: 42px; }
.start-card { display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.start-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -28px rgba(0,0,0,.22); border-color: rgba(192,160,98,.5); }
.start-card .sc-ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg, var(--red-tint), rgba(192,160,98,.12)); box-shadow: inset 0 0 0 1px rgba(184,18,26,.1); display: grid; place-items: center; color: var(--red); transition: transform .45s var(--ease); }
.start-card:hover .sc-ic { transform: scale(1.08) rotate(-3deg); }
.start-card .sc-ic .ico-svg { width: 1.35rem; height: 1.35rem; }
.start-card .sc-q { font-family: var(--thai); font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.start-card .sc-go { font-family: var(--thai); color: var(--red); font-weight: 600; font-size: .92rem; margin-top: auto; display: inline-flex; gap: 5px; transition: gap .3s; }
.start-card:hover .sc-go { gap: 11px; }

/* =========================================================
   TRUST BAND (homepage stats)
   ========================================================= */
.trust-band { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.trust-band .t-cell { text-align: center; padding: 32px 16px; border-right: 1px solid var(--line); }
.trust-band .t-cell:last-child { border-right: 0; }
.trust-band .t-cell .n { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--red); line-height: 1; }
.trust-band .t-cell .l { font-family: var(--thai); color: var(--ink-mute); margin-top: 8px; font-size: .92rem; }
.trust-cap { text-align: center; font-family: var(--thai); color: var(--ink-mute); margin-top: 16px; font-size: .95rem; }
.trust-cap b { color: var(--gold-deep); font-weight: 700; }
@media (max-width: 760px) {
  .trust-band { grid-template-columns: repeat(2, 1fr); }
  .trust-band .t-cell { padding: 24px 12px; }
  .trust-band .t-cell:nth-child(2n) { border-right: 0; }
  .trust-band .t-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ghost button on dark bands (mani-close / dark cta) */
.mani-close .btn.ghost, .cta-band[style*="var(--ink)"] .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.mani-close .btn.ghost:hover, .cta-band[style*="var(--ink)"] .btn.ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

/* =========================================================
   ZODIAC CHONG CHECKER (chong page)
   ========================================================= */
.zodiac-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 760px; margin: 32px auto 0; }
.zbtn { font-family: var(--thai); padding: 14px 8px; border-radius: 13px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .25s; font-size: .98rem; font-weight: 600; text-align: center; line-height: 1.2; }
.zbtn:hover { border-color: var(--red); color: var(--red); }
.zbtn.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.zbtn small { display: block; color: var(--ink-mute); font-size: .72rem; margin-top: 3px; font-weight: 500; }
.zbtn:hover small { color: var(--red); }
.zbtn.sel small { color: rgba(255,255,255,.72); }
.zresult { display: none; max-width: 680px; margin: 28px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px; text-align: center; box-shadow: 0 24px 50px -34px rgba(0,0,0,.22); }
.zresult.show { display: block; }
.zresult .ztag { display: inline-block; font-family: var(--thai); font-weight: 800; font-size: 1.3rem; padding: 6px 22px; border-radius: 100px; margin-bottom: 14px; }
.zresult .ztag.chong { background: var(--red); color: #fff; }
.zresult .ztag.warn { background: rgba(192,160,98,.18); color: var(--gold-deep); }
.zresult .ztag.ok { background: rgba(46,156,107,.14); color: #1f7a4d; }
.zresult p { font-family: var(--thai); color: var(--ink-soft); line-height: 1.75; }
@media (max-width: 560px) { .zodiac-grid { grid-template-columns: repeat(3, 1fr); } }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
