:root {
  color-scheme: light;
  --teal-900: #04384b;
  --teal-800: #064b63;
  --teal-700: #00526d;
  --teal-600: #18799a;
  --teal-200: #8cc5d0;
  --teal-100: #dcedf0;
  --gold-500: #a78245;
  --gold-400: #d4a94f;
  --gold-200: #ecd9a8;
  --brown: #7a5a36;
  --ink: #173440;
  --muted: #4a5c65;
  --line: #e3e8ea;
  --cream: #f8f4ec;
  --white: #fff;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(6, 75, 99, .08);
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
section[id] { scroll-margin-top: 80px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

/* dot after headings and brand */
.dot { display: inline-block; width: .17em; height: .17em; border-radius: 50%; background: var(--gold-400); margin-left: .12em; vertical-align: baseline; }
.brand-text .dot { width: 6px; height: 6px; margin-left: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(6, 75, 99, .06); }
.bar { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-800); margin-right: auto; }
.brand-text { font-weight: 700; font-size: 18px; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.brand-light { color: #fff; }
.nav { display: none; gap: 26px; margin-right: 8px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--teal-800); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--gold-400); }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--teal-800); cursor: pointer; border-radius: 12px; }
.menu-btn .ico-shut { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-shut { display: block; }

/* mobile menu (only when JS is on, otherwise links wrap under the bar) */
.nav { order: 5; }
.js .nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(6, 75, 99, .08); margin: 0; }
.js .nav:not(.open) { display: none; }
.js .nav.open { display: flex; }
.js .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.js .nav a:last-child { border-bottom: 0; }
html:not(.js) .nav { display: flex; flex-wrap: wrap; width: 100%; gap: 8px 18px; padding-bottom: 10px; }
html:not(.js) .bar { flex-wrap: wrap; height: auto; padding-top: 10px; }
html:not(.js) .menu-btn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 28px; border-radius: 999px; font: 600 16px/1.4 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text { font-size: 16px; }
  .bar { gap: 6px; }
  .btn-sm { padding: 8px 16px; }
}
.btn-gold { background: var(--gold-400); color: var(--teal-900); }
.btn-gold:hover { background: #e0b95f; }
.btn-teal { background: var(--teal-800); color: #fff; }
.btn-teal:hover { background: var(--teal-900); }
.btn-outline { border-color: var(--gold-500); color: var(--teal-800); background: transparent; }
.btn-outline:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--teal-900); }
.link-line { font-weight: 600; color: var(--teal-800); text-decoration: none; background: linear-gradient(var(--teal-800), var(--teal-800)) left bottom / 100% 2px no-repeat; padding-bottom: 3px; }
.link-line:hover { background-size: 0 2px; }

/* type */
.eyebrow { font-size: 15px; font-weight: 500; color: var(--brown); margin-bottom: 12px; }
h1, h2 { color: var(--teal-800); font-weight: 600; line-height: 1.4; text-wrap: balance; }
h1 { font-size: clamp(34px, 8.6vw, 58px); }
h2 { font-size: clamp(28px, 6.4vw, 42px); }
h3 { color: var(--teal-800); font-size: 19px; font-weight: 600; line-height: 1.45; }
.lead { font-size: 18px; color: var(--muted); margin-top: 20px; max-width: 34em; }
.muted { color: var(--muted); margin-top: 16px; max-width: 30em; }

/* hero */
.hero { padding: 36px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: var(--teal-800); font-weight: 500; font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--gold-500); }
.hero-art { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.hero-img { position: absolute; inset: 7% 0 0 7%; width: 91%; height: 91%; border-radius: 50%; box-shadow: 0 24px 60px rgba(6, 75, 99, .18); border: 1px solid var(--line); }
.orb { position: absolute; border-radius: 50%; aspect-ratio: 1; }
.orb-teal-lg { width: 40%; top: -2%; right: -2%; background: var(--teal-200); }
.orb-gold { width: 15%; top: 1%; left: 4%; background: var(--gold-400); }
.orb-teal-sm { width: 18%; bottom: -2%; left: 30%; background: var(--teal-200); z-index: 2; }
.orb-gold-sm { width: 9%; bottom: 16%; right: -2%; background: var(--gold-400); z-index: 2; }
.orb-gold, .orb-teal-sm { animation: drift 7s ease-in-out infinite; }
.orb-teal-sm { animation-delay: -3s; }
@keyframes drift { 50% { transform: translateY(-8px); } }

/* sections */
.section { padding: 64px 0; }
.section-cream { background: var(--cream); }
.sec-head { max-width: 640px; }
.sec-head .eyebrow { margin-bottom: 10px; }
#services .sec-head { margin-bottom: 36px; }

.pillars { display: grid; gap: 16px; }
.pillar { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.pillar p { color: var(--muted); font-size: 16px; flex: 1; }
.pillar-ico { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); margin-bottom: 6px; }
.pillar-ico::after { content: ''; position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-400); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-800); font-size: 15px; margin-top: 6px; }
.pillar:hover .more .ico { transform: translateX(4px); }
.more .ico { transition: transform .2s; }

/* rows (monthly, yearly) */
.split { display: grid; gap: 32px; }
.rows { border-top: 1px solid var(--line); }
.section-cream .rows { border-color: #e5dccb; }
.row { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.section-cream .row { border-color: #e5dccb; }
.row p { color: var(--muted); font-size: 16px; }
.row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--teal-100); color: var(--teal-800); font-size: 13px; font-weight: 600; line-height: 1.6; }
.section-cream .tag { background: #fff; border: 1px solid #e5dccb; }

/* online band */
.band { display: grid; gap: 36px; padding: 32px 22px; border-radius: var(--radius-lg); }
.band-light { background: var(--white); border: 1px solid #e5dccb; }
.band .lead { margin-top: 16px; }
.checks { display: grid; gap: 12px; margin: 24px 0 32px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); }
.checks .ico { color: var(--gold-500); margin-top: 3px; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; }
.platforms li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px; border-radius: var(--radius); background: var(--cream); font-weight: 600; color: var(--teal-800); }
.platforms img { width: 76px; height: 76px; border-radius: 18px; }

/* visa band */
.visa { background: linear-gradient(160deg, var(--teal-900), var(--teal-700)); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.visa::before, .visa::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.visa::before { width: 320px; height: 320px; right: -110px; top: -110px; background: rgba(140, 197, 208, .16); }
.visa::after { width: 120px; height: 120px; left: -40px; bottom: 40px; background: rgba(212, 169, 79, .22); }
.visa .wrap { position: relative; z-index: 1; }
.visa h2 { color: #fff; }
.visa .eyebrow { color: var(--gold-200); }
.visa .lead { color: var(--gold-200); }
.visa-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0; }
.visa-cards li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px; text-align: center; border-radius: var(--radius); background: #fff; color: var(--teal-800); }
.visa-cards .ico { color: var(--gold-500); stroke-width: 1.5; }
.visa-cards h3 { font-size: 17px; }
.areas { margin-bottom: 36px; }
.areas-label { font-size: 15px; color: var(--gold-200); margin-bottom: 12px; }
.areas ul { display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-weight: 600; }
.areas .ico { color: var(--gold-400); }

/* contact */
.contacts { display: grid; gap: 14px; }
.contacts li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.contacts b { display: block; font-weight: 600; color: var(--teal-800); line-height: 1.5; }
.c-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); flex: none; }

/* placeholder for missing facts */
.ph { display: inline-block; padding: 2px 12px; border: 1.5px dashed var(--gold-500); border-radius: 8px; background: #fff7df; color: var(--teal-900); font-size: 15px; line-height: 1.6; }

/* footer */
.site-footer { background: var(--teal-900); color: #d6e6ea; padding: 48px 0 32px; }
.foot { display: grid; gap: 24px; }
.foot-brand p { margin-top: 14px; color: var(--gold-200); font-weight: 500; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { text-decoration: none; padding: 4px 0; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }
.foot-note { font-size: 15px; }
.foot-copy { font-size: 14px; color: #9fbac2; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; }

@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: repeat(4, 1fr); }
  .visa-cards { grid-template-columns: repeat(4, 1fr); }
  .band { padding: 44px 40px; }
  .contacts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav, .js .nav, .js .nav:not(.open) { display: flex; position: static; flex-direction: row; gap: 26px; padding: 0; border: 0; box-shadow: none; background: transparent; order: 0; margin-right: 8px; }
  .js .nav a { padding: 6px 0; font-size: 15px; border-bottom: 2px solid transparent; }
  .js .nav a:last-child { border-bottom: 2px solid transparent; }
  .js .nav a:hover { border-color: var(--gold-400); }
  .menu-btn { display: none; }
  .bar { height: 76px; gap: 20px; }
  .brand { margin-right: auto; }
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .section { padding: 96px 0; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 420px 1fr; gap: 72px; align-items: start; }
  .sticky { position: sticky; top: 110px; }
  .row { grid-template-columns: 1fr; padding: 26px 0; }
  .band { grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 56px; align-items: center; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .visa { padding: 96px 0; }
  .contacts { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1.5fr; align-items: start; }
  .foot-nav { justify-content: flex-end; }
  .foot-copy { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb-gold, .orb-teal-sm { animation: none; }
  .btn, .pillar, .more .ico { transition: none; }
}

/* SVG icon sprite holder (was an inline style, blocked by CSP) */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.foot-note a { text-decoration: underline; text-underline-offset: 3px; }
.foot-note a:hover { color: #fff; }
.foot-sep { margin-left: 18px; }
