/* แท็กซี่ แอนด์ ทราเวล เซอร์วิส — ตามแบบ taxi-travel-fullpage: น้ำเงินเข้ม + ทอง สว่าง น่าเชื่อถือ */
:root {
  --navy: #0a3a82;
  --navy-2: #0c4596;
  --navy-dk: #062a63;
  --ink: #1a2b48;
  --muted: #56667f;
  --blue: #1654b8;
  --blue-dk: #0f428f;
  --sky: #3b8fe0;
  --sky-50: #f1f7fe;
  --sky-100: #e0edfc;
  --line: #dae4f1;
  --gold: #b8894a;
  --gold-lt: #d6b176;
  --gold-dk: #8f6630;
  --eyebrow: #5b78a8;
  --line-btn: #05a049;
  --bg: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gut: 16px;
  --header-h: 68px;
  --shadow-sm: 0 1px 2px rgba(10, 58, 130, .06), 0 4px 14px rgba(10, 58, 130, .07);
  --shadow-md: 0 2px 6px rgba(10, 58, 130, .07), 0 16px 36px rgba(10, 58, 130, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px) { :root { --gut: 24px; --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Anuphan', system-ui, sans-serif; font-size: 17px; line-height: 1.7; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--navy); line-height: 1.4; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(32px, 6.5vw, 64px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
.ic { flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; 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: 8px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: calc(820px + var(--gut) * 2); }
.muted { color: var(--muted); }
/* ตัวเขียน (Charm) ใช้เฉพาะคำคม/ข้อความลายมือตามแบบ */
.script { font-family: 'Charm', 'Anuphan', cursive; font-weight: 700; line-height: 1.45; }
.swoosh { display: block; width: 100%; height: 14px; color: var(--gold); margin-top: -4px; }
.eyebrow-line { font-size: 14px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 6px; line-height: 1.5; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 17px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), filter .2s var(--ease);
}
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary, .btn-navy { background: var(--navy); color: #fff; }
.btn-primary:hover, .btn-navy:hover { background: var(--navy-dk); }
.btn-gold { background: linear-gradient(135deg, var(--gold-lt), var(--gold) 55%, var(--gold-dk)); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 6px 16px rgba(143, 102, 48, .28); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { background: var(--line-btn); color: #fff; font-weight: 700; }
.btn-line:hover { background: #048a3f; }
.btn-line svg { border-radius: 6px; background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky-50); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--sky-50); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ส่วนหัว ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: background-color .25s, box-shadow .25s, border-color .25s; }
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; border-color: transparent; }
.site-header.is-overlay.is-scrolled, .site-header.is-scrolled { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-in { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--navy); margin-right: auto; line-height: 1; min-height: 48px; justify-content: center; }
.brand-car { width: 74px; height: auto; margin-bottom: 2px; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; margin-top: 3px; padding-left: .38em; }
.brand-sub::before, .brand-sub::after { content: ""; width: 14px; height: 1px; background: currentColor; }
@media (min-width: 768px) { .brand-car { width: 96px; } .brand-name { font-size: 21px; } .brand-sub { font-size: 11px; } }
.brand-logo { max-height: 56px; width: auto; }
.brand-light { color: #fff; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.lang-pill { display: none; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.lang-pill a, .lang-pill span[aria-current] { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; text-decoration: none; color: var(--muted); }
.lang-pill span[aria-current] { color: var(--navy); }
.lang-pill .sep { color: var(--line); }
.header-line { display: none; }
.header-line svg { width: 22px; height: 22px; }
.menu-btn { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; color: var(--navy); border-radius: 10px; cursor: pointer; }
.menu-btn .menu-ic-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-ic-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-ic-close { display: block; }
@media (min-width: 600px) { .lang-pill { display: inline-flex; } }
@media (max-width: 1099px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px var(--gut) 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .main-nav.is-open { display: block; }
  .main-nav li a { display: flex; align-items: center; min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-header.is-overlay:has(.main-nav.is-open) { background: #fff; }
}
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .main-nav ul { display: flex; gap: 22px; }
  .main-nav li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; position: relative; }
  .main-nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s var(--ease); }
  .main-nav li a:hover::after, .main-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-extra { display: none; }
  .header-line { display: inline-flex; }
}

/* ---------- แบนเนอร์ (hero) ---------- */
.hero { position: relative; isolation: isolate; background: var(--sky-50); color: var(--navy); }
.hero-slides { position: relative; height: 46svh; min-height: 300px; max-height: 70svh; overflow: hidden; will-change: transform; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide figcaption { position: absolute; right: var(--gut); bottom: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .85); color: var(--navy); padding: 4px 12px; border-radius: 999px; }
.hero-shade { position: absolute; left: 0; right: 0; top: 0; height: 46svh; min-height: 300px; max-height: 70svh; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(241, 247, 254, .75) 0%, rgba(241, 247, 254, 0) 30%, rgba(241, 247, 254, 0) 70%, rgba(241, 247, 254, 1) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 4px; padding-bottom: 28px; }
.hero-title { margin: 0; line-height: 1.4; font-size: clamp(38px, 9vw, 72px); }
.hero-title .t1 { display: block; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
.hero-title .t2 { display: inline-block; color: var(--gold); font-size: 1.1em; line-height: 1.4; transform: rotate(-3deg); transform-origin: left; margin-top: .42em; padding-right: .3em; }
.hero-title .t2 .swoosh { width: 110%; margin-top: -.2em; }
.hero-kicker { font-size: 14px; font-weight: 600; letter-spacing: .16em; color: var(--navy); margin: 14px 0 20px; }
.hero-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-feats li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--navy); background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.hero-feats svg { width: 30px; height: 30px; color: var(--navy); }
.hero-note { font-size: 22px; color: var(--navy); margin: 18px 0 0; transform: rotate(-4deg); transform-origin: left; max-width: 17em; line-height: 1.45; }
.hero-controls { position: absolute; z-index: 2; left: 0; right: 0; top: calc(46svh - 52px); display: flex; justify-content: center; align-items: center; gap: 4px; }
.hero-dots { display: flex; }
.hero-dot { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: 12px; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(10, 58, 130, .25); transition: width .25s var(--ease), background-color .2s; }
.hero-dot[aria-current="true"]::before { width: 26px; background: #fff; }
.hero-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .75); color: var(--navy); cursor: pointer; }
@media (min-width: 900px) {
  .hero { height: min(92vh, 860px); min-height: 640px; display: flex; align-items: center; }
  .hero-slides { position: absolute; inset: 0; height: auto; max-height: none; z-index: -2; }
  .hero-shade { height: 100%; max-height: none; min-height: 0; z-index: -1; background: linear-gradient(90deg, rgba(241, 247, 254, .96) 0%, rgba(241, 247, 254, .86) 30%, rgba(241, 247, 254, .35) 48%, rgba(241, 247, 254, 0) 60%), linear-gradient(0deg, rgba(241, 247, 254, .9) 0%, rgba(241, 247, 254, 0) 22%); }
  .hero-content { padding-top: var(--header-h); padding-bottom: 90px; }
  .hero-kicker { font-size: 15px; letter-spacing: .3em; margin: 18px 0 30px; }
  .hero-feats { display: flex; gap: 14px; }
  .hero-feats li { flex-direction: column; text-align: center; background: none; box-shadow: none; padding: 0; width: 112px; font-size: 15px; gap: 8px; }
  .hero-feats svg { width: 40px; height: 40px; }
  .hero-note { font-size: 28px; margin-top: 40px; max-width: 21em; }
  .hero-controls { top: auto; bottom: 100px; padding-left: 38%; }
}

/* ---------- แถบเลือกเส้นทาง ---------- */
.route-wrap { position: relative; z-index: 3; padding-bottom: 8px; }
.route-bar { display: grid; gap: 16px; background: #fff; border-radius: 20px; padding: 20px 16px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.route-head h2 { font-size: 22px; margin: 0; }
.route-head p { margin: 0; color: var(--muted); font-size: 16px; }
.route-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.route-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 76px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.route-tab:hover { border-color: var(--navy); }
.route-tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.route-cta { width: 100%; }
.intro { max-width: 820px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) {
  .route-wrap { margin-top: -64px; }
  .route-bar { grid-template-columns: minmax(0, 1.15fr) auto auto; align-items: center; gap: 24px; padding: 22px 28px; }
  .route-head h2 { font-size: 26px; }
  .route-tabs { grid-template-columns: repeat(4, 104px); gap: 12px; }
  .route-tab { min-height: 84px; font-size: 15px; }
  .route-cta { width: auto; padding: 12px 30px; }
}

/* ---------- หัวส่วน ---------- */
.section { padding: 56px 0; }
@media (min-width: 1024px) { .section { padding: 84px 0; } }
.section-alt { background: var(--sky-50); }
.section-tight { padding: 32px 0; }
.section-top0 { padding-top: 8px; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head .lead, .lead { font-size: 18px; color: var(--muted); }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.sec-head.row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.more { margin: 28px 0 0; text-align: center; }

/* ---------- ประเภทรถ: 2 / 2 / 4 คอลัมน์ ---------- */
.fleet-sec { background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%); }
.fleet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .fleet { gap: 20px; } }
@media (min-width: 1024px) { .fleet { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fleet-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .fleet-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } }
.fleet-media img { width: 100%; }
.fleet-body { padding: 12px 12px 14px; }
@media (min-width: 768px) { .fleet-body { padding: 16px 18px 18px; } }
.fleet-name { font-size: 17px; margin: 0 0 2px; }
@media (min-width: 768px) { .fleet-name { font-size: 20px; } }
.fleet-text { font-size: 15px; color: var(--muted); margin: 0 0 10px; line-height: 1.55; }
.fleet-meta { display: flex; gap: 18px; margin: 0; font-weight: 700; color: var(--navy); font-size: 16px; }
.fleet-meta > span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- สถานที่ท่องเที่ยว ---------- */
.dest-sec { background: linear-gradient(120deg, var(--sky-50) 0%, #fff 45%, var(--sky-100) 100%); padding: 56px 0; }
.dest-grid { display: grid; gap: 24px; align-items: center; }
.dest-text h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.4; }
.dest-text p { color: var(--muted); max-width: 26em; }
.dest-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .dest-cards { grid-template-columns: 1fr 1fr; } }
.dest-card a { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 7 / 5; box-shadow: var(--shadow-md); color: #fff; text-decoration: none; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .dest-card a:hover img { transform: scale(1.04); } }
.dest-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(6, 42, 99, .88) 0%, rgba(6, 42, 99, 0) 100%); display: flex; flex-direction: column; }
.dest-cap strong { font-size: 22px; line-height: 1.4; }
.dest-cap small { font-size: 15px; color: #e4eefc; }
@media (min-width: 1024px) { .dest-sec { padding: 72px 0; } .dest-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 36px; } }

/* ---------- 3 ขั้นตอน ---------- */
.steps-grid { display: grid; gap: 28px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; counter-reset: s; }
.step-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(10, 58, 130, .25); }
.step-ic svg { width: 30px; height: 30px; }
.step-title { display: flex; justify-content: center; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); margin: 0; font-size: 15px; line-height: 1.4; flex-wrap: wrap; }
.step-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; flex: none; }
.step-text { font-size: 14px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.steps-quote { font-size: 24px; color: var(--navy); transform: rotate(-4deg); margin: 0; text-align: center; }
.steps-quote .swoosh { width: 70%; margin: 4px auto 0; }
@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }
  .step-ic { width: 76px; height: 76px; } .step-ic svg { width: 36px; height: 36px; }
  .step-title { font-size: 17px; } .step-text { font-size: 15px; }
  .steps-quote { font-size: 28px; }
}

/* ---------- เลือกคนขับ ---------- */
.driver-sec { position: relative; overflow: hidden; background: var(--navy-dk); color: #fff; }
.driver-media img { width: 100%; }
.driver-grid { position: relative; display: grid; gap: 0; }
.driver-text { padding: 36px 0 28px; }
.driver-text h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.4; }
.driver-sec .eyebrow-line { color: #9fc0ef; }
.driver-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.driver-list li { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.driver-list svg { color: #fff; }
.driver-side { background: var(--sky-50); color: var(--navy); margin: 0 calc(var(--gut) * -1); padding: 28px var(--gut); text-align: center; }
.driver-quote { font-size: 26px; color: var(--navy); margin: 0 0 18px; transform: rotate(-3deg); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trust li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.trust svg { color: var(--navy); }
.driver-sec > .driver-media { order: 2; }
@media (max-width: 899px) {
  .driver-sec { display: flex; flex-direction: column; }
  .driver-sec > .driver-grid { display: contents; }
  .driver-text { order: 1; padding-left: var(--gut); padding-right: var(--gut); }
  .driver-media { order: 2; }
  .driver-side { order: 3; margin: 0; }
}
@media (min-width: 900px) {
  .driver-sec { background: linear-gradient(90deg, var(--navy-dk) 0%, var(--navy) 34%, #dfeafb 64%, var(--sky-50) 100%); min-height: 420px; display: flex; align-items: center; }
  .driver-media { position: absolute; top: 0; bottom: 0; left: 18%; width: 64%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 72%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 72%, transparent 100%); }
  .driver-media img { height: 100%; object-fit: cover; object-position: 55% 30%; }
  .driver-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .95fr); align-items: center; width: 100%; }
  .driver-text { padding: 56px 0; }
  .driver-side { grid-column: 3; background: rgba(241, 247, 254, .82); border-radius: 18px; margin: 0; padding: 24px 18px; }
  .driver-quote { font-size: 30px; }
}

/* ---------- รีวิว (แถบเลื่อนแนวนอน ไม่ครอป สูงเท่ากัน) ---------- */
.review-strip { list-style: none; margin: 0; padding: 4px 2px 14px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.review-strip li { flex: none; scroll-snap-align: start; }
.review-strip img { height: 200px; width: auto; max-width: none; border-radius: 12px; }
@media (min-width: 1024px) { .review-strip img { height: 230px; } }
.strip-cap { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 280px; }

/* ---------- คำถามที่พบบ่อย (หน้าแรก) ---------- */
.faq-sec { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%); padding: 56px 0; }
.faq-deco { position: absolute; bottom: 0; width: 34%; height: auto; opacity: .55; pointer-events: none; display: none; }
.faq-deco.left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 100%), linear-gradient(0deg, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, #000 20%, transparent 100%); }
.faq-deco.right { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 20%, transparent 100%); mask-image: linear-gradient(270deg, #000 20%, transparent 100%); }
.faq-grid { position: relative; display: grid; gap: 20px; }
.faq-card { background: #fff; border-radius: 18px; padding: 4px 20px; box-shadow: var(--shadow-md); }
.faq-card .faq { border-top: 0; }
.faq-card .faq-item:last-child { border-bottom: 0; }
.faq-quote { font-size: 24px; color: var(--navy); transform: rotate(-4deg); text-align: center; margin: 8px 0 0; }
@media (min-width: 1024px) {
  .faq-sec { padding: 80px 0; }
  .faq-deco { display: block; }
  .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr) minmax(0, .8fr); align-items: center; gap: 32px; }
  .faq-quote { font-size: 28px; }
}

/* จุดเด่น: 2 / 3 / 4 / 4 คอลัมน์ */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 480px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.section-alt .feature { border-color: transparent; }
.feature-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--sky-100); color: var(--blue); margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin-bottom: 4px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* การ์ดบริการ: 2 / 2 / 3 / 3 คอลัมน์ */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } }
.card-media { aspect-ratio: 4 / 3; background: var(--sky-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
@media (min-width: 768px) { .card-body { padding: 18px 20px 20px; } }
.card-cat { font-size: 14px; font-weight: 600; color: var(--blue); margin: 0; line-height: 1.5; }
.card .card-cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title { font-size: 17px; margin: 0; }
@media (min-width: 768px) { .card-title { font-size: 20px; } }
.card-text { font-size: 15px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.card-price { margin: auto 0 0; padding-top: 8px; font-size: 15px; color: var(--muted); }
.card-price strong { color: var(--navy); font-size: 19px; }

/* ตารางราคา — จอเล็กแปลงเป็นการ์ด */
.price-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--line); }
.price-table th:first-child { text-align: left; }
.price-table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.4; }
.price-table thead small, .price-table tbody th small { display: block; font-weight: 400; font-size: 14px; }
.price-table thead small { color: #c5d6ee; }
.price-table tbody th { color: var(--navy); font-weight: 600; }
.price-table tbody th small { color: var(--muted); }
.price-table td { font-weight: 600; color: var(--ink); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 767px) {
  .price-wrap { background: none; box-shadow: none; overflow: visible; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody { display: block; }
  .price-table tr { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 10px; overflow: hidden; }
  .price-table tbody th { grid-column: 1 / -1; background: var(--navy); color: #fff; text-align: left; border: 0; }
  .price-table tbody th small { color: #c5d6ee; }
  .price-table td { text-align: left; border: 0; border-top: 1px solid var(--line); padding: 10px 14px; font-size: 18px; }
  .price-table td:nth-of-type(odd) { border-right: 1px solid var(--line); }
  .price-table td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
  .price-table tbody tr:last-child > * { border-bottom: 0; }
}

/* แกลเลอรี masonry: 2 / 3 / 3 / 4 คอลัมน์ ไม่ครอป ไม่มีกรอบ */
.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 480px) { .masonry { columns: 3; } }
@media (min-width: 768px) { .masonry { column-gap: 16px; } }
@media (min-width: 1024px) { .masonry { columns: 4; } }
.masonry-2 { columns: 2 !important; }
.masonry-item { break-inside: avoid; margin: 0 0 10px; }
@media (min-width: 768px) { .masonry-item { margin-bottom: 16px; } }
.masonry-item img { width: 100%; border-radius: var(--radius-sm); }
.masonry-item figcaption { font-size: 14px; color: var(--muted); padding: 6px 2px 0; line-height: 1.5; }
.masonry-item q { display: block; margin-top: 4px; color: var(--ink); font-style: italic; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 24, 48, .88); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; border-radius: var(--radius-sm); }
.lightbox-close { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }

/* โปรโมชั่น — แสดงสัดส่วนเดิม ไม่ครอป */
.promos { display: grid; gap: 16px; }
.promo img { width: 100%; border-radius: var(--radius-sm); }

/* วิดีโอ */
.video video { width: 100%; height: auto; border-radius: var(--radius); background: var(--navy); }

/* คำถามที่พบบ่อย */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: 17px; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { transition: transform .2s var(--ease); color: var(--navy); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-a { padding: 0 0 14px; color: var(--ink); }

/* แถบชวนติดต่อ */
.cta-band { background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 60%, #1b5bb4 100%); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e4f7; font-size: 18px; }
.cta-in { max-width: 760px; }
.cta-band .btn-row { justify-content: center; }
.cta-form { margin: 20px 0 0; }
.cta-form a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* หัวหน้าย่อย */
.page-head { background: var(--sky-50); padding: 24px 0 36px; margin-bottom: 32px; }
@media (min-width: 1024px) { .page-head { padding: 32px 0 56px; margin-bottom: 48px; } }
.page-head h1 { font-size: clamp(30px, 5vw, 48px); max-width: 20em; }
.page-head .lead { max-width: 44em; margin: 0; }
.crumbs ol { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; margin-right: 4px; }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }

/* เกี่ยวกับเรา */
.about-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-media img { width: 100%; border-radius: var(--radius); }
.prose { max-width: 42em; }
.quote-line { font-size: 22px; font-weight: 600; color: var(--blue); border-left: 4px solid var(--gold); padding-left: 16px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .team { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.team-name { font-weight: 600; margin: 8px 0 0; color: var(--navy); }
.team-role { font-size: 15px; color: var(--muted); margin: 0; }

/* ตัวกรองบริการ */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
@media (min-width: 900px) { .filters { flex-direction: row; align-items: center; justify-content: space-between; } }
.search { position: relative; display: block; }
@media (min-width: 900px) { .search { flex: 0 1 380px; } }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; height: 48px; padding: 0 16px 0 44px; font: inherit; font-size: 16px; border: 1px solid #b7c7dc; border-radius: 10px; background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid #b7c7dc; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.no-results { padding: 24px; text-align: center; color: var(--muted); background: var(--sky-50); border-radius: var(--radius); }
.card.is-hidden { display: none; }

/* รายละเอียดบริการ */
.detail-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.detail-cover img { width: 100%; border-radius: var(--radius); }
.byline { font-size: 15px; color: var(--muted); margin: 12px 0 20px; }
.detail-gallery { margin-top: 24px; }
.detail-side { position: relative; }
@media (min-width: 1024px) { .book-box { position: sticky; top: calc(var(--header-h) + 20px); } }
.book-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.book-price { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.book-price strong { font-size: 30px; color: var(--navy); }
.book-h { font-size: 17px; margin: 0 0 8px; }
.checks { list-style: none; margin: 0 0 18px; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.checks svg { color: var(--blue); margin-top: 5px; }
.book-actions { display: grid; gap: 10px; }

/* ติดต่อ */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; } }
.info-list { margin: 24px 0; display: grid; gap: 16px; }
.info-list > div { display: grid; gap: 2px; }
.info-list dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.info-list dt svg { color: var(--blue); }
.info-list dd { margin: 0 0 0 28px; }
.info-list dd a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--sky-50); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-card h2 { font-size: 26px; }
.form-grid { display: grid; gap: 16px; margin: 20px 0 24px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; color: var(--navy); }
.field .req { font-weight: 400; font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; line-height: 1.5; color: var(--ink);
  background: #fff; border: 1px solid #a9bbd3; border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(46, 155, 230, .35); border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #c62828; background: #fff8f8; }
.field-error { color: #b3261e; font-size: 15px; margin: 6px 0 0; }
.form-status { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin-top: 16px; font-weight: 600; }
.form-status svg { margin-top: 3px; }
.form-status.ok { background: #e7f6ec; color: #145c2e; }
.form-status.err { background: #fdecea; color: #8c1d18; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notfound { text-align: center; }

/* ---------- ส่วนท้าย ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dk) 100%); color: #d5e2f5; font-size: 16px; }
.footer-sky { position: absolute; left: 0; right: 0; bottom: 64px; width: 100%; height: 110px; fill: rgba(255, 255, 255, .05); pointer-events: none; }
.footer-main { position: relative; display: grid; gap: 26px; padding-top: 44px; padding-bottom: 28px; }
.footer-brand .brand { align-items: flex-start; margin: 0; }
.footer-brand .brand-sub { padding-left: 0; }
.footer-tag { margin: 14px 0 0; color: #c7d7ef; }
.footer-h { color: #fff; font-size: 18px; margin: 0 0 6px; }
.site-footer a { color: #fff; }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 700; text-decoration: none; min-height: 48px; letter-spacing: .01em; }
.footer-phone .ok { color: #3ddc84; }
.footer-phone2 { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.footer-open { margin: 0; color: #c7d7ef; }
.footer-line { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; align-self: center; min-height: 56px; }
.footer-line svg { border-radius: 12px; flex: none; }
.footer-line span { display: flex; flex-direction: column; line-height: 1.45; }
.footer-line strong { font-size: 20px; color: #fff; }
.footer-line small { font-size: 15px; color: #c7d7ef; }
.footer-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-self: center; }
.footer-icons li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; text-align: center; line-height: 1.4; color: #fff; }
.footer-info { position: relative; display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; padding-top: 16px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }
.footer-info p { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.footer-info a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-info p > span { padding-top: 10px; }
.footer-links { gap: 20px !important; }
.footer-bottom { position: relative; background: rgba(0, 0, 0, .18); font-size: 14px; }
.footer-bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 10px; padding-bottom: 12px; }
.footer-bottom p { margin: 0; color: #a9bfdf; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 14px; }
.footer-bottom a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; text-decoration: none; color: #d5e2f5; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-script { font-size: 18px; color: var(--gold-lt) !important; }
@media (min-width: 1024px) {
  .footer-main { grid-template-columns: 1.1fr 1.2fr 1fr 1.2fr; gap: 0; align-items: center; }
  .footer-main > * { padding: 0 26px; }
  .footer-main > * + * { border-left: 1px solid rgba(255, 255, 255, .16); }
  .footer-main > :first-child { padding-left: 0; }
}

/* ปุ่มลอยมือถือ — ไลน์กับโทรเท่านั้น สูงไม่เกิน 60px */
.float-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(10, 58, 130, .08); }
.float-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; color: #fff; }
.float-line { background: var(--line-btn); }
.float-line svg { border-radius: 6px; background: #fff; }
.float-call { background: var(--navy); }
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .float-bar { display: none; } body { padding-bottom: 0; } }

.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: center; align-items: center; gap: 8px; background: #f59e0b; color: #3b2300; font-weight: 700; padding: 8px 16px; font-size: 15px; }

/* อนิเมชัน: ปรากฏตอนเลื่อนถึง (เล่นครั้งเดียว) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slides { transform: none !important; }
}

.crumbs a { min-width: 44px; }
.hp input { font-size: 16px; }

/* ---------- แก้ไขครั้งที่ 1: WhatsApp / WeChat / บัญชีรับโอน ---------- */
.btn-wa { background: #128c4a; color: #fff; font-weight: 700; }
.btn-wa:hover { background: #0e7a40; }
.btn-wechat { background: #fff; color: #0a7a3f; border-color: #07c160; font-weight: 700; }
.btn-wechat:hover { background: #effbf4; }
.qr-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.qr-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.qr-card img { width: 100%; max-width: 220px; margin: 0 auto 8px; border-radius: 8px; }
.qr-card figcaption { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.qr-card figcaption svg { flex: none; margin-top: 2px; border-radius: 6px; }
.qr-card small { color: var(--muted); font-size: 14px; }
.qr-card:target { outline: 3px solid #07c160; outline-offset: 2px; }
.pay-sec { padding-top: 0; }
.pay-card { display: grid; gap: 24px; background: linear-gradient(135deg, #fff 0%, var(--sky-50) 100%); border: 1px solid var(--line); border-radius: 20px; padding: 24px 18px; box-shadow: var(--shadow-md); align-items: center; }
.pay-card h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 3vw, 32px); }
.pay-card h2 svg { color: var(--gold); }
.pay-list { margin: 16px 0; display: grid; gap: 10px; }
.pay-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.pay-list dt { color: var(--muted); font-size: 15px; }
.pay-list dd { margin: 0; font-weight: 600; color: var(--navy); }
.pay-no dd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pay-no strong { font-size: 26px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pay-note { background: #fff; border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 14px; margin: 0; font-size: 16px; }
.pay-qr { margin: 0 auto; max-width: 300px; text-align: center; }
.pay-qr img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-sm); }
.pay-qr figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 479px) { .pay-list > div { grid-template-columns: 1fr; gap: 0; } }
@media (min-width: 900px) { .pay-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: 36px 40px; gap: 40px; } }
.field-hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.field-hint.has-date { color: var(--navy); font-weight: 600; }
.footer-chat { display: grid; gap: 10px; align-self: center; }
.footer-apps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.footer-apps a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.footer-apps svg { border-radius: 6px; }
/* ปุ่มเปลี่ยนภาษาแสดงบนมือถือด้วย */
.lang-pill { display: inline-flex; padding: 1px 4px; font-size: 13px; }
.lang-pill a, .lang-pill span[aria-current] { min-width: 44px; min-height: 44px; }
@media (min-width: 600px) { .lang-pill { padding: 2px 6px; font-size: 14px; } .lang-pill a, .lang-pill span[aria-current] { min-width: 44px; } }
@media (max-width: 380px) { .brand-car { width: 60px; } .brand-name { font-size: 15px; } .header-in { gap: 8px; } }

/* ---------- ระบบชำระเงิน ---------- */
.pay-online { margin: 18px 0 0; }
.pay-online .btn { white-space: normal; text-align: left; }
.pay-wrap { max-width: calc(980px + var(--gut) * 2); }
.pay-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.pay-steps li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; line-height: 1.4; }
.pay-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--sky-100); color: var(--navy); flex: none; }
.pay-steps li[aria-current="step"] { color: var(--navy); border-color: var(--navy); }
.pay-steps li[aria-current="step"] span { background: var(--navy); color: #fff; }
@media (max-width: 479px) { .pay-steps li { flex-direction: column; text-align: center; border-radius: 14px; padding: 8px 4px; font-size: 14px; } }
.pay-bill { margin-top: 16px; }
.pay-amount-lbl { margin: 0; color: var(--muted); font-size: 15px; }
.pay-amount { margin: 0 0 8px; font-size: clamp(36px, 6vw, 52px); font-weight: 700; color: var(--navy); line-height: 1.4; font-variant-numeric: tabular-nums; }
.pay-amount small { font-size: .45em; color: var(--muted); font-weight: 600; }
.pay-sub { font-size: 19px; margin: 20px 0 0; }
.pay-badge { display: inline-flex; padding: 2px 12px; border-radius: 999px; font-size: 15px; font-weight: 700; background: #fff4e0; color: #8a4b00; }
.pay-badge.st-submitted { background: var(--sky-100); color: var(--navy); }
.pay-badge.st-paid { background: #e7f6ec; color: #145c2e; }
.pay-badge.st-rejected { background: #fdecea; color: #8c1d18; }
.pay-qr-live { margin: 0 auto; max-width: 320px; text-align: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pay-qr-live .qr-svg svg { width: 100%; height: auto; }
.pay-qr-live figcaption { font-size: 15px; color: var(--navy); font-weight: 600; margin: 6px 0 10px; line-height: 1.5; }
.form-status.info { background: var(--sky-100); color: var(--navy); }
.form-status { margin-bottom: 4px; }
.slip-card { margin-top: 20px; }
.slip-card h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.slip-drop { position: relative; display: grid; place-items: center; gap: 8px; min-height: 150px; border: 2px dashed #a9bbd3; border-radius: 16px; background: var(--sky-50); color: var(--navy); font-weight: 600; cursor: pointer; padding: 16px; text-align: center; }
.slip-drop:hover, .slip-drop:focus-within { border-color: var(--navy); }
.slip-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.slip-drop span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.slip-drop img { max-height: 280px; width: auto; border-radius: 10px; }
.slip-card .btn { margin-top: 14px; }
.pay-keep { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; font-size: 15px; }
.pay-help { font-size: 15px; margin-top: 8px; }
.pay-help a { display: inline-flex; min-height: 44px; min-width: 44px; justify-content: center; align-items: center; }
/* มือถือ: ยอดเงิน → QR → บัญชี (สแกนคือทางหลัก) */
@media (max-width: 899px) {
  .pay-bill .pay-info { display: contents; }
  .pay-bill .pay-summary { order: 1; }
  .pay-bill .pay-qr-live, .pay-bill .pay-qr { order: 2; }
  .pay-bill .pay-bank { order: 3; }
}
