/* Marketing site — Home / Services / Reviews / Contact */

/* Anchor targets (side dot-nav + any #hash links) must not tuck under the sticky header. */
section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 253, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(252, 253, 255, 0.96);
  border-bottom-color: rgba(20, 40, 80, 0.08);
  box-shadow: 0 6px 20px -12px rgba(20, 40, 80, 0.35);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}
.site-header__logo { border-radius: 0; }
.site-header__name {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text);
}
.site-header__name .accent { color: var(--color-primary); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text-muted);
}
.site-nav a { position: relative; padding: 8px 0; transition: color 0.2s var(--ease); }
.site-nav a:hover, .site-nav a.is-active { color: var(--color-primary-dark); }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__login { padding: 10px 8px; font-size: var(--fs-body); }
/* nowrap จำเป็น ข้อความ "เริ่มประเมินฟรี" ยาว 14 ตัวอักษร พอตัวหนังสือใหญ่ขึ้น
   มันตกบรรทัดเป็นสองบรรทัดแล้วดัน header สูงขึ้น เจอ 28 ส.ค. 69 ตอนขยายขนาดตัวอักษร */
.site-header__cta { padding: 11px 22px; font-size: var(--fs-body); white-space: nowrap; }
.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  /* flex-shrink: 0 จำเป็น ไม่งั้นพอปุ่มข้าง ๆ กว้างขึ้นมันจะบีบปุ่มนี้จาก 44 เหลือ 40
     ซึ่งต่ำกว่าขนาดนิ้วสัมผัสที่ 44px เจอตอนขยายขนาดตัวอักษร 28 ส.ค. 69 */
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: none;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.site-header__toggle span {
  width: 18px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.site-header__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header__toggle.open span:nth-child(2) { opacity: 0; }
.site-header__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ปุ่มเข้าสู่ระบบมีสองที่ จอกว้างอยู่มุมขวา จอแคบย้ายไปอยู่ในเมนูที่กางออก */
.site-nav__login { display: none; }

@media (max-width: 860px) {
  .site-header__login { display: none; }
  .site-nav__login { display: flex; font-weight: 600; color: var(--color-primary-dark); border-top: 1px solid var(--color-border, #E4EAF3); margin-top: 6px; }
  .site-header__toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 24px;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s var(--ease), padding 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .site-nav.open {
    max-height: 320px;
    padding: 16px 24px 24px;
    visibility: visible;
    transition: max-height 0.3s var(--ease), padding 0.3s var(--ease), visibility 0s;
  }
  .site-nav a { width: 100%; padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
  .site-header__cta { padding: 9px 15px; font-size: var(--fs-note); min-height: 44px; }
}
/* จอ 320px อย่าง iPhone SE รุ่นเล็กใส่ของสี่ชิ้นในแถวเดียวไม่พอ
   โลโก้ 40 ชื่อ 107 ปุ่ม 99 ปุ่มเมนู 44 รวมช่องไฟแล้วเกิน 320 ไป 24px
   เลยย่อโลโก้กับชื่อแบรนด์ลงเฉพาะช่วงนี้ ปุ่มกับปุ่มเมนูห้ามย่อเพราะเป็นเป้าที่ต้องกด */
@media (max-width: 380px) {
  .site-header__row { gap: 8px; }
  .site-header .container { padding: 0 12px; }
  .site-header__cta { padding: 8px 11px; font-size: var(--fs-note); }
  .site-header__actions { gap: 6px; }
  .site-header__brand { gap: 7px; }
  .site-header__logo { width: 34px; height: 34px; }
  .site-header__name { font-size: var(--fs-lead); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0F2340;
  color: #C7D5EA;
  padding: 64px 0 0;
  margin-top: 96px;
}
.site-footer .site-header__name { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__brand p { font-size: var(--fs-small); line-height: 1.7; margin: 16px 0 20px; max-width: 320px; color: #9FB3CC; }
.site-footer__social { display: flex; gap: 10px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-btn:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; }
.social-btn--line { color: #06C755; }
/* หัวคอลัมน์ท้ายเว็บเป็นหัวข้อระดับเดียวกับหัวข้อในหน้า ใช้ h3 ทำให้หน้าที่ไม่มี h2 อย่าง 404 ลำดับกระโดด h1->h3 */
.site-footer__col h2 { font-size: var(--fs-small); color: #fff; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 16px; }
.site-footer__col a, .site-footer__col p { display: block; font-size: var(--fs-small); color: #9FB3CC; margin-bottom: 12px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { padding: 22px 0; font-size: var(--fs-note); color: #7E93AF; text-align: center; }
.site-footer__disclaimer { max-width: 640px; margin: 0 auto 10px; font-size: var(--fs-note); line-height: 1.6; color: #94A9C6; }

@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  /* จอสัมผัส: ลิงก์สูง 20px นิ้วแตะพลาด ย้ายระยะห่างจาก margin มาเป็น padding แถวจะสูง 44px พอดี */
  .site-footer__col a { margin-bottom: 0; padding: 12px 0; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 62px;
  background: var(--color-white);
}
/* แสงฟ้าเอียงจากมุมขวาบนลงมุมซ้ายล่าง ให้พื้นมีทิศทาง ไม่ใช่ก้อนเบลอกลางจอแบบเดิม */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 520px at 82% 4%, rgba(76, 201, 240, 0.20), rgba(76, 201, 240, 0) 62%),
    radial-gradient(620px 480px at 6% 96%, rgba(47, 128, 237, 0.10), rgba(47, 128, 237, 0) 64%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 94%);
  pointer-events: none;
  z-index: 0;
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
}

/* หัวข้อผสมน้ำหนักตัวอักษร บรรทัดแรกบาง บรรทัดสองหนา ให้มีจังหวะ ไม่ใช่ก้อนหนาก้อนเดียว */
#sec-hero h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 200;
  text-wrap: balance;
}
#sec-hero h1 strong { font-weight: 700; display: block; }
#sec-hero h1 .mark { position: relative; color: var(--color-primary-dark); white-space: nowrap; }
/* แถบไฮไลต์ใต้คำ เหมือนคนเอาปากกาเน้นข้อความขีดไว้ แทนการเปลี่ยนสีตัวอักษรเฉย ๆ */
#sec-hero h1 .mark::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.02em;
  height: 0.24em;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(76, 201, 240, 0.42), rgba(47, 128, 237, 0.26));
  z-index: -1;
}
#sec-hero p.lead {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-size: var(--fs-lead); font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
/* ตัวขาวบนน้ำเงินเข้มทึบได้คอนทราสต์ 7.57 ผ่านสบาย
   ไม่ใช้ .btn-primary ตรงนี้เพราะตัวนั้นเป็นไล่สีจากฟ้าอ่อน ตัวขาวบนปลายอ่อนได้แค่ 1.92 */
.hero-btn--go { background: #17539F; color: #fff; box-shadow: 0 10px 24px rgba(23, 83, 159, 0.30); }
.hero-btn--go:hover { background: #0F447F; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(23, 83, 159, 0.36); }
.hero-btn--ghost { background: var(--color-white); color: var(--color-primary-dark); box-shadow: inset 0 0 0 1.5px #CFE1F8; }
.hero-btn--ghost:hover { background: var(--color-primary-light); transform: translateY(-2px); }

.hero__trust {
  padding-top: 22px;
  border-top: 1px solid #E2EBF7;
  font-size: var(--fs-body); line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 44ch;
  margin: 0;
}
.hero__trust b { color: var(--color-text); font-weight: 500; }

/* ================= ฮีโร่หน้ารอง หัวข้อกับคำโปรย =================
   หน้าบริการ รีวิว ติดต่อ ใช้ .hero ร่วมกัน แต่เดิมไม่มีกฎของตัวเองสักข้อ
   h1 เลยตกไปใช้ค่าเริ่มต้นของเบราว์เซอร์ที่ 32px และ span.accent ก็ไม่มีสี
   กฎชุดนี้ย้ายของที่เคยเขียนคาไว้ใน style ของแต่ละหน้ามารวมไว้ที่เดียว */
.hero h1 .accent { color: var(--color-primary-dark); }

.hero--lede { padding-bottom: 56px; text-align: center; }
.hero--lede h1 {
  margin: 0 auto 16px;
  max-width: 30ch;
  font-size: var(--fs-h1s);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero--lede p.lead {
  margin: 0 auto 30px;
  max-width: 52ch;
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--color-text-muted);
}
.hero--lede .btn-primary { font-size: var(--fs-lead); }
.hero-lede__note { margin: 16px 0 0; font-size: var(--fs-note); color: var(--color-text-muted); }
.hero-lede__note a { color: var(--color-primary-dark); font-weight: 600; border-bottom: 1px solid #BBD3F2; }
@media (max-width: 620px) {
  .hero--lede h1 { font-size: var(--fs-h2); }
}

/* ================= เส้นทางสี่จุดใต้ปุ่มในฮีโร่หน้าบริการ =================
   เล่าลำดับว่าเริ่มที่ประเมินก่อน แล้วต่อไปทางไหนได้บ้าง จุดแรกกดใช้ได้เลย อีกสามจุดต้องสมัครก่อน
   เส้นเชื่อมวาดเป็นท่อนของแต่ละจุด ไม่ใช่แถบยาวเส้นเดียวพาดทั้งแถว เพราะแถบเดียวจะโผล่เลยขอบซ้ายขวา
   ค่าครึ่งวงกับกึ่งกลางวงเก็บเป็นตัวแปร เผื่อวันหลังเปลี่ยนขนาดวงแล้วเส้นยังต่อตรงกลางวงเหมือนเดิม */
.hero-path { --dot: 64px; --dot-half: 48px; --dot-mid: 32px; margin-top: 52px; }
.hero-path__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-path__item {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 0 12px;
  border-radius: 14px;
}
.hero-path__item::before {
  content: "";
  position: absolute;
  height: 1px;
  background: #CFE0F5;
  right: calc(50% + var(--dot-half));
  left: calc(-50% + var(--dot-half));
  top: var(--dot-mid);
  transform-origin: right center;
  transform: scaleX(0);
}
.hero-path__item:first-child::before { display: none; }
.hero-path.is-seen .hero-path__item:nth-child(2)::before { animation: heroPathDraw 0.5s var(--ease) 0.05s forwards; }
.hero-path.is-seen .hero-path__item:nth-child(3)::before { animation: heroPathDraw 0.5s var(--ease) 0.25s forwards; }
.hero-path.is-seen .hero-path__item:nth-child(4)::before { animation: heroPathDraw 0.5s var(--ease) 0.45s forwards; }
@keyframes heroPathDraw { to { transform: scaleX(1); } }

/* ไอคอนสามมิติเป็นไฟล์ภาพ ไม่ใช่ svg เหมือนที่อื่นในเว็บ จึงไม่มี currentColor
   จุดแรกเป็นสีเขียวมาจากในไฟล์ภาพเอง ไม่ได้ทำด้วย css เหมือนตอนเป็นวงกลม */
.hero-path__ic {
  width: var(--dot);
  height: var(--dot);
  display: block;
  transition: transform 0.18s var(--ease);
}
.hero-path__item:hover .hero-path__ic { transform: translateY(-3px); }
.hero-path__item b { margin-top: 12px; font-size: var(--fs-body); font-weight: 600; color: var(--color-text); transition: color 0.18s var(--ease); }
.hero-path__item:hover b { color: var(--color-primary-dark); }
.hero-path__desc {
  margin-top: 5px;
  font-size: var(--fs-note);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 24ch;
  min-height: 2.6em;
  text-wrap: balance;
}
.hero-path__tag {
  margin-top: 10px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-primary-light);
}
.hero-path__item--open .hero-path__tag { background: #E7F9F1; color: #0B7A55; }
.hero-path__note { margin: 34px auto 0; max-width: 56ch; font-size: var(--fs-note); line-height: 1.7; color: var(--color-text-muted); }
.hero-path__note b { color: var(--color-text); font-weight: 600; }
.hero-path__note a { color: var(--color-primary-dark); font-weight: 600; border-bottom: 1px solid #BBD3F2; }

@media (max-width: 880px) {
  .hero-path__row { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .hero-path__item::before { display: none; }
  .hero-path__desc { min-height: 0; }
}
/* ปิดการวาดเส้น เพราะ initScanOnce ไม่ใส่ is-seen ให้เลยเมื่อผู้ใช้ขอลดการเคลื่อนไหว
   ถ้าไม่คืนค่าตรงนี้ เส้นจะหายไปทั้งแถวแทนที่จะแค่ไม่วิ่ง */
@media (prefers-reduced-motion: reduce) {
  .hero-path__item::before { transform: scaleX(1); animation: none; }
  .hero-path__ic, .hero-path__item b { transition: none; }
}

/* รอยต่อฮีโร่กับบล็อกถัดไป เดิมเป็นสี่เหลี่ยมสองก้อนชนกัน มีที่ว่างเกือบ 160px ถูกผ่ากลางด้วยการเปลี่ยนสีเฉย ๆ
   แถบนี้ไล่สีขาวไปฟ้าอ่อนต่อกันสนิท แล้วลากเส้นคลื่นหัวใจเส้นเดียวกับที่อยู่หลังวงคะแนนผ่านกลาง */
.hero-seam {
  position: relative;
  height: 96px;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-light) 100%);
  overflow: hidden;
}
.hero-seam svg {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 100%; height: 74px;
  display: block;
}
.hero-seam path {
  fill: none;
  stroke: url(#heroPulse);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* บล็อกถัดไปเว้นหัวน้อยลง เพราะแถบรอยต่อทำหน้าที่เว้นระยะให้แล้ว */
#sec-issue { padding-top: 44px; }
@media (max-width: 760px) {
  .hero-seam { height: 72px; }
  .hero-seam svg { height: 56px; }
}

/* หน้ารีวิวยังใช้แถบตัวเลขชุดนี้อยู่ หน้าแรกเลิกใช้แล้ว */
.hero__stats { display: flex; gap: 48px; justify-content: center; }
.hero__stat { text-align: center; }
.hero__stat b { display: block; font-size: var(--fs-h2); font-weight: 700; color: var(--color-primary); }
.hero__stat span { font-size: var(--fs-note); color: var(--color-text-muted); }
@media (max-width: 560px) {
  .hero__stats { gap: 10px; }
  .hero__stat { flex: 1; min-width: 0; }
  .hero__stat b { font-size: var(--fs-h2s); }
  .hero__stat span { font-size: var(--fs-note); line-height: 1.45; display: block; text-wrap: balance; }
}
@media (max-width: 380px) {
  .hero__stats { flex-direction: column; gap: 18px; }
  .hero__stat span { font-size: var(--fs-small); }
}

/* ---------- ฝั่งขวา วงคะแนนกับกระต่ายหมอ ---------- */
.hero__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 400px; max-width: 100%; }
.hero-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero-rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(47, 128, 237, 0.16); }
.hero-rings i:nth-child(1) { width: 400px; height: 400px; }
.hero-rings i:nth-child(2) { width: 310px; height: 310px; border-color: rgba(47, 128, 237, 0.22); }
.hero-rings i:nth-child(3) { width: 220px; height: 220px; border-color: rgba(47, 128, 237, 0.28); }
/* เส้นคลื่นหัวใจพาดหลัง เป็นลายที่พูดถึงสุขภาพตรง ๆ ไม่ใช่ลายนามธรรมที่ใช้กับเว็บอะไรก็ได้ */
.hero-pulse { position: absolute; left: -6%; right: -6%; top: 50%; transform: translateY(-50%); opacity: 0.5; }
.hero-pulse svg { width: 100%; height: 78px; display: block; }
.hero-pulse path { fill: none; stroke: url(#heroPulse); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-dial {
  position: relative;
  transform: translateX(-30px);
  width: 224px; height: 224px;
  border-radius: 50%;
  background: conic-gradient(var(--color-primary) 0 82%, #E4EDF9 82% 100%);
  box-shadow: 0 24px 60px rgba(23, 83, 159, 0.16);
  display: flex; align-items: center; justify-content: center;
}
/* วงในต้องใช้ ::after ทับตรงกลาง ห้ามใช้ box-shadow inset เพราะ inset จะกินวงนอกไม่ใช่วงใน */
.hero-dial::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--color-white); }
.hero-dial__val { position: relative; z-index: 1; text-align: center; line-height: 1.05; }
.hero-dial__val b { display: block; font-size: 52px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* สองบรรทัดนี้อยู่ในวงกลมขนาดตายตัว 224px บนจอคอมกับ 176px บนมือถือ
   จึงไม่ผูกกับชุดขนาดตัวอักษรกลาง ถ้าผูกแล้วขยาย ข้อความจะล้นออกนอกวงและไปชนป้ายลอยข้าง ๆ
   เจอตอนขยายขนาดตัวอักษรทั้งเว็บ 28 ส.ค. 69 */
.hero-dial__val u { display: block; text-decoration: none; font-size: 12.5px; font-weight: 500; color: var(--color-text-muted); margin-top: 2px; }
.hero-dial__val em { display: block; font-style: normal; font-size: 11.5px; font-weight: 400; color: #5F6A78; margin-top: 3px; }

.hero-mascot { position: absolute; right: 1%; bottom: 7%; width: 152px; z-index: 3; filter: drop-shadow(0 16px 30px rgba(23, 83, 159, 0.22)); }
/* ตัวกระต่ายเป็นสีขาว ถ้าไปทับวงคะแนนที่ข้างในก็ขาว จะจมหายไป ต้องมีแสงขาวหนุนหลังให้แยกตัว */
.hero-mascot::before {
  content: "";
  position: absolute; inset: -16% -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.96) 42%, rgba(255,255,255,0) 72%);
}
.hero-mascot img { position: relative; width: 100%; height: auto; display: block; }
.hero-say {
  position: absolute; right: 2%; bottom: 40%; z-index: 4;
  background: var(--color-white);
  border-radius: 14px 14px 4px 14px;
  padding: 9px 14px;
  font-size: var(--fs-note); font-weight: 500; color: var(--color-primary-dark);
  box-shadow: 0 8px 22px rgba(23, 83, 159, 0.18);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 52px; }
  .hero__in { grid-template-columns: 1fr; gap: 34px; }
  .hero__art { order: -1; min-height: 300px; }
  .hero-rings i:nth-child(1) { width: 300px; height: 300px; }
  .hero-rings i:nth-child(2) { width: 236px; height: 236px; }
  .hero-rings i:nth-child(3) { width: 170px; height: 170px; }
  .hero-dial { width: 176px; height: 176px; transform: translateX(-22px); }
  .hero-dial__val b { font-size: 42px; }
  .hero-mascot { width: 112px; right: 2%; bottom: 8%; }
  /* ป้ายลอยบนภาพฮีโร่ ไม่ผูกกับชุดขนาดกลาง เพราะพื้นที่รอบวงกลมคะแนนบนมือถือมีจำกัด
     วัดแล้วที่ 12px ขึ้นไปมันจะไปทับข้อความในวงกลมทุกตำแหน่ง ไม่ว่าจะขยับไปตรงไหน
     ข้อความนี้ไม่ใช่เนื้อหาที่ต้องอ่าน ประโยคเดียวกันมีอยู่ในย่อหน้านำอยู่แล้ว */
  .hero-say { right: 0; bottom: 30%; font-size: 11px; }
  #sec-hero p.lead { max-width: none; }
  .hero__trust { max-width: none; }
  .hero-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-btn { transition: none; }
  .hero-btn:hover { transform: none; }
}
@media (max-width: 420px) {
  .hero__blob { display: none; }
}

/* ---------- Generic section heading ---------- */
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  /* ตัวขาวบนฟ้าสด #2F80ED ได้คอนทราสต์ 3.87 ไม่ผ่านเกณฑ์ ใช้ฟ้าเข้มขึ้นหนึ่งขั้นได้ 5.66 */
  background: var(--color-primary-dark);
  color: #fff;
  font-size: var(--fs-note);
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin: 0 0 14px; letter-spacing: -0.01em; text-wrap: balance; }
.section-head p { color: var(--color-text-muted); font-size: var(--fs-lead); line-height: 1.7; }

section.section { padding: 88px 0; }
section.section--tight { padding: 56px 0; }
section.section--muted { background: var(--color-white); }

/* ---------- Problem / issue section ---------- */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.issue-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
/* ใช้กับบล็อกที่เป็นลำดับขั้นตอนจริงเท่านั้น (หน้าบริการ) ไม่ใช่กับการ์ดปัญหา 3 ข้อในหน้าแรก */
.issue-card .num {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
  font-size: var(--fs-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.steps-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

.issue-card__icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.issue-card h3 { font-size: var(--fs-lead); margin: 0 0 8px; }
.issue-card p { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.7; margin: 0; }

/* บล็อกปัญหาหน้าแรกใช้โครงสองคอลัมน์ไม่เท่ากัน หัวข้อชิดซ้าย รายการอยู่ขวา
   เดิมเป็นตาราง 3 ช่องเท่ากันเหมือนบล็อกขั้นตอนที่อยู่ถัดไป สองบล็อกติดกันเลยดูเป็นของซ้ำ
   ตาราง 3 ช่องเท่ากันแปลว่าของเท่ากัน ซึ่งถูกกับปัญหา แต่บล็อกขั้นตอนเป็นลำดับ ปล่อยให้บล็อกนั้นถือรูปทรงตารางไว้คนเดียว
   ชื่อคลาสขึ้นต้นด้วย issue-split ไม่ใช้ .issue-card เพราะคลาสนั้นหน้าบริการใช้อยู่ */
#sec-issue { background: var(--color-primary-light); }

.issue-split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 60px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.issue-split__head h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
/* พื้นฟ้าอ่อนทำให้ --color-text-muted #6B7280 เหลือคอนทราสต์ 4.22 ต่ำกว่าเกณฑ์ 4.5
   บล็อกนี้จึงใช้เทาเข้มขึ้นหนึ่งขั้น ได้ 4.94 */
.issue-split__head > p { color: #5F6A78; font-size: var(--fs-lead); line-height: 1.78; margin: 0; }

/* สะพานปิดบล็อก พาสายตาลงไปหาบล็อกทางแก้ที่อยู่ถัดไป */
.issue-split__bridge {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #C9DAF0;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.issue-split__bridge svg { width: 20px; height: 20px; color: var(--color-primary-dark); flex-shrink: 0; margin-top: 3px; }
.issue-split__bridge p { margin: 0; font-size: var(--fs-body); line-height: 1.65; color: var(--color-text); font-weight: 500; }

.issue-split__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.issue-split__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #C9DAF0;
  align-items: start;
}
.issue-split__item:first-child { padding-top: 0; }
.issue-split__item:last-child { border-bottom: 0; padding-bottom: 0; }
.issue-split__icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(31, 61, 100, 0.06), 0 6px 16px rgba(31, 61, 100, 0.10);
}
.issue-split__text b { display: block; font-size: var(--fs-h3); font-weight: 600; margin-bottom: 6px; letter-spacing: -0.005em; }
.issue-split__text span { display: block; font-size: var(--fs-body); color: #5F6A78; line-height: 1.72; }

@media (max-width: 900px) {
  .issue-split { grid-template-columns: 1fr; gap: 30px; }
}

/* บล็อกทางแก้ขยับเข้ามาชิดขึ้น ให้อ่านต่อกันเป็นเรื่องเดียว */
#sec-process { padding: 66px 0 74px; }

/* ---------- 3 ขั้นตอน ---------- */
/* ของเดิมเป็นการ์ดไล่สีน้ำเงินเข้มสามใบ ซึ่งเป็นของที่เข้มที่สุดในหน้าแรกทั้งหน้า
   ทั้งที่ทั้งเว็บเป็นขาวฟ้า และโครงการ์ดก็ซ้ำกับบล็อกปัญหาที่อยู่เหนือมันพอดี
   ชุดนี้ทิ้งกล่องกับไอคอนออก เหลือเส้นเดียววิ่งผ่านจุดลำดับ
   ลำดับขั้นตอนจึงถูกเล่าด้วยเส้นจริง ไม่ใช่ลูกศร 10px ที่ต้องซ่อนทิ้งบนจอแคบ */
.flow {
  --gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  counter-reset: fstep;
}
/* จุดลำดับวางกลางคอลัมน์ให้ตรงกับหัวข้อกับคำอธิบายที่อยู่ใต้มัน
   ของเดิมชิดซ้ายแล้วเนื้อหาชิดซ้าย ทำให้จุดกับข้อความไม่ได้อยู่แกนเดียวกัน */
.flow__step { position: relative; padding-top: 2px; text-align: center; }
.flow__mark {
  counter-increment: fstep;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  /* ขาวบน #2F80ED ได้ 3.87 ตกเกณฑ์ 4.5 เพราะเลข 16px ไม่นับเป็นตัวใหญ่ เข้มลงหนึ่งขั้นได้ 5.66 */
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-size: var(--fs-lead);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  /* วงขาวรอบนอกเจาะเส้นให้ขาดตรงจุด เส้นจึงดูลอดหลังจุดพอดี */
  box-shadow: 0 0 0 5px var(--color-white), 0 4px 12px rgba(31, 61, 100, 0.2);
}
.flow__mark::before { content: counter(fstep); }
/* เส้นเชื่อมยาวข้ามช่องว่างไปหาจุดถัดไป ไม่ใช่แค่ในคอลัมน์ตัวเอง */
.flow__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 20px;
  /* จุดกว้าง 40px อยู่กึ่งกลางคอลัมน์ ขอบขวาจึงอยู่ที่ 50% + 20px เผื่อหายใจอีก 8px */
  left: calc(50% + 28px);
  width: calc(100% + var(--gap) - 56px);
  height: 2px;
  background: #C4D8F0;
  z-index: 1;
}
.flow__step h3 { font-size: var(--fs-h3); font-weight: 600; margin: 20px 0 9px; letter-spacing: -0.005em; }
/* เกลี่ยบรรทัดไม่ให้เหลือคำโดด ๆ ท้ายย่อหน้าเวลาข้อความอยู่กึ่งกลาง */
.flow__step p { margin: 0; font-size: var(--fs-body); line-height: 1.75; color: #5F6A78; text-wrap: balance; }
/* บรรทัดปิดท้ายแต่ละขั้น ตอบคำถามที่คนถามก่อนกดเริ่มจริง ๆ ว่านานไหม รอไหม ทำซ้ำได้ไหม */
.flow__step em { display: block; font-style: normal; margin-top: 12px; font-size: var(--fs-small); font-weight: 500; color: var(--color-primary-dark); }

/* จอแคบเส้นหมุนเป็นแนวตั้ง ลำดับยังอ่านได้เหมือนเดิม ต่างจากลูกศรเดิมที่ต้องซ่อน */
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__step { padding-left: 56px; padding-bottom: 26px; text-align: left; }
  .flow__step:last-child { padding-bottom: 0; }
  .flow__mark { position: absolute; left: 0; top: 0; margin: 0; }
  .flow__step:not(:last-child)::before {
    top: 44px; left: 19px; right: auto;
    width: 2px;
    height: calc(100% - 44px);
  }
  .flow__step h3 { margin-top: 6px; }
}

/* บล็อกลองลาก BMI เคยเป็นพื้นขาวต่อจากบล็อกขั้นตอนที่ขาวเหมือนกัน
   กลายเป็นพื้นขาวยาวติดกันโดยไม่มีอะไรคั่น จึงลดพื้นลงหนึ่งขั้นแล้วตีเส้นคั่น */
#sec-try { background: var(--color-bg); border-top: 1px solid #E3EBF6; }

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

/* ---------- สิ่งที่ใช้ต่อได้หลังประเมิน (หน้าแรก) ---------- */
/* ของเดิมใช้ .bento-grid สี่ใบ ใบแรกมีรายการตัวเลขต่อท้าย แถวบนจึงสูงกว่าเนื้อหาจริงของอีกใบ
   เหลือช่องว่างครึ่งการ์ดจนดูเหมือนโหลดไม่ขึ้น และป้ายชิปใต้การ์ดก็พูดซ้ำประโยคที่อยู่เหนือมัน
   ที่หนักกว่านั้นคือสามในสี่ใบลิงก์ไปหน้าที่ต้องล็อกอิน คนกดแล้วเด้งออกโดยไม่มีใครบอกล่วงหน้า
   ชุดนี้เหลือสามใบที่เนื้อหาเท่ากัน แถวเดียวจบ และเขียนบอกตรง ๆ ว่าต้องสมัครก่อน
   .bento-* ยังใช้อยู่ที่ services/index.html จึงไม่แตะของเดิม */
.tool-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  background: var(--color-white);
  border: 1px solid #E2EAF5;
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tool-card:hover, .tool-card:focus-visible {
  transform: translateY(-3px);
  border-color: #C7DAF3;
  box-shadow: 0 14px 30px rgba(31, 61, 100, 0.10);
}
.tool-card__icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 15px;
}
.tool-card b { display: block; font-size: var(--fs-lead); font-weight: 600; letter-spacing: -0.005em; margin-bottom: 7px; }
.tool-card__desc { display: block; font-size: var(--fs-small); line-height: 1.68; color: #5F6A78; }
/* ป้ายท้ายการ์ดบอกตรง ๆ ว่ากดเข้าไปแล้วต้องสมัครก่อน จะได้ไม่เด้งไปหน้าล็อกอินแบบงง ๆ */
.tool-card__tag {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-style: normal;
  font-size: var(--fs-note);
  font-weight: 500;
  color: #6B7482;
}
/* ทางออกสำหรับคนที่ยังไม่อยากสมัคร ไม่งั้นบล็อกนี้กลายเป็นกำแพงล้วน ๆ */
/* หน้าแรกมีบล็อกพื้นสีเดียวกันเรียงติดกันสี่บล็อก (BMI จุดเด่น รีวิว ความเป็นส่วนตัว)
   ตีเส้นคั่นบาง ๆ ให้เห็นขอบทุกรอยต่อ แทนที่จะปล่อยเป็นพื้นยาวเป็นพรืด */
#sec-features, #sec-reviews, #sec-privacy { border-top: 1px solid #E3EBF6; }

.tool-note { text-align: center; margin: 22px 0 0; font-size: var(--fs-body); color: #5F6A78; }
.tool-note a { color: var(--color-primary-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid #BBD3F2; }
.tool-note a:hover { border-bottom-color: var(--color-primary-dark); }

@media (max-width: 700px) {
  .tool-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-card { padding: 18px 18px 16px; }
  .tool-card__icon { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 12px; }
  .tool-card__tag { padding-top: 12px; }
}

/* หน้าบริการมีสี่ใบเรียงแถวเดียว ใช้สูตรการ์ดชุดเดียวกับหน้าแรก */
.tool-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .tool-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .tool-grid--4 { grid-template-columns: 1fr; } }
/* ป้ายของใบที่กดเข้าไปใช้ได้เลยโดยไม่ต้องสมัคร ให้เด่นกว่าใบที่ต้องสมัครก่อน */
.tool-card__tag--open { color: var(--color-primary-dark); font-weight: 600; }

/* ขั้นตอนสี่ข้อในหน้าบริการ สูตรเส้นเดียวกับหน้าแรก แค่เปลี่ยนจำนวนคอลัมน์ */
.flow--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) and (min-width: 861px) {
  .flow--4 { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  /* พอเหลือสองคอลัมน์ ขั้นที่ 2 กลายเป็นตัวท้ายแถว เส้นเชื่อมของมันเลยยิงเลยขอบขวาออกไปนอกจอ
     ทำให้หน้าเลื่อนแนวนอนได้ 215px ที่ความกว้าง 1024 ตัดเส้นของทุกตัวท้ายแถวทิ้ง */
  .flow--4 .flow__step:nth-child(2n)::before { display: none; }
}
/* .flow--4 ประกาศทีหลังบล็อก media ของ .flow เลยชนะมันในจอแคบ ต้องเขียนทับซ้ำตรงนี้
   ไม่งั้นสี่คอลัมน์ค้างอยู่บนมือถือแล้วหน้าล้นออกไปทางขวา */
@media (max-width: 860px) { .flow--4 { grid-template-columns: 1fr; } }

/* ---------- แพ็กเกจ (หน้าบริการ) ---------- */
/* ของเดิมใช้ .issue-card ที่มี style ฝังในแท็กเต็มไปหมด และแพ็กเกจฟรีเขียนว่าตัวเตือนได้ 3 รายการ
   ซึ่งในโค้ดไม่มีการจำกัดจำนวนเลย ทุกคนตั้งได้ไม่จำกัดอยู่แล้ว
   ชุดนี้ใช้สูตรการ์ดเดียวกับทั้งเว็บ และแยกให้ชัดว่าใบไหนใช้ได้จริงตอนนี้ ใบไหนยังไม่เปิด */
.plan-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid #E2EAF5;
  border-radius: var(--radius-card);
  padding: 26px 24px 24px;
  text-align: left;
}
.plan-card--now { border-color: var(--color-primary); box-shadow: 0 12px 30px rgba(31, 61, 100, 0.10); }
.plan-card__label {
  align-self: flex-start;
  font-size: var(--fs-note);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #EEF2F7;
  color: #5F6A78;
  margin-bottom: 14px;
}
.plan-card--now .plan-card__label { background: var(--color-primary-dark); color: var(--color-white); }
.plan-card h3 { font-size: var(--fs-h3); font-weight: 600; margin: 0 0 4px; }
.plan-card__price { font-size: var(--fs-h1s); font-weight: 700; color: var(--color-text); margin: 0 0 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-card__price span { font-size: var(--fs-small); font-weight: 400; color: #5F6A78; margin-left: 6px; letter-spacing: 0; }
.plan-card .plan-list { margin-bottom: 20px; }
.plan-card__btn { margin-top: auto; width: 100%; }
/* ใบที่ยังไม่เปิดให้บริการทำให้เบาลง จะได้ไม่แย่งสายตาไปจากใบที่ใช้ได้จริง */
.plan-card--soon { background: #FBFCFE; }
.plan-card--soon .plan-card__price { color: #5F6A78; }

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ---------- บล็อกใช้ต่อได้อีกสามอย่าง (หน้าแรก) ---------- */
/* ของเดิมเป็นการ์ดขาวสามใบเรียงแถว ซึ่งไปซ้ำทรงกับการ์ดรีวิวที่อยู่ถัดลงไปสองบล็อก
   และป้าย "ต้องสมัครก่อน" เขียนซ้ำสามครั้งทั้งที่เป็นข้อเท็จจริงอันเดียว
   ชุดนี้เป็นแผงเดียวมีเส้นชีพจรพาดด้านบน ลายเดียวกับเส้นคั่นใต้ฮีโร่
   ยอดคลื่นทั้งสามจุดคำนวณให้ตกตรงกึ่งกลางคอลัมน์พอดี (200, 600, 1000 ของ viewBox 1200)
   ห้ามแก้ค่า 160 / 560 / 960 ในเส้น path โดยไม่ขยับไอคอนตาม ไม่งั้นจะเยื้องกัน */
.feat-panel {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid #E2EAF5;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.feat-panel__wave {
  position: relative;
  height: 82px;
  background: linear-gradient(180deg, #F5FAFF 0%, var(--color-white) 100%);
  border-bottom: 1px solid #EDF3FB;
}
.feat-panel__wave svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.feat-panel__wave path {
  fill: none;
  stroke: url(#featPulse);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: feat-draw 2.4s cubic-bezier(0.5, 0, 0.2, 1) 0.25s forwards;
}
@keyframes feat-draw { to { stroke-dashoffset: 0; } }

.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.feat-grid > li { border-right: 1px solid #EDF3FB; }
.feat-grid > li:last-child { border-right: 0; }
.feat-item {
  display: block;
  height: 100%;
  padding: 0 24px 26px;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s var(--ease);
}
.feat-item:hover, .feat-item:focus-visible { background: #FAFCFF; }
/* ไอคอนลอยขึ้นไปคาบขอบล่างของแถบคลื่น วงขาวรอบนอกเจาะเส้นให้ขาดตรงนั้น */
.feat-item__ico {
  width: 46px; height: 46px;
  border-radius: 15px;
  background: var(--color-white);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -23px auto 14px;
  position: relative;
  z-index: 2;
  border: 1px solid #E4EDF9;
  box-shadow: 0 0 0 4px var(--color-white), 0 1px 2px rgba(31, 61, 100, 0.08), 0 6px 16px rgba(31, 61, 100, 0.12);
  transition: transform 0.22s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.feat-item:hover .feat-item__ico { transform: translateY(-4px); }
.feat-item b { display: block; font-size: var(--fs-lead); font-weight: 600; margin-bottom: 7px; text-align: center; }
/* ต้องเป็นคลาส ห้ามเขียน .feat-item span เพราะคลาสบวกชื่อแท็ก (0,1,1) จะไปทับ
   .feat-item__ico (0,1,0) แล้ว display:flex ของช่องไอคอนจะกลายเป็น block
   ไอคอนจะไปเกาะขอบบนช่อง เยื้องขึ้น 11px โดยที่แนวนอนยังตรงอยู่ จับได้ยากมาก */
.feat-item__desc { display: block; font-size: var(--fs-small); line-height: 1.68; color: #5F6A78; text-align: center; text-wrap: balance; }

/* แถบปิดท้าย แบบบางไม่มีปุ่ม ใช้ลิงก์แทน สูง 43 */
.feat-foot-wrap { text-align: center; margin-top: 26px; }
.feat-foot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 9px 20px;
  background: var(--color-white);
  border: 1px solid #E2EAF5;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  color: #4A5866;
}
.feat-foot b { font-weight: 600; color: var(--color-text); }
.feat-foot a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #BBD3F2;
}
.feat-foot a:hover { border-bottom-color: var(--color-primary-dark); }

@media (prefers-reduced-motion: reduce) {
  .feat-panel__wave path { animation: none; stroke-dashoffset: 0; }
  .feat-item:hover .feat-item__ico { transform: none; }
}
@media (max-width: 760px) {
  .feat-panel__wave { height: 64px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-grid > li { border-right: 0; border-bottom: 1px solid #EDF3FB; }
  .feat-grid > li:last-child { border-bottom: 0; }
  /* ใบที่สองกับสามไม่มีเส้นให้คาบแล้ว จึงเว้นระยะปกติและเอาวงขาวรอบนอกออก */
  .feat-grid > li + li .feat-item__ico {
    margin-top: 22px;
    box-shadow: 0 1px 2px rgba(31, 61, 100, 0.08), 0 6px 16px rgba(31, 61, 100, 0.12);
  }
  .feat-foot { padding: 10px 18px; }
}

/* ---------- MagicBento-style feature grid ---------- */
/* เลิกใช้ bento ที่การ์ดขนาดไม่เท่ากัน เพราะเนื้อหาแต่ละใบยาวไม่พอจะเติมการ์ดใหญ่
   จัดเป็นสองคอลัมน์เท่ากัน ใบแรกเน้นด้วยพื้นสีแทนการทำให้ใหญ่กว่า เข้ากับหน้าแรกที่เรียบ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}
.bento-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: var(--radius-card);
  padding: 26px;
  background: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
}
.bento-card:hover { transform: translateY(-2px); }
/* ใบแรกคือแกนของโปรดักต์ เน้นด้วยพื้นฟ้าอ่อนกับกรอบบาง ไม่ใช่ด้วยขนาด */
.bento-card--lg {
  background: linear-gradient(160deg, #F2F8FF, #FFFFFF 62%);
  box-shadow: inset 0 0 0 1px rgba(47, 128, 237, 0.14), var(--shadow-sm);
}
.bento-card--lg .bento-facts { margin-top: auto; }
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(47,128,237,0.55), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(76,201,240,0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.bento-card.is-hovering::before, .bento-card.is-hovering::after { opacity: 1; }
.bento-card.is-hovering { box-shadow: var(--shadow-glow); }
/* เดิมไอคอนใช้ margin-bottom:auto ดันตัวเองไปติดขอบบน เนื้อหาไปกองล่าง เกิดช่องโหว่กลางการ์ด
   ตอนนี้ไอคอนอยู่ติดหัวข้อเป็นก้อนเดียวกัน แล้วปล่อยให้การ์ดสูงตามเนื้อหาแทน */
.bento-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: var(--fs-h2s);
}
.bento-card h3 { font-size: var(--fs-lead); margin: 14px 0 6px; position: relative; margin-top: 0; }
.bento-card p { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; margin: 0; position: relative; }
.bento-card.clicked { animation: bento-pop 0.35s var(--ease); }
@keyframes bento-pop { 0% { transform: scale(0.98); } 60% { transform: scale(1.015); } 100% { transform: scale(1); } }

/* อย่าล็อกความสูงแถวบนจอแคบ เนื้อหาไทยยาวกว่าที่คิดเสมอ แท็กแถวสองจะถูก overflow:hidden ตัดหายเงียบ ๆ */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing / CTA band ---------- */
.cta-band {
  /* ปลายไล่สีเดิมเป็น #4CC9F0 ซึ่งคำว่า ฟรี สีขาวตกไปอยู่บนนั้นพอดี ได้คอนทราสต์ 1.92
     ชุดนี้ปลายอ่อนสุดคือ #2F80ED ขาวบนนั้นได้ 3.87 ผ่านเกณฑ์ตัวใหญ่ 3.0 */
  background: linear-gradient(120deg, #17539F, var(--color-primary-dark) 55%, var(--color-primary));
  border-radius: 32px;
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-glow);
}
.cta-band h2 { font-size: var(--fs-h2); margin: 0 0 10px; }
.cta-band p { margin: 0; opacity: 0.9; font-size: var(--fs-body); }
.cta-band__price { text-align: center; flex-shrink: 0; }
.cta-band__price .amount { font-size: 40px; font-weight: 800; }
.cta-band__note { font-size: var(--fs-small); opacity: 0.85; margin: 4px 0 0; }

.cta-band__price .btn-primary { background: #fff; color: var(--color-primary-dark); box-shadow: none; margin-top: 14px; }
.cta-band__price .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }

/* แถบปิดท้ายหน้าบริการ ใช้ตัวเดียวกับหน้าแรกแต่ไม่มีตัวเลขราคา
   เพราะบล็อกแพ็กเกจอยู่เหนือมันขึ้นไปแล้ว ซ้ำอีกรอบไม่ได้เพิ่มอะไร */
#sec-start .cta-band__price .btn-primary { margin-top: 0; }
#sec-start .cta-band__note { margin-top: 12px; }
#sec-start .cta-band__note a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.55); }
#sec-start .cta-band__note a:hover { border-bottom-color: #fff; }

/* คอลัมน์แคบสำหรับบล็อกที่เป็นข้อความล้วน เดิมเขียน max-width คาไว้ในแท็กของหน้า */
.container--narrow { max-width: 760px; }

@media (max-width: 760px) {
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
}

/* ---------- บล็อกรีวิว ใช้ทั้งหน้าแรกและหน้ารีวิว ---------- */
/* ของเดิมเป็นกล่องขาวสามใบ ซึ่งกลายเป็นของสามชิ้นเรียงกันชุดที่สี่ในหน้าเดียว
   และไปซ้ำทรงกับแผงสามช่องที่อยู่ติดกันข้างบนพอดี
   ชุดนี้เอากล่องออกเหลือแต่ตัวหนังสือ วางบนแผ่นรองที่ปูลายกระดาษกราฟ
   ลายกระดาษกราฟคือกระดาษที่เครื่องวัดคลื่นหัวใจพิมพ์ออกมา
   จึงอ้างถึงเส้นชีพจรของเว็บได้โดยไม่ต้องลากเส้นเป็นรอบที่สามในหน้าเดียว */
.testi-plate {
  position: relative;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--color-white) 74%);
  border-radius: 26px;
  padding: 42px 14px 40px;
  max-width: 1060px;
  margin: 0 auto;
  overflow: hidden;
}
.testi-plate__in { position: relative; z-index: 3; }
.testi-plate__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(130% 105% at 50% 8%, #000 28%, rgba(0, 0, 0, 0) 84%);
  mask-image: radial-gradient(130% 105% at 50% 8%, #000 28%, rgba(0, 0, 0, 0) 84%);
}
.testi-plate__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  rgba(47, 128, 237, 0.11) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(47, 128, 237, 0.11) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg,  rgba(47, 128, 237, 0.055) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(47, 128, 237, 0.055) 0 1px, transparent 1px 8px);
}
/* กล่องกว้างเท่าแผ่น แถบสว่างอยู่ริมซ้ายวัดเป็นพิกเซล จึงกวาดข้ามแผ่นได้พอดีทั้งใบไม่ว่าจอกว้างเท่าไร
   ไม่วิ่งจนกว่าจะได้คลาส is-seen ซึ่ง initScanOnce ใน site.js ใส่ให้ตอนเลื่อนมาถึงแล้วเลิกเฝ้า
   วิ่งรอบเดียวจบ ไม่วนซ้ำ เพราะทั้งเว็บมีของที่ขยับอยู่ชิ้นเดียวคือคลื่นใน .feat-panel
   ซึ่งก็วาดตัวเองรอบเดียวจบเหมือนกัน ถ้าอันนี้วนไม่หยุดมันจะเป็นของแปลกชิ้นเดียวในเว็บ */
.testi-plate__scan {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 100%;
  transform: translateX(-96px);
  background: linear-gradient(90deg,
    rgba(76, 201, 240, 0) 0px,
    rgba(76, 201, 240, 0.10) 46px,
    rgba(76, 201, 240, 0.40) 80px,
    rgba(47, 128, 237, 0.52) 88px,
    rgba(47, 128, 237, 0) 96px);
}
.testi-plate__bg.is-seen .testi-plate__scan {
  animation: testi-scan 2.4s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes testi-scan {
  from { transform: translateX(-96px); }
  to   { transform: translateX(calc(100% + 96px)); }
}

.testi-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 44px;
  max-width: 1020px;
  margin: 0 auto;
}
.testi { position: relative; padding: 0 30px; display: flex; flex-direction: column; }
/* เส้นคั่นแนวตั้ง ข้ามใบแรกของทุกแถว */
.testi:not(:nth-child(3n + 1))::before {
  content: "";
  position: absolute;
  left: 0; top: 6%; bottom: 6%;
  width: 1px;
  background: linear-gradient(180deg, rgba(47, 128, 237, 0) 0%, #CDE0F7 24%, #CDE0F7 76%, rgba(47, 128, 237, 0) 100%);
}
/* เส้นคั่นแนวนอน เฉพาะแถวที่สองเป็นต้นไป หน้ารีวิวมีหกใบจึงโดน หน้าแรกมีสามใบจึงไม่โดน */
.testi:nth-child(n + 4)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 128, 237, 0) 0%, #CDE0F7 16%, #CDE0F7 84%, rgba(47, 128, 237, 0) 100%);
}
.testi__mark {
  position: absolute;
  top: -34px; left: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 100px;
  line-height: 1;
  color: #D2E5FF;
  pointer-events: none;
  user-select: none;
}
.testi__quote {
  position: relative;
  font-size: var(--fs-body);
  line-height: 1.85;
  margin: 0 0 22px;
  padding-top: 8px;
  text-wrap: pretty;
}
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  /* ไล่สีเดิมทำให้ตัวอักษรขาวบนปลายฟ้าอ่อนเหลือ 1.92 ใช้ทึบเหมือนปุ่มหลัก ได้ 7.57 */
  background: #17539F;
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: var(--fs-body);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #D8E9FF;
}
.testi__name { display: block; font-size: var(--fs-small); font-weight: 600; line-height: 1.5; }
.testi__role { display: block; font-size: var(--fs-note); color: var(--color-text-muted); line-height: 1.5; }
/* ห้าดาวเต็มเท่ากันหมดทุกใบเป็นสัญญาณว่าปลอมที่คนอ่านจับได้เร็วที่สุด
   ย่อลงและใส่พื้นแคปซูล ให้เป็นข้อมูลประกอบ ไม่ใช่ของที่ตะโกน
   ต้องมี align-self ไม่งั้นแคปซูลจะยืดเต็มความกว้างคอลัมน์เพราะพ่อเป็น flex column */
.testi__rate {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 12px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: #E4EFFD;
  color: var(--color-primary);
}
.testi__rate .stars svg { width: 11.5px; height: 11.5px; }

.testi-more { text-align: center; margin-top: 34px; }
.testi-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  border-bottom: 1px solid #BBD3F2;
  padding-bottom: 1px;
}
.testi-more a:hover { border-bottom-color: var(--color-primary-dark); }
.testi-more svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .testi-plate__scan { opacity: 0; }
  .testi-plate__bg.is-seen .testi-plate__scan { animation: none; }
}
@media (max-width: 860px) {
  .testi-plate { padding: 32px 20px 30px; border-radius: 20px; }
  .testi-list { grid-template-columns: 1fr; row-gap: 0; }
  .testi { padding: 0; }
  .testi + .testi { margin-top: 34px; padding-top: 34px; }
  /* เหลือคอลัมน์เดียว เส้นคั่นเลยต้องเป็นแนวนอนพาดหัวทุกใบยกเว้นใบแรก
     กฎนี้เขียนทับกฎแนวตั้งข้างบนทีละคุณสมบัติ ไม่ได้ใช้ display none มาปิด */
  .testi + .testi::before {
    left: 0; right: 0; top: 0; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, rgba(47, 128, 237, 0) 0%, #CDE0F7 16%, #CDE0F7 84%, rgba(47, 128, 237, 0) 100%);
  }
  .testi:nth-child(n + 4)::after { content: none; }
  .testi__mark { top: -22px; left: -6px; font-size: 72px; }
}

/* ---------- Side dot-nav (LineSidebar-style, desktop only) ---------- */
.side-dotnav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.side-dotnav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease), visibility 0s;
}
.side-dotnav__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  cursor: pointer;
}
.side-dotnav__label {
  font-size: var(--fs-note);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.side-dotnav__item:hover .side-dotnav__label,
.side-dotnav__item.active .side-dotnav__label { opacity: 1; transform: translateX(0); }
.side-dotnav__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #C7D6EA;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.side-dotnav__item.active .side-dotnav__dot,
.side-dotnav__item:hover .side-dotnav__dot {
  background: var(--color-primary);
  transform: scale(1.35);
}

@media (max-width: 1140px) { .side-dotnav { display: none; } }

/* ---------- FAQ ---------- */
/* ---------- บล็อกคำถามหน้าแรก แบบสองคอลัมน์เปิดค้าง ----------
   ของเดิมมีสามคำถามเรียงลงมาคอลัมน์เดียว ตอบเรื่องความน่าเชื่อถือหมด
   ไม่ได้ตอบเรื่องที่ทำให้คนลังเลจริงคือต้องสมัครไหมกับใช้เวลานานแค่ไหน
   บล็อกนี้อยู่ก่อนแถบเริ่มใช้งานอันสุดท้าย เป็นด่านท้ายสุดก่อนตัดสินใจ
   สองคอลัมน์ทำให้ใส่หกคำถามได้โดยความสูงเพิ่มขึ้นแค่นิดเดียว และไม่ต้องกดเปิด
   คนที่อ่านถึงตรงนี้คือคนที่ใกล้จะเลิกอ่านอยู่แล้ว อย่าเพิ่มขั้นตอนให้เขา
   .faq-list กับ .faq-item ของเดิมยังอยู่ข้างล่าง เพราะหน้าบริการยังใช้อยู่ */
.faq-head { max-width: 60ch; margin: 0 0 30px; }
.faq-head h2 { font-size: var(--fs-h2); font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
.faq-head p { font-size: var(--fs-lead); line-height: 1.8; color: var(--color-text-muted); margin: 0; }
/* จัดคำถามเป็นสามหมวดตามเรื่องที่คนกังวล ชื่อหมวดค้างอยู่ข้างซ้ายตอนเลื่อน
   คนที่สงสัยเรื่องเดียวจะกระโดดไปอ่านเฉพาะกลุ่มนั้นได้ และถ้าวันหลังคำถามเพิ่มเป็นสิบข้อ
   โครงนี้รับได้โดยไม่ต้องรื้อ ชื่อหมวดอยู่ข้างหัวข้อ ไม่ได้ลอยเหนือหัวข้อ */
.faq-groups { display: grid; gap: 26px; }
.faq-group { display: grid; grid-template-columns: 186px 1fr; gap: 32px; align-items: start; padding-top: 24px; border-top: 1px solid #E7EDF6; }
.faq-group:first-child { border-top: none; padding-top: 0; }
.faq-group__name { font-size: var(--fs-body); font-weight: 600; color: var(--color-primary-dark); line-height: 1.5; position: sticky; top: 96px; }
.faq-group__items { display: grid; gap: 22px; }
.faq-groups .faq-item { padding: 0; border: none; }
.faq-ask {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  border-bottom: 1px solid #BBD3F2;
  padding-bottom: 2px;
  min-height: 44px;
}
.faq-ask:hover { border-bottom-color: var(--color-primary-dark); }
.faq-ask svg { width: 17px; height: 17px; }
@media (max-width: 860px) {
  .faq-head { margin-bottom: 24px; }
  .faq-group { grid-template-columns: 1fr; gap: 14px; }
  .faq-group__name { position: static; }
}

.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 22px 0; border-bottom: 1px solid #E7EDF6; text-align: left; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
/* คำถามกับคำตอบเป็นเนื้อหาที่คนต้องอ่านจริง ไม่ใช่ข้อความประกอบ จึงใช้ระดับหัวข้อการ์ดกับเนื้อหาหลัก */
.faq-item h3 { font-size: var(--fs-h3); margin: 0 0 8px; }
.faq-item p { font-size: var(--fs-body); color: var(--color-text-muted); line-height: 1.8; margin: 0; }
/* ของเดิมลิงก์ในคำตอบไม่มีสไตล์เลย สีเท่าตัวหนังสือธรรมดา คนอ่านไม่รู้ว่ากดได้ */
.faq-item a { color: var(--color-primary-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid #BBD3F2; }
.faq-item a:hover { border-bottom-color: var(--color-primary-dark); }

/* ---------- Forms (contact) ---------- */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: var(--fs-small); font-weight: 700; margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1.5px solid #E3EAF2;
  background: var(--color-bg);
  border-radius: var(--radius-input);
  padding: 13px 14px;
  font-size: var(--fs-body);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--color-primary); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field .err { display: none; color: var(--color-danger); font-size: var(--fs-note); font-weight: 600; margin-top: 6px; }
.form-field.error input, .form-field.error textarea { border-color: var(--color-danger); }
.form-field.error .err { display: block; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--color-success-light);
  color: var(--color-success);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: var(--fs-small);
  font-weight: 600;
  margin-top: 18px;
}
.form-success.show { display: flex; }

@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 26px; } }

.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.contact-info-card { background: var(--color-white); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; }
.contact-info-card .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--color-primary-light); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: var(--fs-h3); }
/* หัวข้อการ์ดนี้อยู่ระดับเดียวกับหัวข้อฟอร์มด้านล่าง เลยต้องเป็น h2 ไม่ใช่ h3 ไม่งั้นลำดับหัวข้อกระโดดจาก h1 ไป h3 */
.contact-info-card h2 { font-size: var(--fs-body); font-weight: 600; margin: 0 0 6px; letter-spacing: 0; }
.contact-info-card p { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0; }
@media (max-width: 760px) { .contact-info-grid { grid-template-columns: 1fr; } }

/* ---------- หน้าเอกสาร (นโยบาย / ข้อกำหนด) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}
.legal__meta {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0 0 8px;
}
.legal__toc {
  background: var(--color-primary-light);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  margin: 0 0 44px;
}
.legal__toc h2 { font-size: var(--fs-body); margin: 0 0 12px; font-weight: 600; }
.legal__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
/* ฟ้าสดบนพื้นฟ้าอ่อนของกล่องสารบัญได้แค่ 3.48 ต้องใช้ฟ้าเข้ม */
.legal__toc a { color: var(--color-primary-dark); font-size: var(--fs-body); font-weight: 500; display: inline-block; padding: 6px 0; }
@media (max-width: 760px) {
  /* จอสัมผัส: ให้แถวสารบัญสูง 44px ระยะห่างมาจาก padding แทน gap */
  .legal__toc ol { gap: 0; }
  .legal__toc a { padding: 11px 0; }
}
.legal section[id] { margin-bottom: 40px; }
.legal h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.legal h3 { font-size: var(--fs-lead); font-weight: 600; margin: 24px 0 10px; }
.legal p, .legal li {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--color-text-muted);
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal strong { color: var(--color-text); font-weight: 600; }
.legal__callout {
  border: 1px solid rgba(47, 128, 237, 0.2);
  background: var(--color-primary-light);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  margin: 0 0 28px;
}
/* กล่องนี้เป็นข้อความสำคัญที่สุดของหน้า ใช้สีตัวอักษรเต็มความเข้ม เทาอ่อนบนพื้นฟ้าอ่อนได้แค่ 4.35 */
.legal__callout p { color: var(--color-text); }
.legal__callout p:last-child { margin-bottom: 0; }
.legal__fill {
  background: #FFF4D6;
  border: 1px dashed #E0A800;
  border-radius: 6px;
  padding: 1px 7px;
  color: #7A5A00;
  font-weight: 600;
  font-size: var(--fs-body);
}

/* ---------- สัญลักษณ์ที่ฟอนต์ Kanit ไม่มี glyph (ดาว ติ๊กถูก ลูกศร) วาดด้วย SVG แทน ---------- */
.stars { display: inline-flex; gap: 3px; line-height: 0; }
.stars svg { width: 14px; height: 14px; display: block; }
.stars svg.is-empty { opacity: 0.32; }

.plan-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; text-align: left; }
.plan-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.plan-list li::before {
  content: "";
  width: 18px; height: 18px;
  margin-top: 1px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / 15px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* การ์ดใหญ่ในบล็อกจุดเด่นสูง 2 แถว ต้องมีเนื้อหาพอ ไม่งั้นเหลือช่องว่างกลางการ์ดจนดูเหมือนโหลดรูปไม่ขึ้น */
.bento-facts { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #EDF2F9; display: grid; gap: 12px; }
.bento-facts li { display: flex; align-items: baseline; gap: 10px; }
.bento-facts b { font-size: var(--fs-body); font-weight: 700; color: var(--color-primary-dark); min-width: 62px; }
.bento-facts span { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.55; }
/* ตอนการ์ดยังสูงคงที่ต้องซ่อนบล็อกตัวเลขบนจอแคบ ตอนนี้การ์ดสูงตามเนื้อหาแล้วจึงแสดงได้ */
@media (max-width: 860px) { .bento-facts { margin-top: 16px; padding-top: 14px; } }

/* ---------- บล็อกลองลากดูค่า BMI บนหน้าแรก แทนบล็อกภาพหน้าจอเดิม ---------- */
.try {
  display: grid;
  grid-template-columns: 1fr 336px;
  grid-template-rows: auto 1fr;
  grid-template-areas: "controls result" "controls action";
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid #DEE6F1;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.try__controls { grid-area: controls; padding: 30px 32px 28px; }
.try__result { grid-area: result; padding: 28px 26px 18px; background: var(--color-primary-light); border-left: 1px solid #DEE6F1; }
.try__action {
  grid-area: action;
  padding: 4px 26px 26px;
  background: var(--color-primary-light);
  border-left: 1px solid #DEE6F1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.try-row { margin-bottom: 24px; }
.try-row__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.try-row__top label { font-size: var(--fs-body); font-weight: 600; color: var(--color-text); white-space: nowrap; }
.try-row__val { font-size: var(--fs-h2s); font-weight: 700; color: #17539F; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.try-row__val u { text-decoration: none; font-size: var(--fs-small); font-weight: 400; color: #5F6A78; margin-left: 3px; }
.try-row__ends { display: flex; justify-content: space-between; font-size: var(--fs-note); color: #5F6A78; font-variant-numeric: tabular-nums; }

/* ส่วนที่ลากผ่านมาแล้วเป็นน้ำเงินแบรนด์ ส่วนที่เหลือเป็นฟ้าจาง ค่า --fill ตั้งจาก site.js */
.try-range {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  margin: 0;
  display: block;
  cursor: grab;
}
.try-range:active { cursor: grabbing; }
.try-range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--color-primary) 0 var(--fill), #D9E4F2 var(--fill) 100%);
}
.try-range::-moz-range-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--color-primary) 0 var(--fill), #D9E4F2 var(--fill) 100%);
}
.try-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px; margin-top: -10px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  box-shadow: 0 3px 10px rgba(31, 61, 100, 0.22);
  transition: transform .15s var(--ease);
}
.try-range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  box-shadow: 0 3px 10px rgba(31, 61, 100, 0.22);
}
.try-range:hover::-webkit-slider-thumb { transform: scale(1.08); }
.try-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.try-note { margin: 20px 0 0; padding-top: 18px; border-top: 1px dashed #DEE6F1; font-size: var(--fs-small); color: #5F6A78; line-height: 1.7; }

.try-score { text-align: center; margin-bottom: 16px; }
.try-score__cap { font-size: var(--fs-note); font-weight: 600; letter-spacing: 0.06em; color: #5F6A78; margin: 0 0 2px; }
.try-score__n { font-size: 50px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--color-text); font-variant-numeric: tabular-nums; }
/* อยู่ในช่วงปกติเป็นป้ายทึบ นอกช่วงเป็นป้ายโปร่งขอบน้ำเงิน ไม่ใช้สีแดงตะโกนใส่คนอ่าน */
.try-chip { display: inline-block; margin-top: 6px; padding: 5px 15px; border-radius: 999px; font-size: var(--fs-small); font-weight: 600; background: #E3EFFE; color: #17539F; }
.try-chip--out { background: transparent; box-shadow: inset 0 0 0 1.5px #17539F; }

/* เส้นช่วง ช่วงปกติเป็นน้ำเงิน นอกช่วงเป็นฟ้าจาง ให้ตำแหน่งหมุดบอกแทนสีเตือน */
.try-scale__bar { position: relative; height: 10px; border-radius: 999px; display: flex; box-shadow: inset 0 0 0 1px #A9C1DB; }
.try-scale__bar i { display: block; height: 100%; background: #D9E4F2; }
.try-scale__bar i:first-child { width: 23.3%; border-radius: 999px 0 0 999px; }
.try-scale__bar i:nth-child(2) { width: 30%; background: var(--color-primary); }
.try-scale__bar i:nth-child(3) { width: 46.7%; border-radius: 0 999px 999px 0; }
/* หมุดต้องเห็นทั้งบนแถบน้ำเงินและแถบฟ้าจาง ใช้กรมท่าเข้มคาดวงขาวกันกลืน */
.try-scale__pin {
  position: absolute; top: -6px;
  width: 5px; height: 22px; border-radius: 999px;
  background: #07203F;
  box-shadow: 0 0 0 3px var(--color-white), 0 2px 5px rgba(8, 30, 70, 0.32);
  transform: translateX(-50%);
  transition: left .28s var(--ease);
}
.try-scale__ticks { display: flex; justify-content: space-between; font-size: var(--fs-note); color: #5F6A78; margin-top: 10px; font-variant-numeric: tabular-nums; }
.try-scale__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: var(--fs-note); color: #5F6A78; }
.try-scale__legend span { display: inline-flex; align-items: center; gap: 5px; }
.try-scale__legend b { width: 8px; height: 8px; border-radius: 2px; display: block; }

.try-action p { font-size: var(--fs-small); color: #5F6A78; line-height: 1.68; margin: 0 0 12px; }
/* ปุ่มทึบน้ำเงินเข้ม ตัวขาวได้คอนทราสต์ 7.57 ต่างจาก .btn-primary ที่เป็นไล่สีแล้วปลายอ่อนตกเกณฑ์ */
.try-btn {
  width: 100%;
  background: #17539F;
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 83, 159, 0.28);
}
.try-btn:hover { background: #0F447F; transform: translateY(-2px); }
.try-carry { display: block; text-align: center; font-size: var(--fs-note); color: #5F6A78; margin-top: 10px; }

/* จอแคบสลับเป็นแนวตั้ง ผลขึ้นบน แถบลากลงล่าง นิ้วอยู่ล่างตาอยู่บน จะได้ไม่บังกัน */
@media (max-width: 760px) {
  .try {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "result" "controls" "action";
  }
  .try__result { border-left: 0; border-bottom: 1px solid #DEE6F1; padding: 24px 20px 18px; }
  .try__controls { padding: 24px 20px 22px; }
  .try__action { border-left: 0; background: var(--color-white); padding: 0 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .try-scale__pin, .try-range::-webkit-slider-thumb, .try-btn { transition: none; }
  .try-btn:hover { transform: none; }
}

/* ---------- บล็อกความเป็นส่วนตัวหน้าแรก ----------
   ของเดิมเป็นข้อความล้วนกับติ๊กถูกสามอัน เจมส์ทักว่าดูไม่มีอะไร
   ตัวที่ดึงตาในชุดนี้คือกล่องสองใบที่ไม่เท่ากัน ใบซ้ายอัดแน่นด้วยของสิบอย่างที่เก็บในเครื่องผู้ใช้
   ใบขวาเป็นกรอบเส้นประที่ว่างจริง ความว่างเลยกลายเป็นภาพที่อ่านออกเอง ไม่ต้องมีข้อความมาอธิบายซ้ำ */
.privacy-split {
  background: var(--color-white);
  border: 1px solid #E2EAF5;
  border-radius: var(--radius-card);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.privacy-split h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 0 0 14px; letter-spacing: -0.01em; text-wrap: balance; }
.privacy-split__text p { font-size: var(--fs-body); line-height: 1.8; color: var(--color-text-muted); margin: 0 0 24px; }

.privacy-vault { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: stretch; }
.privacy-vault__card { border-radius: 16px; padding: 18px 18px 20px; }
.privacy-vault__cap { display: block; font-size: var(--fs-note); font-weight: 600; margin-bottom: 12px; }
.privacy-vault__card--full { background: var(--color-bg); border: 1px solid #E6EEF9; }
.privacy-vault__card--full .privacy-vault__cap { color: var(--color-primary-dark); }
/* กล่องขวาต้องไม่มีพื้น ให้มันดูเป็นที่ว่างจริง ไม่ใช่การ์ดอีกใบที่บังเอิญข้อความน้อย */
.privacy-vault__card--empty {
  background: transparent;
  border: 1.5px dashed #CBD9EA;
  display: grid;
  grid-template-rows: auto 1fr;
}
.privacy-vault__card--empty .privacy-vault__cap { color: var(--color-text-muted); }
.privacy-void {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 10px 4px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.privacy-void b { display: block; font-size: var(--fs-body); font-weight: 600; color: var(--color-text); }

.privacy-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.privacy-chips li {
  font-size: var(--fs-note);
  line-height: 1.3;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* สองข้อล่างกินเต็มสองคอลัมน์ ไม่ให้ไปเบียดคอลัมน์ใดคอลัมน์หนึ่งจนเหลือช่องว่างข้างเดียว */
.privacy-points {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid #E6EEF9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.privacy-points li { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; row-gap: 0; align-items: start; }
.privacy-points__ic {
  grid-row: span 2;
  width: 26px; height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.privacy-points__ic svg { width: 15px; height: 15px; }
.privacy-points b { grid-column: 2; font-size: var(--fs-body); font-weight: 600; color: var(--color-text); margin-bottom: 3px; }
/* span ต้องบังคับให้อยู่คอลัมน์ 2 ด้วย ไม่งั้นมันตกไปคอลัมน์ไอคอนกว้าง 26px แล้วแตกเป็นคำละบรรทัด */
.privacy-points span { grid-column: 2; font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.6; }
.privacy-points a { color: var(--color-primary-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.privacy-points a:hover { color: var(--color-primary); }

@media (max-width: 980px) {
  .privacy-vault { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .privacy-split { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .privacy-points { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
}
@media (max-width: 520px) {
  .privacy-split { padding: 28px 20px; }
}

/* แท็กคำสำคัญในการ์ดจุดเด่น ช่วยให้การ์ดเล็กมีน้ำหนักพอกับพื้นที่ */
.bento-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; }
.bento-tags li {
  font-size: var(--fs-note);
  font-weight: 500;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  border-radius: 999px;
  padding: 5px 12px;
  line-height: 1.4;
}

/* header ถูกดึงเข้าเพจทีหลังด้วย fetch พอมันโผล่ เนื้อหาที่อยู่ใต้จะถูกดันลง = CLS พุ่งถึง 0.10
   จองความสูงไว้ตั้งแต่แรกให้เท่ากับ header จริง เนื้อหาจะได้ไม่กระโดด */
