/* =============================================================
   Wisdom Education & Travel — Design System
   โทน: ชมพู-ฟ้า จากโลโก้ WE / สดใสแต่น่าเชื่อถือ / ธีมสว่างล็อกทั้งเว็บ
   ============================================================= */
:root {
  --pink: #e02288;
  --pink-deep: #c01a73;
  --pink-soft: #fdeef6;
  --blue: #2aa5d6;
  --blue-deep: #1f86b0;
  --blue-soft: #e9f6fb;
  --ink: #29323d;
  --ink-soft: #5b6673;
  --paper: #fffdfd;
  --cream: #fff7fa;
  --line: #f0dce8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 2px 4px rgba(224, 34, 136, 0.05), 0 8px 24px rgba(41, 50, 61, 0.07);
  --shadow-lift: 0 4px 8px rgba(224, 34, 136, 0.08), 0 16px 40px rgba(41, 50, 61, 0.12);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: "Mitr", "Anuphan", sans-serif;
  --font-body: "Anuphan", sans-serif;
  --font-script: "Caveat", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.35; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--blue-deep); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 560px; }
.center { text-align: center; margin-top: 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  padding: 13px 30px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--pink); color: #fff;
  box-shadow: 0 6px 18px rgba(224, 34, 136, 0.32);
}
.btn-primary:hover { background: var(--pink-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(224, 34, 136, 0.38); }
.btn-ghost {
  background: transparent; color: var(--blue-deep); border-color: var(--blue);
}
.btn-ghost:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--pink-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }
.btn-block { width: 100%; }
.btn-small { font-size: 0.9rem; padding: 8px 18px; }
.btn-nav { font-size: 0.95rem; padding: 9px 22px; }

.text-link {
  font-family: var(--font-display); font-weight: 500; color: var(--pink-deep);
  text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px;
  transition: color 0.18s, border-color 0.18s;
}
.text-link:hover { color: var(--blue-deep); border-color: var(--blue); }

/* ---------- แถบบนสุด: เลขใบอนุญาตนำเที่ยว ---------- */
.topbar {
  background: linear-gradient(100deg, var(--pink) 0%, var(--pink-deep) 48%, var(--blue-deep) 130%);
  color: #fff;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 38px; padding-top: 7px; padding-bottom: 7px;
  text-align: center;
}
.topbar-inner p {
  font-size: 0.86rem; letter-spacing: 0.01em; line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.topbar-inner strong {
  font-family: var(--font-display); font-weight: 500; color: #fff;
  letter-spacing: 0.04em; margin-left: 2px;
}
.tb-seal { width: 20px; height: 20px; flex: none; color: #fff; opacity: 0.95; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 253, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { display: block; height: 34px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.brand-text small { color: var(--ink-soft); font-size: 0.75rem; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 400; font-size: 0.98rem;
  color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:not(.btn):hover { background: var(--blue-soft); color: var(--blue-deep); }
.main-nav a.active { background: var(--pink-soft); color: var(--pink-deep); }
.main-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, var(--blue-soft) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 10% 90%, var(--pink-soft) 0%, transparent 70%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 80px; min-height: min(78vh, 720px);
}
.hero-script {
  font-family: var(--font-script); font-size: 1.6rem; color: var(--blue-deep);
  transform: rotate(-2deg); display: inline-block; margin-bottom: 4px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.5px;
  margin-bottom: 18px; isolation: isolate;
}
.hl-pink, .hl-blue { position: relative; white-space: nowrap; }
.hl-pink::after, .hl-blue::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6%; height: 32%;
  z-index: -1; border-radius: 6px; transform: rotate(-1deg);
}
.hl-pink::after { background: var(--pink-soft); box-shadow: 0 0 0 2px var(--pink-soft); }
.hl-blue::after { background: var(--blue-soft); box-shadow: 0 0 0 2px var(--blue-soft); }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 30rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* คอลลาจโพลารอยด์ + เส้นทางบิน */
.hero-visual { position: relative; min-width: 0; }
.flight-path {
  position: absolute; inset: -20px 0 0 0; width: 100%; height: 100%;
  color: var(--blue); opacity: 0.55; z-index: 3; pointer-events: none;
}
/* วงโคจร 3 มิติ: ครึ่งล่าง (หน้ารูป) เครื่องใหญ่ / ครึ่งบน (หลังรูป) เครื่องเล็กและจาง
   เส้นทางเริ่มที่ซ้ายกลาง -> วิ่งตามขอบล่าง (0-50%) -> อ้อมขอบบนกลับ (50-100%) */
.fp-back { z-index: 0; }
.fp-front { z-index: 3; }
.flight-path .plane {
  offset-path: path("M25 150 C 25 235, 100 260, 200 260 C 300 260, 375 235, 375 150 C 375 65, 300 40, 200 40 C 100 40, 25 65, 25 150 Z");
  offset-rotate: auto 90deg; /* ไอคอนเครื่องบินชี้ขึ้น หมุนให้หัวชี้ตามทิศทางเส้นบิน */
  offset-distance: 25%;
}
/* ซ่อนเครื่องหลังไว้ก่อน (สำหรับ reduced motion เห็นเฉพาะเครื่องหน้า) */
.plane-back path { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .plane-front, .plane-back { animation: fly 15s linear infinite; }
  .plane-front path { animation: vis-front 15s linear infinite; }
  .plane-back path { animation: vis-back 15s linear infinite; }
}
/* g วิ่งตามเส้นทางอย่างเดียว / path ลูกคุมการโชว์หน้า-หลัง (ครึ่งแรก = หน้ารูป, ครึ่งหลัง = หลังรูป) */
@keyframes fly {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@keyframes vis-front {
  0% { opacity: 1; }
  49.5% { opacity: 1; }
  50% { opacity: 0; }
  99.5% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes vis-back {
  0% { opacity: 0; }
  49.5% { opacity: 0; }
  50% { opacity: 0.8; }
  99.5% { opacity: 0.8; }
  100% { opacity: 0; }
}
.polaroid {
  position: absolute; background: #fff; padding: 10px 10px 12px;
  border-radius: 6px; box-shadow: var(--shadow-lift);
  transition: transform 0.35s var(--ease);
}
.polaroid img { border-radius: 3px; width: 100%; height: auto; }
.polaroid figcaption {
  font-family: var(--font-script); font-size: 1.15rem; color: var(--ink-soft);
  text-align: center; padding-top: 6px;
}
.polaroid::before {
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 76px; height: 24px; background: rgba(42, 165, 214, 0.28); border-radius: 2px;
}
.p1 { width: 51%; left: 2%; top: 6%; transform: rotate(-5deg); z-index: 2; }
.p2 { width: 42%; right: 3%; top: 0; transform: rotate(4deg); z-index: 1; }
.p2::before { background: rgba(224, 34, 136, 0.22); }
.p3 { width: 44%; right: 12%; bottom: 0; transform: rotate(-2deg); z-index: 2; }
.polaroid:hover { transform: rotate(0deg) scale(1.04); z-index: 5; }
.sticker-stamp {
  position: absolute; left: 2%; bottom: 0; z-index: 4;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.25;
  color: var(--pink-deep); text-align: center;
  border: 3px double var(--pink); border-radius: 50%;
  width: 92px; height: 92px; display: grid; place-items: center;
  transform: rotate(-12deg); background: rgba(255, 255, 255, 0.85);
}

/* ---------- Promo Board (สไลด์ 15 วิ) ---------- */
.promo-section { padding: 8px 0 0; }
.promo-board {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 22px 26px 26px; box-shadow: var(--shadow-lift);
  position: relative; overflow: hidden;
}
.promo-board::after {
  content: ""; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(42, 165, 214, 0.25), transparent 70%);
  pointer-events: none;
}
.promo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.promo-head h2 { font-size: 1.15rem; font-weight: 500; letter-spacing: 0.5px; }
.promo-light {
  width: 10px; height: 10px; border-radius: 50%; background: var(--pink);
  box-shadow: 0 0 0 4px rgba(224, 34, 136, 0.25);
}
@media (prefers-reduced-motion: no-preference) {
  .promo-light { animation: blink 2.4s ease-in-out infinite; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.promo-dots { margin-left: auto; display: flex; gap: 8px; position: relative; z-index: 2; }
.promo-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.3); padding: 0; transition: background 0.2s, transform 0.2s;
}
.promo-dots button.active { background: var(--pink); transform: scale(1.3); }
.promo-viewport { position: relative; min-height: 120px; }
.promo-loading { color: rgba(255, 255, 255, 0.6); }
.promo-slide {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  animation: slideIn 0.5s var(--ease) both;
}
.promo-slide.no-img { grid-template-columns: 1fr; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.promo-slide img {
  width: 130px; height: 130px; object-fit: cover; border-radius: var(--radius-sm);
  outline: 1px solid rgba(255, 255, 255, 0.15); outline-offset: -1px;
}
.promo-tag {
  display: inline-block; font-size: 0.8rem; font-family: var(--font-display);
  background: rgba(42, 165, 214, 0.25); color: #9fdcf5;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 8px;
}
.promo-slide h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin-bottom: 6px; }
.promo-slide p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; max-width: 56ch; }
.promo-slide .text-link { color: #ff9ed2; border-color: #ff9ed2; margin-top: 8px; display: inline-block; }

/* ---------- Sections ทั่วไป ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 600; margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow {
  font-family: var(--font-script); font-size: 1.45rem; color: var(--pink-deep);
  display: inline-block; transform: rotate(-1.5deg); margin-bottom: 2px;
}

/* ---------- ตั๋วบริการ ---------- */
.services-section { background: var(--cream); }
.ticket-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ticket {
  display: grid; grid-template-columns: 1fr auto; text-decoration: none; color: var(--ink);
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ticket:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }
.ticket-main { padding: 26px 26px 24px; }
.ticket-route {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 2px; color: var(--blue-deep);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.ticket-route .arrow { width: 26px; height: 9px; color: var(--pink); }
.ticket h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 8px; }
.ticket p { color: var(--ink-soft); font-size: 0.95rem; }
.ticket-stub {
  position: relative; width: 96px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--blue-soft); border-left: 2px dashed var(--blue);
}
.ticket:nth-child(even) .ticket-stub { background: var(--pink-soft); border-left-color: var(--pink); }
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -11px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--cream);
}
.ticket-stub::before { top: -10px; }
.ticket-stub::after { bottom: -10px; }
.stub-label {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 2px; color: var(--blue-deep); writing-mode: vertical-rl;
}
.ticket:nth-child(even) .stub-label { color: var(--pink-deep); }
.stub-go { font-size: 0.72rem; color: var(--ink-soft); text-align: center; padding: 0 6px; }

/* ---------- แสตมป์ประเทศ: หน้าพาสปอร์ต ---------- */
.passport {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, rgba(42, 165, 214, 0.035) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(22px, 3.4vw, 38px) clamp(18px, 3.4vw, 38px) clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}
.passport::before,
.passport::after {
  content: ""; position: absolute; width: 60px; height: 60px; pointer-events: none;
  border: 2px dashed rgba(224, 34, 136, 0.22);
}
.passport::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; }
.passport::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 16px 0; }

.passport-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.pp-tag {
  font-family: var(--font-display); font-weight: 500; font-size: 0.74rem;
  letter-spacing: 0.22em; color: var(--blue-deep); white-space: nowrap;
}
.pp-tag.alt { color: var(--ink-soft); opacity: 0.7; letter-spacing: 0.16em; }
.pp-rule { flex: 1; border-top: 2px dotted var(--line); }

.stamp-grid {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 26px 20px; padding: 6px 0 14px;
}
.stamp-grid > li { flex: 0 0 182px; }

/* หนึ่งดวง = แสตมป์ประทับ */
.pstamp {
  position: relative; text-align: center;
  padding: 18px 12px 15px; border-radius: 14px;
  border: 2px dashed currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 6px 16px rgba(41, 50, 61, 0.07);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.pstamp::after {
  content: ""; position: absolute; inset: 4px; border-radius: 9px;
  border: 1px solid currentColor; opacity: 0.35; pointer-events: none;
}
.pstamp.pink { color: var(--pink); background: var(--pink-soft); }
.pstamp.blue { color: var(--blue); background: var(--blue-soft); }

.ps-flag { display: block; font-size: 1.85rem; line-height: 1; margin-bottom: 8px; }
.pstamp strong {
  display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  letter-spacing: 0.03em; padding-bottom: 7px; margin-bottom: 6px;
  border-bottom: 1px dashed currentColor;
}
.pstamp.pink strong { color: var(--pink-deep); }
.pstamp.blue strong { color: var(--blue-deep); }
.ps-kind { display: block; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.01em; }
.ps-mark {
  position: absolute; top: 9px; right: 9px;
  font-size: 0.78rem; line-height: 1; opacity: 0.5; transform: rotate(-18deg);
}

/* เอียงสลับกันให้เหมือนประทับตราด้วยมือ */
.stamp-grid > li:nth-child(5n + 1) { transform: rotate(-4deg) translateY(6px); }
.stamp-grid > li:nth-child(5n + 2) { transform: rotate(2.6deg) translateY(-10px); }
.stamp-grid > li:nth-child(5n + 3) { transform: rotate(-1.5deg) translateY(4px); }
.stamp-grid > li:nth-child(5n + 4) { transform: rotate(3.6deg) translateY(-6px); }
.stamp-grid > li:nth-child(5n + 5) { transform: rotate(-2.4deg) translateY(10px); }
.pstamp:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.05);
  box-shadow: 0 0 0 4px #fff, 0 14px 30px rgba(41, 50, 61, 0.14);
}

.passport-mascot {
  position: absolute; right: 10px; bottom: -6px; width: 118px; z-index: 2;
}
.passport-note {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 18px; margin-top: 26px; font-size: 0.88rem; color: var(--ink-soft);
}
.legend { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.legend.pink { background: var(--pink-soft); border: 2px dashed var(--pink); }
.legend.blue { background: var(--blue-soft); border: 2px dashed var(--blue); }

@media (max-width: 900px) {
  .passport-mascot { width: 92px; right: 2px; }
}
@media (max-width: 600px) {
  .stamp-grid { gap: 18px 12px; }
  .stamp-grid > li { flex: 0 0 calc(50% - 6px); }
  .passport-mascot { display: none; }
  .pstamp { padding: 14px 8px 12px; }
  .ps-flag { font-size: 1.45rem; }
  .pstamp strong { font-size: 0.92rem; }
  .ps-kind { font-size: 0.76rem; }
  .passport::before, .passport::after { width: 40px; height: 40px; }
  .pp-tag.alt { display: none; }
}

/* ---------- Story ---------- */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px; align-items: center;
}
.story-visual img { border-radius: var(--radius); box-shadow: var(--shadow-soft); outline: 1px solid rgba(0,0,0,0.05); outline-offset: -1px; }
.story-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; margin-bottom: 16px; }
.story-copy > p { color: var(--ink-soft); margin-bottom: 16px; }
.story-points { list-style: none; margin: 8px 0 24px; display: grid; gap: 12px; }
.story-points li { padding-left: 34px; position: relative; color: var(--ink-soft); }
.story-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 700; font-size: 0.85rem;
}
.story-points strong { color: var(--ink); }

/* ---------- ป้ายบอกทาง 3D (แทนรูปนิ่ง) ---------- */
.signpost {
  position: relative; height: 560px; max-width: 460px; margin: 0 auto;
  perspective: 950px;
}
.sp-pole {
  position: absolute; left: 50%; top: 0; bottom: 12px; width: 26px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f2688f 0%, #e6547e 45%, #c9436b 100%);
  border-radius: 13px 13px 4px 4px;
  box-shadow: inset -4px 0 6px rgba(0, 0, 0, 0.12), 4px 6px 14px rgba(201, 67, 107, 0.25);
}
.sp-ground {
  position: absolute; left: 50%; bottom: 0; width: 150px; height: 20px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(41, 50, 61, 0.16) 0%, transparent 70%);
}
.sp-sign {
  position: absolute; top: calc(28px + var(--row) * 92px);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: #2c3540;
  background: linear-gradient(180deg, #ffffff 0%, #f2f4f6 100%);
  padding: 11px 18px; white-space: nowrap;
  border: 1px solid #d8dde3;
  box-shadow: 0 5px 12px rgba(41, 50, 61, 0.16);
  transform-style: preserve-3d;
  cursor: default;
}
.sp-flag { font-size: 1.25rem; line-height: 1; }
/* ป้ายฝั่งซ้าย: ชี้ซ้าย ยึดกับเสาด้านขวา */
.sp-sign.left {
  right: 50%; margin-right: 6px;
  border-radius: 6px 4px 4px 6px;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  padding-left: 28px;
  transform-origin: right center;
}
/* ป้ายฝั่งขวา: ชี้ขวา ยึดกับเสาด้านซ้าย */
.sp-sign.right {
  left: 50%; margin-left: 6px;
  border-radius: 4px 6px 6px 4px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  padding-right: 28px;
  transform-origin: left center;
  top: calc(74px + var(--row) * 92px);
}
/* หัวลูกศรสีฟ้าปลายป้าย (แบบภาพต้นฉบับ) */
.sp-sign.left::before, .sp-sign.right::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.sp-sign.left::before { left: 0; clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.sp-sign.right::after { right: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
/* หมุดยึดเสา */
.sp-sign.left::after, .sp-sign.right::before {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px;
  border-radius: 50%; background: #b8c0c9;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
}
.sp-sign.left::after { right: 7px; }
.sp-sign.right::before { left: 7px; }

.sp-sign { transform: rotateZ(var(--tz)) rotateY(0deg); }
@media (prefers-reduced-motion: no-preference) {
  .sp-sign { animation: sp-sway 5.2s ease-in-out infinite; animation-delay: calc(var(--row) * -1.3s); }
  .sp-sign.right { animation-name: sp-sway-r; animation-delay: calc(var(--row) * -1.3s - 0.7s); }
  .sp-sign.spin { animation: sp-spin 1.6s cubic-bezier(0.34, 1.2, 0.4, 1) 1; z-index: 3; }
  .sp-sign:hover { animation-play-state: paused; }
}
@keyframes sp-sway {
  0%, 100% { transform: rotateZ(var(--tz)) rotateY(16deg); }
  50% { transform: rotateZ(var(--tz)) rotateY(-14deg); }
}
@keyframes sp-sway-r {
  0%, 100% { transform: rotateZ(var(--tz)) rotateY(-16deg); }
  50% { transform: rotateZ(var(--tz)) rotateY(14deg); }
}
@keyframes sp-spin {
  0% { transform: rotateZ(var(--tz)) rotateY(0deg); }
  100% { transform: rotateZ(var(--tz)) rotateY(360deg); }
}

@media (max-width: 600px) {
  .signpost { height: 500px; max-width: 340px; }
  .sp-sign { font-size: 0.92rem; padding: 9px 14px; top: calc(20px + var(--row) * 76px); }
  .sp-sign.left { padding-left: 24px; }
  .sp-sign.right { padding-right: 24px; top: calc(58px + var(--row) * 76px); }
  .sp-pole { width: 20px; }
}

/* ---------- โมเมนต์เด่น (รูปคู่ขนาดใหญ่แบบโพลารอยด์) ---------- */
.moments-section {
  background:
    radial-gradient(ellipse 55% 70% at 8% 20%, var(--blue-soft) 0%, transparent 70%),
    radial-gradient(ellipse 55% 70% at 92% 85%, var(--pink-soft) 0%, transparent 70%),
    var(--paper);
  overflow: hidden;
}
.moments-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  max-width: 880px; margin: 0 auto; align-items: stretch;
}
.moment-card {
  background: #fff; padding: 14px 14px 18px; border-radius: 8px;
  box-shadow: var(--shadow-lift); position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease);
}
.moment-card:hover { transform: translateY(-4px); z-index: 2; }
.moment-card img {
  border-radius: 4px; width: 100%;
  aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%;
}
.moment-card::before {
  content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 96px; height: 28px; background: rgba(224, 34, 136, 0.22); border-radius: 2px;
}
.moment-card.m-right::before { background: rgba(42, 165, 214, 0.28); transform: translateX(-50%) rotate(3deg); }
.moment-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 6px 2px; text-align: center; }
.moment-card strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.moment-card figcaption span { font-family: var(--font-script); font-size: 1.25rem; color: var(--pink-deep); }

/* แถบรูปย่อในการ์ดทริปศึกษาดูงาน */
.band-gallery { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; }
.band-gallery img {
  width: clamp(110px, 16vw, 170px); aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
  border: 4px solid #fff;
}
.band-gallery img:nth-child(1) { transform: rotate(-2.5deg); }
.band-gallery img:nth-child(2) { transform: rotate(1.5deg); }
.band-gallery img:nth-child(3) { transform: rotate(-1deg); }
.band-note { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 22px; }

/* ---------- Itinerary steps ---------- */
.steps-section { background: linear-gradient(180deg, var(--blue-soft) 0%, var(--paper) 100%); }
.itinerary {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; counter-reset: step;
}
.itinerary::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%;
  border-top: 3px dashed var(--blue); opacity: 0.4;
}
.itinerary li { position: relative; text-align: center; padding-top: 0; }
.it-dot {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 16px;
  background: #fff; color: var(--pink-deep);
  border: 3px solid var(--pink); box-shadow: 0 4px 12px rgba(224, 34, 136, 0.2);
  position: relative; z-index: 1;
}
.itinerary li:nth-child(even) .it-dot { color: var(--blue-deep); border-color: var(--blue); box-shadow: 0 4px 12px rgba(42, 165, 214, 0.25); }
.itinerary h3 { font-size: 1.12rem; margin-bottom: 6px; }
.itinerary p { color: var(--ink-soft); font-size: 0.93rem; max-width: 24ch; margin: 0 auto; }

/* ---------- โปสการ์ดรีวิว ---------- */
.postcard-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.postcard-row.wrap { grid-template-columns: repeat(2, 1fr); }
.postcard {
  background: #fff; border-radius: 8px; padding: 26px 26px 20px;
  box-shadow: var(--shadow-soft); position: relative;
  background-image: repeating-linear-gradient(45deg, var(--pink) 0 8px, #fff 8px 16px, var(--blue) 16px 24px, #fff 24px 32px);
  background-size: 100% 6px; background-repeat: no-repeat; background-position: top;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.postcard:hover { transform: translateY(-4px) rotate(0.5deg); box-shadow: var(--shadow-lift); }
.postcard p { font-size: 0.98rem; color: var(--ink-soft); margin: 10px 0 18px; }
.postcard footer { display: flex; flex-direction: column; border-top: 1px dashed var(--line); padding-top: 12px; }
.postcard cite { font-style: normal; font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.postcard footer span { font-size: 0.82rem; color: var(--pink-deep); }

/* ---------- หน้ารีวิว: เรียงแบบ masonry ให้การ์ดยาว-สั้นลงล็อกพอดี ---------- */
.review-masonry { columns: 2 330px; column-gap: 26px; }
.review-masonry .postcard {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 26px; display: inline-block; width: 100%;
}
.pc-trip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-soft); color: var(--blue-deep);
  font-family: var(--font-display); font-weight: 500; font-size: 0.8rem;
  padding: 6px 14px; border-radius: 999px; margin-top: 6px;
}
.pc-flag { font-size: 1rem; line-height: 1; }
.postcard p { text-wrap: pretty; line-height: 1.8; }
.postcard cite { line-height: 1.45; }

@media (max-width: 700px) {
  .review-masonry { columns: 1; }
}

/* ---------- Page hero (หน้ารอง) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, var(--pink-soft) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 90%, var(--blue-soft) 0%, transparent 70%),
    var(--paper);
  padding: 64px 0 52px; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; margin-bottom: 8px; }
.page-hero p { color: var(--ink-soft); font-size: 1.08rem; max-width: 50ch; }

/* ---------- Service detail ---------- */
.service-detail.alt { background: var(--cream); }
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.detail-visual img { border-radius: var(--radius); box-shadow: var(--shadow-soft); outline: 1px solid rgba(0,0,0,0.05); outline-offset: -1px; }
.service-chip {
  display: inline-block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 1.5px; padding: 5px 16px; border-radius: 999px; margin-bottom: 14px;
}
.chip-pink { background: var(--pink-soft); color: var(--pink-deep); }
.chip-blue { background: var(--blue-soft); color: var(--blue-deep); }
.detail-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-bottom: 14px; }
.detail-copy > p { color: var(--ink-soft); margin-bottom: 18px; }
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.check-list li { padding-left: 32px; position: relative; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pink-soft); color: var(--pink-deep); font-weight: 700; font-size: 0.8rem;
}
.fill-note {
  background: #fffbe8; border: 1px dashed #e5c84a; color: #7a6410;
  border-radius: var(--radius-sm); padding: 12px 18px; font-size: 0.92rem; margin-bottom: 22px;
}

/* ---------- ทีม ---------- */
.team-section { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { text-align: center; }
.team-card img {
  border-radius: 50%; width: min(100%, 220px); aspect-ratio: 1; object-fit: cover;
  margin: 0 auto 16px; border: 5px solid #fff; box-shadow: var(--shadow-soft);
}
.team-card figcaption { display: flex; flex-direction: column; }
.team-card strong { font-family: var(--font-display); font-weight: 500; }
.team-card span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- ออฟฟิศ / แผนที่ ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.office-grid h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin-bottom: 12px; }
.office-grid p { color: var(--ink-soft); margin-bottom: 20px; }
.map-embed {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); background: var(--blue-soft);
  outline: 1px solid rgba(0, 0, 0, 0.05); outline-offset: -1px;
  line-height: 0;
}
/* แผนที่เป็นภาพนิ่ง (กันเลื่อนหน้าเพี้ยนตอนสกรอลล์) แล้วให้กดเปิด Google Maps แทน */
.map-embed iframe {
  width: 100%; height: 340px; border: 0; display: block; pointer-events: none;
}
/* หมุดตำแหน่งออฟฟิศ — ตรงกลางแผนที่พอดีกับพิกัดที่ฝังไว้ */
.map-pin {
  position: absolute; left: 50%; top: 50%; width: 30px; height: 42px;
  transform: translate(-50%, -100%); color: var(--pink); pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(41, 50, 61, 0.35));
}
.map-pin svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .map-pin { animation: map-pin-drop 0.6s var(--ease) both; }
}
@keyframes map-pin-drop {
  from { transform: translate(-50%, -160%); opacity: 0; }
  to { transform: translate(-50%, -100%); opacity: 1; }
}
/* คลิกที่แผนที่เพื่อเปิด Google Maps */
.map-open {
  position: absolute; inset: 0; display: flex;
  align-items: flex-end; justify-content: flex-end; padding: 14px;
  text-decoration: none; background: transparent;
  transition: background 0.2s var(--ease);
}
.map-open span {
  font-family: var(--font-display); font-weight: 500; font-size: 0.88rem; line-height: 1.4;
  background: #fff; color: var(--pink-deep);
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.map-open:hover { background: rgba(224, 34, 136, 0.06); }
.map-open:hover span { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.office-grid .btn svg { margin-right: -2px; }

@media (max-width: 900px) {
  .map-embed iframe { height: 300px; }
}

/* ---------- แกลเลอรี ---------- */
.gallery-masonry { columns: 3 300px; column-gap: 24px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 24px; background: #fff;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft);
}
.gallery-item img { width: 100%; }
.gallery-item figcaption { padding: 12px 16px; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- บล็อก ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.blog-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.blog-card img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3/2; }
.blog-card.featured img { aspect-ratio: auto; height: 100%; }
.blog-body { padding: 26px; }
.blog-tag {
  display: inline-block; font-size: 0.78rem; font-family: var(--font-display);
  background: var(--blue-soft); color: var(--blue-deep);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.blog-body h2 { font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.blog-card.featured .blog-body h2 { font-size: 1.5rem; }
.blog-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; display: grid; gap: 16px; }
.faq-item {
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
  overflow: hidden; border-left: 4px solid var(--blue);
}
.faq-item:nth-child(even) { border-left-color: var(--pink); }
.faq-item summary {
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  padding: 18px 48px 18px 22px; cursor: pointer; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--pink); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.contact-form-card {
  background: #fff; border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-lift); border-top: 6px solid var(--pink);
}
.contact-form-card h2, .contact-form-card h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; }
.field label small { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder, .field textarea::placeholder { color: #a8b0ba; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 165, 214, 0.18);
}
.field-error { display: none; color: #c92a2a; font-size: 0.85rem; }
.field.invalid input { border-color: #c92a2a; }
.field.invalid .field-error { display: block; }
.form-hint { margin-top: 12px; font-size: 0.95rem; min-height: 1.4em; }
.form-hint.error { color: #c92a2a; }
.form-hint.ok { color: #2b8a3e; }
.form-success {
  background: #e6f7ec; border: 1px solid #8ce0a8; color: #226b38;
  border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px;
}
.contact-info h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 18px; }
.contact-list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.contact-list li { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: baseline; }
.c-label { font-family: var(--font-display); font-weight: 500; color: var(--blue-deep); font-size: 0.92rem; }
.office-hours-card {
  background: var(--pink-soft); border-radius: var(--radius);
  padding: 22px 24px; color: var(--ink-soft);
}
.office-hours-card strong { color: var(--pink-deep); font-family: var(--font-display); }

/* ---------- Admin ---------- */
.admin-section { min-height: 55vh; }
.admin-section h1 { font-size: 1.7rem; font-weight: 600; margin-bottom: 10px; }
.empty-inbox {
  background: var(--blue-soft); border-radius: var(--radius); padding: 44px;
  text-align: center; color: var(--ink-soft);
}
.inbox-list { display: grid; gap: 16px; margin-top: 20px; }
.inbox-item {
  background: #fff; border-radius: var(--radius-sm); padding: 20px 24px;
  box-shadow: var(--shadow-soft); border-left: 4px solid var(--pink);
}
.inbox-item.is-read { border-left-color: var(--line); opacity: 0.75; }
.inbox-item header { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.inbox-item time { margin-left: auto; color: var(--ink-soft); font-size: 0.85rem; }
.inbox-service {
  background: var(--blue-soft); color: var(--blue-deep); font-size: 0.8rem;
  padding: 2px 10px; border-radius: 999px;
}
.inbox-phone { color: var(--pink-deep); font-weight: 500; margin-bottom: 4px; }
.inbox-item p { color: var(--ink-soft); font-size: 0.95rem; }
.inbox-item .btn { margin-top: 10px; }

/* ---------- CTA band + Footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 55%, var(--blue-deep) 130%); color: #fff; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding-top: 60px; padding-bottom: 60px; flex-wrap: wrap;
}
.cta-script { font-family: var(--font-script); font-size: 1.5rem; opacity: 0.9; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; }
.site-footer { background: #232b36; color: #cfd6de; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 0.9fr; gap: 40px;
  padding: 60px 24px 40px;
}
.footer-brand img { width: 172px; height: auto; border-radius: var(--radius-sm); margin-bottom: 16px; background: #fff; padding: 6px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; }
.site-footer h3 { font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: #cfd6de; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-hours { margin-top: 12px; color: #9fb0c0; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px; padding-bottom: 24px; font-size: 0.85rem; color: #8b98a7;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ticket-grid { grid-template-columns: 1fr; }
  .postcard-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .itinerary { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .itinerary::before { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: var(--pink-soft); border: none; border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { height: 2.5px; background: var(--pink-deep); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; box-shadow: var(--shadow-lift);
    transform: translateY(-130%); transition: transform 0.3s var(--ease);
  }
  .main-nav.open { transform: none; }
  .main-nav a:not(.btn) { padding: 12px 16px; }
  .main-nav .btn { margin: 10px 0 0; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 56px; min-height: 0; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .story-grid, .detail-grid, .office-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-grid.flip .detail-visual { order: 2; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .moments-grid { grid-template-columns: 1fr; max-width: 440px; }
  .section { padding: 64px 0; }
}

/* แถบบริการแบบเต็มความกว้าง (ใช้คั่นจังหวะเลย์เอาต์หน้า services) */
.service-band { padding: 88px 0; }
.service-band-card {
  background:
    radial-gradient(ellipse 55% 90% at 92% 8%, rgba(224, 34, 136, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 55% 90% at 8% 92%, rgba(42, 165, 214, 0.18) 0%, transparent 70%),
    #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 56px clamp(24px, 6vw, 80px); text-align: center;
  border: 2px dashed var(--blue-soft);
}
.service-band-card .service-chip { margin-bottom: 12px; }
.service-band-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-bottom: 12px; }
.service-band-card > p { color: var(--ink-soft); max-width: 62ch; margin: 0 auto 22px; }
.band-points {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 28px;
}
.band-points li {
  background: var(--blue-soft); color: var(--blue-deep);
  font-family: var(--font-display); font-size: 0.92rem;
  padding: 8px 18px; border-radius: 999px;
}
.band-points li:nth-child(even) { background: var(--pink-soft); color: var(--pink-deep); }

@media (max-width: 600px) {
  .postcard-row, .postcard-row.wrap { grid-template-columns: 1fr; }
  .itinerary { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .promo-slide { grid-template-columns: 1fr; }
  .promo-slide img { width: 100%; height: 150px; }

  .sticker-stamp { width: 76px; height: 76px; font-size: 0.8rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
}

/* =============================================================
   มาสคอต "Wisey" — เพื่อนร่วมทางประจำแบรนด์
   ไฟล์รูปโปร่งใสอยู่ที่ public/img/mascot/ (เปลี่ยนรูปได้โดยไม่ต้องแก้ CSS)
   ============================================================= */
.mascot { display: block; width: 100%; height: auto; }
.mascot-slot {
  flex: none; pointer-events: none; user-select: none;
  filter: drop-shadow(0 14px 22px rgba(224, 34, 136, 0.16));
}
@media (prefers-reduced-motion: no-preference) {
  .mascot-slot { animation: mascot-bob 6s ease-in-out infinite; }
  .mascot-slot.bob-slow { animation-duration: 7.6s; animation-delay: -2.4s; }
}
@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-11px) rotate(var(--tilt, 0deg)); }
}

/* --- ทักทายใต้ปุ่มในฮีโร่หน้าแรก --- */
.hero-note { display: flex; align-items: center; gap: 2px; margin-top: 32px; }
.hero-note .mascot-slot { width: 196px; margin-bottom: -10px; }
.hero-bubble {
  position: relative; flex: 1 1 auto; min-width: 0; max-width: 21rem;
  background: #fff; border: 2px solid var(--pink-soft);
  border-radius: 22px 22px 22px 6px; padding: 15px 24px;
  box-shadow: var(--shadow-soft);
}
.hero-bubble strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  color: var(--pink-deep); font-size: 1.08rem; margin-bottom: 2px;
}
.hero-bubble span { font-size: 0.97rem; color: var(--ink-soft); line-height: 1.6; }
.hero-bubble::before {
  content: ""; position: absolute; left: -9px; bottom: 20px; width: 15px; height: 15px;
  background: #fff; border-left: 2px solid var(--pink-soft); border-bottom: 2px solid var(--pink-soft);
  transform: rotate(45deg);
}

/* --- หัวข้อเซกชันที่มีมาสคอตยืนข้างๆ --- */
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 44px;
}
.head-row .section-head { margin-bottom: 0; }
.head-row .mascot-slot { width: 180px; margin-bottom: -16px; }

/* --- มาสคอตในแถบ CTA ท้ายหน้า --- */
.cta-band-inner .mascot-slot {
  width: 172px; margin: -38px 0;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.22));
}

/* --- มาสคอตมุมขวาของหัวหน้ารอง --- */
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero.has-mascot .container { padding-right: 230px; }
.page-hero .mascot-slot { position: absolute; right: 0; bottom: -52px; width: 178px; z-index: 2; }

/* --- มาสคอตท้ายคอลัมน์ข้อมูลติดต่อ --- */
.contact-mascot { display: flex; align-items: flex-end; gap: 8px; margin-top: 28px; }
.contact-mascot .mascot-slot { width: 124px; }
.contact-mascot p {
  font-family: var(--font-script); font-size: 1.4rem; line-height: 1.25;
  color: var(--pink-deep); padding-bottom: 16px;
}

@media (max-width: 900px) {
  .head-row { gap: 16px; }
  .head-row .mascot-slot { width: 132px; margin-bottom: -10px; }
  .page-hero.has-mascot .container { padding-right: 170px; }
  .page-hero .mascot-slot { width: 138px; bottom: -46px; }
}

@media (max-width: 600px) {
  .hero-note .mascot-slot { width: 138px; }
  .hero-bubble { padding: 12px 16px; }
  .head-row .mascot-slot { width: 104px; }
  .page-hero.has-mascot .container { padding-right: 24px; }
  .page-hero .mascot-slot { display: none; }
  .cta-band-inner .mascot-slot { width: 128px; margin: -18px 0 -24px; }
  .contact-mascot p { font-size: 1.2rem; }
}

/* --- มาสคอตยืนเลือกจุดหมายข้างป้ายบอกทาง (หน้าแรก) --- */
.sp-mascot {
  position: absolute; left: 26px; bottom: 2px; width: 120px; z-index: 1;
  pointer-events: none; user-select: none;
}
.sp-mascot img {
  display: block; width: 100%; height: auto;
  border-radius: 0; outline: none; box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(41, 50, 61, 0.13));
}
@media (max-width: 600px) {
  .sp-mascot { width: 95px; }
}

/* ---------- หน้าเกี่ยวกับเรา: หลักการ + ทำไมถึงเลือกเรา + คำสัญญา ---------- */
.about-section { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px; align-items: center;
}
.about-grid h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 600; margin-bottom: 16px; }
.about-grid > div > p { color: var(--ink-soft); margin-bottom: 16px; max-width: 46ch; }
.about-grid > div > p:last-child { margin-bottom: 0; }
.about-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 30px clamp(22px, 3vw, 34px);
}
.about-card h3 { font-size: 1.22rem; font-weight: 500; margin-bottom: 18px; }
.about-card .story-points { margin: 0; }
/* --- การ์ดคำสัญญา (หน้าเกี่ยวกับเรา) --- */
.promise-band { padding: 88px 0; }
.promise-card {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 88% 6%, rgba(224, 34, 136, 0.1) 0%, transparent 68%),
    radial-gradient(ellipse 60% 80% at 10% 94%, rgba(42, 165, 214, 0.12) 0%, transparent 68%),
    #fff;
  border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: clamp(40px, 6vw, 68px) clamp(24px, 6vw, 88px) clamp(36px, 5vw, 56px);
  text-align: center;
}
.promise-eyebrow {
  font-family: var(--font-script); font-size: 1.5rem; color: var(--blue-deep);
  transform: rotate(-1.5deg); display: inline-block; margin-bottom: 2px;
}
.promise-card h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 600;
  letter-spacing: -0.01em; text-wrap: balance;
}
/* เส้นคั่นมีเครื่องบินกลาง */
.promise-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px auto 30px; max-width: 320px; }
.promise-rule span { flex: 1; border-top: 2px dashed var(--line); }
.promise-rule svg { width: 20px; height: 20px; color: var(--pink); flex: none; transform: rotate(90deg); }

.promise-card > p:not([class]) {
  color: var(--ink-soft); font-size: 1.06rem; line-height: 1.85;
  max-width: 58ch; margin: 0 auto 18px; text-wrap: balance;
}
.promise-card > p:not([class]):last-of-type { margin-bottom: 0; }

.promise-note {
  display: inline-block; margin: 32px auto 0;
  background: var(--pink-soft); border-radius: 999px;
  padding: 16px clamp(22px, 4vw, 38px);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.14rem); line-height: 1.75;
  color: var(--pink-deep); max-width: 100%;
}
.promise-note a {
  color: var(--pink-deep); text-decoration: none;
  border-bottom: 2px solid var(--pink); padding-bottom: 1px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.promise-note a:hover { color: var(--pink); border-color: var(--pink-deep); }

.promise-sign {
  font-family: var(--font-script); font-size: 1.45rem; color: var(--ink-soft);
  margin-top: 24px; transform: rotate(-1deg);
}
.promise-sign::before { content: "— "; }

.promise-mascot {
  position: absolute; left: clamp(-10px, 0.5vw, 10px); bottom: -18px; width: 122px;
}
.lb { display: inline; }
/* จุดตัดบรรทัดที่บังคับเองเฉพาะจอกว้าง (ไม่มีเว้นวรรคคั่น จอแคบจะไหลต่อกันตามปกติ) */
.lb-lg { display: none; }
@media (min-width: 901px) { .lb-lg { display: inline; } }

@media (max-width: 900px) {
  .promise-band { padding: 64px 0; }
  .promise-mascot { width: 96px; left: -6px; bottom: -12px; }
  .promise-card { padding-right: clamp(24px, 6vw, 88px); }
}
@media (max-width: 600px) {
  .promise-card { text-align: left; padding: 34px 24px 30px; }
  .promise-card h2 { font-size: 1.35rem; }
  .promise-rule { margin: 18px 0 24px; max-width: 200px; }
  .promise-card > p:not([class]) { margin-left: 0; margin-right: 0; font-size: 1rem; }
  .promise-note { margin-top: 26px; padding: 14px 20px; border-radius: 18px; }
  .promise-sign { text-align: left; }
  .promise-mascot { display: none; }
  .lb { display: none; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid > div > p { max-width: none; }
}

/* ---------- ผู้ก่อตั้ง (หน้าเกี่ยวกับเรา) ---------- */
.founder-section { background: var(--cream); }
.founder-grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px; align-items: start;
}
.founder-visual { position: relative; position: sticky; top: 104px; }
.founder-photo {
  background: #fff; padding: 12px 12px 14px; border-radius: 10px;
  box-shadow: var(--shadow-lift); transform: rotate(-1.5deg);
}
.founder-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px;
}
.founder-photo figcaption {
  font-family: var(--font-script); font-size: 1.25rem; color: var(--ink-soft);
  text-align: center; padding-top: 8px;
}
.founder-badge {
  position: absolute; right: -14px; bottom: 26px; z-index: 2;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; line-height: 1.25;
  color: var(--pink-deep); text-align: center;
  border: 3px double var(--pink); border-radius: 50%;
  width: 86px; height: 86px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.92); transform: rotate(9deg);
}

.founder-copy .service-chip { margin-bottom: 12px; }
.founder-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 600; margin-bottom: 20px; }
.founder-copy > p { color: var(--ink-soft); margin-bottom: 16px; }

.founder-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
}
.founder-facts li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.88rem; color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(41, 50, 61, 0.04);
}
.founder-facts strong { font-family: var(--font-display); font-weight: 500; color: var(--pink-deep); }

.founder-quote {
  position: relative; margin-top: 30px; padding: 26px 30px 24px 56px;
  background: #fff; border-radius: var(--radius);
  border-left: 4px solid var(--pink); box-shadow: var(--shadow-soft);
}
.founder-quote::before {
  content: "\201C"; position: absolute; left: 18px; top: 10px;
  font-family: Georgia, serif; font-size: 3.6rem; line-height: 1;
  color: var(--pink); opacity: 0.35;
}
.founder-quote p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.02rem, 2vw, 1.14rem); line-height: 1.8; color: var(--ink);
  margin-bottom: 10px;
}
.founder-quote cite {
  font-style: normal; font-size: 0.9rem; color: var(--pink-deep);
}
.founder-quote cite::before { content: "— "; }

.team-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; }

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-visual { position: relative; top: auto; max-width: 340px; margin: 0 auto; }
  .founder-badge { right: -6px; width: 74px; height: 74px; font-size: 0.8rem; }
}
@media (max-width: 600px) {
  .team-grid-2 { grid-template-columns: 1fr; max-width: 420px; }
  .founder-quote { padding: 22px 20px 20px 24px; }
  .founder-quote::before { display: none; }
}

/* ---------- ผู้ร่วมก่อตั้ง: สลับฝั่งรูป + โทนฟ้า ---------- */
.founder-section .section-head { margin-bottom: 40px; }
.founder-grid.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.founder-grid.flip .founder-visual { order: 2; }
.founder-grid.flip .founder-copy { order: 1; }
.founder-grid.flip .founder-photo { transform: rotate(1.5deg); }

.founder-role {
  font-family: var(--font-display); font-weight: 500; color: var(--blue-deep);
  margin-top: -12px; margin-bottom: 20px;
}
.founder-badge.blue {
  color: var(--blue-deep); border-color: var(--blue);
  left: -14px; right: auto; font-size: 0.76rem; letter-spacing: 0.02em;
}
.founder-quote.blue { border-left-color: var(--blue); }
.founder-quote.blue::before { color: var(--blue); }
.founder-quote.blue cite { color: var(--blue-deep); }

@media (max-width: 900px) {
  .founder-grid.flip { grid-template-columns: 1fr; }
  .founder-grid.flip .founder-visual { order: 1; }
  .founder-grid.flip .founder-copy { order: 2; }
  .founder-badge.blue { left: -6px; }
}

@media (max-width: 600px) {
  .brand-mark { height: 30px; }
}

/* =============================================================
   ภาพในฮีโร่หน้าแรก — เรียง 2x2 หน้าละ 4 ภาพ เลื่อน/ปัดทีละชุดได้
   ============================================================= */
.hero-slider { position: relative; z-index: 4; min-width: 0; }

.hs-track {
  position: relative; display: flex;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 14px;
}
.hs-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .hs-track { scroll-behavior: auto; } }

/* หนึ่งชุด = 4 ภาพเรียง 2x2 */
.hs-page {
  flex: 0 0 100%; scroll-snap-align: center;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 6px 4px;
}

.hs-card {
  background: #fff; padding: 9px 9px 8px; border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hs-card:nth-child(1) { transform: rotate(-1.2deg); }
.hs-card:nth-child(4) { transform: rotate(1deg); }
.hs-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lift); }
.hs-card img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 4px; background: var(--blue-soft);
}
.hs-card figcaption {
  font-family: var(--font-script); font-size: 1.1rem; line-height: 1.3;
  color: var(--ink-soft); text-align: center; padding-top: 6px;
}

/* ปุ่มเลื่อนซ้าย-ขวา */
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--pink-deep);
  box-shadow: var(--shadow-lift); display: grid; place-items: center;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
  z-index: 3;
}
.hs-arrow svg { width: 19px; height: 19px; }
.hs-arrow:hover { background: var(--pink-soft); transform: translateY(-50%) scale(1.08); }
.hs-arrow:active { transform: translateY(-50%) scale(0.95); }
.hs-arrow.prev { left: -21px; }
.hs-arrow.next { right: -21px; }

/* จุดบอกชุดภาพ */
.hs-dots { display: flex; justify-content: center; gap: 9px; margin-top: 2px; }
.hs-dots button {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: var(--line); cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.hs-dots button:hover { background: var(--blue); }
.hs-dots button.active { background: var(--pink); transform: scale(1.35); }

/* แสตมป์ SINCE 2014 */
.hero-slider .sticker-stamp { left: -26px; bottom: auto; top: -22px; z-index: 5; }

@media (max-width: 1024px) {
  .hs-arrow.prev { left: -12px; }
  .hs-arrow.next { right: -12px; }
}
@media (max-width: 900px) {
  .hero-slider .sticker-stamp { top: -16px; left: -10px; width: 78px; height: 78px; font-size: 0.82rem; }
}
@media (max-width: 600px) {
  .hs-page { gap: 12px; }
  .hs-card { padding: 7px 7px 6px; }
  .hs-card figcaption { font-size: 0.98rem; }
  .hs-arrow { width: 36px; height: 36px; }
  .hs-arrow.prev { left: -8px; }
  .hs-arrow.next { right: -8px; }
  .hero-slider .sticker-stamp { width: 64px; height: 64px; font-size: 0.7rem; top: -12px; left: -6px; }
}

@media (max-width: 600px) {
  .topbar-inner { min-height: 34px; gap: 7px; }
  .topbar-inner p { font-size: 0.78rem; }
  .tb-seal { width: 17px; height: 17px; }
}
