/* ==========================================================================
   XL Tour (xl2go.com) — Main Stylesheet
   Brand: Blue #2447FF / Yellow #FCD200 / White  ·  Font: Kanit
   ========================================================================== */

/* Kanit self-host (thai + latin) แทน Google Fonts — ไม่ต้องต่อโดเมนนอก หน้าแสดงเร็วขึ้นบนมือถือ */
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/kanit-thai-300.woff2') format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/kanit-latin-300.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A9, U+00B7, U+00D7, U+00E9, U+2013-2014, U+201C-201D, U+2022; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/kanit-thai-400.woff2') format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/kanit-latin-400.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A9, U+00B7, U+00D7, U+00E9, U+2013-2014, U+201C-201D, U+2022; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/kanit-thai-500.woff2') format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/kanit-latin-500.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A9, U+00B7, U+00D7, U+00E9, U+2013-2014, U+201C-201D, U+2022; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/kanit-thai-600.woff2') format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/kanit-latin-600.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A9, U+00B7, U+00D7, U+00E9, U+2013-2014, U+201C-201D, U+2022; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/kanit-thai-700.woff2') format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/kanit-latin-700.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A9, U+00B7, U+00D7, U+00E9, U+2013-2014, U+201C-201D, U+2022; }

:root {
  /* Brand palette (XL TOUR colour mockup) */
  --blue: #2446ff;          /* Primary Blue — header, buttons, banners */
  --blue-600: #1b36d6;
  --blue-dark: #1a2e8a;     /* Dark Blue — footer */
  --yellow: #fcd106;        /* Primary Yellow — main CTA, highlights */
  --yellow-600: #e8bf00;
  --soft-blue: #eef3ff;     /* Section alternate background */
  --light-gray: #f6f8fc;    /* Extra sections */
  --white: #ffffff;
  --ink: #1a2e8a;           /* text on yellow */

  /* Context colours (light by default, flipped inside .is-dark areas) */
  --heading: #1f2a44;       /* Text Dark */
  --text: #3a4560;
  --muted: #5d6885;
  --accent: #2446ff;
  --price: #e5a000;
  --line: #d7e0ff;          /* Border */
  --card: #ffffff;
  --surface: #ffffff;

  /* legacy dark tokens (used by dark areas) */
  --navy-950: #14236e;
  --navy-900: #1a2e8a;
  --navy-800: #2440c9;
  --navy-700: #2446ff;
  --navy-600: #3a5bff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px rgba(36, 70, 255, .12);
  --header-h: 78px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy-900);
  overflow-x: hidden;
}
/* Never let decorative elements widen the page (prevents sideways scroll / empty strip on the right) */
main, .site-footer { overflow-x: hidden; }
@supports (overflow: clip) { main, .site-footer { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 600; color: var(--heading); }
p { margin: 0 0 1em; }
ul, ol.breadcrumb, ol.timeline { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; min-width: 0; }
/* Prevent long <select> options / content from stretching grid & flex children */
.container > *, [class*="grid"] > *, .field, .qb-grid > *, .sidebar > * { min-width: 0; }
.field select { text-overflow: ellipsis; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-yellow { color: var(--accent); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--yellow); color: var(--ink); padding: 8px 16px; border-radius: 8px; font-weight: 500; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 500; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px rgba(252, 210, 0, .25); }
.btn-primary:hover { background: #ffe03d; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: var(--heading); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: var(--accent); font-weight: 500; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
#site-header { min-height: var(--header-h); }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(13, 42, 153, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
/* Logo — original logo, larger, white border + yellow ring + blue glow */
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img {
  width: 56px; height: 56px; border-radius: 14px; border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(252, 210, 0, .9), 0 8px 24px rgba(36, 71, 255, .55);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.brand:hover img { transform: rotate(-4deg) scale(1.04); box-shadow: 0 0 0 3px var(--yellow), 0 10px 30px rgba(36, 71, 255, .75); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.35rem; font-weight: 700; color: var(--heading); letter-spacing: .02em; }
.brand-text strong em { font-style: normal; color: var(--accent); }
.brand-text small { font-size: .66rem; letter-spacing: .18em; color: #c9d3f5; margin-top: 4px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 400; color: var(--heading);
  position: relative; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-item:hover > .nav-link::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-item.is-active > .nav-link { color: var(--accent); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a, .dropdown .sub-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 8px; color: var(--text); font-weight: 300; text-align: left; background: none; border: 0; cursor: pointer;
}
.dropdown a:hover, .dropdown .has-sub:hover > a, .dropdown a.is-current { background: rgba(252, 210, 0, .1); color: var(--accent); }
.dropdown svg { width: 14px; height: 14px; }
.has-sub { position: relative; }
.submenu {
  position: absolute; left: calc(100% + 8px); top: -10px; min-width: 240px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateX(8px); transition: .25s var(--ease);
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--heading); cursor: pointer; transition: .25s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }
.header-actions .btn { padding: .65em 1.4em; }
.menu-toggle { display: none; }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--heading);
}
.lang-toggle { align-items: center; gap: 2px; padding: 3px 8px 3px 3px; transition: border-color .25s; }
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { border-color: var(--accent); }
.lang-toggle span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 999px; line-height: 1; background: var(--yellow); color: var(--navy-950); }
.flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex-shrink: 0; }
.lang-toggle__caret { width: 14px; height: 14px; transition: transform .25s; }
.lang-toggle[aria-expanded="true"] .lang-toggle__caret { transform: rotate(180deg); }
/* ปุ่มแสดงเฉพาะภาษาปัจจุบัน (main.js ตั้ง <html lang>) */
.lang-toggle__en, html[lang="en"] .lang-toggle__th { display: none !important; }
html[lang="en"] .lang-toggle__en { display: inline-flex !important; }
.lang-menu { position: relative; }
.lang-menu__list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 120; min-width: 150px; padding: 6px; display: grid; gap: 2px;
  background: var(--surface, #fff); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.lang-menu__list[hidden] { display: none; }
.lang-menu__list button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--heading); font: inherit; font-size: .9rem; text-align: left; cursor: pointer;
}
.lang-menu__list button:hover, .lang-menu__list button:focus-visible { background: var(--soft-blue, rgba(36, 70, 255, .08)); outline: none; }
.lang-menu__list button[aria-checked="true"] { font-weight: 600; color: var(--blue); }
.lang-menu__list button[aria-checked="true"]::after { content: "✓"; margin-left: auto; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .6); opacity: 0; transition: opacity .3s; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); padding: 20px; overflow-y: auto;
  background: var(--navy-900); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: 16px;
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; }
.m-list a, .m-list button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 6px;
  border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--heading); font-weight: 400; text-align: left; cursor: pointer;
}
.m-list a.is-current { color: var(--accent); }
.m-list button svg { width: 16px; height: 16px; transition: transform .25s; }
.m-list button[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { display: none; padding-left: 14px; }
.m-sub.is-open { display: block; }
.m-sub a, .m-sub button { font-weight: 300; color: var(--text); font-size: .95rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: clamp(640px, 100svh, 920px); margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 60px) 0 180px; display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.35) contrast(1.08) brightness(1.05); transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 36, 150, .72) 0%, rgba(10, 36, 150, .28) 48%, rgba(10, 36, 150, 0) 72%),
    linear-gradient(180deg, rgba(10, 36, 150, .35) 0%, transparent 22%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(252, 210, 0, .12); border: 1px solid rgba(252, 210, 0, .35); color: var(--accent);
  font-size: .85rem; font-weight: 400; margin-bottom: 18px;
}
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
.hero h1 span { color: var(--accent); display: block; }
.hero__lead { font-size: 1.12rem; max-width: 520px; color: #dfe6ff; margin: 18px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.polaroids { position: relative; height: 380px; }
.polaroid {
  position: absolute; width: 58%; padding: 8px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
.polaroid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; }
.polaroid figcaption {
  position: absolute; left: 22px; bottom: 22px; color: var(--heading); font-weight: 600; font-size: 1.35rem; line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.polaroid figcaption small { display: block; font-weight: 300; font-size: .85rem; }
.polaroid--1 { left: 0; top: 0; transform: rotate(-5deg); z-index: 2; }
.polaroid--2 { right: 0; top: 40px; transform: rotate(5deg); }
.polaroids:hover .polaroid--1 { transform: rotate(-8deg) translateX(-10px); }
.polaroids:hover .polaroid--2 { transform: rotate(8deg) translateX(10px); }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.wave svg { width: 100%; height: 150px; display: block; }
.wave path { fill: var(--navy-900); }

/* ---------- Quick booking bar ---------- */
.quick-book {
  position: relative; z-index: 5; margin-top: -120px;
  background: rgba(29, 67, 214, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.quick-book__tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.qb-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--text); transition: .25s;
}
.qb-tab svg { width: 18px; height: 18px; }
.qb-tab.is-active { background: var(--yellow); color: var(--ink); border-color: var(--accent); font-weight: 500; }
.qb-panel { display: none; }
.qb-panel.is-active { display: block; }
.qb-grid { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
.qb-result {
  margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(252, 210, 0, .08);
  border: 1px dashed rgba(252, 210, 0, .4); display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center;
}
.qb-result strong { color: var(--price); font-size: 1.3rem; font-weight: 600; }
.qb-note { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .88rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .12); color: var(--heading); transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #b7c3f5; }
.field select option { background: var(--navy-800); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .09); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; cursor: pointer; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff6b6b; }
.field-error { color: #ff8b8b; font-size: .8rem; min-height: 1em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
/* section นอกจอยังไม่ต้องวาด — รูป lazy ข้างในจะไม่ถูกโหลดมาแย่งเน็ตกับ hero ตอนเปิดหน้า (ช่วย FCP/LCP บนมือถือ) */
main > .section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section--tight { padding: 70px 0; }
.section--alt { background: var(--navy-800); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2, .title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.section-head h2 span, .title span { color: var(--accent); }
.section-head p { color: var(--muted); }
.underline { display: block; width: 90px; height: 4px; border-radius: 4px; background: var(--yellow); margin: 14px auto 18px; }
.underline--left { margin-left: 0; }
.script { font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--heading); margin-bottom: 6px; }

/* Leaf decoration */
.section:has(> .deco-leaf) { overflow: hidden; }
.deco-leaf { position: absolute; width: 220px; opacity: .06; pointer-events: none; color: var(--heading); }
.deco-leaf--l { left: -60px; top: 40px; transform: rotate(-20deg); }
.deco-leaf--r { right: -60px; bottom: 40px; transform: rotate(160deg); }

/* ---------- Features ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 28px; border-bottom: 1px solid rgba(252, 210, 0, .35); margin-bottom: 28px; }
.feature { text-align: center; padding: 0 14px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature__icon { width: 50px; height: 50px; margin: 0 auto 10px; color: var(--accent); }
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.intro-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.photo-stack { position: relative; height: 470px; }
.photo-stack .card-photo {
  position: absolute; padding: 6px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); transition: transform .5s var(--ease);
}
.photo-stack img { border-radius: 11px; object-fit: cover; width: 100%; height: 100%; }
.photo-stack .p1 { width: 34%; height: 58%; left: 0; top: 22%; transform: rotate(-7deg); }
.photo-stack .p2 { width: 36%; height: 68%; left: 24%; top: 12%; transform: rotate(-2deg); z-index: 2; }
/* รูปลานจอดในร่มเป็นภาพแนวนอนและมืดด้านบน ถ้า crop กลางภาพจะเห็นแต่เพดานดำสนิท */
.photo-stack .p2 img { object-position: center 78%; }
.photo-stack .p3 { width: 42%; height: 82%; right: 0; top: 0; transform: rotate(4deg); z-index: 3; }
.photo-stack:hover .p1 { transform: rotate(-10deg) translateX(-8px); }
.photo-stack:hover .p3 { transform: rotate(7deg) translateX(8px); }
.flight-path { position: absolute; left: 10%; right: -4%; bottom: -30px; height: 90px; z-index: 0; color: var(--blue); }
.flight-path path { stroke-dasharray: 6 8; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.framed { padding: 8px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.framed img, .framed video { display: block; border-radius: 14px; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
/* ส่วน "เกี่ยวกับเรา": วิดีโอสูงเท่าคอลัมน์ข้อความ (จอกว้างเท่านั้น จอเล็กเรียงเป็นแถวเดียวใช้ 4:3 ตามเดิม) */
@media (min-width: 901px) {
  .about-grid { align-items: stretch; }
  .about-grid > .framed { display: flex; }
  .about-grid > .framed video { height: 100%; aspect-ratio: auto; min-height: 360px; }
  .about-grid > div:not(.framed) { align-self: center; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { text-align: center; padding: 20px 12px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.stat:hover { transform: translateY(-3px); border-color: rgba(252, 210, 0, .55); }
.stat__icon { width: 44px; height: 44px; margin: 0 auto 12px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.stat__icon svg { width: 22px; height: 22px; }
/* ตัวเลขเรียงตามเส้นฐานเดียวกัน หน่วย (฿ / น.) เล็กและจางกว่า ไม่แย่งสายตาตัวเลข */
.stat strong { display: flex; align-items: baseline; justify-content: center; gap: 1px; font-size: 1.55rem; color: var(--price); font-weight: 600; line-height: 1.15; }
.stat strong small { font-size: .58em; font-weight: 500; opacity: .7; }
/* เวลาเป็นข้อความยาวกว่าราคา ลดขนาดลงให้อยู่ในบรรทัดเดียวทุกความกว้าง */
.stat__time { font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.stat > span { display: block; margin-top: 5px; font-size: .86rem; color: var(--muted); }

/* ---------- Filter tabs + service cards ---------- */
.tabs {
  display: flex; justify-content: space-between; gap: 6px; padding: 6px; max-width: 900px; margin: 0 auto 40px;
  border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 999px; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; padding: 9px 22px; border-radius: 999px; border: 0; background: transparent; color: var(--heading);
  font-weight: 400; cursor: pointer; transition: .25s; white-space: nowrap;
}
.tab:hover { color: var(--accent); }
.tab.is-active { background: var(--yellow); color: var(--ink); font-weight: 500; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.place-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2;
  border: 1.5px solid rgba(255, 255, 255, .35); box-shadow: var(--shadow); isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s;
}
.place-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.place-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(8, 28, 120, .88) 100%); }
.place-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.place-card:hover img { transform: scale(1.08); }
.place-card__tag {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 500;
  background: var(--yellow); color: var(--ink);
}
.place-card__body { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; }
.place-card__body svg { width: 22px; height: 22px; flex-shrink: 0; }
.place-card__body .pin { color: var(--accent); }
.place-card__title { font-weight: 500; color: var(--heading); font-size: 1.08rem; line-height: 1.25; }
.place-card__title small { display: block; font-weight: 300; font-size: .8rem; color: var(--muted); }
.place-card__body .arrow { margin-left: auto; transition: transform .3s var(--ease); }
.place-card:hover .arrow { transform: translateX(5px); color: var(--accent); }
.place-card.is-hidden { display: none; }

/* Info card */
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), border-color .3s, background .3s; height: 100%;
}
.info-card:hover { transform: translateY(-5px); border-color: rgba(252, 210, 0, .5); background: rgba(255, 255, 255, .06); }
.info-card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--navy-600)); color: var(--yellow);
}
.info-card__icon svg { width: 28px; height: 28px; }
.info-card h3 { font-size: 1.2rem; }
.info-card p { color: var(--muted); margin: 0; }

/* Media card (image top) */
.media-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .3s; }
.media-card:hover { transform: translateY(-6px); border-color: rgba(252, 210, 0, .5); }
/* ในสไลด์ การ์ดยกตัวตอน hover ทำให้ทั้งแถวดูกระตุก — ล็อกตำแหน่งไว้ ใช้ขอบ เงา และภาพซูมบอกสถานะแทน */
.slider .media-card:hover { transform: none; }
.media-card__img { aspect-ratio: 16/10; overflow: hidden; }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-card:hover .media-card__img img { transform: scale(1.06); }
.media-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.media-card__body p { color: var(--muted); font-size: .95rem; }
.media-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.media-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.media-card__meta svg { width: 15px; height: 15px; color: var(--accent); }
.media-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Pricing ---------- */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; position: relative; transition: .35s var(--ease); }
.price-card:hover { transform: translateY(-6px); }
.price-card.is-featured { border: 2px solid var(--yellow); background: linear-gradient(180deg, rgba(252, 210, 0, .08), transparent); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--ink); font-size: .78rem; font-weight: 600; padding: 3px 14px; border-radius: 999px; }
.price-card__icon { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--accent); }
.price-card__icon svg { width: 100%; height: 100%; }
.price { font-size: 2.4rem; font-weight: 700; color: var(--heading); line-height: 1; margin: 12px 0 4px; }
.price small { font-size: 1rem; font-weight: 300; color: var(--muted); }
.check-list { text-align: left; margin: 18px 0 22px; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.cross-list li svg { color: #ff8b8b; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 1.5rem; box-shadow: 0 0 0 8px rgba(252, 210, 0, .15);
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 46px); right: calc(-50% + 46px); border-top: 2px dashed rgba(252, 210, 0, .45); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; }

.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--6 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; max-width: 980px; margin: 0 auto; }
.steps--6 .step:nth-child(3n)::after { display: none; }
.price-grid { max-width: 820px; margin: 0 auto; }

/* ---------- Flow ---------- */
/* แบบชิป — ใช้ในบทความคู่มือ จำนวนข้อไม่เท่ากัน ต้องตัดบรรทัดเองได้ */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: 10px; }
.flow__step {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(36, 71, 255, .22); border: 1px solid rgba(90, 120, 255, .55); color: var(--heading); font-weight: 400; line-height: 1.3;
}
.flow__step b { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: .8rem; font-weight: 600; flex-shrink: 0; }

/* แบบไดอะแกรม — ใช้ในบล็อกแนะนำหน้าแรก เลขเรียงบนเส้นเดียวกัน */
.flow--diagram { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 24px 0 28px; }
.flow--diagram li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 2px; }
.flow--diagram li::before {
  content: ""; position: absolute; z-index: 0; top: 17px; right: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, rgba(252, 210, 0, .3), rgba(252, 210, 0, .9));
}
.flow--diagram li:first-child::before { display: none; }
.flow--diagram b {
  position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center;
  font-size: .88rem; font-weight: 600; box-shadow: 0 0 0 5px var(--surface), 0 4px 12px rgba(252, 210, 0, .45);
}
.flow--diagram span { font-size: .84rem; line-height: 1.4; color: var(--text); }

/* ---------- Price pills / facilities ---------- */
.price-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.price-pill { flex: 1 1 150px; display: flex; flex-direction: column; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.price-pill span { color: var(--muted); font-size: .9rem; }
.price-pill strong { font-size: 1.9rem; color: var(--price); font-weight: 700; line-height: 1.15; }
.price-pill strong small { font-size: .95rem; color: var(--text); font-weight: 300; }
.price-inline { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: rgba(252, 210, 0, .1); border: 1px solid rgba(252, 210, 0, .4); }
.price-inline svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.price-inline strong { color: var(--accent); font-weight: 600; }
.facility-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.facility { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: .95rem; }
.facility svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ---------- Article body ---------- */
.article-body > .lead:first-child { font-size: 1.2rem; color: var(--heading); }
.article-body h2 { font-size: 1.45rem; padding-left: 14px; border-left: 4px solid var(--yellow); }
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(36, 71, 255, .14); border-left: 4px solid var(--blue); margin: 20px 0; }
.callout svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.callout p { margin: 0; }
.summary-box { padding: 20px 22px; border-radius: 16px; margin: 26px 0; background: linear-gradient(135deg, rgba(252, 210, 0, .16), rgba(252, 210, 0, .04)); border: 1px solid rgba(252, 210, 0, .5); }
.summary-box .label { display: block; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.summary-box p { margin: 0; color: var(--heading); font-size: 1.1rem; font-weight: 400; }
blockquote.pull { margin: 18px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--yellow); font-size: 1.35rem; color: var(--heading); font-weight: 400; }
.bullets { display: grid; gap: 8px; margin: 10px 0 18px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.compare div { padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.compare strong { display: block; color: var(--heading); font-weight: 500; }
.compare span { color: var(--price); font-weight: 600; font-size: 1.15rem; }
.article-link { margin-top: 28px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-nav a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--heading); font-weight: 400; line-height: 1.4; transition: border-color .25s; }
.article-nav a:hover { border-color: var(--accent); }
.article-nav a.next { text-align: right; }
.article-nav small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.article-nav a.next small { justify-content: flex-end; }
.article-nav svg { width: 14px; height: 14px; }
.side-facts { display: grid; gap: 10px; margin: 4px 0 20px; }
.side-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.side-facts svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.side-articles li { border-bottom: 1px solid var(--line); }
.side-articles li:last-child { border-bottom: 0; }
.side-articles a { display: block; padding: 10px 0; font-size: .95rem; line-height: 1.45; color: var(--text); }
.side-articles a:hover { color: var(--accent); }

/* CTA band — stacked variant (standard closing block) */
.cta-band--stack h2 { margin-bottom: .4em; }
.cta-band--stack .price-pills { max-width: 460px; }
.cta-facts { display: grid; gap: 8px; margin: 6px 0 14px; }
.cta-facts li { display: flex; gap: 10px; align-items: flex-start; color: #dfe6ff; }
.cta-facts svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.cta-tagline { font-weight: 600; color: var(--accent) !important; font-size: 1.1rem; }
.cta-band--stack .hero__cta { flex-direction: column; align-items: stretch; }

.steps--3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.btn-confirm { background: #06c755; color: #fff; box-shadow: 0 10px 24px rgba(6, 199, 85, .25); }
.btn-confirm:hover { background: #05b04b; transform: translateY(-2px); }

/* ---------- Tour card (listing with "จองเลย") ---------- */
.tour-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.tour-card:hover { transform: translateY(-6px); border-color: rgba(252, 210, 0, .55); box-shadow: var(--shadow); }
.tour-card.is-hidden, .media-card.is-hidden { display: none; }
.tour-card__img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.tour-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tour-card:hover .tour-card__img img { transform: scale(1.06); }
.tour-card__badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: #ff4d6d; color: #fff; font-size: .78rem; font-weight: 500; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tour-card__body h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 8px; }
.tour-card__body h3 a:hover { color: var(--accent); }
.tour-card__meta { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.tour-card__meta svg { width: 16px; height: 16px; color: var(--accent); }
.tour-card__route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .88rem; color: var(--text); margin-bottom: 18px; }
.tour-card__route i { font-style: normal; color: var(--accent); }
.tour-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.tour-card__price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; line-height: 1.1; }
.tour-card__price small { color: var(--muted); font-size: .8rem; }
.tour-card__price strong { font-size: 1.35rem; color: var(--price); font-weight: 700; }
.tour-card__foot .btn { padding: .6em 1.2em; flex-shrink: 0; }

/* ---------- Sidebar booking card ---------- */
.book-card .btn + .btn { margin-top: 10px; }
.book-card__price { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(252, 210, 0, .08); border: 1px solid rgba(252, 210, 0, .35); margin-bottom: 18px; }
.book-card__price span { font-size: .85rem; color: var(--muted); }
.book-card__price strong { font-size: 1.25rem; color: var(--price); font-weight: 600; }
.book-steps { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.book-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.book-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .8rem; flex-shrink: 0; }
.book-steps strong { color: var(--accent); font-weight: 500; }

/* ---------- Booking modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .3s;
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal__head { margin: 0 44px 18px 0; }
.modal__head h2 { font-size: 1.5rem; margin-bottom: 2px; }
.modal__head p { color: var(--accent); margin: 0; font-weight: 400; }
.modal .field label em { color: #ff6b6b; font-style: normal; }
.bm-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.bm-group[hidden] { display: none; }
.modal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 20px 0 14px; padding: 14px 16px; border-radius: 14px; background: rgba(252, 210, 0, .08); border: 1px dashed rgba(252, 210, 0, .45); }
.modal__price span { color: var(--muted); }
.modal__price strong { color: var(--price); font-size: 1.2rem; font-weight: 600; }
.modal__price small { color: var(--heading); font-size: .95rem; }
.modal__note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.modal__note svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.modal__done { text-align: center; padding: 20px 4px 6px; }
.modal__done-icon { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 199, 85, .15); color: #06c755; }
.modal__done-icon svg { width: 44px; height: 44px; }
.modal__done p { color: var(--muted); }
.modal__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* ---------- Reviews ---------- */
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review-card.is-hidden { display: none; }
.stars { display: flex; gap: 2px; color: #f5b700; }
.stars svg { width: 18px; height: 18px; }
.stars .off { color: rgba(255, 255, 255, .2); }
.review-card blockquote { margin: 0; color: var(--text); flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--blue); color: #fff; flex-shrink: 0; }
.reviewer strong { display: block; color: var(--heading); font-weight: 500; line-height: 1.2; }
.reviewer small { color: var(--muted); }
.slider { position: relative; }
.slider__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
.slider__nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; }

.rating-summary { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 36px; }
.rating-big { text-align: center; }
.rating-big strong { font-size: 4rem; font-weight: 700; color: var(--heading); line-height: 1; }
.rating-big .stars { justify-content: center; margin: 8px 0; }
.rating-bars { display: grid; gap: 8px; }
.rating-bar { display: grid; grid-template-columns: 60px 1fr 40px; gap: 12px; align-items: center; font-size: .9rem; }
.rating-bar__track { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rating-bar__fill { height: 100%; background: var(--yellow); border-radius: 8px; width: 0; transition: width 1.2s var(--ease); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip { padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: .25s; }
.chip.is-active, .chip:hover { background: var(--yellow); color: var(--ink); border-color: var(--accent); }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; color: rgba(255, 255, 255, .25); transition: color .15s; }
.star-input label svg { width: 30px; height: 30px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5b700; }
.star-input input:focus-visible + label { outline: 2px solid var(--yellow); border-radius: 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 80px) 0 140px; overflow: hidden; isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3) contrast(1.06) brightness(1.05); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 36, 150, .85), rgba(10, 36, 150, .35)); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
.page-hero h1 span { color: var(--accent); }
.page-hero p { max-width: 640px; font-size: 1.08rem; color: #dfe6ff; }
.page-hero .wave svg { height: 90px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--heading); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-size: .88rem; }
.hero-badges svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Detail layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.content h2 { font-size: 1.7rem; margin-top: 1.4em; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.2rem; margin-top: 1.2em; }
.content p, .content li { color: var(--text); }
.content .lead { font-size: 1.1rem; }
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.highlight { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.highlight svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.highlight strong { display: block; color: var(--heading); font-weight: 500; }
.highlight span { font-size: .88rem; color: var(--muted); }

ol.timeline { position: relative; margin: 24px 0; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; border-left: 2px dashed rgba(252, 210, 0, .5); }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -32px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy-900); border: 3px solid var(--yellow);
}
.timeline time { display: inline-block; font-size: .82rem; font-weight: 500; color: var(--ink); background: var(--yellow); padding: 1px 10px; border-radius: 999px; margin-bottom: 4px; }
.timeline strong { display: block; color: var(--heading); font-weight: 500; font-size: 1.05rem; }
.timeline p { color: var(--muted); margin: 2px 0 0; font-size: .95rem; }

.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.inc-box { padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.inc-box h3 { margin-top: 0; font-size: 1.05rem; }
.inc-box .check-list { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; background: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.08); }
/* 4 รูปในกริด 3 ช่อง จะตกบรรทัดเหลือใบเดียวโดด — ใช้คลาสนี้เมื่อมี 4 รูป */
.gallery--4 { grid-template-columns: repeat(4, 1fr); }

/* วิดีโอแนวตั้ง (TikTok) */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: 20px; margin: 20px 0; }
.video-card { aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-card iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 320px)); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: minmax(0, 340px); } }

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.book-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.book-card h3 { font-size: 1.3rem; }
.book-card .form-grid { grid-template-columns: 1fr; gap: 14px; }
.book-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; color: var(--muted); }
.book-card__price strong { font-size: 1.7rem; color: var(--price); font-weight: 600; }
.help-card { background: linear-gradient(135deg, var(--blue), var(--navy-600)); border-radius: var(--radius); padding: 24px; }
.help-card h3 { font-size: 1.1rem; }
.help-card a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 400; }
.help-card a:hover { color: var(--accent); }
.help-card svg { width: 20px; height: 20px; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: rgba(252, 210, 0, .5); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 500; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Contact ---------- */
/* การ์ดช่องทางติดต่อ — --brand คุมสีทั้งใบ */
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; max-width: 780px; margin: 0 auto; }
.channel-card {
  --brand: var(--blue);
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 36px 26px 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .25s, box-shadow .3s;
}
.channel-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 18px 42px rgba(10, 20, 80, .18); }
.channel-card__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; margin-bottom: 4px; }
.channel-card__icon svg { width: 29px; height: 29px; }
.channel-card h3 { font-size: 1.25rem; }
.channel-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.channel-card img { width: 124px; height: 124px; border-radius: 12px; background: #fff; padding: 6px; border: 1px solid var(--line); margin-top: 6px; }
.channel-card__big { font-size: 1.6rem; font-weight: 700; color: var(--brand); margin: 8px 0 2px; }
.channel-card__hint { font-size: .82rem; color: var(--muted); opacity: .85; }
.channel-card__go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--brand); }
.channel-card__go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.channel-card:hover .channel-card__go svg { transform: translateX(4px); }
.channel-card__tag { position: absolute; top: 16px; right: 16px; background: var(--yellow); color: var(--ink); font-size: .74rem; font-weight: 500; padding: 4px 11px; border-radius: 999px; }
.ch-line { --brand: #06c755; }
.ch-phone { --brand: #e23b2e; }

/* แถบข้อมูล (ไม่ใช่ปุ่มกด) — น้ำหนักเบากว่าการ์ดด้านบนตั้งใจ */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-strip li { display: flex; gap: 14px; align-items: flex-start; }
.contact-strip .ic { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-strip strong { display: block; color: var(--heading); font-weight: 500; margin-bottom: 3px; }
.contact-strip a, .contact-strip li span { color: var(--muted); font-size: .93rem; }
.contact-strip a:hover { color: var(--blue); }
.contact-strip .socials { justify-content: flex-start; gap: 8px; margin-top: 10px; }
.contact-strip .socials a { width: 34px; height: 34px; border-color: transparent; }
.contact-strip .socials svg { width: 16px; height: 16px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.map-cta { text-align: center; margin-top: 22px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1.5px solid rgba(255, 255, 255, .25); box-shadow: var(--shadow); aspect-ratio: 21/8; min-height: 320px; background: var(--navy-800); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9); }
.map-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy-600) 60%, var(--navy-800) 100%);
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(252, 210, 0, .15); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: #dfe6ff; margin: 0; }
.cta-band .hero__cta { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding: 48px 0 0; margin-top: 0; border-top: 1px solid var(--line); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.site-footer h3 { font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--yellow); }
.footer-about { text-align: center; }
/* โลโก้ฟุตเตอร์ วางเป็นแนวตั้ง — วางคู่กันแนวนอนแล้วดูลอยเมื่ออยู่กึ่งกลาง */
.footer-about .brand { flex-direction: column; gap: 13px; }
.footer-about .brand img { width: 62px; height: 62px; border-radius: 17px; }
.footer-about .brand:hover img { transform: scale(1.05); }
.footer-about .brand-text { align-items: center; text-align: center; }
.footer-about .brand-text strong { font-size: 1.45rem; letter-spacing: .04em; }
.footer-about .brand-text small { font-size: .68rem; letter-spacing: .28em; margin-top: 8px; color: #b9c6f0; }
.footer-about p { color: var(--muted); margin: 18px auto 20px; font-size: .95rem; max-width: 58ch; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: .95rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.footer-contact svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--accent); }
/* --brand = สีแบรนด์ของแต่ละแอป, --glyph = สีเส้นไอคอน — ตั้งค่าเริ่มต้นไว้ที่ตัวครอบ
   เพื่อให้คลาส .s-* บนตัว <a> เขียนทับได้ (ถ้าตั้งที่ ".socials a" จะ specificity สูงกว่า .s-*) */
.socials { display: flex; gap: 12px; justify-content: center; --brand: rgba(255, 255, 255, .1); --glyph: #fff; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--glyph);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .25s, box-shadow .25s;
}
.socials a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.socials svg { width: 19px; height: 19px; }
/* สีแบรนด์ ใช้ร่วมกันทั้งไอคอนในฟุตเตอร์และปุ่มลอย */
.s-facebook { --brand: #1877f2; }
.s-tiktok   { --brand: #010101; }
.s-lemon8   { --brand: #fef506; overflow: hidden; }
.s-lemon8 img { width: 100%; height: 100%; object-fit: cover; }
.s-line     { --brand: #009b3a; } /* เขียวเข้มกว่า WhatsApp ให้แยกออกชัด */
.s-whatsapp { --brand: #25d366; }
.s-phone    { --brand: #e23b2e; }
.footer-qr { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); line-height: 1.4; transition: border-color .25s; }
.footer-qr:hover { border-color: #06c755; }
.footer-qr img { width: 72px; height: 72px; border-radius: 8px; background: #fff; padding: 3px; }
.footer-qr strong { color: #06c755; font-weight: 500; }
.footer-bottom { margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Floating contact + back to top ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-actions a, .float-actions button {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: var(--shadow); transition: transform .25s;
}
.float-actions a:hover, .float-actions button:hover { transform: scale(1.08); }
.float-actions svg { width: 26px; height: 26px; }
.fab-line { background: #06c755; color: #fff; }
.fab-phone { background: #e23b2e; color: #fff; }
.fab-top { background: var(--blue); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, transform .25s; }
.fab-top.is-visible { opacity: 1; visibility: visible; }

/* Speed dial — ช่องทางติดต่อทั้งหมดกางขึ้นด้านบนปุ่ม + */
.fab-dial { display: none; flex-direction: column; gap: 10px; }
.float-actions.is-open .fab-dial { display: flex; }
.fab-dial a { width: 46px; height: 46px; animation: fabIn .22s var(--ease) backwards; }
.fab-dial svg { width: 22px; height: 22px; }
.fab-mini { background: var(--brand, #fff); color: #fff; }
/* อันที่อยู่ล่างสุด (ใกล้ปุ่ม +) เด้งขึ้นมาก่อน */
.fab-dial > :nth-child(6) { animation-delay: 0s; }
.fab-dial > :nth-child(5) { animation-delay: .02s; }
.fab-dial > :nth-child(4) { animation-delay: .04s; }
.fab-dial > :nth-child(3) { animation-delay: .08s; }
.fab-dial > :nth-child(2) { animation-delay: .12s; }
.fab-dial > :nth-child(1) { animation-delay: .16s; }
@keyframes fabIn { from { opacity: 0; transform: scale(.5) translateY(16px); } }
.fab-more { background: var(--yellow); color: var(--ink); }
/* สลับไอคอน: ฟองแชทตอนปิด -> กากบาทตอนเปิด */
.fab-more__close { display: none; }
.float-actions.is-open .fab-more__open { display: none; }
.float-actions.is-open .fab-more__close { display: block; }
.fab-more svg { animation: fabIcon .2s var(--ease); }
@keyframes fabIcon { from { opacity: 0; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) { .fab-dial a, .fab-more svg { animation: none; } }

/* ---------- Toast / Lightbox ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; max-width: calc(100% - 32px);
  background: var(--white); color: var(--ink); padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 400;
  transition: transform .4s var(--ease), visibility 0s linear .4s; display: flex; align-items: center; gap: 10px;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.toast svg { width: 22px; height: 22px; color: #16a34a; flex-shrink: 0; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(2, 6, 23, .92); display: none; place-items: center; padding: 20px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 85vh; max-width: 100%; border-radius: 14px; }
.lightbox .icon-btn { position: absolute; top: 18px; right: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* ข้อความใน hero ห้ามเริ่มที่ opacity 0 — ไม่งั้น Chrome ไม่นับเป็น LCP (Lighthouse ขึ้น NO_LCP) เหลือแค่เลื่อนขึ้น */
.hero .reveal, .page-hero .reveal { opacity: 1; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
/* การ์ดในสไลด์ห้ามใช้ reveal — ใบที่ยังไม่เคยเข้าจอจะถูกดันลง 30px แล้วเด้งขึ้นตอนเลื่อนมาถึง ทำให้แถวกระตุก */
.slider .reveal { opacity: 1; transform: none; }

/* ---------- Error / legal ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 80px; }
.error-code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; color: var(--accent); text-shadow: 0 10px 40px rgba(252, 210, 0, .25); }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal li { list-style: disc; margin-left: 1.3em; color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .qb-grid { grid-template-columns: 1fr 1fr; }
  .qb-grid .btn { grid-column: 1 / -1; justify-content: center; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .slider__track > * { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 900px) {
  .hero { padding-bottom: 170px; }
  .hero__grid, .intro-grid, .about-grid, .channel-grid, .contact-strip { grid-template-columns: 1fr; }
  .contact-strip { padding: 22px; }
  .polaroids { height: 300px; width: 100%; max-width: 460px; }
  .photo-stack { height: 340px; }
  .features { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .feature:nth-child(2) { border-right: 0; }
  .card-grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step::after { display: none; }
  .steps--5 .step:last-child, .steps--3 .step:last-child { grid-column: 1 / -1; }
  .rating-summary { grid-template-columns: 1fr; gap: 20px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .container { padding: 0 16px; }
  .brand { gap: 10px; }
  .brand img { width: 46px; height: 46px; border-radius: 12px; }
  .brand-text strong { font-size: 1.15rem; }
  .brand-text small { font-size: .58rem; letter-spacing: .14em; }
  .hero h1 { font-size: 2.3rem; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .polaroids { height: 230px; width: 100%; max-width: 340px; margin: 0 auto; }
  .polaroid { width: 54%; }
  .polaroid img { aspect-ratio: 1; }
  .polaroid figcaption { font-size: 1.05rem; left: 16px; bottom: 16px; }
  .card-grid, .card-grid--3, .card-grid--2, .form-grid, .highlight-grid, .inc-grid { grid-template-columns: 1fr; }
  .qb-grid { grid-template-columns: 1fr; }
  .quick-book { padding: 16px; margin-top: -110px; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat span { font-size: .78rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .compare, .article-nav { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end center; }
  .modal__panel { border-radius: 22px 22px 0 0; padding: 22px 16px 26px; max-height: 92vh; max-height: 92dvh; }
  .modal .form-grid { gap: 12px; }
  .article-nav a.next { text-align: left; }
  .article-nav a.next small { justify-content: flex-start; }
  .flow__step { font-size: .92rem; }
  /* 5 ช่องบนจอมือถือจะแคบจนป้ายตัดบรรทัดทุกอัน พลิกเป็นไทม์ไลน์แนวตั้งแทน */
  .flow--diagram { grid-template-columns: 1fr; gap: 16px; }
  .flow--diagram li { flex-direction: row; align-items: center; text-align: left; gap: 14px; }
  .flow--diagram li::before { top: auto; bottom: 100%; right: auto; left: 17px; width: 2px; height: 16px; background: rgba(252, 210, 0, .7); }
  .flow--diagram span { font-size: .95rem; }
  .footer-grid { gap: 32px; }
  .slider__track > * { flex-basis: 88%; }
  .tabs { justify-content: flex-start; border-radius: 16px; }
  .map-wrap { aspect-ratio: 4/3; }
  .form-card { padding: 22px; }
  .section { padding: 64px 0; }
  .float-actions a, .float-actions button { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   LIGHT THEME — XL TOUR colour mockup
   White body · Soft Blue sections · Primary Blue header/hero · Dark Blue footer
   ========================================================================== */
body { background: var(--white); color: var(--text); }
.section--alt { background: var(--soft-blue); }
.section--gray { background: var(--light-gray); }
.wave path { fill: var(--white); }

/* Dark areas: flip the context colours */
.site-header, .mobile-nav__panel, .hero, .page-hero, .cta-band, .help-card, .site-footer, .place-card, .error-dark {
  --heading: #ffffff; --text: #eef2ff; --muted: #cfd8ff; --accent: var(--yellow); --price: var(--yellow);
  --line: rgba(255, 255, 255, .24); --card: rgba(255, 255, 255, .1); --surface: rgba(255, 255, 255, .1);
  color: var(--text);
}
/* Menus inside the (dark) header are white panels */
.dropdown, .submenu {
  --heading: #1f2a44; --text: #3a4560; --muted: #5d6885; --accent: var(--blue); --line: #d7e0ff;
  background: #fff; box-shadow: 0 18px 40px rgba(26, 46, 138, .18);
}
.dropdown a:hover, .dropdown .has-sub:hover > a, .dropdown a.is-current { background: var(--soft-blue); color: var(--blue); }

/* Header — ไม่มีแถบสีตอนอยู่บนสุด ปล่อยให้เห็นภาพ hero เต็ม ๆ
   (ทุกหน้าของเว็บมี hero ภาพเข้มรองอยู่ ตัวหนังสือขาวจึงอ่านออก) */
.site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* เลื่อนลงมาอยู่เหนือพื้นขาว → เปลี่ยนเป็นแถบขาวฝ้า พร้อมสลับชุดสีตัวอักษรเป็นแบบพื้นสว่าง */
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 6px 24px rgba(26, 46, 138, .12);
  --heading: #1f2a44; --text: #3a4560; --muted: #5d6885; --accent: var(--blue);
  --line: #d7e0ff; --card: #ffffff; --surface: #ffffff;
}
/* สองอันนี้ฮาร์ดโค้ดสีอ่อนไว้สำหรับพื้นน้ำเงิน ต้องสลับตอนพื้นเป็นขาว */
.site-header.is-scrolled .brand-text small, .site-header.is-solid .brand-text small { color: var(--muted); }
.site-header.is-scrolled .icon-btn, .site-header.is-solid .icon-btn { background: var(--soft-blue); }
/* ไม่รองรับ backdrop-filter → ต้องทึบพอให้ตัวหนังสืออ่านออก */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .site-header.is-scrolled, .site-header.is-solid { background: rgba(255, 255, 255, .97); }
}
.site-header .icon-btn { background: rgba(255, 255, 255, .1); }
.mobile-nav__panel { background: var(--blue-dark); }

/* Hero — ใช้สีจริงของภาพ ไม่คลุมโทนน้ำเงิน
   เหลือเงาดำไล่ระดับเฉพาะฝั่งที่มีตัวหนังสือ (ดำไม่เปลี่ยนเฉดสีของภาพ แค่ทำให้เข้มลง) */
.hero__bg img, .page-hero__bg img { filter: none; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%);
}
.page-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .3) 58%, rgba(0, 0, 0, .1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .48) 0%, rgba(0, 0, 0, 0) 26%);
}
.hero__lead, .page-hero p { color: #f1f4ff; }

/* Buttons */
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 22px rgba(252, 209, 6, .35); }
.btn-primary:hover { background: #ffdc2e; }
.btn-outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.hero .btn-outline, .page-hero .btn-outline, .cta-band .btn-outline, .site-footer .btn-outline, .mobile-nav .btn-outline {
  background: #fff; border-color: #fff; color: var(--blue);
}
.hero .btn-outline:hover, .page-hero .btn-outline:hover, .cta-band .btn-outline:hover { background: transparent; color: #fff; }
.btn.btn-line { background: #06c755; border-color: #06c755; color: #fff; box-shadow: 0 10px 24px rgba(6, 199, 85, .25); }
.btn.btn-line:hover { background: #05b04b; border-color: #05b04b; color: #fff; }
/* ปุ่มโทร: แดงเดียวกับปุ่มโทรลอย (.fab-phone) */
.btn.btn-call { background: #e23b2e; border-color: #e23b2e; color: #fff; box-shadow: 0 10px 24px rgba(226, 59, 46, .25); }
.btn.btn-call:hover { background: #c92f23; border-color: #c92f23; color: #fff; }
.link-arrow { color: var(--blue); border-bottom-color: var(--blue); }

/* Cards & boxes: white + soft border + soft shadow */
.info-card, .price-card, .review-card, .media-card, .tour-card, .book-card, .form-card, .faq details, .channel-card, .contact-strip,
.highlight, .inc-box, .rating-summary, .article-nav a, .compare div, .facility, .price-pill {
  background: #fff; border-color: var(--line); box-shadow: 0 6px 20px rgba(36, 70, 255, .06);
}
.info-card:hover, .media-card:hover, .tour-card:hover { background: #fff; border-color: var(--blue); box-shadow: 0 16px 36px rgba(36, 70, 255, .16); }
.price-card.is-featured { background: linear-gradient(180deg, #fffbe6, #fff); border-color: var(--yellow); }
.faq details[open] { border-color: var(--blue); }
.faq summary::after { color: var(--blue); }

/* Search / quick booking box — white with border */
.quick-book { background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(26, 46, 138, .16); backdrop-filter: none; -webkit-backdrop-filter: none; }
.qb-tab { color: var(--heading); border-color: var(--line); background: #fff; }
.qb-tab.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.qb-result { background: var(--soft-blue); border-color: var(--line); }

/* Forms */
.field input, .field select, .field textarea { background: #fff; border-color: var(--line); color: var(--heading); }
.field input::placeholder, .field textarea::placeholder { color: #98a3c0; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 70, 255, .12); }
.field select option { background: #fff; color: var(--heading); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: none; opacity: .6; }

/* Tabs & chips */
.tabs { border-color: var(--line); background: #fff; }
.tab { color: var(--heading); }
.tab:hover { color: var(--blue); }
.tab.is-active, .chip.is-active, .chip:hover { background: var(--yellow); color: var(--ink); }
.chip { background: #fff; border-color: var(--line); color: var(--heading); }

/* Misc light-context details */
.deco-leaf { color: var(--blue); opacity: .07; }
.framed { border: 1px solid var(--line); }
.stat { background: #fff; border-color: var(--line); box-shadow: 0 6px 20px rgba(36, 70, 255, .06); }
.stat:hover { border-color: var(--blue); box-shadow: 0 14px 30px rgba(36, 70, 255, .14); }
.stat__icon { color: var(--blue); background: var(--soft-blue); }
.feature { border-color: var(--line); }
.features { border-bottom-color: var(--line); }
.flow__step { background: var(--soft-blue); border-color: var(--line); color: var(--heading); }
.callout { background: var(--soft-blue); border-left-color: var(--blue); }
.summary-box { background: #fffbe6; border-color: var(--yellow); }
.summary-box .label { color: #b07c00; }
.price-inline { background: #fffbe6; border-color: var(--yellow); }
.timeline li::before { background: #fff; }
.timeline::before { border-left-color: var(--yellow); }
.book-card__price { background: #fffbe6; border-color: rgba(252, 209, 6, .6); }
.step p, .section-head p { color: var(--muted); }
.error-code { color: var(--blue); text-shadow: 0 10px 40px rgba(36, 70, 255, .2); }
.ch-line { background: linear-gradient(170deg, #eefcf3, #fff 55%); }
.tour-card__foot { border-top-color: var(--line); }
.help-card { background: linear-gradient(135deg, var(--blue), var(--navy-800)); }

/* Modal — white panel */
.modal__panel { background: #fff; border-color: var(--line); }
.modal__head p { color: var(--blue); }
.modal__price { background: #fffbe6; border-color: var(--yellow); }
.modal__close { background: #fff; }

/* CTA / promotion banner — Primary Blue + Yellow */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, #3a5bff 55%, var(--blue-600) 100%); box-shadow: 0 20px 44px rgba(36, 70, 255, .25); }
.cta-band .price-pill { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.cta-band .price-pill strong { color: var(--yellow); }

/* Footer — Dark Blue */
.site-footer { background: var(--blue-dark); border-top: 0; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .16); }
.map-wrap { background: var(--soft-blue); border-color: var(--line); }

/* Homepage FAQ (คำถามที่พบบ่อย) */
.faq details.is-hidden { display: none; }
.faq__q { display: flex; flex-direction: column; gap: 2px; }
.faq__q small { font-size: .75rem; font-weight: 500; color: var(--blue); letter-spacing: .02em; }
.faq--guide details > div .flow { margin: 6px 0 14px; }.faq--guide details { scroll-margin-top: calc(var(--header-h) + 16px); }
.faq--guide summary { font-size: 1.05rem; }
.faq__body { padding-top: 4px; }
.faq__body h3 { font-size: 1.1rem; margin: 1.1em 0 .45em; padding-left: 12px; border-left: 4px solid var(--yellow); }
.faq__body p, .faq__body li { color: var(--text); }
.faq__body .lead { font-size: 1.08rem; color: var(--heading); }
.faq__body .article-link { margin-top: 18px; }
/* Homepage travel guide popup */
.guide-modal .guide-modal__panel { width: min(820px, 100%); padding: 0; overflow-y: auto; }
.guide-modal__img { aspect-ratio: 2 / 1; overflow: hidden; background: var(--soft-blue); }
.guide-modal__img img { width: 100%; height: 100%; object-fit: cover; }
.guide-modal__inner { padding: 26px 32px 32px; }
.guide-modal__inner h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 6px 0 14px; }
.guide-modal .modal__close { z-index: 2; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.guide-modal__cta { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.guide-modal__cta .price-pills { max-width: 460px; }
@media (max-width: 600px) { .guide-modal__inner { padding: 20px 18px 26px; } }
/* Parking services: 2 highlight cards + 4 mini features (/parking/) */
.svc-main { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc-hero {
  position: relative; overflow: hidden; display: flex; gap: 22px; align-items: flex-start;
  padding: 34px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-900) 100%);
  box-shadow: 0 20px 44px rgba(36, 70, 255, .22); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-hero::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .07); }
.svc-hero:hover { transform: translateY(-4px); box-shadow: 0 26px 54px rgba(36, 70, 255, .3); }
.svc-hero__icon { flex-shrink: 0; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--yellow); color: var(--navy-950); }
.svc-hero__icon svg { width: 36px; height: 36px; }
.svc-hero__tag { display: inline-block; font-size: .8rem; font-weight: 500; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); margin-bottom: 10px; }
.svc-hero h3 { color: #fff; font-size: 1.45rem; margin: 0 0 8px; }
.svc-hero p { color: rgba(255, 255, 255, .85); margin: 0; line-height: 1.65; }
.svc-hero--yellow { background: linear-gradient(135deg, #ffe24d 0%, var(--yellow) 55%, var(--yellow-600) 100%); color: var(--navy-950); box-shadow: 0 20px 44px rgba(232, 191, 0, .28); }
.svc-hero--yellow:hover { box-shadow: 0 26px 54px rgba(232, 191, 0, .36); }
.svc-hero--yellow::after { border-color: rgba(255, 255, 255, .25); }
.svc-hero--yellow .svc-hero__icon { background: var(--navy-900); color: var(--yellow); }
.svc-hero--yellow .svc-hero__tag { background: rgba(20, 35, 110, .12); color: var(--navy-950); }
.svc-hero--yellow h3 { color: var(--navy-950); }
.svc-hero--yellow p { color: rgba(20, 35, 110, .82); }
.svc-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.svc-mini__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease); }
.svc-mini__item:hover { border-color: var(--blue); transform: translateY(-3px); }
.svc-mini__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); }
.svc-mini__icon svg { width: 22px; height: 22px; }
.svc-mini h3 { font-size: 1rem; margin: 2px 0 4px; }
.svc-mini p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 1100px) { .svc-mini { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .svc-main { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .svc-hero { flex-direction: column; gap: 16px; padding: 26px; }
  .svc-hero__icon { width: 60px; height: 60px; }
  .svc-hero h3 { font-size: 1.25rem; }
  .svc-mini { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .svc-hero, .svc-mini__item { transition: none; } }
/* Quick booking as a frosted-glass overlay on the home hero photo */
.quick-book {
  padding: 24px 26px 20px; border-radius: 26px;
  background: rgba(22, 40, 140, .86); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 30px 70px rgba(8, 18, 70, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.quick-book .qb-tab { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.quick-book .qb-tab:hover { background: rgba(255, 255, 255, .2); }
.quick-book .qb-tab.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--navy-950); font-weight: 600; }
.quick-book .field label { color: rgba(255, 255, 255, .88); font-weight: 500; }
.quick-book .field input, .quick-book .field select { height: 50px; border: 0; background: rgba(255, 255, 255, .95); color: var(--heading); }
.quick-book .field input:focus, .quick-book .field select:focus { background: #fff; box-shadow: 0 0 0 3px rgba(252, 209, 6, .7); }
.quick-book .qb-grid .btn { height: 50px; justify-content: center; }
.quick-book .qb-result { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .9); }
.quick-book .qb-result svg { color: var(--yellow); }
.quick-book .qb-result strong { color: var(--yellow); }
.quick-book .qb-note { color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) {
}
@media (max-width: 600px) { .quick-book { padding: 18px; } }

/* ---------- Price table (อัตราค่าบริการ) ---------- */
.price-table-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--blue); color: #fff; font-weight: 500; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table th[scope="row"] { color: var(--heading); font-weight: 500; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table td:last-child { color: var(--price); font-weight: 600; }
.price-table .row-group td { background: var(--soft-blue); }
.table-note { max-width: 860px; margin: 14px auto 0; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- Notes / disclaimers ---------- */
.note-box { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fffbe6; border: 1px solid var(--yellow); font-size: .9rem; color: var(--heading); }
.info-card .check-list { margin: 10px 0 0; }
.info-card .check-list li { font-size: .95rem; }

/* ---------- Contact section cards (คู่มือและติดต่อ) ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.contact-list li strong { min-width: 110px; color: var(--heading); font-weight: 500; }
.contact-list li a { color: var(--blue); word-break: break-word; }
.photo-caption { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); text-align: center; }
.gallery figure { margin: 0; }
@media (max-width: 600px) {
  .price-table th, .price-table td { padding: 12px; font-size: .92rem; }
  .contact-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- Key info (ข้อมูลสำคัญ หน้าที่จอดรถ) ---------- */
.ki-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px; overflow: hidden; background: linear-gradient(120deg, var(--blue) 0%, #3a5bff 60%, var(--blue-600, #1b36d6) 100%); box-shadow: 0 20px 44px rgba(36, 70, 255, .25); margin-bottom: 34px; }
.ki-stat { padding: 26px 18px; text-align: center; color: #fff; position: relative; }
.ki-stat + .ki-stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; border-left: 1px solid rgba(255, 255, 255, .25); }
.ki-stat strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.1; color: var(--yellow); }
.ki-stat strong small { font-size: 1rem; font-weight: 500; color: #fff; margin-left: 6px; }
.ki-stat span { display: block; margin-top: 6px; font-size: .92rem; color: rgba(255, 255, 255, .88); }

.ki-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: stretch; }
.ki-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.ki-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ki-badge { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.ki-badge svg { width: 34px; height: 34px; flex-shrink: 0; color: #fff; background: #1bb46a; border-radius: 50%; padding: 6px; }
.ki-badge span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.ki-badge b { display: block; color: var(--heading); font-size: 1.08rem; font-weight: 600; }

.ki-groups { display: grid; gap: 16px; align-content: start; }
.ki-group { padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(36, 70, 255, .06); }
.ki-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ki-group__head h3 { margin: 0; font-size: 1.12rem; }
.ki-group__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); flex-shrink: 0; }
.ki-group__icon svg { width: 22px; height: 22px; }
.ki-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.ki-list li { position: relative; padding-left: 24px; color: var(--text); font-size: .96rem; }
.ki-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.ki-group--accent { background: linear-gradient(135deg, #fffbe6, #fff); border-color: var(--yellow); }
.ki-group--accent .ki-group__icon { background: var(--yellow); color: var(--heading); }

@media (max-width: 900px) {
  .ki-stats { grid-template-columns: 1fr 1fr; }
  .ki-stat:nth-child(3)::before { display: none; }
  .ki-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .2); }
  .ki-grid { grid-template-columns: 1fr; }
  .ki-photo { min-height: 300px; }
}
@media (max-width: 600px) {
  .ki-list { grid-template-columns: 1fr; }
  .ki-stat { padding: 20px 10px; }
}
/* ---------- Laos service cards (บริการเที่ยวลาว 4 กล่อง) ---------- */
.svc4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc4 { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(36, 70, 255, .08); transition: transform .3s var(--ease), box-shadow .3s; }
.svc4:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(36, 70, 255, .18); }
.svc4__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc4__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc4:hover .svc4__img img { transform: scale(1.06); }
.svc4__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.svc4__body h3 { font-size: 1.1rem; margin: 0 0 12px; }
.svc4__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc4__list li { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; color: var(--text); line-height: 1.5; }
.svc4__list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--blue); }
.svc4__note { display: flex; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--muted); line-height: 1.5; }
.svc4__note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: #d99a00; }
.svc4__cta { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); font-size: .95rem; }
.svc4__cta svg { width: 18px; height: 18px; transition: transform .25s; }
.svc4__cta:hover svg { transform: translateX(4px); }
@media (max-width: 1100px) { .svc4-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc4-grid { grid-template-columns: 1fr; } }
/* ---------- Price cards (อัตราค่าบริการ) ---------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.pc-card { position: relative; padding: 24px 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(36, 70, 255, .08); }
.pc-card--featured { border-color: var(--yellow); background: linear-gradient(160deg, #fffbe6 0%, #fff 55%); }
.pc-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.pc-card__head h3 { margin: 0; font-size: 1.15rem; }
.pc-card__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue); color: #fff; flex-shrink: 0; }
.pc-card--featured .pc-card__icon { background: var(--yellow); color: var(--heading); }
.pc-card__icon svg { width: 22px; height: 22px; }
.pc-card__badge { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: #1bb46a; color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pc-rows { list-style: none; margin: 0; padding: 0; }
.pc-rows li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; }
.pc-rows li + li { border-top: 1px dashed var(--line); }
.pc-row__name { color: var(--heading); font-weight: 500; font-size: .98rem; }
.pc-row__name small { display: block; color: var(--muted); font-weight: 400; font-size: .84rem; }
.pc-row__dots { flex: 1; }
.pc-row__price { white-space: nowrap; text-align: right; }
.pc-row__price strong { font-size: 1.5rem; font-weight: 700; color: var(--blue); line-height: 1; }
.pc-row__price small { margin-left: 4px; font-size: .85rem; color: var(--muted); }
.pc-card--featured .pc-row__price strong { color: #d99a00; }
@media (max-width: 800px) { .pc-grid { grid-template-columns: 1fr; } }
/* ---------- Service hub (หน้าบริการ: เมนูหมวด + หมวดบริการ) ---------- */
.svc-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 46px; }
.svc-nav .chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--heading); font-weight: 500; font-size: .95rem; box-shadow: 0 6px 16px rgba(36, 70, 255, .06); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.svc-nav .chip svg { width: 18px; height: 18px; color: var(--blue); }
.svc-nav .chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.svc-nav .chip:hover svg { color: var(--yellow); }
.svc-cat { scroll-margin-top: calc(var(--header-h, 80px) + 20px); }
.svc-cat + .svc-cat { margin-top: 64px; }
.svc-cat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.svc-cat__head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.svc-cat__head p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.svc-cat__head .link-arrow { margin-left: auto; white-space: nowrap; }
.svc-cat__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--blue); color: #fff; flex-shrink: 0; box-shadow: 0 10px 22px rgba(36, 70, 255, .25); }
.svc-cat__icon svg { width: 26px; height: 26px; }

.svc4__img { position: relative; }
.svc4__badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: var(--heading); font-size: .8rem; font-weight: 600; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.svc4__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: -4px 0 10px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.svc4__meta > svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
.svc4__meta i { font-style: normal; color: var(--blue); margin: 0 2px; }
.svc4__route { display: inline; }
.svc4__desc { margin: 0 0 10px; font-size: .93rem; color: var(--text); }
.svc4__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.svc4__foot .svc4__cta { margin-top: 0; padding-top: 0; }
.svc4__body > .svc4__list, .svc4__body > .svc4__note { margin-bottom: 16px; }
.svc4__price { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.svc4__price strong { font-size: 1.35rem; font-weight: 700; color: var(--blue); line-height: 1; }
.svc4__price small { font-size: .8rem; color: var(--muted); }
.svc4__price--ask { font-size: .9rem; font-weight: 600; color: var(--muted); }
.svc4--noimg { background: linear-gradient(160deg, var(--soft-blue) 0%, #fff 60%); }
.pc-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1180px; }
@media (max-width: 600px) {
  .svc-cat__head { flex-wrap: wrap; }
  .svc-cat__head .link-arrow { margin-left: 68px; }
}
/* การ์ดบริการ: ราคาอยู่บรรทัดบน ปุ่มเต็มความกว้างอยู่ล่าง (ทุกใบเหมือนกัน) */
.svc4__foot { flex-direction: column; align-items: stretch; gap: 14px; }
.svc4__price { min-height: 30px; align-items: baseline; }
.svc4__price small:first-child { margin-right: 4px; }
.svc4__price--ask { display: flex; align-items: center; min-height: 30px; }
.svc4__foot .svc4__cta { justify-content: center; padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); background: transparent; font-size: .93rem; text-align: center; transition: background .2s, color .2s; }
.svc4__foot .svc4__cta:hover { background: var(--blue); color: #fff; }
.svc4__foot .svc4__cta:hover svg { transform: translateX(4px); }.svc4__foot .svc4__cta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; padding: 11px 12px; }
.svc4__foot .svc4__cta svg { flex-shrink: 0; }
/* หมายเหตุชิดด้านล่างและสูงเท่ากันทุกการ์ด (รองรับ 3 บรรทัด) ไม่ว่ารายการด้านบนจะยาวแค่ไหน */
.svc4__body > .svc4__note { margin-top: auto; min-height: calc(4.5em + 13px); box-sizing: border-box; }
.svc4__note + .svc4__foot { margin-top: 0; }
/* ชื่อการ์ดจองพื้นที่ 2 บรรทัด ให้บรรทัดวันที่/รายละเอียดเริ่มระดับเดียวกันทุกใบ */
.svc4__body h3 { line-height: 1.35; min-height: 2.7em; }
/* ---------- Booking flow (ขั้นตอนการจอง หน้าบริการ) ---------- */
.book-flow { position: relative; overflow: hidden; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: 50px; border-radius: 28px; background: linear-gradient(125deg, var(--blue) 0%, #3a5bff 55%, #1b36d6 100%); box-shadow: 0 24px 50px rgba(36, 70, 255, .28); color: #fff; }
.book-flow::before { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(252, 209, 6, .14); }
.book-flow::after { content: ""; position: absolute; left: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.book-flow > * { position: relative; z-index: 1; }
.book-flow__intro h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; margin: 0 0 12px; }
.book-flow__intro h2 span { color: var(--yellow); display: block; }
.book-flow__intro p { color: rgba(255, 255, 255, .86); margin: 0 0 26px; }
.book-flow__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-flow__cta .btn { justify-content: center; width: 100%; font-size: .92rem; padding-left: 12px; padding-right: 12px; }
.book-flow__cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.book-flow__cta .btn-outline:hover { background: #fff; color: var(--blue); }
.book-flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-flow__steps li { position: relative; display: flex; align-items: center; gap: 14px; min-height: 86px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
.book-flow__steps li:hover { background: rgba(255, 255, 255, .18); transform: translateY(-3px); }
.book-flow__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--yellow); color: var(--heading); flex-shrink: 0; }
.book-flow__ic svg { width: 22px; height: 22px; }
.book-flow__steps strong { font-weight: 500; font-size: .98rem; line-height: 1.4; color: #fff; padding-right: 22px; }
.book-flow__n { position: absolute; top: 10px; right: 14px; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
@media (max-width: 1000px) { .book-flow { grid-template-columns: 1fr; padding: 36px 28px; } }
@media (max-width: 600px) { .book-flow { padding: 28px 18px; border-radius: 22px; } .book-flow__steps, .book-flow__cta { grid-template-columns: 1fr; } }
/* ---------- Journey steps (ขั้นตอนการจอง แบบเส้นทางแนวนอน) ---------- */
.journey { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; position: relative; }
.journey::before { content: ""; position: absolute; left: 8.33%; right: 8.33%; top: 44px; border-top: 2px dashed rgba(36, 70, 255, .28); }
.journey li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 0; }
.journey__dot { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(36, 70, 255, .14); transition: transform .3s var(--ease), background .3s, color .3s; }
.journey__dot svg { width: 34px; height: 34px; }
.journey__dot b { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--heading); font-size: .85rem; font-weight: 700; box-shadow: 0 0 0 4px var(--soft-blue); }
.journey li:hover .journey__dot { transform: translateY(-4px); background: var(--blue); color: #fff; }
.journey strong { font-weight: 500; font-size: .95rem; line-height: 1.45; color: var(--heading); max-width: 100%; }
.journey + .center-actions { margin-top: 44px; }
@media (max-width: 900px) {
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .journey::before { display: none; }
}
@media (max-width: 520px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey__dot { width: 76px; height: 76px; }
}
/* ---------- Reviews (หน้าแรก): พื้นหลังไล่สี + การ์ดมีลูกเล่น ---------- */
#reviews { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--soft-blue) 100%); }
#reviews::before, #reviews::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
#reviews::before { width: 420px; height: 420px; top: -140px; right: -120px; background: radial-gradient(circle, rgba(252, 209, 6, .28), transparent 70%); }
#reviews::after { width: 520px; height: 520px; bottom: -220px; left: -160px; background: radial-gradient(circle, rgba(36, 70, 255, .16), transparent 70%); }
#reviews .container { position: relative; z-index: 1; }
#reviews .section-head h2::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--yellow); margin-bottom: 6px; }
/* scroll-padding ต้องเท่า padding ซ้ายขวา — ไม่งั้นตอนโหลด scroll-snap จะเลื่อนแถบเอง 6px ทำให้ Chrome หยุดวัด LCP (PageSpeed desktop ขึ้น NO_LCP) */
#reviews .slider__track { padding: 12px 6px 28px; margin: -12px -6px -22px; scroll-padding-inline: 6px; }
#reviews .review-card {
  position: relative; overflow: hidden; padding: 30px 28px 24px; gap: 16px; border: 1px solid var(--line); border-radius: 22px;
  background: #fff; box-shadow: 0 10px 30px rgba(36, 70, 255, .08); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
#reviews .review-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow)); }
#reviews .review-card::after {
  content: "\201D"; position: absolute; top: 4px; right: 20px; font-size: 6.5rem; line-height: 1; font-family: Georgia, serif;
  color: var(--soft-blue); pointer-events: none; transition: color .35s, transform .35s var(--ease);
}
#reviews .review-card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 22px 44px rgba(36, 70, 255, .18); }
#reviews .review-card:hover::after { color: rgba(252, 209, 6, .45); transform: rotate(-6deg) scale(1.05); }
#reviews .stars { position: relative; z-index: 1; gap: 3px; }
#reviews .stars svg { width: 20px; height: 20px; filter: drop-shadow(0 2px 3px rgba(245, 183, 0, .35)); }
#reviews .stars .off { color: #dfe5f7; filter: none; }
#reviews .review-card blockquote { position: relative; z-index: 1; font-size: 1rem; line-height: 1.75; color: var(--heading); }
#reviews .reviewer { padding-top: 16px; border-top: 1px dashed var(--line); }
#reviews .avatar { width: 50px; height: 50px; font-size: 1.15rem; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); background: linear-gradient(135deg, var(--blue), var(--navy-600)); }
#reviews .review-card:nth-child(4n+2) .avatar { background: linear-gradient(135deg, #fcd106, #f59e0b); color: var(--navy-950); }
#reviews .review-card:nth-child(4n+3) .avatar { background: linear-gradient(135deg, #10b981, #0d9488); }
#reviews .review-card:nth-child(4n+4) .avatar { background: linear-gradient(135deg, #f43f5e, #fb923c); }
#reviews .reviewer strong { font-weight: 600; }
#reviews .reviewer small { display: inline-block; margin-top: 5px; padding: 2px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--blue); font-size: .78rem; line-height: 1.6; }
#reviews .slider__nav .icon-btn { width: 48px; height: 48px; background: #fff; border-color: var(--line); color: var(--blue); box-shadow: 0 6px 16px rgba(36, 70, 255, .12); }
#reviews .slider__nav .icon-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { #reviews .review-card, #reviews .review-card::after { transition: none; } #reviews .review-card:hover { transform: none; } }

/* ---------- คู่มือการเดินทาง (หน้าแรก): ลายแผนที่ + ขอบคลื่นบน/ล่าง ---------- */
.guide-map {
  overflow: hidden; padding-top: 150px; padding-bottom: 150px;
  background-color: var(--soft-blue);
  background-image: linear-gradient(rgba(36, 70, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 70, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.guide-map > .container { position: relative; z-index: 1; }
.guide-map__deco {
  position: absolute; inset: 0; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v46C1180 100 980 8 720 44S240 100 0 34z' fill='%23ffffff'/%3E%3C/svg%3E") top / 100% 100px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V54C1180 0 980 92 720 56S240 0 0 66z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z' fill='%23fcd106'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23fff'/%3E%3C/svg%3E") 6% 70% / 34px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z' fill='%23fcd106'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23fff'/%3E%3C/svg%3E") 94% 22% / 40px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232446ff' stroke-opacity='.35' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E") 88% 34% / 46px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232446ff' stroke-opacity='.18' stroke-width='.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M16.2 7.8 13.4 13.4 7.8 16.2 10.6 10.6z' fill='%232446ff' fill-opacity='.12'/%3E%3Cpath d='M12 1v3M12 20v3M1 12h3M20 12h3'/%3E%3C/svg%3E") 4% 16% / 170px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 700' preserveAspectRatio='none'%3E%3Cpath d='M-20 560 C 220 420 330 640 560 520 S 900 260 1080 360 S 1330 180 1470 120' fill='none' stroke='%232446ff' stroke-opacity='.22' stroke-width='3' stroke-dasharray='2 14' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
@media (max-width: 900px) { .guide-map { padding-top: 110px; padding-bottom: 110px; } }
@media (max-width: 600px) {
  .guide-map { padding-top: 84px; padding-bottom: 84px; }
  .guide-map__deco { background-size: 100% 50px, 100% 50px, 24px, 28px, 32px, 110px, 100% 100%; }
}

/* ---------- เกี่ยวกับเรา + บริการ (หน้าแรก): แผ่นฟ้า/ขาวสลับฝั่ง + บล็อกเหลืองซ้อนกรอบ + ลายจุด ---------- */
#about, #services.wavy { overflow: hidden; }
#about > .container, #services.wavy > .container { position: relative; z-index: 1; }
#about::before, #services.wavy::before, #about::after, #services.wavy::after { content: ""; position: absolute; pointer-events: none; }
#about::before { left: 0; top: 60px; bottom: 60px; width: 46%; background: var(--soft-blue); border-radius: 0 40px 40px 0; }
#about::after, #services.wavy::after { width: 180px; height: 130px; background-image: radial-gradient(rgba(36, 70, 255, .22) 1.5px, transparent 1.7px); background-size: 16px 16px; }
#about::after { left: 3%; bottom: 28px; }
#about .framed { position: relative; }
#about .framed::before { content: ""; position: absolute; right: -18px; bottom: -18px; width: 60%; height: 60%; background: var(--yellow); border-radius: 24px; z-index: -1; }
#services.wavy::before { right: 0; top: 70px; height: 330px; width: 40%; background: #fff; opacity: .7; border-radius: 40px 0 0 40px; }
#services.wavy::after { right: 4%; top: 40px; }
#services.wavy .section-head h2::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: super; background: var(--yellow); border-radius: 4px; }
.about-route { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--soft-blue); color: var(--blue); font-size: .78rem; font-weight: 600; letter-spacing: .12em; }
.about-route svg { width: 16px; height: 16px; color: #d99a00; }
@media (max-width: 900px) {
  #about::before { top: 40px; bottom: auto; height: 46%; width: 88%; }
  #about::after { display: none; }
  #about .framed::before { right: -10px; bottom: -10px; }
  #services.wavy::before { display: none; }
}
@media (max-width: 600px) { .about-route { font-size: .7rem; letter-spacing: .06em; } }

/* ---------- เส้นคั่นโค้ง (คลื่น) ระหว่างส่วนของหน้าแรก ----------
   ใส่ .wavy ให้ส่วนพื้นฟ้าอ่อน: ขอบบน/ล่างเป็นคลื่นสีขาว รับกับส่วนพื้นขาวที่อยู่ติดกัน (.wavy--flip = คลื่นกลับด้าน ไม่ให้ซ้ำกันทุกส่วน) */
.wavy {
  padding-top: 150px; padding-bottom: 150px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v46C1180 100 980 8 720 44S240 100 0 34z' fill='%23ffffff'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V54C1180 0 980 92 720 56S240 0 0 66z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-position: top, bottom; background-size: 100% 100px; background-repeat: no-repeat;
}
.wavy--flip {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v34C1200 100 720 8 720 44S260 100 0 46z' fill='%23ffffff'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V66C1200 0 980 92 720 56S260 0 0 54z' fill='%23ffffff'/%3E%3C/svg%3E");
}
#services.wavy::before { top: 130px; }
#services.wavy::after { top: 110px; }
/* ส่วนสุดท้าย (เสียงจากลูกค้า) → footer: คลื่นสีเดียวกับ footer */
#reviews {
  padding-bottom: 170px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V54C1180 0 980 92 720 56S240 0 0 66z' fill='%231a2e8a'/%3E%3C/svg%3E") bottom / 100% 100px no-repeat,
    linear-gradient(180deg, #fff 0%, var(--soft-blue) 100%);
}
body:has(#reviews) .site-footer { margin-top: -1px; }
@media (max-width: 900px) {
  .wavy { padding-top: 110px; padding-bottom: 110px; }
  #reviews { padding-bottom: 120px; }
}
@media (max-width: 600px) {
  .wavy { padding-top: 80px; padding-bottom: 80px; background-size: 100% 50px; }
  #reviews { padding-bottom: 90px; background-size: 100% 50px, auto; }
}

/* ---------- แผงโค้งลอย: ส่วนพื้นฟ้ากลายเป็นการ์ดใหญ่ขอบโค้งลอยกลางหน้า (ใช้ในหน้าที่จอดรถ) ---------- */
.section--alt.panel-float { background: transparent; padding-top: 130px; padding-bottom: 130px; overflow: hidden; }
.panel-float > .container { position: relative; z-index: 1; }
.panel-float::before, .panel-float::after { content: ""; position: absolute; pointer-events: none; }
.panel-float::before {
  inset: 28px max(16px, calc((100% - 1320px) / 2)); border-radius: 48px; border: 1px solid #d7e0ff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(252, 209, 6, .20), transparent 60%), linear-gradient(160deg, #eef3ff, #e2eaff);
  box-shadow: 0 30px 60px -30px rgba(36, 70, 255, .25);
}
.panel-float::after {
  left: calc(max(16px, (100% - 1320px) / 2) + 30px); bottom: 60px; width: 150px; height: 110px;
  background-image: radial-gradient(rgba(36, 70, 255, .22) 1.5px, transparent 1.7px); background-size: 16px 16px;
}
.panel-float .ki-photo { position: relative; overflow: visible; }
.panel-float .ki-photo::before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 60%; height: 60%; background: var(--yellow); border-radius: 24px; z-index: -1; }
@media (max-width: 900px) {
  .section--alt.panel-float { padding-top: 100px; padding-bottom: 100px; }
  .panel-float::before { inset: 20px 12px; border-radius: 36px; }
  .panel-float::after { display: none; }
  .panel-float .ki-photo::before { right: -10px; bottom: -10px; }
}
@media (max-width: 600px) {
  .section--alt.panel-float { padding-top: 76px; padding-bottom: 76px; }
  .panel-float::before { inset: 14px 8px; border-radius: 28px; }
}

/* ---------- Footer ทุกหน้า: ขอบบนเป็นคลื่นโค้ง (คลื่นยื่นขึ้นไปทับขอบล่างของส่วนสุดท้าย) ---------- */
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V54C1180 0 980 92 720 56S240 0 0 66z' fill='%231a2e8a'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
/* เว้นที่ด้านล่างของส่วนสุดท้าย ไม่ให้คลื่นทับเนื้อหา */
main > section:last-of-type { padding-bottom: 170px; }
main > section.panel-float:last-of-type { padding-bottom: 220px; }
main > section.panel-float:last-of-type::before { bottom: 110px; }
/* หน้าแรก: คลื่นย้ายไปอยู่ที่ footer แล้ว + ย้ายแสงฟ้ามุมซ้ายขึ้น ไม่ให้ทับคลื่น */
#reviews { background: linear-gradient(180deg, #fff 0%, var(--soft-blue) 100%); }
#reviews::after { bottom: auto; top: 45%; }
@media (max-width: 900px) {
  .site-footer::before { height: 70px; }
  main > section:last-of-type { padding-bottom: 130px; }
  main > section.panel-float:last-of-type { padding-bottom: 170px; }
  main > section.panel-float:last-of-type::before { bottom: 80px; }
}
@media (max-width: 600px) {
  .site-footer::before { height: 46px; }
  main > section:last-of-type { padding-bottom: 100px; }
  main > section.panel-float:last-of-type { padding-bottom: 130px; }
  main > section.panel-float:last-of-type::before { bottom: 56px; }
}
@media (max-width: 600px) { #reviews { background-size: auto; } }
main > section.panel-float:last-of-type::after { bottom: 140px; }

/* ---------- ธีม Royal Navy & Gold (หน้าบริการ): น้ำเงินเข้ม + ทอง ---------- */
.theme-royal{--g:#c9a45c;--g2:#e6c98a;--nv:#0f1f5c}
.theme-royal h1 span{color:var(--g2)!important}
.theme-royal h2 span{color:var(--g)!important}
.theme-royal .underline{background:linear-gradient(90deg,var(--g),var(--g2))!important;height:2px!important}
.theme-royal .section{background:#fbfaf6!important}
.theme-royal .section--alt{background:linear-gradient(180deg,#0f1f5c,#132a78)!important}
.theme-royal .section--alt h2{color:#fff}
.theme-royal .section--alt .section-head p,.theme-royal .section--alt .step p{color:#cdd6f5!important}
.theme-royal .section--alt .step h3{color:#fff}
.theme-royal .page-hero .wave path{fill:#fbfaf6!important}
.theme-royal .svc-nav .chip{background:var(--nv);border-color:var(--nv);color:#fff}
.theme-royal .svc-nav .chip svg{color:var(--g2)}
.theme-royal .svc-nav .chip:hover{background:#fcd106;border-color:#fcd106;color:#14236e}
.theme-royal .svc-cat__head{border:0;background:linear-gradient(90deg,#0f1f5c,#1a3190);padding:16px 22px;border-radius:16px;box-shadow:0 16px 36px -18px rgba(15,31,92,.6)}
.theme-royal .svc-cat__head h2{color:#fff}
.theme-royal .svc-cat__head p{color:#cdd6f5}
.theme-royal .svc-cat__head .link-arrow{color:var(--g2)}
.theme-royal .svc-cat__icon{background:transparent;border:1.5px solid #fcd106;color:#fcd106;box-shadow:none}
.theme-royal .svc4{border:1px solid #eadfc6;box-shadow:0 20px 44px -24px rgba(15,31,92,.35)}
.theme-royal .svc4:hover{border-color:var(--g)}
.theme-royal .svc4__badge{background:linear-gradient(135deg,#e6c98a,#b8923f);color:var(--nv)}
.theme-royal .svc4__list svg,.theme-royal .svc4__meta>svg,.theme-royal .svc4__meta i{color:var(--g)!important}
.theme-royal .svc4__price strong{color:var(--nv)}
.theme-royal .svc4__foot .svc4__cta{border-color:var(--nv);color:var(--nv)}
.theme-royal .svc4__foot .svc4__cta:hover{background:var(--nv);color:var(--g2)}
.theme-royal .step::before{background:linear-gradient(135deg,#e6c98a,#b8923f)!important;color:var(--nv)!important}
.theme-royal .cta-band{background:linear-gradient(120deg,#0f1f5c,#1a3190)!important;border:1px solid rgba(201,164,92,.5)}
.theme-royal .cta-band .btn-primary{background:#fcd106;color:#14236e;border:0}
.theme-royal .section--alt .journey strong { color: #fff; }
.theme-royal .section--alt .journey::before { border-top-color: rgba(230, 201, 138, .45); }
.theme-royal .section--alt .journey__dot b { background: linear-gradient(135deg, #e6c98a, #b8923f); color: #0f1f5c; box-shadow: 0 0 0 4px #132a78; }
.theme-royal .section--alt .journey__dot { color: #0f1f5c; }

/* ---------- ธีม Royal Navy & Gold: ส่วนเพิ่มสำหรับหน้าติดต่อ (การ์ดช่องทาง / แถบข้อมูล / แผนที่) ---------- */
.theme-royal main > section { overflow: hidden; }
.theme-royal .channel-card { background: #fff; border: 1px solid #eadfc6; border-radius: 22px; box-shadow: 0 26px 50px -30px rgba(15, 31, 92, .45); overflow: hidden; }
.theme-royal .channel-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #b8923f, #e6c98a, #b8923f); }
.theme-royal .channel-card:hover { border-color: var(--g); box-shadow: 0 30px 60px -28px rgba(15, 31, 92, .55); }
.theme-royal .channel-card__icon { box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--g); }
.theme-royal .channel-card__tag { background: linear-gradient(135deg, #e6c98a, #b8923f); color: var(--nv); }
.theme-royal .channel-card img { border-color: #eadfc6; }
.theme-royal .contact-strip { background: linear-gradient(120deg, #0f1f5c, #1a3190); border: 1px solid rgba(201, 164, 92, .45); box-shadow: 0 26px 50px -26px rgba(15, 31, 92, .7); }
.theme-royal .contact-strip strong { color: #fff; }
.theme-royal .contact-strip a, .theme-royal .contact-strip li span { color: #cdd6f5; }
.theme-royal .contact-strip a:hover { color: var(--g2); }
.theme-royal .contact-strip .ic { color: var(--g2); }
.theme-royal .map-wrap { border: 1px solid var(--g); padding: 10px; background: rgba(255, 255, 255, .06); border-radius: 26px; }
.theme-royal .map-wrap iframe { border-radius: 18px; }
.theme-royal .map-cta .btn-primary { background: #fcd106; color: #14236e; border: 0; }
.theme-royal .section--alt .gallery button { border: 1px solid rgba(230, 201, 138, .5); }
.theme-royal .section--alt figcaption { color: #cdd6f5; }
/* ส่วนน้ำเงินที่อยู่ติด footer: ไล่ให้เข้มลงด้านล่าง ให้คลื่นของ footer (สีอ่อนกว่า) ยังเห็นชัด */
.theme-royal main > section.section--alt:last-of-type { background: linear-gradient(180deg, #132a78, #0a1540) !important; }

/* ---------- ธีมทอง (หน้าแรก + หน้าที่จอดรถ): น้ำเงินเข้ม + ทอง + ครีม ให้เข้าชุดกับ theme-royal ของหน้าบริการ/ติดต่อ ---------- */
.theme-gold{--blue:#0f1f5c;--blue-600:#0b1848;--navy-600:#1a3190;--accent:#b8923f;--yellow:#c9a45c;--soft-blue:#f3eee2;--line:#e7dcc6;--price:#b8923f;background:#fbfaf6}
.theme-gold .section{background-color:#fbfaf6}
.theme-gold .section--alt{background-color:var(--soft-blue)!important}
.theme-gold .hero .wave path, .theme-gold .page-hero .wave path{fill:#fbfaf6!important}
.theme-gold .underline{background:linear-gradient(90deg,#b8923f,#e6c98a)!important;height:3px}
.theme-gold .tab.is-active, .theme-gold .chip.is-active, .theme-gold .chip:hover, .theme-gold .quick-book .qb-tab.is-active{background:#fcd106;border-color:#fcd106;color:#14236e}
.theme-gold .place-card::after{background:linear-gradient(180deg,transparent 40%,rgba(10,20,64,.9) 100%)}
.theme-gold .place-card__tag, .theme-gold .svc4__badge{background:linear-gradient(135deg,#e6c98a,#b8923f)!important;color:#0f1f5c!important}
.theme-gold .place-card, .theme-gold .media-card, .theme-gold .review-card, .theme-gold .stat, .theme-gold .price-card, .theme-gold .ki-group, .theme-gold .faq details, .theme-gold .channel-card{border-color:#e7dcc6}
.theme-gold .quick-book{background:linear-gradient(135deg,#0f1f5c,#1a3190)!important;border-color:rgba(201,164,92,.45)!important}
.theme-gold .step::before{background:linear-gradient(135deg,#e6c98a,#b8923f)!important;color:#0f1f5c!important}
.theme-gold .cta-band{background:linear-gradient(120deg,#0f1f5c,#1a3190)!important;border:1px solid rgba(201,164,92,.5)}
.theme-gold .price-card.is-featured{background:linear-gradient(180deg,#fbf5e6,#fff)!important;border-color:#c9a45c!important}
.theme-gold .ki-group--accent{background:linear-gradient(135deg,#fbf5e6,#fff);border-color:#c9a45c}
/* ปุ่มกดหลักคงเหลืองสด ให้เห็นชัด กดง่าย */
.theme-gold .btn-primary, .theme-gold .fab-more{background:#fcd106;color:#14236e}

/* ===== หน้าแรก ===== */
.theme-gold .wavy{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v46C1180 100 980 8 720 44S240 100 0 34z' fill='%23fbfaf6'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V54C1180 0 980 92 720 56S240 0 0 66z' fill='%23fbfaf6'/%3E%3C/svg%3E")}
.theme-gold .wavy--flip{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v34C1200 100 720 8 720 44S260 100 0 46z' fill='%23fbfaf6'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V66C1200 0 980 92 720 56S260 0 0 54z' fill='%230f1f5c'/%3E%3C/svg%3E")}
.theme-gold #journey{background:linear-gradient(180deg,#0f1f5c,#132a78)!important;padding-top:110px;padding-bottom:110px}
.theme-gold #journey h2, .theme-gold #journey .step h3{color:#fff} .theme-gold #journey h2 span{color:#e6c98a} .theme-gold #journey .section-head p, .theme-gold #journey .step p{color:#cdd6f5}
.theme-gold #journey .steps .step::after{border-color:rgba(230,201,138,.45)}
.theme-gold .guide-map{background-color:var(--soft-blue);background-image:linear-gradient(rgba(184,146,63,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(184,146,63,.08) 1px,transparent 1px)}
.theme-gold .guide-map__deco{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v46C1180 100 980 8 720 44S240 100 0 34z' fill='%23132a78'/%3E%3C/svg%3E") top/100% 100px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100h1440V54C1180 0 980 92 720 56S240 0 0 66z' fill='%23fbfaf6'/%3E%3C/svg%3E") bottom/100% 100px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z' fill='%23c9a45c'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23fff'/%3E%3C/svg%3E") 6% 70%/34px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z' fill='%23c9a45c'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23fff'/%3E%3C/svg%3E") 94% 22%/40px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1f5c' stroke-opacity='.35' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E") 88% 34%/46px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8923f' stroke-opacity='.35' stroke-width='.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M16.2 7.8 13.4 13.4 7.8 16.2 10.6 10.6z' fill='%23b8923f' fill-opacity='.15'/%3E%3Cpath d='M12 1v3M12 20v3M1 12h3M20 12h3'/%3E%3C/svg%3E") 4% 16%/170px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 700' preserveAspectRatio='none'%3E%3Cpath d='M-20 560 C 220 420 330 640 560 520 S 900 260 1080 360 S 1330 180 1470 120' fill='none' stroke='%23b8923f' stroke-opacity='.45' stroke-width='3' stroke-dasharray='2 14' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.theme-gold #about::after, .theme-gold #services.wavy::after{background-image:radial-gradient(rgba(184,146,63,.35) 1.5px,transparent 1.7px)}
.theme-gold #about .framed::before{background:linear-gradient(135deg,#e6c98a,#b8923f)}
.theme-gold #services.wavy::before{background:#fbfaf6}
.theme-gold .about-route{background:#f3eee2;color:#0f1f5c}
.theme-gold .stat__icon{background:#f3eee2;color:#0f1f5c}
.theme-gold #reviews{background:linear-gradient(180deg,#fbfaf6 0%,#f3eee2 100%)}
.theme-gold #reviews::before{background:radial-gradient(circle,rgba(201,164,92,.28),transparent 70%)}
.theme-gold #reviews::after{background:radial-gradient(circle,rgba(15,31,92,.12),transparent 70%)}
.theme-gold #reviews .review-card::before{background:linear-gradient(90deg,#0f1f5c,#c9a45c)}
.theme-gold #reviews .review-card::after{color:#f3eee2}
.theme-gold #reviews .reviewer small{background:#f3eee2;color:#0f1f5c}
.theme-gold #reviews .review-card:hover{border-color:#c9a45c}
.theme-gold #reviews .slider__nav .icon-btn{color:#0f1f5c}
.theme-gold #reviews .slider__nav .icon-btn:hover{background:#0f1f5c;color:#e6c98a}

/* ===== หน้าที่จอดรถ ===== */
.theme-gold .panel-float::before{background:radial-gradient(60% 80% at 100% 0%,rgba(201,164,92,.22),transparent 60%),linear-gradient(160deg,#f6f0e2,#efe6d2);border-color:#e7dcc6;box-shadow:0 30px 60px -30px rgba(120,90,30,.28)}
.theme-gold .panel-float::after{background-image:radial-gradient(rgba(184,146,63,.35) 1.5px,transparent 1.7px)}
.theme-gold .panel-float .ki-photo::before{background:linear-gradient(135deg,#e6c98a,#b8923f)}
.theme-gold .ki-stats{background:linear-gradient(120deg,#0f1f5c,#1a3190)!important;border:1px solid rgba(201,164,92,.45)}
.theme-gold .ki-stat strong{color:#e6c98a}
.theme-gold.page-parking main>section:nth-of-type(4){background:linear-gradient(180deg,#0f1f5c,#132a78)!important}
.theme-gold.page-parking main>section:nth-of-type(4) h2{color:#fff}
.theme-gold.page-parking main>section:nth-of-type(4) h2 span{color:#e6c98a}
.theme-gold.page-parking main>section:nth-of-type(4) .section-head p{color:#cdd6f5}
@media (max-width: 600px) {
  .theme-gold .guide-map__deco { background-size: 100% 50px, 100% 50px, 24px, 28px, 32px, 110px, 100% 100%; }
}
.ki-stat--time strong { font-size: clamp(1.5rem, 2.5vw, 2.1rem); white-space: nowrap; padding-top: .2em; } /* เวลาเต็ม ๆ ยาวกว่าตัวเลขอื่น ย่อลงให้อยู่บรรทัดเดียว */
@media (max-width: 600px) { .ki-stat--time strong { font-size: 1.3rem; white-space: normal; } }
.theme-gold .help-card { background: linear-gradient(135deg, #0f1f5c, #1a3190); border: 1px solid rgba(201, 164, 92, .45); }
.theme-gold .book-card__price, .theme-gold .summary-box, .theme-gold .price-inline, .theme-gold .note-box, .theme-gold .modal__price { background: #fbf5e6; border-color: #e6c98a; }
.theme-gold .pc-card--featured { background: linear-gradient(160deg, #fbf5e6 0%, #fff 55%); border-color: #c9a45c; }
.theme-royal .btn-blue { background: #fff; color: #0f1f5c; border-color: #fff; }
.theme-royal .btn-blue:hover { background: #e6c98a; border-color: #e6c98a; color: #0f1f5c; }
.theme-royal .btn-outline { border-color: #0f1f5c; color: #0f1f5c; }
.theme-gold .flow--diagram li::before { background: linear-gradient(90deg, #c9a45c, #e6c98a); }
@media (max-width: 600px) { .theme-gold .flow--diagram li::before { background: #c9a45c; } }
.lang-toggle span { background: #fcd106; color: #14236e; } /* ปุ่มภาษาเหลืองสดทุกหน้า (ธีมทองเปลี่ยน --yellow เป็นทอง จึงระบุสีตรง ๆ) */

/* ---------- Hero หน้าแรก: วิดีโอพื้นหลัง (รูปปกอยู่ใต้วิดีโอ ใช้ตอนวิดีโอยังโหลดไม่เสร็จ/ผู้ใช้ปิดแอนิเมชัน) ---------- */
.hero--video .hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video .hero__bg img { animation: none; transform: none; }
.hero--video::before {
  background:
    linear-gradient(90deg, rgba(8, 12, 30, .80) 0%, rgba(8, 12, 30, .55) 38%, rgba(8, 12, 30, .12) 70%, rgba(8, 12, 30, 0) 100%),
    linear-gradient(0deg, rgba(8, 12, 30, .45) 0%, rgba(8, 12, 30, 0) 35%),
    linear-gradient(180deg, rgba(8, 12, 30, .5) 0%, rgba(8, 12, 30, 0) 22%) !important;
}
.hero--video .hero__grid { grid-template-columns: 1fr; }
.hero--video .hero__grid > div:first-child { max-width: 680px; }
.hero--video h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero--video h1 span { background: linear-gradient(180deg, #fbe39a, #e9b949); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #f7d774; }
.hero--video .eyebrow { background: rgba(10, 15, 36, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(247, 215, 116, .55); color: #f7d774; }
.hero--video .hero__lead { color: #f1f3f8; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero--video .btn-outline { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero--video .btn-outline:hover { background: rgba(255, 255, 255, .22); color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero--video .hero__bg video { display: none; } }
/* เกี่ยวกับเรา: กลับมาใช้รูป — ยืดรูปให้สูงเท่าคอลัมน์ข้อความเหมือนตอนเป็นวิดีโอ */
@media (min-width: 901px) {
  .about-grid > .framed img { height: 100%; aspect-ratio: auto; min-height: 360px; }
}

/* ---------- กล่องจองด่วนหน้าแรก: กระจกขาวฝ้าทับวิดีโอ hero (ตัวหนังสือน้ำเงินเข้ม อ่านได้ทั้งบนวิดีโอและบนพื้นครีม) ---------- */
.hero--video + section .quick-book {
  background: rgba(255, 255, 255, .72) !important; border: 1px solid rgba(255, 255, 255, .8) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 30px 70px -18px rgba(15, 31, 92, .4), inset 0 1px 0 #fff !important;
}
.hero--video + section .quick-book::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #c9a45c, transparent); }
.hero--video + section .quick-book .qb-tab:not(.is-active) { background: rgba(255, 255, 255, .7); border-color: #e7dcc6; color: #0f1f5c; }
.hero--video + section .quick-book .field label { color: #0f1f5c; }
.hero--video + section .quick-book .field input, .hero--video + section .quick-book .field select { background: #fff; border: 1px solid #e7dcc6; }
.hero--video + section .quick-book .qb-result { background: rgba(251, 245, 230, .85); border-color: #e6c98a; color: #0f1f5c; }
.hero--video + section .quick-book .qb-result strong, .hero--video + section .quick-book .qb-result svg { color: #b8923f; }
.hero--video + section .quick-book .qb-note { color: #3a4560; }
@media (min-width: 901px) {
  .hero--video { padding-bottom: 240px; }
  .hero--video + section .quick-book { margin-top: -180px; }
}
@media (min-width: 901px) {
  .about-grid:has(> .framed video) { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .about-grid > .framed:has(video) { align-self: center; }
  .about-grid > .framed video { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
}
/* เกี่ยวกับเรา (ไม่มีกล่องราคาแล้ว): วิดีโอสูงเท่าคอลัมน์ข้อความพอดี กรอบเป็นแนวนอนกว้าง รับวิดีโอ 16:9 ได้เกือบเต็ม */
@media (min-width: 901px) {
  .about-grid:has(> .framed video) { align-items: stretch; }
  .about-grid > .framed:has(video) { align-self: stretch; }
  .about-grid > .framed video { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .about-grid:has(> .framed video) > div:not(.framed) { align-self: center; padding: 6px 0; }
}
.theme-gold .about-route, .about-route { background: #fcd106; color: #14236e; }
.about-route svg { color: #14236e; }
/* เลขขั้นตอนทุกหน้า: เหลืองสด ตัวเลขน้ำเงินเข้ม เส้นเชื่อมเหลือง (ผู้ใช้เลือกเหลืองทั้งแถว) */
.theme-gold .step::before, .theme-royal .step::before { background: #fcd106 !important; color: #14236e !important; box-shadow: 0 0 0 8px rgba(252, 209, 6, .22) !important; }
.theme-gold .step:not(:last-child)::after, .theme-royal .step:not(:last-child)::after { border-top-color: rgba(252, 209, 6, .8) !important; }
.theme-gold .flow--diagram b, .theme-gold .flow__step b { background: #fcd106; color: #14236e; }
.theme-gold .flow--diagram li::before { background: linear-gradient(90deg, rgba(252, 209, 6, .45), rgba(252, 209, 6, .9)); }
@media (max-width: 600px) { .theme-gold .flow--diagram li::before { background: rgba(252, 209, 6, .8); } }
.theme-royal .section--alt .journey__dot b { background: #fcd106; color: #14236e; }
.theme-gold .ki-stat strong { color: #fcd106; }
.theme-gold .ki-group--accent .ki-group__icon { background: #fcd106; color: #14236e; }
.theme-gold .ki-group__icon { background: #fcd106; color: #14236e; }
/* โลโก้ + ชื่อแบรนด์: ห้ามเอียง และใช้สีเดิมของแบรนด์ทุกหน้า (ไม่ให้ธีมทองเปลี่ยน) */
.brand img { box-shadow: 0 0 0 3px #fcd106, 0 8px 24px rgba(36, 71, 255, .55); }
.brand:hover img, .footer-about .brand:hover img { transform: scale(1.04); box-shadow: 0 0 0 3px #fcd106, 0 10px 30px rgba(36, 71, 255, .75); }
.brand-text strong em { color: #fcd106; }
.site-header.is-scrolled .brand-text strong em, .site-header.is-solid .brand-text strong em { color: #2446ff; }
/* Hero หน้าแรก (วิดีโอพระธาตุหลวง): จอกว้างเลื่อนองค์พระธาตุไปฝั่งขวา ให้ตัวหนังสืออยู่บนฟ้าฝั่งซ้าย (ตรึงขอบบนไว้ ยอดพระธาตุไม่หาย) */
@media (min-width: 901px) {
  .hero--video .hero__bg img, .hero--video .hero__bg video { object-position: 50% 20%; transform-origin: 72% 0%; transform: translateX(19%) scale(1.26); }
}
.hero--video::before {
  background:
    linear-gradient(90deg, rgba(8, 12, 30, .82) 0%, rgba(8, 12, 30, .58) 32%, rgba(8, 12, 30, .14) 58%, rgba(8, 12, 30, 0) 100%),
    linear-gradient(0deg, rgba(8, 12, 30, .35) 0%, rgba(8, 12, 30, 0) 30%),
    linear-gradient(180deg, rgba(8, 12, 30, .45) 0%, rgba(8, 12, 30, 0) 20%) !important;
}

/* ---------- Hero หน้าแรก บนมือถือ: เห็นยอดพระธาตุด้านบน ข้อความอยู่ล่างบนพื้นเข้ม + ปุ่มแถวเดียว + แท็บกล่องจองแถวเดียว ---------- */
@media (max-width: 600px) {
  .hero--video { min-height: 0; align-items: flex-end; padding: calc(var(--header-h) + 190px) 0 150px; }
  .hero--video .hero__bg img, .hero--video .hero__bg video { object-position: 50% 0%; }
  .hero--video::before {
    background: linear-gradient(180deg, rgba(8, 12, 30, .45) 0%, rgba(8, 12, 30, 0) 16%, rgba(8, 12, 30, .1) 30%, rgba(8, 12, 30, .78) 52%, rgba(8, 12, 30, .92) 100%) !important;
  }
  .hero--video .eyebrow { font-size: .74rem; padding: 5px 12px; margin-bottom: 12px; }
  .hero--video h1 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); line-height: 1.15; }
  .hero--video .hero__lead { font-size: .95rem; margin: 12px 0 20px; }
  .hero--video .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero--video .hero__cta .btn { justify-content: center; padding: .75em .6em; font-size: .86rem; white-space: nowrap; gap: 6px; }
  .hero--video .hero__cta .btn svg { width: 16px; height: 16px; }
  .hero--video .hero__cta .btn svg:last-child:not(:first-child) { display: none; }
  .hero--video + section .quick-book__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .hero--video + section .quick-book__tabs::-webkit-scrollbar { display: none; }
  .hero--video + section .qb-tab { flex-shrink: 0; padding: 7px 12px; font-size: .86rem; gap: 6px; }
  .hero--video + section .qb-tab svg { width: 16px; height: 16px; }
}
@media (max-width: 380px) { .hero--video + section .qb-tab { padding: 6px 9px; font-size: .8rem; gap: 4px; } .hero--video + section .qb-tab svg { width: 14px; height: 14px; } .hero--video .hero__cta .btn { font-size: .8rem; } }
/* มือถือ: ขั้นตอน "พอมาถึงก็ไม่ต้องคิดเยอะ" เป็นแถวแนวนอนกะทัดรัด (วงกลมเล็ก + ชื่อใต้วง) แทนรายการแนวตั้ง */
@media (max-width: 600px) {
  .flow--diagram { grid-template-columns: repeat(5, 1fr); gap: 0; margin: 18px -4px 22px; }
  .flow--diagram li { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 2px; }
  .flow--diagram li::before { top: 15px; bottom: auto; right: 50%; left: auto; width: 100%; height: 2px; }
  .theme-gold .flow--diagram li::before { background: linear-gradient(90deg, rgba(252, 209, 6, .45), rgba(252, 209, 6, .9)); }
  .flow--diagram b { width: 30px; height: 30px; font-size: .78rem; box-shadow: 0 0 0 4px var(--surface), 0 3px 10px rgba(252, 210, 0, .4); }
  .flow--diagram span { font-size: .74rem; line-height: 1.35; }
}
@media (max-width: 600px) { .flow--diagram { align-items: start; } }
/* มือถือ: แท็บกรองหมวด (บริการ / คู่มือ) เป็นปุ่มแยกชิ้นเรียงหลายแถว เห็นครบทุกหมวด ไม่ต้องเลื่อนข้าง */
@media (max-width: 600px) {
  .tabs { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin-bottom: 26px; background: transparent !important; border: 0 !important; border-radius: 0; overflow: visible; }
  .tab { flex: 0 0 auto; padding: 8px 16px; font-size: .88rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px -6px rgba(15, 31, 92, .25); }
  .tab.is-active { border-color: #fcd106; }
}
/* มือถือ: การ์ดบริการ (รูป + ชื่อ) 2 คอลัมน์ การ์ดเล็กลง หน้าไม่ยาวเกิน */
@media (max-width: 600px) {
  .card-grid:has(> .place-card) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-grid > .place-card { aspect-ratio: 4 / 4.6; border-radius: 16px; }
  .card-grid > .place-card .place-card__tag { top: 10px; left: 10px; padding: 3px 9px; font-size: .68rem; }
  .card-grid > .place-card .place-card__body { left: 10px; right: 10px; bottom: 10px; gap: 5px; }
  .card-grid > .place-card .place-card__body .pin, .card-grid > .place-card .place-card__body .arrow { display: none; }
  .card-grid > .place-card .place-card__title { font-size: .9rem; line-height: 1.25; }
  .card-grid > .place-card .place-card__title small { font-size: .7rem; line-height: 1.35; margin-top: 2px; }
}
@media (max-width: 600px) { .theme-gold .guide-map__deco, .guide-map__deco { background-size: 100% 50px, 100% 50px, 24px, 28px, 0 0, 0 0, 100% 100%; } }
/* มือถือ: วิดีโอ TikTok เป็นแถวปัดซ้าย-ขวา (เห็นคลิปถัดไปโผล่ขอบ) แทนเรียงลงยาว ๆ */
@media (max-width: 600px) {
  .video-grid { display: flex; grid-template-columns: none; justify-content: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 20px -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid .video-card { flex: 0 0 72%; max-width: 300px; scroll-snap-align: center; }
}

/* ---------- มือถือ: การ์ดบริการ (svc4) กระชับ + กลุ่มปุ่มเป็นตาราง 2 คอลัมน์ ---------- */
@media (max-width: 600px) {
  .svc4-grid { gap: 14px; }
  .svc4 { border-radius: 18px; }
  .svc4__img { aspect-ratio: 16 / 8.5; }
  .svc4__body { padding: 16px 16px 16px; }
  .svc4__body h3 { min-height: 0; margin-bottom: 8px; font-size: 1.05rem; }
  .svc4__body > .svc4__list, .svc4__body > .svc4__note { display: none; }
  .svc4__desc { font-size: .9rem; margin-bottom: 4px; }
  .svc4__meta { margin: 0 0 4px; font-size: .8rem; }
  .svc4__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: 10px; }
  .svc4__foot .svc4__cta { flex: 0 0 auto; padding: 9px 16px; font-size: .86rem; }
  .svc4__price { min-height: 0; }

  .center-actions, .cta-band .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; justify-items: stretch; }
  .center-actions .btn, .cta-band .hero__cta .btn { width: 100%; justify-content: center; padding: .8em .6em; font-size: .86rem; white-space: nowrap; gap: 6px; margin: 0; }
  .center-actions .btn svg, .cta-band .hero__cta .btn svg { width: 16px; height: 16px; }
  .center-actions > :last-child:nth-child(odd), .cta-band .hero__cta > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  /* มือถือ: ตัดคำโปรยให้ hero โล่งขึ้น */
  .page-hero .container > p { display: none; }
  .page-hero .hero-badges { flex-wrap: nowrap; gap: 5px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
  .page-hero .hero-badges::-webkit-scrollbar { display: none; }
  .page-hero .hero-badges span { flex-shrink: 0; white-space: nowrap; padding: 4px 8px; font-size: .7rem; gap: 4px; }
  .page-hero .hero-badges svg { width: 12px; height: 12px; }
  /* มือถือ: ซ่อนเมนูหมวดบริการ */
  .svc-nav { display: none; }
  /* มือถือ: หัวหมวดบริการกะทัดรัด ไอคอน+หัวข้ออยู่แถวเดียว */
  .svc-cat .svc-cat__head { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 14px; margin-bottom: 16px; border-radius: 14px; }
  .svc-cat .svc-cat__icon { width: 38px; height: 38px; border-radius: 11px; }
  .svc-cat .svc-cat__icon svg { width: 20px; height: 20px; }
  .svc-cat .svc-cat__head h2 { font-size: 1.12rem; line-height: 1.3; }
  .svc-cat .svc-cat__head p { font-size: .8rem; line-height: 1.4; }
  .svc-cat .svc-cat__head .link-arrow { grid-column: 2; margin-left: 0; font-size: .82rem; }
  .svc-cat + .svc-cat { margin-top: 40px; }
}
@media (max-width: 600px) {
  .channel-grid { gap: 14px; }
  .channel-card { padding: 22px 18px; }
  .channel-card img { display: none; } /* QR สำหรับสแกนจากคอม — บนมือถือกดปุ่มเพิ่มเพื่อนได้เลย */
  .channel-card__hint:has(+ .channel-card__go) { display: none; }
  .ch-phone .channel-card__hint { display: block; }
  .gallery:has(figure) { grid-template-columns: 1fr 1fr; }
  .gallery figcaption { font-size: .78rem; }
}
@media (max-width: 600px) {
  .highlight-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .highlight { flex-direction: column; gap: 8px; padding: 14px 12px; }
  .highlight svg { width: 22px; height: 22px; }
  .highlight strong { font-size: .92rem; line-height: 1.3; }
  .highlight span { font-size: .8rem; line-height: 1.4; }
}
/* มือถือ: การ์ดคู่มือ 3 ใบท้ายหน้ารายละเอียด เป็นแถวปัดซ้าย-ขวา แทนเรียงลงยาว */
@media (max-width: 600px) {
  .card-grid--3:has(> .media-card) { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 16px; scrollbar-width: none; }
  .card-grid--3:has(> .media-card)::-webkit-scrollbar { display: none; }
  .card-grid--3 > .media-card { flex: 0 0 80%; scroll-snap-align: center; }
}
/* มือถือ: ขั้นตอน (.steps) เป็นไทม์ไลน์แนวตั้ง วงกลมเล็กซ้าย ข้อความขวา แทนตาราง 2 คอลัมน์ที่เหลือข้อโดด */
@media (max-width: 600px) {
  .steps, .steps--5, .steps--6, .steps--3 { display: flex; flex-direction: column; gap: 0; max-width: 420px; margin: 0 auto; }
  .steps .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .steps .step::before { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; font-size: 1.05rem; box-shadow: 0 0 0 5px rgba(252, 209, 6, .22) !important; }
  .steps .step:not(:last-child)::after { display: block !important; content: ""; position: absolute; left: 22px; right: auto; top: 50px; bottom: 4px; width: 0; border-top: 0 !important; border-left: 2px dashed rgba(252, 209, 6, .7); }
  .steps .step h3 { margin: 2px 0 2px; font-size: 1rem; align-self: end; }
  .steps .step p { margin: 0; font-size: .86rem; }
}
/* มือถือ: สไลด์ (คู่มือ / รีวิว) การ์ดอยู่กึ่งกลางจอ เห็นการ์ดข้างเคียงโผล่ขอบเล็กน้อย */
@media (max-width: 600px) {
  .slider__track, #reviews .slider__track { gap: 12px; padding-left: 8%; padding-right: 8%; scroll-padding: 0 8%; margin-left: 0; margin-right: 0; }
  .slider__track > *, #reviews .slider__track > * { flex: 0 0 100%; scroll-snap-align: center; }
}
/* Lightbox: ปุ่มก่อนหน้า/ถัดไป + ตัวนับ + คำบรรยาย */
.lightbox { grid-template-columns: auto 1fr auto; gap: 12px; padding: 64px 18px 56px; }
.lightbox__stage { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox__stage img { max-height: 78vh; max-height: 78dvh; max-width: 100%; border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__cap { color: #e8ecf8; font-size: .95rem; text-align: center; max-width: 720px; }
.lightbox__cap:empty { display: none; }
.lightbox__close { z-index: 2; }
.lightbox__nav { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox__nav:hover { background: #fcd106; border-color: #fcd106; color: #14236e; }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .85rem; font-weight: 500; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { visibility: hidden; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; padding: 70px 10px 90px; }
  .lightbox__nav { position: absolute; bottom: 22px; width: 50px; height: 50px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__stage img { max-height: 70vh; max-height: 70dvh; }
  .lightbox__cap { font-size: .86rem; padding: 0 8px; }
}
/* มือถือ: แกลเลอรีเป็นสไลด์รูปใหญ่ทีละรูป (JS เลื่อนอัตโนมัติทุก 5 วินาที) */
.gallery-dots { display: none; }
@media (max-width: 600px) {
  .gallery[data-gallery] { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; box-shadow: 0 18px 40px -20px rgba(15, 31, 92, .45); }
  .gallery[data-gallery]::-webkit-scrollbar { display: none; }
  .gallery[data-gallery] > * { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; margin: 0; }
  .gallery[data-gallery] > button, .gallery[data-gallery] > figure > button { aspect-ratio: 4 / 3; border-radius: 0; width: 100%; }
  .gallery[data-gallery] figure { display: flex; flex-direction: column; background: #fff; }
  .gallery[data-gallery] figcaption { padding: 10px 14px 12px; }
  .gallery[data-gallery] img { object-position: center; }
  .gallery-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
  .gallery-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(15, 31, 92, .22); transition: width .3s, background .3s; }
  .gallery-dots span.is-on { width: 22px; background: #fcd106; }
  .section--alt .gallery-dots span:not(.is-on), .theme-royal .section--alt .gallery-dots span:not(.is-on) { background: rgba(15, 31, 92, .25); }
}

/* ---------- ขั้นตอน (.steps) มือถือ แบบ B: การ์ดขาวต่อกัน + ไอคอนน้ำเงินเข้ม + เลขมุม (จอคอมซ่อนไอคอน ใช้แบบเดิม) ---------- */
.step__ic { display: none; }
@media (max-width: 600px) {
  .steps, .steps--5, .steps--6, .steps--3 { gap: 10px; }
  .steps .step {
    display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center;
    padding: 14px 14px 14px 12px; background: #fff; border: 1px solid #e7dcc6; border-radius: 18px;
    box-shadow: 0 10px 24px -14px rgba(15, 31, 92, .35); text-align: left;
  }
  .step__ic { display: grid; place-items: center; grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 12px; background: #0f1f5c; color: #fcd106; }
  .step__ic svg { width: 22px; height: 22px; }
  .steps .step::before {
    position: absolute; left: 42px; top: 6px; width: 20px !important; height: 20px !important; margin: 0 !important;
    font-size: .7rem !important; box-shadow: 0 0 0 2px #fff !important; z-index: 1;
  }
  .steps .step:not(:last-child)::after {
    display: block !important; content: ""; position: absolute; left: 32px; right: auto; top: 100%; bottom: auto;
    width: 2px; height: 10px; border: 0 !important; background: linear-gradient(#fcd106, #b8923f);
  }
  .steps .step h3 { margin: 0; font-size: .98rem; align-self: end; color: #1f2a44 !important; }
  .steps .step p { margin: 2px 0 0; font-size: .84rem; align-self: start; color: #5d6885 !important; }
}
/* มือถือ: วิดีโอ TikTok ใบแรกอยู่กึ่งกลางจอ ปัดแล้วหยุดกลางทุกใบ */
@media (max-width: 600px) {
  .video-grid { padding: 4px 0 14px; scroll-padding: 0; }
  .video-grid .video-card { flex: 0 0 72%; max-width: none; scroll-snap-align: center; }
  .video-grid .video-card:first-child { margin-left: 14%; }
  .video-grid .video-card:last-child { margin-right: 14%; }
}

/* หน้ารายละเอียดบริการ: ไอคอน / เช็กลิสต์ / ขั้นตอน ใช้เหลืองแบรนด์แทนทอง (ผู้ใช้เลือก) — ไอคอนเส้นบนพื้นขาวใช้เหลืองเข้มขึ้นนิดให้มองเห็นชัด */
.theme-gold .highlight svg, .theme-gold .check-list:not(.cross-list) svg { color: #f2b600; }
.theme-gold .timeline::before { border-left-color: #fcd106; }
.theme-gold .timeline li::before { border-color: #fcd106; }
.theme-gold .timeline time { background: #fcd106; color: #14236e; }
