/* ─────────────────────────────────────────────────────────
   เดอะน็อต — ระบบดีไซน์
   สีดึงจากไฟล์โลโก้จริง: แดง #E6041A น้ำเงิน #003EA5
   ลูกค้าขอ น้ำเงินน่าเชื่อถือ / ดำพรีเมียม / ทองหรูหรา และห้ามสีชมพู
   ───────────────────────────────────────────────────────── */
:root {
  --red:        #E6041A;
  --red-ink:    #B80315;   /* สำหรับตัวหนังสือเล็กบนพื้นขาว ให้ผ่านคอนทราสต์ */
  --blue:       #003EA5;
  --blue-deep:  #002A73;
  --blue-lift:  #2C64C8;
  --gold:       #C08A1E;
  --gold-lift:  #E8B94E;

  --ink:        #101524;
  --ink-2:      #3E4761;
  --muted:      #616B85;
  --line:       #E3E7F0;
  --line-soft:  #EFF2F8;
  --paper:      #FFFFFF;
  --paper-2:    #F6F8FC;

  --night:      #0A0E1A;
  --night-2:    #131B31;
  --night-line: #26304C;
  --on-night:   #EEF2FA;
  --on-night-2: #A9B4CC;

  --wrap: 1160px;
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --shadow:    0 1px 2px rgba(16,21,36,.05), 0 6px 20px -8px rgba(16,21,36,.14);
  --shadow-up: 0 2px 4px rgba(16,21,36,.06), 0 16px 34px -12px rgba(16,21,36,.22);
  --ease: cubic-bezier(.2,.7,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

input, select, textarea, button { font-family: inherit; font-size: 16px; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(31px, 5.4vw, 58px); line-height: 1.4; }
h2 { font-size: clamp(25px, 3.6vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); }
p  { margin: 0 0 1.05em; }
a  { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, video { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .3em; }
:focus-visible { outline: 3px solid var(--blue-lift); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.section { padding-block: clamp(52px, 7vw, 92px); }
.section--tint { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night h2, .section--night h3 { color: #fff; }
.section--night p { color: var(--on-night-2); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue);
  color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .18s var(--ease);
}
.skip:focus { top: 12px; }

/* ── หัวข้อส่วน ─────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em;
  color: var(--red-ink); text-transform: none; margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section--night .eyebrow { color: var(--gold-lift); }
.section--night .eyebrow::before { background: var(--gold); }
.lede { font-size: clamp(17px, 1.9vw, 19px); color: var(--ink-2); max-width: 62ch; }
.section--night .lede { color: var(--on-night-2); }
.head { margin-bottom: clamp(28px, 4vw, 44px); }
.head--page h1 { font-size: clamp(28px, 4.4vw, 46px); max-width: 20ch; }

/* ── ปุ่ม ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgba(230,4,26,.85); }
.btn--primary:hover { background: #CF0317; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(230,4,26,.9); }
.btn--line { background: #06C755; color: #06301A; }
.btn--line svg { color: #fff; --line-letter: #06A948; }
.btn--line:hover { background: #05B54D; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.section--night .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--night .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── หัวเว็บ ─────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,14,26,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-head__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 44px; object-fit: contain; }
.brand__word { display: block; }
.brand__name { display: block; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: -.01em; }
.brand__sub { display: block; color: var(--on-night-2); font-size: 14px; line-height: 1.4; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-night); text-decoration: none; font-size: 15.5px; font-weight: 500;
  padding: 9px 13px; border-radius: 999px; transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: rgba(255,255,255,.1); }
.nav a[aria-current='page'] { color: #fff; background: rgba(255,255,255,.14); font-weight: 600; }
.head-cta { margin-left: 6px; min-height: 42px; padding: 8px 18px; font-size: 15.5px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.24);
  background: transparent; color: #fff; border-radius: 12px; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--night); padding: 14px 20px 22px; border-bottom: 1px solid var(--night-line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav[data-open='true'] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 14px; border-radius: 12px; font-size: 17px; }
  .nav .btn { margin-top: 10px; }
}

/* ── แบนเนอร์ ───────────────────────────────────────── */
.hero { position: relative; background: var(--night); color: #fff; overflow: clip; }
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero__slide[data-active='true'] { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,14,26,.82) 0%, rgba(10,14,26,.44) 34%, rgba(10,14,26,.80) 78%, rgba(10,14,26,.96) 100%),
    linear-gradient(100deg, rgba(0,42,115,.62) 0%, rgba(10,14,26,.12) 62%);
}
.hero__in {
  position: relative; z-index: 2;
  min-height: min(70vh, 620px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: clamp(80px, 13vw, 132px) clamp(34px, 5vw, 58px);
}
@media (min-width: 900px) { .hero__in { min-height: min(80vh, 760px); } }
.hero h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 26px rgba(0,0,0,.4); }
.hero h1 em { font-style: normal; color: var(--gold-lift); }
.hero__tag {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  background: rgba(230,4,26,.92); color: #fff; font-weight: 600; font-size: 14.5px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero__tag svg { width: 17px; height: 17px; }
.hero__lede { font-size: clamp(17px, 2vw, 20px); color: #E6ECF8; max-width: 54ch; margin-bottom: 26px; text-shadow: 0 1px 14px rgba(0,0,0,.42); }
.hero .btn-row { margin-bottom: 8px; }
@media (max-width: 560px) { .hero .btn-row .btn { flex: 1 1 100%; } }
.hero__dots { display: flex; gap: 4px; margin-top: 2px; margin-left: -0px; }
.hero__dots button {
  width: 44px; height: 44px; padding: 20px 0; border: 0; background-clip: content-box; border-radius: 3px;
  background-color: rgba(255,255,255,.38); cursor: pointer; transition: background-color .25s var(--ease);
}
.hero__dots button[aria-current='true'] { background-color: var(--gold-lift); }
.hero__dots button:focus-visible { outline-offset: 5px; }

.hero-strip { background: var(--blue-deep); color: #fff; }
.hero-strip ul {
  list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap;
  gap: 8px 30px; font-size: 15px; font-weight: 500;
}
.hero-strip li { display: flex; align-items: center; gap: 9px; margin: 0; color: #D7E2F7; }
.hero-strip svg { width: 19px; height: 19px; color: var(--gold-lift); flex: none; }

/* ── การ์ดจุดเด่น ───────────────────────────────────── */
.feature-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 18px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); border-color: #D4DCEC; }
.feature__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, #EDF2FD, #E1E9FA); color: var(--blue); margin-bottom: 13px;
}
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 17.5px; margin-bottom: 4px; }
.feature p { font-size: 15px; line-height: 1.66; color: var(--muted); margin: 0; }

/* ── การ์ดหลักสูตร ─────────────────────────────────── */
.course-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 479px) { .course-grid { gap: 12px; } }
@media (min-width: 900px) { .course-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.course {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.course:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); border-color: #D4DCEC; }
.course__img { position: relative; }
.course__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: 50% 38%; }
.course__cat {
  position: absolute; left: 10px; top: 10px; background: rgba(10,14,26,.86); color: #fff;
  font-size: 14px; font-weight: 600; padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.course__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.course h3 { font-size: 18px; margin-bottom: 3px; }
.course__age { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 9px; }
.course p { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin-bottom: 14px; }
/* การ์ดแคบตอน 4 คอลัมน์ ราคากับลิงก์จึงวางซ้อนบรรทัด ไม่ใช่แถวเดียวที่ตัดคำเละ */
.course__foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
@media (min-width: 1180px) { .course-grid { gap: 22px; } }
.course__price { font-weight: 700; font-size: 19px; color: var(--blue); white-space: nowrap; }
.course__price small { font-weight: 500; font-size: 14px; color: var(--muted); }
.course__more { font-size: 14.5px; font-weight: 600; color: var(--red-ink); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.course__more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.course:hover .course__more svg { transform: translateX(3px); }

/* ── ตารางราคาและตารางเรียน ────────────────────────── */
.price-list { display: grid; gap: 10px; }
@media (min-width: 700px) { .price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
}
.price-row[data-highlight='true'] { border-color: var(--gold); background: linear-gradient(180deg, #FFFBF0, #FFF8E6); }
.price-row__label { font-weight: 600; font-size: 16px; }
.price-row__note { display: block; font-weight: 400; font-size: 14px; color: var(--muted); line-height: 1.6; }
.price-row__amt { text-align: right; white-space: nowrap; }
.price-row__amt b { font-size: 21px; color: var(--blue); }
.price-row__amt span { display: block; font-size: 14px; color: var(--muted); }

.sched { display: grid; gap: 12px; }
@media (min-width: 768px) { .sched { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sched-card { border: 1px solid var(--night-line); border-radius: var(--r); padding: 20px; background: var(--night-2); }
.sched-card h3 { font-size: 17px; color: #fff; margin-bottom: 2px; }
.sched-card__course { font-size: 14px; color: var(--gold-lift); font-weight: 600; margin-bottom: 12px; }
.sched-card ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 7px; }
.sched-card li {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font-variant-numeric: tabular-nums; font-size: 15.5px; color: var(--on-night);
}
.sched-card li svg { width: 17px; height: 17px; color: var(--on-night-2); flex: none; }
.sched-card small { color: var(--on-night-2); font-size: 14px; line-height: 1.6; display: block; }

/* ── โปรโมชั่น ──────────────────────────────────────── */
.promo {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1.5px solid var(--gold); border-radius: var(--r-lg);
  background: linear-gradient(135deg, #FFFCF3 0%, #FFF6E2 100%);
  padding: 20px 22px;
}
.promo__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: #fff; display: grid; place-items: center; flex: none; }
.promo__icon svg { width: 23px; height: 23px; }
.promo h3 { font-size: 18px; margin-bottom: 4px; color: #6B4A05; }
.promo p { margin: 0; font-size: 15.5px; color: #7A5A12; line-height: 1.66; }
.promo small { display: block; margin-top: 6px; font-size: 14px; color: #8C6B22; }

/* ── แกลเลอรี — สัดส่วนจริงของไฟล์ ไม่ครอป ────────── */
.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 480px) { .masonry { columns: 3; column-gap: 12px; } }
@media (min-width: 1024px) { .masonry { columns: 4; column-gap: 14px; } }
.masonry figure { break-inside: avoid; margin: 0 0 10px; }
@media (min-width: 480px) { .masonry figure { margin-bottom: 12px; } }
@media (min-width: 1024px) { .masonry figure { margin-bottom: 14px; } }
.masonry img { width: 100%; height: auto; border-radius: var(--r-sm); }
.masonry figcaption { font-size: 14px; color: var(--muted); padding: 6px 2px 0; line-height: 1.6; }

/* ── ทีมผู้ฝึกสอน ───────────────────────────────────── */
.coach-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .coach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.coach { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.coach > img { width: 100%; height: auto; }
.coach__body { padding: 18px 18px 20px; }
.coach h3 { font-size: 19px; margin-bottom: 1px; }
.coach__role { font-size: 14.5px; color: var(--red-ink); font-weight: 600; margin-bottom: 13px; }
.coach__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.coach__list li { display: flex; gap: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.coach__list svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 4px; }
.coach h4 { font-size: 14px; letter-spacing: .03em; color: var(--muted); margin: 0 0 7px; font-weight: 600; }

/* ── รีวิว ──────────────────────────────────────────── */
.review-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.review { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 22px; }
.review__stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--gold-lift); }
.review__stars svg { width: 17px; height: 17px; }
.review p { font-size: 15.5px; line-height: 1.72; color: var(--on-night); margin-bottom: 14px; }
.review cite { font-style: normal; font-size: 14.5px; font-weight: 600; color: #fff; display: block; }
.review cite span { display: block; font-weight: 400; font-size: 14px; line-height: 1.6; color: var(--on-night-2); }

/* ── คำถามที่พบบ่อย ─────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 19px 2px; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 21px; height: 21px; color: var(--blue); flex: none; margin-top: 3px; transition: transform .22s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__a { padding: 0 2px 20px; color: var(--ink-2); font-size: 16px; max-width: 72ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* ── วิดีโอ ─────────────────────────────────────────── */
.video-block { max-width: 860px; }
.video-block video { width: 100%; height: auto; border-radius: var(--r); background: #000; }
.video-block figcaption { font-size: 14px; line-height: 1.6; color: var(--on-night-2); margin-top: 10px; }

/* ── ฟอร์ม ──────────────────────────────────────────── */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.field-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .req { color: var(--red-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; min-height: 50px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 122px; resize: vertical; line-height: 1.65; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23616B85' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,62,165,.14); }
.field[data-invalid='true'] input, .field[data-invalid='true'] select, .field[data-invalid='true'] textarea { border-color: var(--red); background: #FFF7F7; }
.field__err { display: none; font-size: 14px; color: var(--red-ink); margin-top: 6px; font-weight: 500; }
.field[data-invalid='true'] .field__err { display: flex; gap: 6px; align-items: flex-start; }
.field__err svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.field__hint { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 5px; }
.form-note { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.form-alert { border-radius: var(--r); padding: 14px 16px; margin-bottom: 20px; font-size: 15.5px; display: flex; gap: 10px; align-items: flex-start; }
.form-alert svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.form-alert--ok  { background: #E9F8EF; color: #14532D; border: 1px solid #B9E6CB; }
.form-alert--bad { background: #FEF0F0; color: #8A1017; border: 1px solid #F6C9CB; }

/* ── ติดต่อ ─────────────────────────────────────────── */
.contact-split { display: grid; gap: 26px; }
@media (min-width: 900px) { .contact-split { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 34px; align-items: start; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 13px; margin: 0; }
.info-list svg { width: 21px; height: 21px; color: var(--blue); flex: none; margin-top: 4px; }
.info-list b { display: block; font-size: 14px; line-height: 1.6; color: var(--muted); font-weight: 600; }
.info-list a { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.info-list a:hover { color: var(--blue); text-decoration: underline; }
.map-frame { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ── ท้ายเว็บ ───────────────────────────────────────── */
.site-foot { background: var(--night); color: var(--on-night-2); padding-block: clamp(40px, 5vw, 58px) 0; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap: 40px; } }
.site-foot h4 { color: #fff; font-size: 15px; margin-bottom: 13px; }
.site-foot a { color: var(--on-night-2); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; font-size: 15px; }
.foot-links li { margin: 0; display: flex; align-items: center; min-height: 40px; }
.foot-links a { display: flex; align-items: center; min-height: 44px; width: 100%; }
.foot-brand img { width: 38px; height: 49px; margin-bottom: 12px; }
.foot-brand p { font-size: 15px; line-height: 1.7; max-width: 42ch; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--night-line); color: var(--on-night); transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.social a:hover { background: rgba(255,255,255,.08); border-color: #3C4A6E; }
.social svg { width: 21px; height: 21px; }
.foot-bar {
  margin-top: 34px; border-top: 1px solid var(--night-line); padding-block: 18px 22px;
  font-size: 14px; line-height: 1.6; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
}

/* ── ปุ่มลอยบนมือถือ ────────────────────────────────── */
.dock { display: none; }
@media (max-width: 767px) {
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; inset: auto 0 0; z-index: 70;
    background: var(--night-line); border-top: 1px solid var(--night-line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 56px; text-decoration: none; font-weight: 600; font-size: 16px;
  }
  .dock svg { width: 21px; height: 21px; }
  .dock__call { background: var(--night); color: #fff; }
  .dock__line { background: #06C755; color: #06301A; }
  body { padding-bottom: 57px; }
}

/* ── อนิเมชันตอนเลื่อนถึง ──────────────────────────── */
.rise { opacity: 0; transform: translateY(20px); }
.rise.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .rise, .rise.is-in { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
  .btn:hover, .course:hover, .feature:hover { transform: none; }
}

/* ── กล่องบอกว่าเป็นข้อมูลตัวอย่าง (เห็นเฉพาะตอนพรีวิว) ── */
.ph-note {
  background: #FFF7EA; border: 1px dashed #E0A93C; color: #74521A;
  border-radius: var(--r-sm); padding: 9px 13px; font-size: 14px; margin-bottom: 14px;
  display: flex; gap: 8px; align-items: flex-start;
}
.ph-note svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }

/* ── คลิป: แสดงภาพปกก่อน โหลดไฟล์จริงต่อเมื่อกดเล่น ── */
.video-facade { position: relative; border-radius: var(--r); overflow: hidden; background: #000; }
.video-facade img { width: 100%; height: auto; }
.video-facade__play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(180deg, rgba(10,14,26,.05) 0%, rgba(10,14,26,.34) 55%, rgba(10,14,26,.62) 100%);
  color: #fff; font: inherit; font-size: 17px; font-weight: 600;
  transition: background-color .2s var(--ease);
}
.video-facade__play small { font-weight: 400; font-size: 14px; color: #E4EAF6; }
.video-facade__play > span:not(.video-facade__ring), .video-facade__play small { text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.video-facade__ring {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); margin-bottom: 4px;
  box-shadow: 0 10px 30px -8px rgba(230,4,26,.8);
  transition: transform .2s var(--ease);
}
.video-facade__ring svg { width: 25px; height: 25px; margin-left: 3px; color: #fff; }
.video-facade__play:hover .video-facade__ring { transform: scale(1.06); }
.video-facade__play:focus-visible { outline: 3px solid var(--gold-lift); outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) { .video-facade__play:hover .video-facade__ring { transform: none; } }
