/* =====================================================================
   ลพบุรี ไดร์ฟเซ็นเตอร์ — Landing Page
   ธีมสีชุดเดียวกับระบบหลัก (lopburi-dc frontend): #ffb420 (ทอง) + #1b0278 (น้ำเงินเข้ม)
   ===================================================================== */

@font-face {
  font-family: 'Prompt';
  src: local('Prompt');
}

:root {
  --brand: #ffb420;
  --brand-soft: #ffd88a;
  --brand-tint: #fff8e6;
  --navy: #1b0278;
  --navy-soft: #33228f;
  --ink: #1f2430;
  --ink-muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --canvas: #f6f7f9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.16);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Prompt', 'Noto Sans Myanmar', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; }

button { font-family: inherit; cursor: pointer; }

/* ---------- lang switching ---------- */
[data-i18n] { }
[lang-hidden] { display: none !important; }

/* ---------- header ---------- */
/* ค่าเริ่มต้น: header โปร่งใส "รวมเป็นเนื้อเดียว" กับภาพ hero ด้านหลัง (ตัวหนังสือ/ปุ่มสีขาว)
   พอเลื่อนลง (.scrolled) ถึงเปลี่ยนเป็นแถบเมนูทึบสีขาว ตัวหนังสือเข้ม เหมือนเว็บอ้างอิง */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ตอน header โปร่งใส (อยู่บนสุด) พื้นหลังวงกลมสีทองของโลโก้ + ตัวหนังสือน้ำเงินเข้มกลืนกับภาพ hero
   (ลองทั้ง drop-shadow และแปลงเป็นสีขาวล้วนแล้ว ยังมีปัญหา — วงกลมสีทองพอเป็นสีขาวแล้วไปกลืนกับ
   ส่วนที่สว่างของภาพแทน) จึงใช้แผ่นกระจกฝ้าสีเข้มโปร่งแสงรองหลังโลโก้แทน คงสีทอง/น้ำเงินเดิมของโลโก้ไว้
   ให้พื้นหลังของโลโก้เข้มสม่ำเสมอไม่ว่าภาพด้านหลังจะสว่างหรือมืดตรงไหนก็ตาม */
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  transition: background .3s ease, backdrop-filter .3s ease, padding .3s ease;
}
.site-header.scrolled .brand { background: transparent; backdrop-filter: none; padding: 6px 0; }
.brand img { height: 36px; width: auto; }
.brand-text { font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.25; }
.brand-text small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
/* ภาษาพม่าตัวอักษรกว้างกว่าไทย/อังกฤษมาก เมนูเลยล้นไปเบียดปุ่มสลับภาษา/CTA จนหายไปจากจอ
   ลดระยะห่าง+ขนาดตัวอักษรลงเฉพาะตอนภาษาพม่า และถ้ายังไม่พอ (จอแคบกว่านี้) ให้สลับไปโชว์เมนูแฮมเบอร์เกอร์แทนเร็วขึ้น */
/* เนื้อหา SEO เฉพาะภาษาไทย — ทีมการตลาดขอไม่ต้องแปล EN/MYA */
html:not([data-active-lang="th"]) .lang-th-only { display: none; }
.seo-copy { max-width: 780px; margin: 0 auto; color: var(--ink-muted); font-size: 15px; line-height: 1.8; }
.seo-copy p { margin: 0 0 16px; }
.seo-copy p:last-child { margin-bottom: 0; }

html[data-active-lang="mya"] .nav-links { gap: 12px; }
html[data-active-lang="mya"] .nav-links a { font-size: 12.5px; }
@media (max-width: 1180px) {
  html[data-active-lang="mya"] .nav-links { display: none; }
  html[data-active-lang="mya"] .hamburger { display: flex; }
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color .3s ease;
}
.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-right .btn { white-space: nowrap; }

.lang-switch {
  display: flex;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.site-header.scrolled .lang-switch { border-color: var(--line); }
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: background .2s, color .2s;
}
.site-header.scrolled .lang-switch button { color: var(--ink-muted); }
.lang-switch button.active {
  background: var(--navy);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--brand); color: #24160a; box-shadow: 0 6px 18px rgba(255, 180, 32, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 180, 32, 0.5); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: rgba(255,255,255,0.95); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.site-header.scrolled .hamburger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
/* ซูมเข้า/ออกตามสถานะการเลื่อนหน้า (ผูกกับ body.is-scrolled จาก main.js)
   อยู่บนสุด = ซูมเข้า (ใหญ่กว่า), เลื่อนลง = ซูมออก (กลับมาขนาดปกติ) */
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(27,2,120,.72), rgba(27,2,120,.55) 45%, rgba(20,10,40,.85)), url('../assets/img/track-07.jpg');
  background-size: cover;
  background-position: center 65%;
  transform: scale(1.12);
  transition: transform 1s ease;
}
body.is-scrolled .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
  padding: 60px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 180, 32, 0.16);
  border: 1px solid rgba(255, 180, 32, 0.5);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .7s ease .1s forwards;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.18;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp .7s ease .25s forwards;
}
.hero h1 span { color: var(--brand); }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp .7s ease .4s forwards;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeUp .7s ease .55s forwards;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 26px;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp .7s ease .7s forwards;
}
.hero-stat { color: #fff; text-align: center; padding: 0 6px; }
.hero-stat b { display: block; font-size: 28px; color: var(--brand); font-weight: 700; white-space: nowrap; }
.hero-stat span { display: block; font-size: 12.5px; color: rgba(255,255,255,0.75); line-height: 1.4; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .55s; }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger:not(.in-view) > * { opacity: 0; transform: translateY(24px); }

/* ---------- section shell ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { background: var(--brand-tint); color: #a86e00; border-color: var(--brand-soft); }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--navy); margin: 14px 0 14px; }
.section-head p { color: var(--ink-muted); font-size: 15.5px; }

.alt-bg { background: var(--canvas); }

/* ---------- why-us grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--ink-muted); margin: 0; }

/* ---------- courses ---------- */
.course-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.course-tab {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all .2s ease;
}
.course-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.course-panels { position: relative; }
.course-panel { display: none; }
.course-panel.active { display: block; animation: fadeUp .5s ease; }

/* flex + justify-content:center แทน grid เพราะจำนวนการ์ดในแต่ละแท็บไม่เท่ากัน (2 การ์ดเสมอในตอนนี้)
   grid แบบเดิม (3 คอลัมน์) ทำให้ 2 การ์ดไปกองชิดซ้ายแทนที่จะอยู่กึ่งกลาง */
.course-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.course-cards .course-card { flex: 0 1 420px; }
.course-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.course-card-top {
  padding: 22px 24px 0;
}
.course-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--brand-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.course-card h4 { font-size: 17.5px; color: var(--navy); margin-bottom: 10px; }
.course-card ul { margin: 0; padding: 0 24px 20px; list-style: none; }
.course-card ul li {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.course-card ul li:last-child { border-bottom: none; }
.course-card ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 7px;
  color: var(--brand);
  font-weight: 700;
}

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-head {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.accordion-head .plus {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex: none;
  transition: transform .25s ease;
}
.accordion-item.open .accordion-head .plus { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-item.open .accordion-body { max-height: 2000px; }
.accordion-body-inner { padding: 0 4px 20px; font-size: 14px; color: var(--ink-muted); }
.accordion-body-inner h5 { color: var(--ink); font-size: 13.5px; margin: 14px 0 6px; }
.accordion-body-inner ul { margin: 0 0 0 18px; padding: 0; }
.accordion-body-inner li { margin-bottom: 4px; }

.details-toggle-wrap { text-align: center; margin-top: 36px; }

/* ---------- gallery carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.carousel-track {
  display: flex;
  transition: transform .55s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16/8;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 10, 40, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.carousel-btn:hover { background: rgba(255, 180, 32, 0.9); color: #24160a; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width .2s ease, background .2s ease;
}
.carousel-dot.active { width: 22px; background: var(--brand); }

/* ---------- video testimonials ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card {
  background: #0d0620;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-card video { width: 100%; display: block; aspect-ratio: 16/9; background: #000; }
.video-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.video-card-label .flag { font-size: 18px; }

/* ---------- steps / how to apply ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-muted); margin: 0; }

.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.req-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.req-box h4 { color: var(--navy); font-size: 16px; margin-bottom: 14px; }
.req-box ul { margin: 0; padding-left: 20px; color: var(--ink-muted); font-size: 14px; }
.req-box li { margin-bottom: 8px; }

/* ---------- CTA / contact ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: 28px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-item h4 { font-size: 14.5px; color: var(--navy); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--ink-muted); margin: 0; text-decoration: none; }
.contact-item a:hover { color: var(--navy); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 280px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
footer { background: #150353; color: rgba(255,255,255,0.75); padding: 48px 0 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 34px; }
.footer-brand-text { color: #fff; font-weight: 700; font-size: 14.5px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { color: #fff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 13.5px; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .course-cards .course-card { flex-basis: 100%; }
  .video-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .carousel-slide { aspect-ratio: 4/3; }
  .carousel-btn { width: 36px; height: 36px; font-size: 18px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .lang-switch button { padding: 6px 10px; font-size: 12px; }
  section { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .hero-content { padding: 40px 0; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: #fff;
  z-index: 99;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  padding: 24px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* สลับภาษาในเมนูมือถือ/แฮมเบอร์เกอร์ — จำเป็นเพราะบางภาษา (พม่า) เมนูบนสุดถูกซ่อนไปใช้แฮมเบอร์เกอร์แทน
   ตั้งแต่จอกว้างกว่าเดิม (ดู @media(max-width:1180px) ของ .nav-links) ผู้ใช้เลยต้องมีทางสลับภาษากลับจากในนี้ */
.mobile-lang-switch {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.mobile-lang-switch button {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.mobile-lang-switch button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
