:root {
  --navy: #224587;
  --dark: #2a4173;
  --sky: #3687e0;
  --ink: #2f2f3f;
  --cream: #f6f7f1;
  --white: #ffffff;
  --gold: #e8b84b;
  --gold-lt: #fdf3d7;
  --pale: #ebf2fc;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "Anuphan", "Poppins", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.num {
  font-family: "Poppins", "Anuphan", sans-serif;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(246, 247, 241, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(47, 47, 63, 0.08);
}
@media (max-width: 640px) {
  .nav {
    padding: 14px 20px;
  }
}
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-brand .en {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sky);
  text-transform: uppercase;
}
.nav-brand .th {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 2px;
}
.cta-btn {
  background: var(--sky);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(54, 135, 224, 0.4);
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(54, 135, 224, 0.5);
  background: #2f78c9;
}

/* icon inside CTA buttons */
.cta-icon {
  width: 22px;
  height: auto;
  flex: none;
  display: block;
  margin-left: -4px;
}
img.cta-icon {
  border-radius: 5px;
}
svg.cta-icon {
  height: 20px;
  margin-left: 0;
}
.hero-ctas .cta-icon,
.final .cta-icon {
  width: 26px;
}
.cta-ghost .cta-icon {
  width: 20px;
  border-radius: 0;
  margin-left: -2px;
}
.hero-ctas .cta-ghost .cta-icon,
.final .cta-ghost .cta-icon {
  width: 22px;
}
.lead-cta .cta-btn .cta-icon {
  width: 20px;
}
.cta-ghost {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* HERO — authority statement, Harv-style */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--dark) 55%, var(--ink));
  color: #fff;
  padding: 120px 0 96px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(54, 135, 224, 0.45),
    transparent 55%
  );
  pointer-events: none;
}
.hero-watermark {
  position: absolute;
  top: -4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: "Poppins", "Anuphan", sans-serif;
  font-weight: 900;
  font-size: clamp(90px, 18vw, 260px);
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
}
.hero-in {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(232, 184, 75, 0.14);
  border: 1px solid rgba(232, 184, 75, 0.55);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  color: var(--gold-lt);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 184, 75, 0.7);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 184, 75, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(232, 184, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 184, 75, 0);
  }
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 100%;
  margin: 0 auto 36px;
}

@media screen and (max-width: 480px) {
  .hero-in{
    padding: 0 15px;
  }
  .hero p {
    font-size: 14px;
  }
  .eyebrow{
    padding : 5px 10px;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hero-ctas .cta-btn {
  padding: 12px 26px;
  font-size: 17px;
  box-shadow: 0 16px 36px rgba(54, 135, 224, 0.55);
}
.hero-fine {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* PHOTO / VIDEO PLACEHOLDER — signature element */
.founder-frame {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 52px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.founder-ph {
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      transparent 2px 14px
    ),
    linear-gradient(135deg, #1c3a72, #2f5aa8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
}
.play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}
.founder-ph .cap {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  max-width: 340px;
}
.hero-chip {
  position: absolute;
  left: -18px;
  bottom: -18px;
  z-index: 2;
  background: #fff;
  color: var(--dark);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  text-align: left;
}
.hero-chip .ic {
  font-size: 22px;
  flex: none;
}
.hero-chip .ic svg {
  width: 22px;
  height: 22px;
  color: var(--sky);
  display: block;
}
.hero-chip .tx {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--dark);
}
@media (max-width: 640px) {
  .hero-chip {
    position: static;
    margin: 16px auto 0;
    max-width: none;
  }
}

/* TRUST BAR */
.trust {
  padding: 44px 0;
  background: #fff;
  border-bottom: 1px solid rgba(47, 47, 63, 0.08);
}
.trust-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
}
.logo-ph {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  background: var(--pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  text-align: center;
  padding: 8px;
}

.logo-ph img {
  width: 124px;
  height: 124px;
  object-fit: contain !important;
}

/* CREDIBILITY NUMBERS — the "1.5 million people" beat, adapted */
.stats {
  padding: 64px 0;
  background: var(--navy);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat .num {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  /* ตัวเลขความกว้างเท่ากันทุกหลัก กันเลขขยับตอนนับ */
  font-variant-numeric: tabular-nums;
}
.stat .lbl {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  line-height: 1.5;
}

/* LEAD MAGNET — free download */
.lead {
  background: var(--cream);
}
.lead-box {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(120deg, var(--navy), var(--dark));
  border-radius: 20px;
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lead-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 90% 10%,
    rgba(232, 184, 75, 0.25),
    transparent 55%
  );
  pointer-events: none;
}
.lead-txt {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.lead-tag {
  display: inline-block;
  background: rgba(232, 184, 75, 0.18);
  border: 1px solid rgba(232, 184, 75, 0.5);
  color: var(--gold-lt);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead-txt h3 {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}
.lead-txt p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}
.lead-cta {
  position: relative;
  z-index: 1;
  flex: none;
}
.lead-cta .cta-btn {
  background: var(--gold);
  color: var(--ink);
  padding: 18px 34px;
  font-size: 15.5px;
  box-shadow: 0 14px 30px rgba(232, 184, 75, 0.4);
}
.lead-cta .cta-btn:hover {
  background: #f0c664;
}
.lead-cta .note {
  display: block;
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
}

/* SECTION HEAD */
.sec {
  padding: 88px 0;
}
.sec-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.kicker {
  display: inline-block;
  /* สีทึบ แทน rgba โปร่ง เพื่อไม่ให้เงาทะลุขึ้นมาเห็นข้างในพิลล์ */
  background: linear-gradient(180deg, #fff, var(--pale));
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(54, 135, 224, 0.16);
  /* เงาซ้อนหลายชั้น + ไฮไลต์ขอบบน ให้พิลล์ดูลอยเหนือพื้น */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(34, 69, 135, 0.08),
    0 4px 8px rgba(34, 69, 135, 0.1),
    0 10px 22px rgba(34, 69, 135, 0.13),
    0 20px 40px rgba(34, 69, 135, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.kicker:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(34, 69, 135, 0.1),
    0 8px 14px rgba(34, 69, 135, 0.12),
    0 16px 30px rgba(34, 69, 135, 0.16),
    0 28px 52px rgba(34, 69, 135, 0.12);
}
.sec-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.sec-head p {
  font-size: 15.5px;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.75;
}

/* THE PROMISE — pull quote signature */
.promise {
  background: var(--dark);
  color: #fff;
}
.promise-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.promise-mark {
  font-family: "Poppins", sans-serif;
  font-size: 64px;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}
.promise-card h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  margin: 8px 0 26px;
}
.promise-card h3 span {
  color: var(--gold);
}
.promise-name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* WHY US GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-card {
  background: #fff;
  border: 1px solid rgba(47, 47, 63, 0.08);
  border-radius: 14px;
  padding: 30px;
}
.why-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 16px;
  /* เงาแบบเดียวกับ .kicker แต่อ่อนกว่า */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(34, 69, 135, 0.05),
    0 3px 6px rgba(34, 69, 135, 0.06),
    0 7px 14px rgba(34, 69, 135, 0.07);
}
.why-card .ico svg {
  width: 22px;
  height: 22px;
}
.why-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.7;
}

/* PROCESS */
.process {
  background: #fff;
}
.proc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: step;
}
.proc-step {
  flex: 1 1 220px;
  padding: 0 18px;
  position: relative;
  text-align: center;
}
.proc-step::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -4px;
  width: 90%;
  height: 2px;
  background: var(--pale);
}
.proc-step:last-child::after {
  display: none;
}
.proc-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.proc-step h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.proc-step p {
  font-size: 13.5px;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.65;
}

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.testi-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(47, 47, 63, 0.08);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* เงาอ่อน ๆ ให้การ์ดดูยกจากพื้นเล็กน้อย */
  box-shadow:
    0 1px 2px rgba(47, 47, 63, 0.04),
    0 4px 12px rgba(47, 47, 63, 0.06);
}
.stars {
  color: var(--sky);
  font-size: 16px;
  letter-spacing: 2px;
}
.testi-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.testi-card .who {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

/* FINAL CTA */
.final {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(135deg, var(--dark), var(--navy));
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 85%,
    rgba(54, 135, 224, 0.3),
    transparent 55%
  );
  pointer-events: none;
}
.final-in {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.final h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 18px;
}
.final p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 34px;
}
.final-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.final .cta-btn {
  padding: 19px 42px;
  font-size: 16.5px;
  box-shadow: 0 14px 32px rgba(54, 135, 224, 0.55);
}

/* INDUSTRIES */
.industries {
  background: #fff;
}
.industry-grid {
  /* flex แทน grid เพื่อให้การ์ดที่เหลือในบรรทัดสุดท้ายจัดกลางได้ */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.industry-card {
  background: var(--cream);
  border: 1px solid rgba(47, 47, 63, 0.08);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  /* กว้างเท่ากับ 5 คอลัมน์เดิม แต่ไม่ยืดเต็มแถวเมื่อเหลือใบเดียว */
  flex: 0 1 calc((100% - 4 * 18px) / 5);
  min-width: 200px;
}
.industry-card .ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: var(--pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  /* เงาแบบเดียวกับ .kicker แต่อ่อนกว่า */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(34, 69, 135, 0.05),
    0 2px 5px rgba(34, 69, 135, 0.06),
    0 6px 12px rgba(34, 69, 135, 0.07);
}
.industry-card .ico svg {
  width: 19px;
  height: 19px;
}
.industry-card span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
}
.industry-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink);
  opacity: 0.55;
  max-width: 560px;
  margin: 22px auto 0;
}

/* SAMPLE ITINERARY */
.itin {
  background: var(--cream);
}
.itin-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.itin-day {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(47, 47, 63, 0.1);
}
.itin-day:last-child {
  border-bottom: none;
}
.itin-day .d {
  flex: none;
  width: 88px;
}
.itin-day .d .tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.itin-day .c h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.itin-day .c p {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.7;
}
.itin-price {
  max-width: 800px;
  margin: 36px auto 0;
  background: var(--white);
  border: 1.5px dashed var(--sky);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.itin-price .p1 {
  font-size: 13.5px;
  color: var(--ink);
  opacity: 0.7;
}
.itin-price .p2 {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}
.itin-price .p2 span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.6;
}

/* WORK GALLERY */
.gallery {
  background: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-grid .g1 {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid .g1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}
.gallery-ph {
  aspect-ratio: 1/1;
  border-radius: 12px;
  border: 1.5px dashed rgba(34, 69, 135, 0.35);
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  opacity: 0.75;
  font-size: 12.5px;
  padding: 10px;
}

.gallery-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: 5px;
}

.testi-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex: none;
}

/* FOOTER */
.footer {
  padding: 44px 0 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-links a svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px; /* จัดไอคอนให้ตรงกลางบรรทัดแรกเวลาข้อความตัดบรรทัด */
  opacity: 0.85;
}
.footer-links a:hover svg {
  opacity: 1;
}
.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
}
.footer-bottom {
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  padding-left: 40px;
  padding-right: 40px;
}

/* ACCESSIBILITY */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
.cta-ghost:focus-visible,
.hero .cta-btn:focus-visible,
.final .cta-btn:focus-visible {
  outline-color: var(--gold);
}
/* BACK TO TOP */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60; /* เหนือ header sticky (z-index 50) */
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sky), var(--navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 2px 4px rgba(34, 69, 135, 0.18),
    0 6px 14px rgba(34, 69, 135, 0.22),
    0 14px 30px rgba(34, 69, 135, 0.18);
  /* สถานะซ่อน — JS สลับ .is-visible */
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.25s ease;
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.to-top svg {
  width: 20px;
  height: 20px;
}
.to-top:hover {
  box-shadow:
    0 3px 6px rgba(34, 69, 135, 0.22),
    0 10px 20px rgba(34, 69, 135, 0.26),
    0 20px 40px rgba(34, 69, 135, 0.2);
}
.to-top.is-visible:hover {
  transform: translateY(-3px);
}
.to-top:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ PRELOADER ============ */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.preloader-ring {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}
.preloader-ring::before,
.preloader-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.preloader-ring::before {
  border: 3px solid rgba(34, 69, 135, 0.12);
}
.preloader-ring::after {
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--sky);
  animation: pl-spin 1s linear infinite;
}
.preloader-logo {
  width: 84px;
  height: auto;
  animation: pl-pulse 1.8s ease-in-out infinite;
}
.preloader-bar {
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: rgba(34, 69, 135, 0.12);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  animation: pl-slide 1.2s ease-in-out infinite;
}
.preloader-text {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(47, 47, 63, 0.6);
}
@keyframes pl-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pl-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.94);
    opacity: 0.75;
  }
}
@keyframes pl-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(250%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .preloader,
  .preloader-ring::after,
  .preloader-logo,
  .preloader-bar span {
    animation: none;
    transition: none;
  }
}
