/* thairegpro.com : premium homepage theme (EN / 中文 / ไทย homepages only).
   Self-contained: the homepages load this file instead of site.css. Other pages keep site.css.
   Look: deep teal ground, serif display headings, liquid-glass navigation, one champagne accent,
   one cream band. Generated pages: tools/home/build_home.py writes index.html, zh/index.html, th/index.html. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/files/instrument-serif-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/files/instrument-serif-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
/* Thai display: Samphan Condensed by Nutchanon Satanyasuwan, CC BY (see fonts/files/samphan-condensed-LICENSE.txt) */
@font-face { font-family: "Samphan Condensed"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/files/samphan-condensed-400.woff2) format("woff2");
  unicode-range: U+0000-002F, U+003A-00FF, U+0E01-0E5B, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #041816; --bg-2: #0a2724; --bg-3: #0e302c;
  --ink: #f3efe6; --ink-2: #c9d6d2; --ink-3: #a9bdb7; --ink-4: #8fa7a0;
  --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .18);
  --gold: #d4bc8c; --gold-ink: #041816;
  --cream: #f3efe6; --cream-ink: #0b2522; --cream-2: #3e5551; --deep: #0e5a50; --kicker-cream: #6b5a35;
  --warn: #f0b38a;
  --wrap: 1240px; --r: 24px; --head-h: 88px;
  --sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Inter", Georgia, serif;
  --wrap-pad: 24px;
}
:lang(th) { --sans: "IBM Plex Sans Thai", "Inter", "Segoe UI", sans-serif; --serif: "Samphan Condensed", "IBM Plex Sans Thai", sans-serif; }
:lang(zh) { --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: "Instrument Serif", "Inter", "Noto Sans SC", "PingFang SC", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg, video { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--wrap-pad); padding-right: var(--wrap-pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.serif, .h2, .hero h1, .card h3, .plan h3, .step .n, .cred b.num { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
:lang(th) .h2, :lang(th) .hero h1, :lang(th) .card h3, :lang(th) .plan h3 { letter-spacing: 0; font-weight: 500; }
:lang(zh) .h2, :lang(zh) .hero h1, :lang(zh) .card h3, :lang(zh) .plan h3 { letter-spacing: .01em; font-weight: 500; }
.h2 { font-size: clamp(36px, 5vw, 62px); line-height: 1.04; }
:lang(th) .h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.3; }
:lang(zh) .h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.3; }
.h2 em, .hero h1 em { font-style: italic; color: var(--ink-3); }
:lang(th) .h2 em, :lang(zh) .h2 em, :lang(th) .hero h1 em, :lang(zh) .hero h1 em { font-style: normal; }
.kicker { display: block; margin-bottom: 16px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
:lang(th) .kicker, :lang(zh) .kicker { letter-spacing: .08em; font-size: 13px; }
.intro { color: var(--ink-3); font-size: 16px; line-height: 1.65; max-width: 420px; }
.sec { padding: 128px 0; }
.sec-tight { padding-top: 56px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.sec-head > div { max-width: 680px; }
.small { font-size: 13px; color: var(--ink-3); }
.note { font-size: 13px; color: var(--ink-4); line-height: 1.6; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #e2cda2; color: var(--gold-ink); }
.btn-glass, .glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.btn-glass { color: var(--ink); font-weight: 500; }
.btn-glass:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-line { border-color: rgba(255, 255, 255, .3); color: var(--ink); font-weight: 500; background: transparent; }
.btn-line:hover { border-color: var(--gold); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- header: liquid-glass pill over the hero ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px var(--wrap-pad) 0; pointer-events: none; }
.head-in { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(4, 24, 22, .3); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); transition: background .25s; }
body.cine-scrolled .head-in, body:not(.cine-top) .head-in { background: rgba(4, 24, 22, .86); }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo b { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1; }
.logo span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 10px 12px; border-radius: 999px; font-size: 14px; color: #d7e2de; text-decoration: none; }
.main-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.langs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .25); }
.langs a { padding: 8px 11px; border-radius: 999px; font-size: 13px; color: #d7e2de; text-decoration: none; line-height: 1; }
.langs a[aria-current="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
.head-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn path { stroke: #fff; }
@media (max-width: 1120px) {
  .main-nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 24px;
    background: rgba(4, 24, 22, .96); border: 1px solid var(--line-2); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; font-size: 16px; }
  .head-in { position: relative; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .site-head { padding: 10px 12px 0; }
  .head-in { padding-left: 16px; gap: 8px; }
  .logo span, .head-cta { display: none; }
  .langs a { padding: 8px 8px; }
}

/* ---------- hero ---------- */
.hero-wrap.cine-wrap { position: relative; isolation: isolate; min-height: max(760px, 100svh); display: flex; flex-direction: column;
  background: var(--bg) url(../video/hero-poster.jpg) center / cover no-repeat; overflow: hidden; }
.cine-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cine-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 24, 22, .62) 0%, rgba(4, 24, 22, .5) 45%, rgba(4, 24, 22, .78) 100%); }
.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: calc(var(--head-h) + 72px); padding-bottom: 56px; }
.hero .badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 13px; letter-spacing: .03em; color: #d7e2de; margin-bottom: 32px; }
.hero .badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(46px, 7.2vw, 104px); line-height: .98; max-width: 1000px; }
.hero h1 em { color: var(--gold); }
:lang(th) .hero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.22; max-width: 960px; }
:lang(zh) .hero h1 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.2; }
.hero .lead { margin-top: 30px; max-width: 660px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r); overflow: hidden; margin-bottom: 40px; }
.facts > * { padding: 22px 26px; border-right: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.facts > :last-child { border-right: 0; }
.facts span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
:lang(th) .facts span, :lang(zh) .facts span { letter-spacing: .04em; }
.facts b { display: block; margin-top: 6px; font-weight: 500; font-size: 15px; }
a.fact:hover { background: rgba(255, 255, 255, .05); }
.cine-pause { position: absolute; right: var(--wrap-pad); bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(0, 0, 0, .25); font: inherit; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.cine-pause[hidden] { display: none; }
.cine-pause svg { width: 11px; height: 11px; fill: currentColor; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero > * { animation: rise .8s ease-out both; }
.hero > :nth-child(2) { animation-delay: .08s; } .hero > :nth-child(3) { animation-delay: .16s; } .hero > :nth-child(4) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .hero > * { animation: none; } }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > :nth-child(2) { border-right: 0; } .facts > :nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .hero { padding-top: calc(var(--head-h) + 40px); } .hero .lead { font-size: 16px; } .hero .actions .btn { width: 100%; } .facts > * { padding: 16px 18px; } .facts b { font-size: 14px; } }

/* ---------- 01 product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--r); background: var(--bg-2); border: 1px solid rgba(255, 255, 255, .08); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(212, 188, 140, .55); color: var(--ink); transform: translateY(-2px); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card-top i { font-family: "Instrument Serif", Georgia, serif; font-style: normal; font-size: 22px; letter-spacing: 0; color: #6f8c85; text-transform: none; }
.card h3 { font-size: 32px; line-height: 1.08; }
:lang(th) .card h3, :lang(zh) .card h3 { font-size: 26px; line-height: 1.35; }
.card p { color: var(--ink-3); font-size: 15px; line-height: 1.6; flex: 1; }
.card .kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.card .kv span { display: block; color: var(--ink-4); font-size: 12px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gold); }
.partners { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.partners h3 { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
:lang(th) .partners h3, :lang(zh) .partners h3 { font-size: 26px; line-height: 1.35; font-weight: 500; }
.partners .intro { margin-top: 14px; }
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.plist a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.plist a:nth-child(odd) { padding-right: 24px; }
.plist a:hover b { color: var(--gold); }
.plist b { font-weight: 500; }
.plist em { font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partners { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .cards, .plist { grid-template-columns: minmax(0, 1fr); } .card { padding: 26px; } .plist a:nth-child(odd) { padding-right: 0; } }

/* ---------- 02 route finder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.finder fieldset { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.finder legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--ink); }
:lang(th) .finder legend, :lang(zh) .finder legend { font-size: 21px; font-weight: 500; line-height: 1.4; }
.finder legend small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); line-height: 1.35; transition: all .15s; }
.pill-opt input:hover + span { border-color: rgba(212, 188, 140, .6); color: #fff; }
.pill-opt input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 600; }
.pill-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.result { position: sticky; top: calc(var(--head-h) + 16px); padding: 32px; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); }
.result .ag { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: rgba(212, 188, 140, .14); color: var(--gold); }
.result h3 { margin-top: 16px; font-family: var(--serif); font-size: 34px; line-height: 1.08; }
:lang(th) .result h3, :lang(zh) .result h3 { font-size: 26px; line-height: 1.35; font-weight: 500; }
.result ol { list-style: none; margin: 24px 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.result ol li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; font-size: 15px; color: var(--ink-2); }
.result ol li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink); }
.result dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result dt { font-size: 12px; color: var(--ink-4); }
.result dd { margin: 4px 0 0; font-size: 15px; }
.result .who { margin-top: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.result .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.result .acts .btn { flex: 1 1 200px; }
.result .guide { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--gold); }
.result[data-empty] .filled { display: none; }
.result:not([data-empty]) .empty { display: none; }
.result .empty { color: var(--ink-3); font-size: 15px; }
.result .empty b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); margin-bottom: 10px; line-height: 1.15; }
:lang(th) .result .empty b, :lang(zh) .result .empty b { font-size: 24px; font-weight: 500; }
.risks { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.risks h3 { font-size: 15px; font-weight: 600; color: var(--gold); margin-bottom: 10px; font-family: var(--sans); }
.risks p { font-size: 15px; color: var(--ink-3); }
.risks .risks-title { grid-column: 1 / -1; font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--ink); font-weight: 400; margin: 0; }
:lang(th) .risks .risks-title, :lang(zh) .risks .risks-title { font-size: 24px; font-weight: 500; }
@media (max-width: 960px) { .finder { grid-template-columns: minmax(0, 1fr); } .result { position: static; } .risks { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 640px) { .result { padding: 24px; } .result dl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 03 process (cream band) ---------- */
.cream { background: var(--cream); color: var(--cream-ink); }
.cream .kicker { color: var(--kicker-cream); }
.cream .h2 em { color: var(--deep); }
.cream a { color: var(--deep); }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.step { border-top: 1px solid var(--cream-ink); padding-top: 24px; }
.step .n { font-size: 72px; line-height: 1; color: var(--deep); }
.step h3 { margin: 22px 0 10px; font-size: 19px; font-weight: 600; font-family: var(--sans); }
.step p { font-size: 15px; color: var(--cream-2); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } .step .n { font-size: 56px; } }

/* ---------- 04 credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cred { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(212, 188, 140, .07), rgba(212, 188, 140, 0) 60%); }
.cred span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
:lang(th) .cred span, :lang(zh) .cred span { letter-spacing: .03em; }
.cred b.num { font-size: 30px; line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; }
.cred p { font-size: 14px; color: var(--ink-3); flex: 1; }
.cred .copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; }
.cred .copy:hover { border-color: var(--gold); color: #fff; }
.cred .copy svg { width: 14px; height: 14px; }
.creds-foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
@media (max-width: 1024px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .creds { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 05 tracker ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: var(--gold); }
.tracker { padding: 28px; border-radius: 28px; }
.tracker-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.tracker-head b { font-family: var(--serif); font-weight: 400; font-size: 28px; }
:lang(th) .tracker-head b, :lang(zh) .tracker-head b { font-size: 22px; font-weight: 500; }
.trow { padding: 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid rgba(255, 255, 255, .08); }
.trow + .trow { margin-top: 12px; }
.trow-top { display: flex; justify-content: space-between; gap: 12px; }
.trow-top b { display: block; font-weight: 500; }
.trow-top em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.trow-top .st { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.trow-top .st.warn { color: var(--warn); }
.bar { margin-top: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.bar i { display: block; height: 4px; border-radius: 4px; background: var(--gold); }
.trow .small { display: block; margin-top: 12px; color: var(--ink-2); }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- 06 pricing + estimator ---------- */
.center-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.center-head .intro { margin: 20px auto 0; max-width: 620px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 36px; border-radius: 28px; background: var(--bg-2); border: 1px solid rgba(255, 255, 255, .08); }
.plan.feature { background: var(--bg-3); border-color: var(--gold); }
.plan .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.plan.feature .tag { color: var(--gold); }
.plan h3 { margin: 14px 0 6px; font-size: 36px; line-height: 1.06; }
:lang(th) .plan h3, :lang(zh) .plan h3 { font-size: 26px; line-height: 1.35; }
.plan .d { font-size: 15px; color: var(--ink-3); margin-bottom: 22px; }
.plan .basis { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: var(--ink-2); flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "\2014"; color: var(--gold); }
.est { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.est-in { padding: 36px; background: var(--bg-2); display: flex; flex-direction: column; gap: 20px; }
.est-in h3 { font-family: var(--serif); font-size: 34px; line-height: 1.08; }
:lang(th) .est-in h3, :lang(zh) .est-in h3 { font-size: 26px; line-height: 1.35; font-weight: 500; }
.est-out { padding: 36px; background: var(--bg-3); display: flex; flex-direction: column; }
.est-out table { width: 100%; border-collapse: collapse; font-size: 15px; }
.est-out th, .est-out td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.est-out td { text-align: right; white-space: nowrap; padding-left: 16px; }
.est-out th small { display: block; color: var(--ink-4); font-size: 12px; margin-top: 2px; }
.est-out tr.total th, .est-out tr.total td { border-bottom: 0; padding-top: 20px; font-size: 18px; }
.est-out tr.total td { font-family: var(--serif); font-size: 30px; color: var(--gold); }
:lang(th) .est-out tr.total td, :lang(zh) .est-out tr.total td { font-family: var(--sans); font-size: 24px; font-weight: 600; }
.est-out .note { margin-top: 14px; }
.est-out .btn { margin-top: 24px; align-self: flex-start; }
.fees-note { margin-top: 24px; text-align: center; }
@media (max-width: 1024px) { .plans { grid-template-columns: minmax(0, 1fr); } .est { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .est-in, .est-out, .plan { padding: 24px; } .est-out td { white-space: normal; } }

/* ---------- form controls (estimator + forms) ---------- */
.f { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.f input, .f select, .f textarea { width: 100%; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--ink); font: inherit; font-size: 15px; }
.f select { background: var(--bg-2); padding-right: 12px; }
.f textarea { padding: 14px 16px; resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.f input[aria-invalid="true"] { border-color: var(--warn); }
.f input[type="date"] { color-scheme: dark; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 07 about + FAQ ---------- */
.about-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 72px; align-items: start; }
.office { margin-top: 32px; padding: 28px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.office span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.office b { display: block; margin: 8px 0; font-family: var(--serif); font-weight: 400; font-size: 26px; }
:lang(th) .office b, :lang(zh) .office b { font-size: 21px; font-weight: 500; }
.office p { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.facts-dl { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.facts-dl dt { font-size: 12px; color: var(--ink-4); }
.facts-dl dd { margin: 4px 0 0; font-size: 15px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: 24px; line-height: 1.25; }
:lang(th) .faq summary, :lang(zh) .faq summary { font-size: 19px; font-weight: 500; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--gold); font-size: 22px; line-height: 1; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); font-size: 15px; max-width: 640px; }
@media (max-width: 960px) { .about-faq { grid-template-columns: minmax(0, 1fr); gap: 56px; } }

/* ---------- 08 contact ---------- */
.contact-sec { position: relative; isolation: isolate; background: var(--bg) url(../video/hero-poster.jpg) center / cover no-repeat; }
.contact-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4, 24, 22, .84); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact .h2 em { color: var(--gold); }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.contact-list a, .contact-list button { color: var(--ink-2); }
.contact-list button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; text-align: left; }
.contact-list > * { overflow-wrap: anywhere; }
.forms { border-radius: 28px; padding: 10px; }
.ftabs { display: flex; gap: 6px; padding: 4px; margin: 0 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .3); }
.ftabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ftabs button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 22px; }
.lead-form > * { min-width: 0; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form .intro-line { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--gold); }
.consent a { color: var(--ink); }
.lead-form button[type="submit"] { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; font-size: 14px; min-height: 1em; }
.form-status.ok { color: #9fd8c4; }
.form-status.err { color: var(--warn); }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 560px) { .lead-form { grid-template-columns: minmax(0, 1fr); padding: 14px; } .ftabs button { font-size: 13px; } }

/* ---------- footer, floating chat, toast ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 120px; font-size: 13px; color: var(--ink-4); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.foot-in b { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 22px; color: var(--ink); margin-right: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--ink-3); }
.chat-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.chat-float a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.chat-float a:hover { color: #fff; filter: brightness(1.08); }
.copy-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; max-width: min(92vw, 520px); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
@media (max-width: 640px) { .chat-float a span { display: none; } .chat-float a { width: 48px; padding: 0; justify-content: center; } }

@media print {
  .site-head, .chat-float, .cine-video, .cine-scrim, .cine-pause, .forms { display: none !important; }
  body { background: #fff; color: #000; }
}
.card .more svg, .cred .copy svg { width: 15px; height: 15px; flex: none; }
/* Thai and Chinese have no spaces between words: keep the highlighted phrase together instead of breaking mid-phrase */
:lang(th) .hero h1 em, :lang(zh) .hero h1 em, :lang(th) .h2 em, :lang(zh) .h2 em { display: inline-block; }

/* Thai display font: Samphan Condensed (one weight, very condensed) is used only where it is large enough to read:
   the hero and section headings. Smaller headings keep IBM Plex Sans Thai. */
:lang(th) .hero h1 { font-size: clamp(52px, 7.4vw, 104px); line-height: 1.1; font-weight: 400; }
:lang(th) .h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.15; font-weight: 400; }
:lang(th) .card h3, :lang(th) .plan h3, :lang(th) .result h3, :lang(th) .est-in h3, :lang(th) .partners h3,
:lang(th) .finder legend, :lang(th) .office b, :lang(th) .tracker-head b, :lang(th) .result .empty b, :lang(th) .risks .risks-title,
:lang(th) .faq summary { font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.site-foot .credit { flex-basis: 100%; font-size: 12px; color: var(--ink-4); }

/* Fixed-width figures: the display fonts (Instrument Serif, Samphan Condensed) have no digits here, so every number
   on the page comes from Inter / IBM Plex Sans Thai with tabular lining figures and never shifts when it changes. */
body, input, select, textarea, button { font-variant-numeric: tabular-nums lining-nums; }
.step .n, .cred b.num, .est-out tr.total td, .logo b { font-feature-settings: "tnum" 1, "lnum" 1; }
.step .n { font-family: var(--sans); font-weight: 400; letter-spacing: -0.02em; }
.cred b.num { font-family: var(--sans); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; overflow-wrap: normal; }
.est-out tr.total td { font-family: var(--sans); font-weight: 500; font-size: 28px; }
