/* =====================================================================
   iqdee.com — ระบบดีไซน์ v2 "premium" (17 ต.ค. 2569) · ไม่มีขั้น build
   โทน: กรมท่าเข้ม (navy) + อำพันทอง (Dee Amber) บนพื้นครีมอุ่น · โลโก้/อำพัน/IQ Blue ตาม toeic/brand/BRAND.md
   ฟอนต์: ไทย Anuphan · ละติน/ตัวเลข Overpass · ลายมือ Sriracha (ตัวเน้นตกแต่งเท่านั้น)
   ===================================================================== */
:root {
  --navy: #13254A; --navy-900: #0B1733; --navy-800: #0F1F40; --navy-700: #1C3466; --navy-50: #EEF2F9; --navy-100: #DCE3F1;
  --blue: #1257C9; --blue-600: #0E47A6; --blue-50: #EAF1FD; --blue-100: #D6E4FB;
  --amber: #FFB81C; --amber-300: #FFD36B; --amber-400: #FFC845; --amber-600: #F29E0C; --amber-700: #A86A00; --amber-50: #FFF6E0; --amber-100: #FFECBC;
  --teal: #0DBAB0; --teal-600: #0A9D95; --teal-700: #067B74; --teal-50: #E3F8F6; --teal-100: #C6F0EC;
  --ink: #141A2E; --ink-2: #2B3348; --muted: #5C6479; --muted-2: #8C93A5;
  --line: #E7E1D5; --line-2: #F0EBE2; --cream: #FFFBF4; --paper: #FBF7EF; --white: #FFFFFF;
  --green: #0B7A4B; --green-50: #E3F5EC; --red: #C0291F; --red-50: #FDEBE9;
  --r-xl: 30px; --r: 22px; --r-sm: 14px; --r-xs: 10px;
  --sh-1: 0 1px 2px rgba(20,26,46,.04), 0 4px 14px rgba(20,26,46,.05);
  --sh-2: 0 2px 6px rgba(20,26,46,.04), 0 18px 44px rgba(20,26,46,.08);
  --sh-3: 0 6px 14px rgba(20,26,46,.06), 0 34px 80px rgba(20,26,46,.16);
  --sh-amber: 0 12px 26px -8px rgba(242,158,12,.55);
  --sh-navy: 0 14px 28px -10px rgba(11,23,51,.55);
  --font: 'Anuphan', system-ui, -apple-system, 'Segoe UI', 'Noto Sans Thai', 'Leelawadee UI', sans-serif;
  --font-head: 'Overpass', 'Anuphan', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Sriracha', 'Anuphan', cursive;
  --accent: var(--amber-700); --accent-50: var(--amber-50); --accent-strong: var(--amber); --accent-ink: var(--navy-900);
}
.theme-exam { --accent: var(--amber-700); --accent-50: var(--amber-50); --accent-strong: var(--amber); --accent-ink: var(--navy-900); }
.theme-kids { --accent: var(--teal-700); --accent-50: var(--teal-50); --accent-strong: var(--teal); --accent-ink: #fff; }

/* ---------- พื้นฐาน ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--cream); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.012em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.14; }
h2, .h2 { font-size: clamp(1.65rem, 3.5vw, 2.45rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .86rem; }
code, .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
::selection { background: var(--amber-100); color: var(--navy-900); }
.ico { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; flex: none; }
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

main { overflow-x: clip; }
/* ลูกของ grid ห้ามขยายตามความกว้างขั้นต่ำของเนื้อหา (ตารางกว้างทำให้คอลัมน์ล้นจอมือถือ) */
.grid > *, .split > *, .pay-grid > *, .acct-grid > *, .hero-grid > *, .track-cards > *, .foot-grid > *, .app-show-grid > *, .stats-band > * { min-width: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.wrap.mid { max-width: 980px; }
.pad-y { padding-top: 48px; padding-bottom: 72px; }
.section { padding: 84px 0; position: relative; }
.section.tight { padding: 52px 0; }
.section.alt { background: var(--white); }
.section.soft { background: linear-gradient(180deg, var(--cream), #FFF6E6); }
.section.ink { background: var(--navy); color: #E5EAF4; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt0 { margin-top: 0 } .mb0 { margin-bottom: 0 } .mt1 { margin-top: 8px } .mt2 { margin-top: 16px } .mt3 { margin-top: 30px } .mb2 { margin-bottom: 16px } .mb3 { margin-bottom: 30px }
@media (max-width: 640px) { .wrap { padding: 0 18px; } .section { padding: 60px 0; } .section.tight { padding: 40px 0; } }

/* ---------- หัวข้อ ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-weight: 700; font-size: .9rem; color: var(--accent); margin-bottom: 10px; letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .85; }
.center .eyebrow::after, .eyebrow.both::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .85; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 40px; }
.sec-head.center { max-width: 780px; margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-bottom: .35em; }
.big-emoji { font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.script { font-family: var(--font-script); font-weight: 400; }
/* ไฮไลต์แบบปากกาเน้นข้อความ (ใต้คำสำคัญของหัวเรื่อง) */
.brush { position: relative; z-index: 0; display: inline-block; }
.brush::before { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.1em; bottom: .02em; height: .5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M8 30C70 18 150 24 210 20S340 14 394 24L390 48C318 44 252 52 182 50S70 54 12 52Z' fill='%23FFC845'/%3E%3Cpath d='M20 46C120 40 260 46 386 40' stroke='%23F7AE16' stroke-width='5' fill='none' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.theme-kids .brush::before { filter: hue-rotate(118deg) saturate(.9) brightness(1.05); }
.gold-text { background: linear-gradient(90deg, #E99800, #FFC23C 55%, #E99800); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- ปุ่ม ---------- */
.btn { --bg: linear-gradient(180deg, #FFCB4D 0%, #FFB21A 100%); --fg: var(--navy-900); --bd: transparent; --sh: var(--sh-amber);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 11px 26px; max-width: 100%;
  border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 700 1rem/1.25 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: var(--sh), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn:hover { color: var(--fg); transform: translateY(-2px); filter: saturate(1.05) brightness(1.02); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-dark, .btn-navy { --bg: linear-gradient(180deg, var(--navy-700) 0%, var(--navy) 100%); --fg: #fff; --sh: var(--sh-navy); }
.btn-blue { --bg: linear-gradient(180deg, #2A6FE0 0%, var(--blue) 100%); --fg: #fff; --sh: 0 12px 26px -10px rgba(18,87,201,.6); }
.btn-teal { --bg: linear-gradient(180deg, #13B8AE 0%, var(--teal-700) 100%); --fg: #fff; --sh: 0 12px 26px -10px rgba(6,123,116,.6); }
.btn-accent { --bg: var(--accent-strong); --fg: var(--accent-ink); }
.btn-ghost, .btn-outline { --bg: #fff; --fg: var(--ink); --bd: var(--line); --sh: var(--sh-1); }
.btn-ghost:hover, .btn-outline:hover { --bd: var(--navy-100); }
.btn-white { --bg: #fff; --fg: var(--navy-900); --sh: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn-danger { --bg: linear-gradient(180deg, #D8382D, var(--red)); --fg: #fff; --sh: 0 12px 24px -12px rgba(192,41,31,.6); }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: .92rem; }
.btn-lg { min-height: 58px; padding: 13px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn-play { white-space: normal; text-align: center; line-height: 1.3; }
.btn-play .ico { width: 1.25em; height: 1.25em; }
.btn-play.is-soon { --bg: #fff; --fg: var(--ink); --bd: var(--line); --sh: var(--sh-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn.danger { color: var(--red); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: rgba(19,37,74,.07); }
.icon-btn .ico { width: 21px; height: 21px; }
.go-btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh-2); flex: none; transition: transform .15s; }
.go-btn:hover { transform: translateX(3px); color: var(--navy); }

/* ป้ายร้านแอป (ไม่ใช่ภาพ badge ทางการ — ปุ่มลิงก์ธรรมดา) */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; }
.store-row > span { color: var(--muted); font-size: .92rem; margin-right: 4px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 13px; background: #0B0F1A; color: #fff; text-decoration: none; border: 1px solid #0B0F1A; transition: transform .15s; }
.store-badge:hover { color: #fff; transform: translateY(-2px); }
.store-badge .ico { width: 24px; height: 24px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: .68rem; opacity: .82; letter-spacing: .02em; }
.store-badge b { font: 700 1.08rem var(--font-head); }
.store-badge.muted { background: #fff; color: var(--ink); border-color: var(--line); }
.store-badge.muted:hover { color: var(--ink); }
.store-badge.muted small { color: var(--muted); opacity: 1; }

/* ---------- ป้าย ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgba(19,37,74,.07); color: var(--ink-2); line-height: 1.6; white-space: nowrap; }
.pill-live { background: var(--green-50); color: var(--green); }
.pill-soon { background: #EFEEF5; color: #4C4A63; }
.pill-amber { background: var(--amber-100); color: #774900; }
.pill-blue { background: var(--blue-50); color: var(--blue); }
.pill-teal { background: var(--teal-50); color: var(--teal-700); }
.pill-red { background: var(--red-50); color: var(--red); }
.pill-navy { background: var(--navy); color: #fff; }
.pill-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 9px; border-radius: 999px; background: linear-gradient(90deg, #FFF0C7, #FFF8E8); border: 1px solid #FFE0A1; color: #7A4C00; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.hero-badge .hb-ico { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #E39500; box-shadow: 0 2px 6px rgba(242,158,12,.25); flex: none; }
.hero-badge .hb-ico .ico { width: 17px; height: 17px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.chip:hover { color: var(--ink); border-color: var(--navy-100); }
.chip .pill { padding: 0 7px; font-size: .7rem; }

/* ---------- หัวเว็บ ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(255,251,244,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(20,26,46,.06); }
.head-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav > a, .nav-dd > button { color: var(--ink-2); text-decoration: none; font: 600 .97rem var(--font); padding: 9px 14px; border-radius: 12px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .nav > a.is-active, .nav-dd > button:hover, .nav-dd.open > button { background: rgba(19,37,74,.06); color: var(--navy); }
.nav-dd { position: relative; }
.nav-dd > button .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav-dd.open > button .ico { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 12px); left: -20px; width: 680px; background: #fff; border-radius: 22px; box-shadow: var(--sh-3); border: 1px solid var(--line-2); padding: 18px; display: none; grid-template-columns: 1fr 1fr; gap: 6px 18px; z-index: 70; }
.nav-dd.open .dd-panel { display: grid; }
.dd-panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dd-head { display: flex; gap: 10px; align-items: center; padding: 6px 8px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.dd-head img { width: 34px; height: 34px; border-radius: 10px; }
.dd-head b { display: block; line-height: 1.2; }
.dd-head small { color: var(--muted); }
.dd-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.dd-item:hover { background: var(--paper); color: var(--ink); }
.dd-item .etile { width: 34px; height: 34px; border-radius: 10px; font-size: 1.05rem; }
.dd-item .t { flex: 1; min-width: 0; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.dd-item .pill { font-size: .7rem; padding: 1px 8px; }
.dd-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 12px 2px; border-top: 1px solid var(--line-2); font-size: .92rem; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-actions .btn { min-height: 42px; padding: 7px 18px; font-size: .94rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn .ico { width: 22px; height: 22px; }
.acct-chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; max-width: 210px; box-shadow: var(--sh-1); }
.acct-chip span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(145deg, var(--navy-700), var(--navy)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex: none; }
.mobile-nav { display: none; }
.head-actions .btn-outline { border-width: 1.5px; --bd: var(--navy-100); }
.head-actions .btn-outline:hover { --bd: var(--navy); }
@media (max-width: 1280px) { .nav { margin-left: 4px; } .nav > a { padding: 9px 11px; } .head-row { gap: 16px; } }
@media (max-width: 560px) { .head-actions .hide-xs { display: none; } }
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-actions .hide-sm { display: none; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--line); background: var(--cream); padding: 10px 0 20px; max-height: calc(100vh - 76px); overflow-y: auto; }
  .mobile-nav a.mn { display: flex; align-items: center; gap: 10px; padding: 12px 24px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .mobile-nav a.mn:hover { background: rgba(19,37,74,.05); }
  .mobile-nav .mn-label { padding: 14px 24px 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
  .mobile-nav .etile { width: 30px; height: 30px; border-radius: 9px; font-size: .95rem; }
  .mobile-nav .btn { margin: 10px 24px 0; display: flex; }
}
@media (max-width: 460px) { .logo img { width: 100px; } .acct-chip { max-width: 130px; } .head-row { gap: 10px; } .head-actions { gap: 6px; } }

/* ---------- แจ้งเตือน ---------- */
.flashes { padding-top: 18px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r-sm); background: var(--blue-50); color: #0B3A82; border: 1px solid var(--blue-100); margin-bottom: 14px; font-weight: 500; }
.alert .ico { margin-top: .25em; }
.alert-success { background: var(--green-50); color: #075233; border-color: #BFE5D1; }
.alert-error { background: var(--red-50); color: #8A1C16; border-color: #F4C5C0; }
.alert-warn { background: var(--amber-50); color: #6B4500; border-color: var(--amber-100); }
.alert p:last-child { margin-bottom: 0; }

/* ---------- การ์ด / กริด / ไอคอน ---------- */
.card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px; box-shadow: var(--sh-2); }
.card.flat { box-shadow: var(--sh-1); }
.card.tint { background: var(--accent-50); border-color: transparent; box-shadow: none; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card[id], section[id], .notify-box { scroll-margin-top: 90px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .g4.feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .card { padding: 22px; } }
/* ไอคอนกระเบื้องไล่สี (สไตล์ 3D นุ่ม ๆ) */
.itile { --c1: #8B7BFF; --c2: #5B45E8; position: relative; width: 56px; height: 56px; border-radius: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: 0 12px 22px -10px var(--c2), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(0,0,0,.08); }
.itile::after { content: ""; position: absolute; inset: 3px 8px auto; height: 42%; border-radius: 14px 14px 30px 30px; background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0)); pointer-events: none; }
.itile .ico { width: 26px; height: 26px; position: relative; z-index: 1; }
.itile.sm { width: 46px; height: 46px; border-radius: 15px; } .itile.sm .ico { width: 22px; height: 22px; }
.itile.lg { width: 68px; height: 68px; border-radius: 22px; } .itile.lg .ico { width: 32px; height: 32px; }
.it-violet { --c1: #9D8CFF; --c2: #6A4FF0; } .it-blue { --c1: #5AA2FF; --c2: #2563EB; } .it-green { --c1: #4ADE80; --c2: #16A34A; }
.it-pink { --c1: #FF8DB4; --c2: #E5487A; } .it-orange { --c1: #FFB067; --c2: #F2711C; } .it-teal { --c1: #3FE0D3; --c2: #0A9D95; }
.it-amber { --c1: #FFD668; --c2: #F2A20C; } .it-red { --c1: #FF8A80; --c2: #E0453A; } .it-navy { --c1: #3D5A99; --c2: #13254A; }
/* กระเบื้องอีโมจิสีพาสเทล (คอร์ส) */
.etile { --c: #1257C9; width: 48px; height: 48px; border-radius: 15px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; line-height: 1;
  background: #F3F4F8; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 10%, #fff), color-mix(in srgb, var(--c) 26%, #fff)); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px color-mix(in srgb, var(--c) 70%, transparent); }
/* วงกลมไอคอนสีอำพันอ่อน */
.cico { width: 48px; height: 48px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--amber-50); color: #D48A00; box-shadow: inset 0 0 0 1px #FFE7B0; }
.cico .ico { width: 23px; height: 23px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat-ico { width: 48px; height: 48px; border-radius: 15px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-50); color: var(--accent); }
.feat-ico .ico { width: 24px; height: 24px; }
.feat h3 { font-size: 1.06rem; margin-bottom: .2em; }
.feat p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Hero หน้าแรก ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 44px;
  background: radial-gradient(760px 560px at 82% 26%, rgba(255,200,69,.30), rgba(255,200,69,0) 62%), radial-gradient(620px 460px at 4% 96%, rgba(13,186,176,.13), rgba(13,186,176,0) 62%), linear-gradient(180deg, #FFFCF6, var(--cream)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.8vw, 4.4rem); line-height: 1.1; margin: 20px 0 20px; letter-spacing: -.02em; }
.hero .lead { font-size: 1.12rem; max-width: 33em; }
.hero-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 30px; }
.hero-feats .hf { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; line-height: 1.35; color: var(--ink-2); }
.hero-feats .cico { width: 44px; height: 44px; }
.hero-feats .cico .ico { width: 21px; height: 21px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero-points .ico { color: #fff; background: var(--amber-600); border-radius: 50%; padding: 3px; width: 1.25em; height: 1.25em; margin-top: .2em; }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hero-note .ico { color: var(--green); }
@media (max-width: 1100px) { .hero-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 36px 0 30px; } }

/* ภาพประกอบ hero: โทรศัพท์ 2 เครื่องเอียงบนวงแสง + ไอคอนตกแต่ง + ป้ายลอย + ข้อความลายมือ */
.hero-visual { position: relative; height: 600px; }
.hero-visual .glow { position: absolute; left: 6%; right: 2%; top: 6%; bottom: 4%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: radial-gradient(circle at 42% 40%, #FFE7AE 0%, #FFD877 30%, rgba(255,216,119,.35) 55%, rgba(255,216,119,0) 72%); }
.hero-visual .ring { position: absolute; width: 470px; height: 470px; left: 50%; top: 50%; transform: translate(-46%, -50%); border-radius: 50%; border: 1.5px dashed rgba(242,158,12,.35); }
.hv-phone { position: absolute; }
.hv-phone.a { left: 10%; top: 40px; width: 262px; transform: rotate(-7deg); z-index: 3; }
.hv-phone.b { right: 6%; top: 74px; width: 238px; transform: rotate(8deg); z-index: 2; }
.deco { position: absolute; z-index: 1; color: #E9A100; animation: floaty 7s ease-in-out infinite; }
.deco svg { width: 100%; height: 100%; }
.deco.d1 { width: 64px; left: 0; top: 70px; animation-delay: -1s; }
.deco.d2 { width: 50px; right: 2%; top: 280px; animation-delay: -3s; }
.deco.d3 { width: 52px; right: 10%; bottom: 40px; animation-delay: -2s; }
.deco.d4 { width: 44px; left: 2%; bottom: 120px; animation-delay: -4s; }
.float-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 18px; box-shadow: var(--sh-3); font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--ink); }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.float-chip .cico { width: 42px; height: 42px; }
.float-chip .itile { width: 42px; height: 42px; border-radius: 14px; }
.float-chip .itile .ico { width: 21px; height: 21px; }
.float-chip.f1 { right: -2%; top: 300px; }
.float-chip.f2 { left: -4%; bottom: 46px; }
.scribble { position: absolute; z-index: 4; font-family: var(--font-script); color: var(--navy); font-size: 1.55rem; line-height: 1.2; transform: rotate(-9deg); text-align: center; pointer-events: none; }
.scribble svg { width: 70px; height: 46px; color: var(--navy); margin: 2px auto 0; }
.scribble.s1 { right: 0; top: 0; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 1200px) { .float-chip.f1 { right: 0; } .float-chip.f2 { left: 0; } }
@media (max-width: 960px) { .hero-visual { height: 560px; max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) {
  .hero-visual { height: 470px; }
  .hv-phone.a { width: 205px; left: 2%; top: 46px; }
  .hv-phone.b { width: 188px; right: 0; top: 80px; }
  .hero-visual .ring { width: 340px; height: 340px; }
  .deco.d2, .deco.d4, .scribble.s1 { display: none; }
  .float-chip.f1 { right: 0; top: auto; bottom: 8px; }
  .float-chip.f2 { display: none; }
}

/* ---------- โทรศัพท์จำลอง (กรอบสมจริง) ---------- */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 440px; }
.phone { position: relative; width: 246px; aspect-ratio: 9 / 19.4; border-radius: 42px; padding: 10px; flex: none;
  background: linear-gradient(145deg, #3A445F 0%, #121829 38%, #0A0E1A 100%);
  box-shadow: inset 0 0 0 1.5px #4A5571, inset 0 2px 1px rgba(255,255,255,.12), 0 46px 80px -24px rgba(11,23,51,.55), 0 20px 36px -18px rgba(11,23,51,.45); }
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 74px; height: 21px; border-radius: 12px; background: #05070D; z-index: 3; }
.phone::after { content: ""; position: absolute; right: -2.5px; top: 22%; width: 3px; height: 54px; border-radius: 0 3px 3px 0; background: #2A3249; }
.phone-screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #fff; position: relative; }
.phone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%); pointer-events: none; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phones .phone + .phone { margin-left: -46px; transform: translateY(-34px) rotate(5deg); }
.phones .phone:first-child { transform: rotate(-4deg); z-index: 1; }
.phone.sm { width: 210px; border-radius: 36px; } .phone.sm .phone-screen { border-radius: 28px; }
.app-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 8px 14px 8px 8px; box-shadow: var(--sh-3); font-weight: 700; font-size: .92rem; z-index: 3; }
.app-chip img { width: 40px; height: 40px; border-radius: 11px; }
.app-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; line-height: 1.3; }
@media (max-width: 560px) { .phone, .phone.sm { width: min(190px, 46vw); border-radius: 30px; padding: 7px; } .phone-screen, .phone.sm .phone-screen { border-radius: 24px; } .phone::before { width: 54px; height: 15px; top: 13px; } .phones { min-height: 0; } .phones .phone + .phone { margin-left: -12vw; } }

/* ---------- แถบตัวเลข (กรมท่า) ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -6px; }
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: radial-gradient(600px 200px at 85% 0%, rgba(255,184,28,.16), rgba(255,184,28,0) 70%), linear-gradient(135deg, #172C57 0%, var(--navy) 45%, var(--navy-900) 100%);
  border-radius: 26px; padding: 26px 10px; color: #fff; box-shadow: var(--sh-3); overflow: hidden; }
.stat-item { display: flex; align-items: center; gap: 15px; padding: 6px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.stat-item:first-child { border-left: 0; }
.stat-item .si { width: 54px; height: 54px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,184,28,.14); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255,184,28,.22); }
.stat-item .si .ico { width: 26px; height: 26px; }
.stat-item b { display: block; font: 800 1.75rem/1.1 var(--font-head); letter-spacing: -.01em; }
.stat-item span { display: block; color: #B9C4DC; font-size: .88rem; line-height: 1.4; margin-top: 3px; }
@media (max-width: 960px) { .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; } .stat-item:nth-child(3) { border-left: 0; } }
@media (max-width: 480px) { .stats-band { grid-template-columns: 1fr; padding: 18px 6px; } .stat-item { border-left: 0; padding: 8px 18px; } .stat-item + .stat-item { border-top: 1px solid rgba(255,255,255,.1); } }

/* ---------- การ์ด 2 แอป (หน้าแรก) ---------- */
.app-show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.app-show { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 34px 34px 32px 41%; min-height: 330px; border: 1px solid rgba(20,26,46,.06); box-shadow: var(--sh-2); display: flex; flex-direction: column; justify-content: center; }
.app-show.exam { background: radial-gradient(420px 300px at 0% 100%, rgba(255,200,69,.45), rgba(255,200,69,0) 70%), linear-gradient(135deg, #FFF3D2 0%, #FFFBF0 55%, #FFFFFF 100%); }
.app-show.kids { background: radial-gradient(420px 300px at 0% 100%, rgba(13,186,176,.32), rgba(13,186,176,0) 70%), linear-gradient(135deg, #D8F5F1 0%, #F2FCFA 55%, #FFFFFF 100%); }
.app-show .art { position: absolute; left: 0; bottom: 0; width: 40%; height: 92%; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.app-show .art img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(20,26,46,.18)); }
.app-show .art img.blend { mix-blend-mode: multiply; filter: none; max-width: 150%; }
.app-show .scr { position: absolute; left: 22px; top: 24px; font-family: var(--font-script); font-size: 1.25rem; line-height: 1.25; color: var(--navy); transform: rotate(-8deg); }
.app-show .ah { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.app-show .ah img { width: 62px; height: 62px; border-radius: 18px; box-shadow: var(--sh-2); }
.app-show .ah h3 { font-size: 1.55rem; margin: 0; }
.app-show .ah p { margin: 0; color: var(--muted); font-size: .92rem; }
.app-show .desc { color: var(--ink-2); margin-bottom: 14px; }
.app-show .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.app-show .go-btn { position: absolute; right: 24px; top: 30px; }
@media (max-width: 1040px) { .app-show-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .app-show { padding: 200px 22px 24px; min-height: 0; }
  .app-show .art { width: 100%; height: 190px; top: 0; bottom: auto; }
  .app-show .art img { max-height: 180px; }
  .app-show .art img.blend { max-width: 100%; }
  .app-show .go-btn { top: auto; bottom: 24px; }
}

/* การ์ดแอปแบบรายการ (หน้าราคา/หน้าคอร์สใช้ร่วม) */
.app-card { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 30px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 16px; }
.app-card.exam { background: linear-gradient(160deg, #FFF6DD 0%, #fff 55%); }
.app-card.kids { background: linear-gradient(160deg, #E2F7F4 0%, #fff 55%); }
.app-card-head { display: flex; gap: 16px; align-items: center; }
.app-card-head img { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--sh-2); }
.app-card-head h3 { font-size: 1.5rem; margin: 0; }
.app-card-head p { margin: 0; color: var(--muted); font-weight: 500; }
.course-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.course-list li a, .course-list li > span { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; text-decoration: none; color: var(--ink); background: rgba(255,255,255,.85); border: 1px solid var(--line-2); transition: border-color .15s, transform .15s; }
.course-list li a:hover { border-color: var(--navy-100); transform: translateX(2px); color: var(--ink); }
.course-list .emo { font-size: 1.3rem; width: 30px; text-align: center; }
.course-list .etile { width: 40px; height: 40px; border-radius: 12px; font-size: 1.15rem; }
.course-list .nm { font-weight: 700; }
.course-list .sb { font-size: .86rem; color: var(--muted); display: block; line-height: 1.4; }
.course-list .pill { margin-left: auto; }

/* ---------- ครบทุกสิ่งในแอปเดียว ---------- */
.mini-feats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mini-feat { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; box-shadow: var(--sh-1); }
.mini-feat b { display: block; font-size: .92rem; line-height: 1.3; }
.mini-feat span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.mini-feat .cico { width: 42px; height: 42px; }
.mini-feat .cico .ico { width: 20px; height: 20px; }
@media (max-width: 1100px) { .mini-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mini-feats { grid-template-columns: 1fr 1fr; } .mini-feat { flex-direction: column; align-items: flex-start; } }

/* ---------- 4 ขั้นตอน ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s4; }
.step4 { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 24px; padding: 26px 22px 24px; text-align: center; box-shadow: var(--sh-1); }
.step4::before { counter-increment: s4; content: counter(s4); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 .95rem/34px var(--font-head); text-align: center; box-shadow: var(--sh-navy); }
.step4 .itile { margin: 8px auto 14px; }
.step4 h3 { font-size: 1.06rem; margin-bottom: .3em; }
.step4 p { color: var(--muted); margin: 0; font-size: .92rem; line-height: 1.55; }
.step4 + .step4::after { content: ""; position: absolute; left: -19px; top: 50%; width: 14px; height: 14px; border-top: 2.5px solid var(--amber-600); border-right: 2.5px solid var(--amber-600); transform: translateY(-50%) rotate(45deg); opacity: .8; }
@media (max-width: 960px) { .steps4 { grid-template-columns: 1fr 1fr; } .step4:nth-child(3)::after { display: none; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } .step4::after { display: none; } }
/* ขั้นตอนแบบเดิม (หน้าราคา) */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; background: #fff; border-radius: var(--r); padding: 24px 20px 22px; border: 1px solid var(--line-2); box-shadow: var(--sh-1); }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: var(--amber); font: 800 1.05rem var(--font-head); margin-bottom: 12px; box-shadow: var(--sh-navy); }
.step h3 { font-size: 1.05rem; margin-bottom: .3em; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.steps.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps, .steps.s3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps.s3 { grid-template-columns: 1fr; } }

/* ---------- ทำไมต้อง IQDEE ---------- */
.why-box { background: linear-gradient(180deg, #F6F8FD, #FFFFFF); border: 1px solid #E8ECF5; border-radius: var(--r-xl); padding: 46px 40px; box-shadow: var(--sh-1); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; }
.why { display: flex; gap: 16px; align-items: flex-start; }
.why h3 { font-size: 1.07rem; margin: 2px 0 .25em; }
.why p { color: var(--muted); margin: 0; font-size: .94rem; line-height: 1.6; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } .why-box { padding: 28px 20px; } }

/* ---------- ตารางคอร์ส ---------- */
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ccard { position: relative; display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 16px 16px 16px 14px; text-decoration: none; color: var(--ink); box-shadow: var(--sh-1); transition: transform .15s, box-shadow .15s, border-color .15s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--navy-100); color: var(--ink); }
.ccard .t { flex: 1; min-width: 0; }
.ccard .t b { display: block; font-size: 1rem; line-height: 1.3; }
.ccard .t span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ccard .t small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted-2); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.ccard .chev { color: var(--muted-2); width: 18px; height: 18px; flex: none; }
.ccard .pill { position: absolute; top: -9px; right: 14px; font-size: .7rem; padding: 1px 9px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.15); }
.ccard.soon { background: #FDFCF9; }
@media (max-width: 1100px) { .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .cgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cgrid { grid-template-columns: 1fr; } }
/* การ์ดคอร์สแบบเดิม */
.course-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; position: relative; box-shadow: var(--sh-1); }
.course-card:hover { color: var(--ink); border-color: var(--navy-100); transform: translateY(-2px); }
.course-card .top { display: flex; justify-content: space-between; align-items: center; }
.course-card .badge { width: 48px; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; background: #F3F4F8; background: color-mix(in srgb, var(--c, #1257C9) 16%, #fff); }
.course-card h3 { margin: 0; font-size: 1.12rem; }
.course-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.course-card .app-tag { font-size: .78rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- ตาราง ---------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; box-shadow: var(--sh-1); }
.tbl { width: 100%; border-collapse: collapse; font-size: .97rem; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl thead th { background: #FAF8F3; font-family: var(--font); font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .c { text-align: center; }
.tbl .r { text-align: right; }
.tbl .yes { color: var(--green); font-weight: 700; display: inline-flex; }
.tbl .no { color: var(--muted-2); }
.tbl .hl { background: var(--amber-50); }
.tbl thead .hl { background: var(--navy); color: #fff; }
.tbl td .ico { width: 1.3em; height: 1.3em; }
.tbl.compact th, .tbl.compact td { padding: 10px 14px; }

/* ---------- ราคา ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price-grid.g4p { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-card { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 26px; padding: 32px 24px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-1); }
.price-card.rec { background: radial-gradient(260px 160px at 100% 0%, rgba(255,184,28,.22), rgba(255,184,28,0) 70%), linear-gradient(165deg, #1B3363 0%, var(--navy) 50%, var(--navy-900) 100%); color: #fff; border-color: transparent; box-shadow: var(--sh-3); }
.price-card.rec h3, .price-card.rec .price { color: #fff; }
.price-card.rec .price small, .price-card.rec .price-sub, .price-card.rec li { color: #C5CFE4; }
.price-card.rec li .ico { color: var(--amber); }
.price-card.founder { border: 2px solid transparent; background: linear-gradient(170deg, #FFF8E6, #fff 55%) padding-box, linear-gradient(140deg, #FFD36B, #F29E0C 45%, #FFE7A6) border-box; box-shadow: var(--sh-2); }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #FFCB4D, #FFB21A); color: var(--navy-900); font-weight: 700; font-size: .8rem; padding: 4px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--sh-amber); }
.price-card.founder .ribbon { background: var(--navy); color: var(--amber); box-shadow: var(--sh-navy); }
.price-card h3 { margin: 0; font-size: 1.12rem; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2.7rem; line-height: 1; letter-spacing: -.02em; color: var(--navy-900); }
.price small { font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: .9rem; margin: 0; }
.price-card ul { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 7px; font-size: .94rem; }
.price-card li { display: flex; gap: 8px; }
.price-card li .ico { color: var(--green); margin-top: .3em; }
.price-card .btn { margin-top: auto; }
.strike { text-decoration: line-through; color: var(--muted-2); font-weight: 600; }
@media (max-width: 1040px) { .price-grid, .price-grid.g4p { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .price-grid, .price-grid.g4p { grid-template-columns: 1fr; } .price-card.rec, .price-card.founder { order: -1; } }
.pay-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; color: var(--muted); font-size: .92rem; margin-top: 24px; }
.pay-badges span { display: inline-flex; gap: 6px; align-items: center; }
.pay-badges .ico { color: var(--green); }
.bundle { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--line-2); border-radius: 24px; padding: 22px 24px; box-shadow: var(--sh-1); }
.bundle img { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--sh-1); }
.bundle .bd-main { flex: 1 1 260px; }
.bundle .bd-price { text-align: right; }
.bundle .price { font-size: 2rem; }
.price-block { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--sh-1); margin-bottom: 30px; }
.price-block-head { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.price-block-head img { width: 54px; height: 54px; border-radius: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 0 22px; box-shadow: var(--sh-1); transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--sh-2); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 44px 19px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--amber-50); color: #B07000; font: 700 1.2rem/30px var(--font-head); text-align: center; }
.faq details[open] summary::after { content: "–"; background: var(--navy); color: #fff; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- ฟอร์ม ---------- */
.form { display: grid; gap: 16px; }
.field label, .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .96rem; }
.field .hint { font-size: .86rem; color: var(--muted); margin-top: 5px; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number], .field input[type=date], .field input[type=datetime-local], .field input[type=search], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 15px; border: 1.5px solid #DFD8CA; border-radius: 14px; background: #fff; color: var(--ink); min-height: 50px; transition: border-color .12s, box-shadow .12s; }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(28,52,102,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.form-card { max-width: 470px; margin: 0 auto; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: .88rem; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; }
.oauth-btn:hover { border-color: var(--navy-100); color: var(--ink); }
.oauth-btn.line { background: #06C755; border-color: #06C755; color: #fff; }
.oauth-btn.line:hover { color: #fff; filter: brightness(.95); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 220px; width: auto; min-width: 0; }
.auth-wrap { position: relative; }
.auth-wrap::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; background: radial-gradient(520px 320px at 50% 0%, rgba(255,200,69,.22), rgba(255,200,69,0) 70%); }

/* ---------- เชื่อมแอป ---------- */
.link-hero { text-align: center; }
.code-input { font: 800 2rem/1 ui-monospace, 'Cascadia Mono', Consolas, monospace !important; letter-spacing: .28em; text-align: center; text-transform: uppercase; padding: 16px 10px 16px 18px !important; min-height: 70px !important; border-radius: 18px !important; }
.code-show { display: inline-block; font: 800 1.9rem/1 ui-monospace, Consolas, monospace; letter-spacing: .18em; background: var(--navy); color: var(--amber); padding: 12px 18px 12px 22px; border-radius: 14px; }
.device-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.device-row:last-child { border-bottom: 0; }
.device-row .dv-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.device-row .dv-ico img { width: 46px; height: 46px; border-radius: 13px; }
.device-row .dv-main { flex: 1; min-width: 0; }
.device-row .dv-main b { display: block; }
.device-row .dv-main span { color: var(--muted); font-size: .88rem; }
.radio-card { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 13px 15px; cursor: pointer; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--navy-700); background: var(--navy-50); }
.radio-card input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.success-burst { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px; background: radial-gradient(circle, #E9F8F0, #D3F0E1); color: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(11,122,75,.06); }
.success-burst .ico { width: 46px; height: 46px; }

/* ---------- บัญชี ---------- */
.acct-grid { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.acct-side { position: sticky; top: 96px; }
.acct-side nav { display: grid; gap: 3px; }
.acct-side nav a { padding: 11px 14px; border-radius: 14px; text-decoration: none; color: var(--ink-2); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.acct-side nav a:hover, .acct-side nav a.is-active { background: #fff; color: var(--navy); box-shadow: var(--sh-1); }
.ent-row { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.ent-row:last-child { border-bottom: 0; }
.ent-row img { width: 50px; height: 50px; border-radius: 14px; }
.ent-row .grow { flex: 1; min-width: 0; }
.ent-row b { display: block; }
.ent-row .meta { color: var(--muted); font-size: .9rem; }
.empty { text-align: center; padding: 26px 10px; color: var(--muted); }
.empty .big-emoji { font-size: 2.4rem; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } .acct-side { position: static; } .acct-side nav { grid-auto-flow: column; overflow-x: auto; } .acct-side nav a { white-space: nowrap; } }

/* ---------- ชำระเงิน ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 390px; gap: 26px; align-items: start; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } .pay-qr { order: -1; } }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 14px; font-weight: 800; font-size: 1.2rem; }
.qr-box { background: #fff; border-radius: 24px; padding: 20px; border: 1px solid var(--line-2); text-align: center; box-shadow: var(--sh-2); }
.qr-box .pp-head { background: linear-gradient(180deg, #123E77, #0E3A6E); color: #fff; border-radius: 12px; padding: 9px; font-weight: 800; letter-spacing: .04em; margin-bottom: 14px; font-family: var(--font-head); }
#qr { display: inline-block; padding: 8px; background: #fff; }
#qr img, #qr canvas { width: 240px !important; height: 240px !important; }
.qr-amount { font: 800 2rem var(--font-head); margin: 8px 0 0; color: var(--navy-900); }
.plan-opts { display: grid; gap: 10px; }
.plan-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 16px; padding: 15px 17px; cursor: pointer; background: #fff; transition: border-color .12s, background .12s; }
.plan-opt:has(input:checked) { border-color: var(--navy-700); background: var(--navy-50); }
.plan-opt input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.plan-opt .po-main { flex: 1; }
.plan-opt .po-main b { display: block; }
.plan-opt .po-main span { font-size: .88rem; color: var(--muted); }
.plan-opt .po-price { font: 800 1.3rem var(--font-head); color: var(--navy-900); }
.status-big { display: flex; gap: 16px; align-items: center; }
.status-big .si { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex: none; background: var(--amber-50); }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(20,26,46,.15); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.file-drop { border: 2px dashed #D5CDBB; border-radius: 18px; padding: 22px; text-align: center; background: #FFFDF8; cursor: pointer; display: block; }
.file-drop:hover { border-color: var(--navy-700); }
.file-drop input { display: block; margin: 10px auto 0; max-width: 100%; }
.slip-preview { max-height: 280px; margin: 12px auto 0; border-radius: 10px; display: none; }

/* ---------- หน้าคอร์ส ---------- */
.course-hero { position: relative; overflow: hidden; padding: 56px 0 50px; background: radial-gradient(720px 520px at 85% 30%, rgba(255,200,69,.3), rgba(255,200,69,0) 62%), linear-gradient(180deg, #FFF8E5 0%, var(--cream) 100%); }
.theme-kids .course-hero { background: radial-gradient(720px 520px at 85% 30%, rgba(13,186,176,.24), rgba(13,186,176,0) 62%), radial-gradient(500px 360px at 0% 100%, rgba(255,200,69,.16), rgba(255,200,69,0) 60%), linear-gradient(180deg, #E5F8F5 0%, var(--cream) 100%); }
.course-hero .hero-grid { grid-template-columns: 1.08fr .92fr; }
.course-hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.12; margin: 18px 0 18px; letter-spacing: -.018em; }
@media (max-width: 960px) { .course-hero .hero-grid { grid-template-columns: 1fr; } .course-hero { padding: 34px 0 40px; } }
.app-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 6px 16px 6px 6px; border-radius: 999px; box-shadow: var(--sh-1); border: 1px solid var(--line-2); font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); }
.app-pill img { width: 32px; height: 32px; border-radius: 10px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 28px; }
.stat { background: rgba(255,255,255,.75); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh-1); }
.stat b { display: block; font: 800 1.6rem/1.1 var(--font-head); color: var(--navy-900); }
.stat span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.course-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.course-visual .glow { position: absolute; inset: 4% 4% 4% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255,216,119,.55) 0%, rgba(255,216,119,0) 68%); }
.theme-kids .course-visual .glow { background: radial-gradient(circle, rgba(13,186,176,.32) 0%, rgba(13,186,176,0) 68%); }
.course-visual .phones { min-height: 0; z-index: 1; }
.course-visual .float-chip.f1 { right: 0; top: 60px; }
.course-visual .float-chip.f2 { left: 0; bottom: 60px; }
.course-visual .mascot { position: absolute; right: 0; bottom: 6px; width: 120px; z-index: 3; filter: drop-shadow(0 12px 20px rgba(20,26,46,.2)); }
@media (max-width: 560px) { .course-visual { min-height: 430px; } .course-visual .float-chip { display: none; } .course-visual .mascot { width: 84px; } }
.pain { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 20px; border: 1px solid var(--line-2); box-shadow: var(--sh-1); }
.pain .q { font-size: 1.4rem; line-height: 1; width: 46px; height: 46px; border-radius: 14px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-50); }
.pain p { margin: 0; font-weight: 600; }
.illu { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); }
.illu img { width: 100%; height: auto; }
.zone-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.zone { text-align: center; }
.zone img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: var(--sh-2); border: 3px solid #fff; }
.zone b { display: block; margin-top: 10px; font-size: .92rem; line-height: 1.35; }
.zone span { display: block; font-size: .8rem; color: var(--muted); }
@media (max-width: 960px) { .zone-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mascot-float { position: absolute; width: 130px; right: 4%; bottom: -10px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.15)); }
.disclaimer { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 38px; }
.quote { font-size: 1.1rem; font-weight: 600; border-left: 4px solid var(--accent-strong); padding: 6px 0 6px 18px; margin: 0 0 16px; background: linear-gradient(90deg, var(--accent-50), transparent); border-radius: 0 12px 12px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 1.3em; height: 1.3em; margin-top: .22em; }
.track-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .track-cards { grid-template-columns: 1fr; } }
.cta-band { background: radial-gradient(500px 240px at 90% 0%, rgba(255,184,28,.2), rgba(255,184,28,0) 70%), linear-gradient(135deg, #1B3363 0%, var(--navy) 45%, var(--navy-900) 100%); color: #fff; border-radius: var(--r-xl); padding: 42px 46px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; box-shadow: var(--sh-3); }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #C3CDE2; margin: 0; }
.cta-band img.peek { position: absolute; right: 22px; bottom: -10px; width: 112px; opacity: .97; }
.cta-band .store-row { margin-top: 0; }
.cta-band .store-badge.muted { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.cta-band .store-badge.muted small { color: #C3CDE2; }
.cta-band.kids { background: radial-gradient(500px 240px at 90% 0%, rgba(255,214,104,.25), rgba(255,214,104,0) 70%), linear-gradient(135deg, #0D8F88 0%, var(--teal-700) 50%, #045651 100%); }
.cta-band.kids p { color: #D4F3EF; }
@media (max-width: 640px) { .cta-band { padding: 30px 24px; } .cta-band img.peek { display: none; } }

/* ---------- หน้าช่วยเหลือ/นโยบาย ---------- */
.doc { background: #fff; border-radius: var(--r-xl); padding: 40px clamp(22px, 4vw, 54px); border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.doc h2 { font-size: 1.35rem; margin-top: 1.7em; scroll-margin-top: 96px; padding-left: 14px; border-left: 4px solid var(--amber); }
.doc h1 + h2, .doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.07rem; margin-top: 1.3em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .4em; }
.doc .updated { color: var(--muted); font-size: .9rem; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.toc a { padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; box-shadow: var(--sh-1); }
.toc a:hover { border-color: var(--navy-100); color: var(--navy); }
.kbd { display: inline-block; padding: 1px 8px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .92em; }
.how-steps { counter-reset: hs; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.how-steps li { counter-increment: hs; position: relative; padding-left: 52px; min-height: 38px; }
.how-steps li::before { content: counter(hs); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--amber); font: 800 1rem/38px var(--font-head); text-align: center; box-shadow: var(--sh-navy); }
.page-head { padding: 54px 0 34px; background: radial-gradient(600px 300px at 80% 0%, rgba(255,200,69,.22), rgba(255,200,69,0) 70%), linear-gradient(180deg, #FFF8E7, var(--cream)); }

/* ---------- ท้ายเว็บ ---------- */
.site-foot { background: radial-gradient(700px 300px at 90% 0%, rgba(255,184,28,.08), rgba(255,184,28,0) 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%); color: #B4BED3; padding: 64px 0 30px; font-size: .95rem; }
.site-foot a { color: #E3E8F2; text-decoration: none; }
.site-foot a:hover { color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; font-family: var(--font); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-brand img { width: 126px; margin-bottom: 14px; }
.foot-brand .foot-apps { display: flex; gap: 8px; margin-top: 16px; }
.foot-brand .foot-apps img { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: #8F9AB3; display: grid; gap: 6px; }
.site-foot.min { padding: 26px 0; }
.site-foot.min .foot-bottom { border: 0; margin-top: 0; padding-top: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- รับแจ้งเตือน ---------- */
.notify-box { background: #fff; border-radius: var(--r-xl); padding: 30px; border: 1px solid var(--line-2); box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.notify-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,69,.25), rgba(255,200,69,0) 70%); pointer-events: none; }
.notify-box form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; position: relative; z-index: 1; }
.notify-box .input { flex: 1 1 240px; width: auto; min-width: 0; max-width: 100%; }
.notify-box select.input { flex: 1 1 200px; }

/* ---------- ใบเสร็จ ---------- */
.receipt { max-width: 660px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 38px; border: 1px solid var(--line-2); box-shadow: var(--sh-2); }
.receipt .rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 2px solid var(--navy); padding-bottom: 16px; margin-bottom: 18px; }
@media print {
  .site-head, .site-foot, .no-print, .flashes { display: none !important; }
  body { background: #fff; }
  .receipt { border: 0; padding: 0; box-shadow: none; }
}

/* ---------- ค้นหา ---------- */
.search-ov { position: fixed; inset: 0; z-index: 200; background: rgba(11,23,51,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.search-ov.open { display: flex; }
.search-box { width: min(640px, 100%); background: #fff; border-radius: 22px; box-shadow: var(--sh-3); overflow: hidden; }
.search-box .sb-in { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.search-box .sb-in .ico { width: 22px; height: 22px; color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: none; font: 600 1.1rem var(--font); background: transparent; color: var(--ink); min-width: 0; }
.search-box .sb-res { max-height: 56vh; overflow-y: auto; padding: 8px; }
.search-box .sb-res a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.search-box .sb-res a:hover, .search-box .sb-res a.on { background: var(--paper); }
.search-box .sb-res .etile { width: 38px; height: 38px; border-radius: 12px; font-size: 1.1rem; }
.search-box .sb-res b { display: block; font-size: .98rem; line-height: 1.3; }
.search-box .sb-res small { display: block; color: var(--muted); font-size: .82rem; }
.search-box .sb-empty { padding: 22px; text-align: center; color: var(--muted); }
.search-box .sb-foot { padding: 10px 16px; border-top: 1px solid var(--line-2); font-size: .8rem; color: var(--muted-2); display: flex; justify-content: space-between; }

/* ---------- แอดมิน ---------- */
.adm { background: #F1F3F7; }
.adm-head { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; }
.adm-head .head-row { min-height: 58px; }
.adm-head a { color: #D6DCE8; text-decoration: none; font-weight: 600; font-size: .93rem; padding: 6px 10px; border-radius: 9px; }
.adm-head a:hover, .adm-head a.is-active { background: rgba(255,255,255,.1); color: #fff; }
.adm-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.adm main { padding: 26px 0 64px; }
.adm h1 { font-size: 1.6rem; }
.adm .card { padding: 20px; border-radius: 16px; box-shadow: var(--sh-1); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi { background: #fff; border-radius: 16px; padding: 16px 18px; border: 1px solid #E3E6EE; box-shadow: var(--sh-1); }
.kpi b { display: block; font: 800 1.7rem var(--font-head); color: var(--navy-900); }
.kpi span { color: var(--muted); font-size: .86rem; }
.adm .tbl { font-size: .9rem; }
.adm .tbl th, .adm .tbl td { padding: 9px 12px; }
.adm .tbl tr:hover td { background: #FAFAFC; }
.adm .tbl thead .hl { background: #FAF8F3; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #E0E2E7; text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.filters a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.adm .field input, .adm .field select, .adm .input { min-height: 40px; padding: 8px 12px; border-radius: 10px; font-size: .95rem; }
.adm .btn { min-height: 40px; padding: 7px 16px; font-size: .92rem; }
.adm .btn-sm { min-height: 32px; padding: 4px 12px; font-size: .85rem; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: .94rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.slip-img { max-width: 100%; max-height: 520px; border-radius: 10px; border: 1px solid #E0E2E7; }
.codes-out { width: 100%; min-height: 160px; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
.bar { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--navy-700), var(--blue)); }
.funnel-row { display: grid; grid-template-columns: 170px 1fr 70px; gap: 10px; align-items: center; margin: 6px 0; font-size: .9rem; }

/* =====================================================================
   v3 — สไตล์ภาพถ่าย (ภาพอ้างอิงชุดที่ 3): hero ภาพโต๊ะเรียน · การ์ดแอปครึ่งภาพ · ขั้นตอน · การ์ดคอร์สมีภาพ · แถบเมือง
   ภาพทั้งหมดสร้างด้วย Codex (tools/art) — ไม่มีข้อความ/โลโก้ในภาพ
   ===================================================================== */
.site-head { background: rgba(255,255,255,.92); }
.script-en { font-family: 'Caveat', var(--font-script); font-weight: 600; }
/* เส้นใต้แบบปากกาวาด (amber swoosh) */
.uline { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.uline::after { content: ""; position: absolute; z-index: -1; left: 1%; right: -3%; bottom: -.14em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 34' preserveAspectRatio='none'%3E%3Cpath d='M5 25C78 12 190 7 315 14' fill='none' stroke='%23F6A80F' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M40 27C120 18 220 15 300 19' fill='none' stroke='%23FFC845' stroke-width='4' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }

/* ----- hero ภาพถ่าย ----- */
.hero-photo { position: relative; overflow: hidden; background: #FCF8F1; }
.hero-photo .hp-bg { position: absolute; inset: 0; background-repeat: no-repeat; background-size: cover; background-position: 62% 60%; }
.hero-photo .hp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #FFFDF9 0%, rgba(255,253,249,.97) 30%, rgba(255,253,249,.72) 44%, rgba(255,253,249,.12) 62%, rgba(255,253,249,0) 72%), linear-gradient(0deg, rgba(255,253,249,.55) 0%, rgba(255,253,249,0) 22%); }
.hero-photo .hp-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 28px; align-items: center; min-height: 640px; padding-top: 44px; padding-bottom: 46px; }
.hero-photo h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.18; margin: 0 0 22px; letter-spacing: -.02em; }
.hero-photo .lead { font-size: 1.08rem; max-width: 32em; color: #4E566B; }
.hero-list { list-style: none; padding: 0; margin: 22px 0 32px; display: grid; gap: 12px; }
.hero-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink-2); }
.hero-list .ci { width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #FFF2D2; color: #D88A00; box-shadow: inset 0 0 0 1px #FFE2A0; }
.hero-list .ci .ico { width: 16px; height: 16px; }
.exam-line { margin-top: 22px; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.exam-line b { color: var(--ink-2); font-weight: 700; }
.exam-line .sep { color: #C9C2B3; }
.hp-visual { position: relative; height: 580px; }
.hp-visual .phone { position: absolute; }
.hp-visual .phone.p1 { width: 258px; left: 6%; top: 18px; z-index: 2; transform: rotate(-3deg); }
.hp-visual .phone.p2 { width: 236px; left: 46%; top: 58px; z-index: 1; transform: rotate(4deg); }
.hp-visual .floor { position: absolute; left: 4%; right: 6%; bottom: 8px; height: 46px; border-radius: 50%; background: radial-gradient(closest-side, rgba(70,48,20,.30), rgba(70,48,20,0)); filter: blur(4px); z-index: 0; }
.hp-tag { position: absolute; right: 0; top: 14px; text-shadow: 0 0 10px rgba(255,255,255,.95), 0 0 2px #fff; z-index: 3; font-family: 'Caveat', var(--font-script); font-weight: 600; font-size: 1.85rem; line-height: 1.08; color: rgba(19,37,74,.72); transform: rotate(-7deg); text-align: right; pointer-events: none; }
.hp-chip { position: absolute; right: -2%; bottom: 150px; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.95); box-shadow: var(--sh-3); font-weight: 800; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.1; color: var(--navy-900); }
.hp-chip small { display: block; font: 500 .8rem var(--font); color: var(--muted); margin-top: 3px; }
.hp-chip .ci { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #FFF2D2; color: #D88A00; flex: none; }
.hp-chip .ci .ico { width: 23px; height: 23px; }
@media (max-width: 1100px) { .hp-tag { display: none; } .hp-chip { right: 0; } }
@media (max-width: 960px) {
  .hero-photo .hp-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; padding-bottom: 10px; gap: 6px; }
  .hero-photo .hp-bg { background-position: 70% 100%; background-size: auto 62%; }
  .hero-photo .hp-bg::after { background: linear-gradient(180deg, #FFFDF9 0%, #FFFDF9 52%, rgba(255,253,249,.35) 72%, rgba(255,253,249,0) 100%); }
  .hp-visual { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hp-visual .phone.p1 { left: 4%; } .hp-visual .phone.p2 { left: 47%; }
}
@media (max-width: 560px) {
  .hp-visual { height: 420px; }
  .hp-visual .phone.p1 { width: min(200px, 50vw); top: 10px; }
  .hp-visual .phone.p2 { width: min(184px, 46vw); top: 44px; left: 46%; }
  .hp-chip { bottom: 16px; right: 0; font-size: 1rem; }
}

/* ----- หัวข้อ section แบบกลาง ----- */
.sh { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.sh h2 { margin-bottom: .3em; text-wrap: balance; }
.sh p { color: var(--muted); margin: 0; }
.sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sh-row h2 { margin: 0 0 .2em; }
.sh-row p { color: var(--muted); margin: 0; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.more-link:hover { color: var(--navy-700); }
.more-link .ico { width: 18px; height: 18px; }

/* ----- การ์ดแอป (ครึ่งข้อความ ครึ่งภาพ + โทรศัพท์) ----- */
.app2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.app2-card { display: grid; grid-template-columns: minmax(0, 1fr) 41%; background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--sh-2); min-height: 390px; }
.app2-card .ac-body { padding: 28px 20px 26px 28px; display: flex; flex-direction: column; min-width: 0; }
.app2-card .ac-photo { position: relative; overflow: hidden; background: #F4EEE3 center / cover no-repeat; min-height: 300px; }
.app2-card .ac-photo .phone { position: absolute; width: 172px; left: 9%; top: 36px; transform: rotate(-5deg); border-radius: 34px; padding: 8px; box-shadow: 0 30px 50px -18px rgba(30,20,10,.55); }
.app2-card .ac-photo .phone .phone-screen { border-radius: 27px; }
.app2-card .ac-photo .phone::before { width: 54px; height: 15px; top: 15px; }
.ac-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.ac-head img { width: 58px; height: 58px; border-radius: 16px; box-shadow: var(--sh-1); flex: none; }
.ac-head h3 { font-size: 1.45rem; margin: 2px 0 2px; }
.ac-head p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.45; }
.ac-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.ac-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .96rem; line-height: 1.35; }
.ac-list li > span:not(.pill) { min-width: 0; }
.ac-list li > .ico { color: #F2A20C; width: 1.25em; height: 1.25em; stroke-width: 3; flex: none; }
.ac-list .pill { font-size: .68rem; padding: 0 8px; margin-left: 2px; }
.ac-list li.soon { color: var(--muted); font-weight: 500; }
.ac-list li.soon > .ico { color: var(--muted-2); stroke-width: 2.2; }
.ac-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.ac-actions .store-badge { height: 46px; }
@media (max-width: 1100px) { .app2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .app2-card { grid-template-columns: 1fr; }
  .app2-card .ac-photo { order: -1; min-height: 250px; }
  .app2-card .ac-photo .phone { width: 148px; left: 50%; top: 24px; transform: translateX(-50%) rotate(-4deg); }
  .app2-card .ac-body { padding: 24px 22px; }
}

/* ----- ขั้นตอน (เส้นทางเดียว มีลูกศรระหว่างการ์ด) ----- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 20px 20px 22px; box-shadow: var(--sh-1); }
.flow-step .fs-top { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.flow-step .fs-n { width: 38px; height: 38px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #FFCB4D, #F5A90E); color: var(--navy-900); font: 800 1rem var(--font-head); box-shadow: var(--sh-amber); }
.flow-step .fs-i { color: var(--navy); display: inline-flex; }
.flow-step .fs-i .ico { width: 28px; height: 28px; }
.flow-step h3 { font-size: 1.05rem; margin: 0 0 .25em; }
.flow-step p { color: var(--muted); margin: 0; font-size: .9rem; line-height: 1.5; }
.flow-step + .flow-step::before { content: ""; position: absolute; left: -24px; top: 50%; width: 11px; height: 11px; border-top: 2.5px solid var(--navy); border-right: 2.5px solid var(--navy); transform: translateY(-50%) rotate(45deg); opacity: .6; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; gap: 20px; } .flow-step + .flow-step::before { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ----- ทำไมต้อง IQDEE (วงกลมอำพัน + ไอคอนเส้น) ----- */
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; }
.why3 .w { display: flex; gap: 18px; align-items: flex-start; }
.why3 .cico { width: 62px; height: 62px; background: linear-gradient(160deg, #FFF6E2, #FFEBC2); color: #C98000; box-shadow: inset 0 0 0 1px #FFE1A0, 0 10px 20px -14px rgba(242,158,12,.8); }
.why3 .cico .ico { width: 27px; height: 27px; }
.why3 h3 { font-size: 1.07rem; margin: 4px 0 .25em; }
.why3 p { color: var(--muted); margin: 0; font-size: .93rem; line-height: 1.6; }
@media (max-width: 960px) { .why3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why3 { grid-template-columns: 1fr; gap: 24px; } }

/* ----- การ์ดคอร์สมีภาพ ----- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); color: var(--ink); }
.pcard .pc-img { position: relative; aspect-ratio: 3 / 2; background: #EFE9DE; }
.pcard .pc-clip { position: absolute; inset: 0; overflow: hidden; }
.pcard .pc-clip > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pc-clip > img { transform: scale(1.04); }
.pcard .pc-badge { position: absolute; left: 12px; top: 12px; z-index: 1; }
.pcard .pc-badge .pill { box-shadow: 0 4px 12px -4px rgba(0,0,0,.25); }
.pcard .pc-badge .pill-live { background: linear-gradient(180deg, #FFCB4D, #FFB21A); color: var(--navy-900); }
.pcard .pc-badge .pill-soon { background: rgba(255,255,255,.94); color: var(--ink-2); }
.pcard .pc-emo { position: absolute; right: 14px; bottom: -22px; z-index: 2; }
.pcard .pc-emo .etile { width: 46px; height: 46px; border-radius: 14px; font-size: 1.3rem; box-shadow: var(--sh-2); border: 3px solid #fff; }
.pcard .pc-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard .pc-app { font: 700 .7rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.pcard h3 { font-size: 1.06rem; margin: 0; padding-right: 46px; }
.pcard .pc-sub { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.pcard .pc-meta { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-2); margin-top: auto; padding-top: 12px; font-weight: 600; padding-right: 38px; }
.pcard .pc-meta .ico { width: 16px; height: 16px; color: var(--muted-2); flex: none; }
.pcard .pc-go { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #F2B23A; color: #C98000; display: inline-flex; align-items: center; justify-content: center; background: #fff; transition: background .15s, color .15s; }
.pcard:hover .pc-go { background: var(--amber); color: var(--navy-900); border-color: var(--amber); }
.pcard .pc-go .ico { width: 16px; height: 16px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .pgrid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 480px) {
  .pgrid { grid-template-columns: 1fr; gap: 12px; }
  .pcard { flex-direction: row; min-height: 136px; }
  .pcard .pc-img { width: 37%; flex: none; aspect-ratio: auto; }
  .pcard .pc-emo { right: auto; left: 8px; bottom: 8px; }
  .pcard .pc-emo .etile { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; border-width: 2px; }
  .pcard .pc-badge { left: 8px; top: 8px; }
  .pcard .pc-badge .pill { font-size: .68rem; padding: 0 8px; }
  .pcard .pc-body { padding: 12px 14px 14px; }
  .pcard h3 { font-size: 1rem; padding-right: 0; }
  .pcard .pc-sub { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard .pc-meta { padding-top: 8px; padding-right: 0; font-size: .78rem; }
  .pcard .pc-go { display: none; }
}

/* ----- แถบชวนเริ่ม (ภาพเมืองยามค่ำ) ----- */
.cta-photo { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.cta-photo .cp-bg { position: absolute; inset: 0; background-repeat: no-repeat; background-size: cover; background-position: 80% 40%; }
.cta-photo .cp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,23,51,.97) 0%, rgba(11,23,51,.9) 34%, rgba(11,23,51,.5) 60%, rgba(11,23,51,.1) 100%); }
.cta-photo .cp-in { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 76px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: center; }
.cta-photo .kicker { color: var(--amber); letter-spacing: .16em; font: 800 .78rem var(--font-head); text-transform: uppercase; margin-bottom: 12px; }
.cta-photo h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-photo p { color: #C9D2E6; margin: 0 0 24px; max-width: 34em; }
.cta-photo .btn-row { gap: 14px; }
.cta-photo p a { color: var(--amber); font-weight: 700; }
.cta-photo .store-badge.muted { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.cta-photo .store-badge.muted small { color: #C9D2E6; }
.cta-photo .cp-script { justify-self: start; align-self: start; margin-top: -6px; font-family: var(--font-script); font-size: 1.7rem; line-height: 1.35; color: #fff; transform: rotate(-6deg); text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
@media (max-width: 860px) { .cta-photo .cp-in { grid-template-columns: 1fr; padding-top: 54px; padding-bottom: 54px; } .cta-photo .cp-script { display: none; } .cta-photo .cp-bg::after { background: linear-gradient(90deg, rgba(11,23,51,.95), rgba(11,23,51,.72)); } }

/* ----- หน้า /courses + หัวหน้าแบบภาพ ----- */
.app-band { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.app-band img { width: 52px; height: 52px; border-radius: 14px; box-shadow: var(--sh-1); flex: none; }
.app-band h2 { margin: 0; font-size: 1.5rem; }
.app-band p { margin: 0; color: var(--muted); font-size: .92rem; }
.app-band .btn-row { margin-left: auto; }
@media (max-width: 700px) { .app-band { flex-wrap: wrap; } .app-band .btn-row { margin-left: 0; width: 100%; } }
.page-photo { position: relative; overflow: hidden; background: #FCF8F1; }
.page-photo .pp-bg { position: absolute; inset: 0; background: center 60% / cover no-repeat; }
.page-photo .pp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #FFFDF9 0%, rgba(255,253,249,.96) 38%, rgba(255,253,249,.55) 62%, rgba(255,253,249,.05) 100%); }
.page-photo .pp-in { position: relative; z-index: 1; padding: 56px 0 58px; max-width: 640px; }
.page-photo h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 10px 0 12px; }
.page-photo p { color: #4E566B; margin: 0; font-size: 1.04rem; }
@media (max-width: 760px) { .page-photo .pp-bg::after { background: linear-gradient(90deg, rgba(255,253,249,.97), rgba(255,253,249,.82)); } }

/* ----- หน้าคอร์ส (hero ภาพถ่าย) ----- */
.hero-photo.course h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 18px 0 18px; }
.hero-photo.course .hp-grid { min-height: 620px; }
.hero-photo .stat { background: rgba(255,255,255,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hp-mascot { position: absolute; z-index: 3; left: -4%; bottom: 36px; width: 128px; height: auto; filter: drop-shadow(0 14px 18px rgba(6,59,55,.25)); }
.hero-photo.kids .uline::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 34' preserveAspectRatio='none'%3E%3Cpath d='M5 25C78 12 190 7 315 14' fill='none' stroke='%230DBAB0' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M40 27C120 18 220 15 300 19' fill='none' stroke='%23FFC845' stroke-width='4' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E"); }
.hero-photo.kids .hp-chip .ci { background: var(--teal-50); color: var(--teal-700); }
.hero-photo.kids .hp-tag { color: rgba(6,59,55,.75); }
.cta-photo.kids { background: #063B37; }
.cta-photo.kids .cp-bg::after { background: linear-gradient(90deg, rgba(4,46,43,.97) 0%, rgba(4,46,43,.9) 36%, rgba(4,46,43,.45) 62%, rgba(4,46,43,.05) 100%); }
.cta-photo.kids .kicker { color: #7DE3D9; }
.cta-photo.kids p { color: #CFEFEB; }
.cta-photo .cp-mascot { justify-self: start; align-self: end; width: 140px; height: auto; margin-bottom: -76px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
@media (max-width: 960px) { .hp-mascot { left: 0; bottom: 10px; width: 104px; } .hero-photo.course .hp-grid { min-height: 0; } }
@media (max-width: 860px) { .cta-photo .cp-mascot { display: none; } .cta-photo.kids .cp-bg::after { background: linear-gradient(90deg, rgba(4,46,43,.95), rgba(4,46,43,.75)); } }
@media (max-width: 560px) { .hero-photo .stat-row { grid-template-columns: 1fr 1fr; } .hp-mascot { width: 84px; } }

/* ----- หน้าคอร์สที่กำลังมา ----- */
.soon-hero { position: relative; overflow: hidden; padding: 54px 0 58px; background: radial-gradient(620px 420px at 88% 30%, rgba(255,200,69,.22), rgba(255,200,69,0) 65%), linear-gradient(180deg, #FFFDF8 0%, var(--cream) 100%); }
.soon-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.soon-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 18px 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.soon-hero h1 .pill { font: 700 .9rem var(--font); padding: 4px 13px; }
.soon-hero .who { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-weight: 600; margin: 0; }
.soon-hero .who .ico { color: #D88A00; width: 20px; height: 20px; flex: none; }
.soon-photo { position: relative; border-radius: 26px; box-shadow: var(--sh-3); background: #EFE9DE; aspect-ratio: 3 / 2; transform: rotate(1.2deg); border: 6px solid #fff; }
.soon-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.soon-photo .etile { position: absolute; left: -18px; bottom: -18px; width: 66px; height: 66px; border-radius: 20px; font-size: 1.9rem; border: 4px solid #fff; box-shadow: var(--sh-2); transform: rotate(-1.2deg); }
.pgrid.g-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 860px) { .soon-grid { grid-template-columns: 1fr; gap: 34px; } .soon-photo { max-width: 520px; transform: none; } .soon-hero { padding: 36px 0 46px; } }

/* ----- หน้าราคา ----- */
.price-block { background: #fff; border: 1px solid var(--line-2); border-radius: 26px; box-shadow: var(--sh-2); padding: 26px; margin-bottom: 26px; }
.pb-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.pb-img { width: 120px; height: 80px; object-fit: cover; border-radius: 16px; box-shadow: var(--sh-1); flex: none; }
.pb-t { flex: 1; min-width: 200px; }
.pb-t small { font: 700 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.pb-t h2 { font-size: 1.5rem; margin: 0; }
.pb-t span { color: var(--muted); font-size: .92rem; }
.page-photo .pay-badges.left { justify-content: flex-start; margin-top: 20px; }
@media (max-width: 560px) { .price-block { padding: 18px; border-radius: 20px; } .pb-img { width: 88px; height: 60px; } }
h1, h2, .h2, .h3 { text-wrap: balance; }
