/* ==========================================================================
   Khaolak Taxi Online — design system
   Deep navy + gold, the palette of the brand mark, with a sea-teal accent.
   ========================================================================== */

:root {
  /* ink */
  --ink-900: #070C16;
  --ink-850: #0A1120;
  --ink-800: #0D1728;
  --ink-700: #142138;
  --ink-600: #1D2E4A;
  --ink-500: #33455F;

  /* gold */
  --gold-100: #FBF3DC;
  --gold-200: #F3E2B4;
  --gold-300: #E9CE86;
  --gold-400: #DDB85B;
  --gold-500: #C9A227;
  --gold-600: #A8851C;

  /* sea */
  --sea-300: #6FD9E6;
  --sea-400: #34BFD2;
  --sea-500: #0FA3B7;

  /* neutrals */
  --sand-50:  #FCFAF6;
  --sand-100: #F6F2E9;
  --sand-200: #EDE7DA;
  --sand-300: #DED5C3;
  --slate-500: #6A7484;
  --slate-600: #4C5563;
  --slate-700: #333B47;

  --white: #fff;
  --wa: #25D366;
  --line: #06C755;

  /* semantic */
  --bg: var(--sand-50);
  --surface: var(--white);
  --text: #16202F;
  --text-muted: var(--slate-600);
  --text-soft: var(--slate-500);
  --border: rgba(22, 32, 47, .1);
  --border-strong: rgba(22, 32, 47, .16);
  --gold-line: rgba(201, 162, 39, .3);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(9, 16, 28, .05), 0 2px 8px rgba(9, 16, 28, .05);
  --shadow: 0 2px 6px rgba(9, 16, 28, .05), 0 12px 32px -8px rgba(9, 16, 28, .13);
  --shadow-lg: 0 4px 12px rgba(9, 16, 28, .07), 0 28px 64px -16px rgba(9, 16, 28, .22);
  --shadow-gold: 0 10px 30px -10px rgba(201, 162, 39, .5);

  --container: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --sect-y: clamp(3.75rem, 8vw, 7rem);

  --font-display: 'Sora', 'Noto Sans Thai', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html[lang="th"] {
  --font-display: 'Noto Sans Thai', 'Sora', system-ui, sans-serif;
  --font-body: 'Noto Sans Thai', 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Class-based display rules outrank the UA style for [hidden], so make the
   attribute authoritative — several components rely on toggling it. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="th"] body { line-height: 1.8; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] h4 {
  line-height: 1.35; letter-spacing: 0;
}
p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--sea-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed; top: .5rem; left: .5rem; z-index: 999;
  padding: .7rem 1.1rem; background: var(--ink-900); color: var(--gold-300);
  border-radius: var(--radius-sm); transform: translateY(-150%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ic { flex: none; }

/* ============================== typography util ========================== */

.eyebrow {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: .85rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: currentColor; opacity: .55; }
html[lang="th"] .eyebrow { letter-spacing: .06em; font-size: .8rem; }

.sect__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sect__head--center { margin-inline: auto; text-align: center; }
.sect__head--center .eyebrow::after { content: ''; width: 26px; height: 1.5px; background: currentColor; opacity: .55; }
.sect__title { font-size: clamp(1.65rem, 3.6vw, 2.7rem); }
.sect__sub { margin-top: .95rem; color: var(--text-muted); font-size: clamp(.98rem, 1.4vw, 1.09rem); }

section { padding-block: var(--sect-y); }

.sect--dark {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(201, 162, 39, .13), transparent 62%),
    radial-gradient(90% 80% at 5% 100%, rgba(15, 163, 183, .12), transparent 60%),
    var(--ink-900);
  color: var(--sand-100);
}
.sect--dark .sect__sub, .sect--dark p { color: rgba(246, 242, 233, .74); }
.sect--dark .eyebrow { color: var(--gold-400); }
.sect--tint { background: var(--sand-100); }

/* ================================= buttons =============================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .88rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn > span { display: inline-block; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .62rem 1.1rem; font-size: .87rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--ink-900); box-shadow: var(--shadow-gold);
}
.btn--primary:hover { box-shadow: 0 16px 38px -12px rgba(201, 162, 39, .62); }

.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-600); }
.sect--dark .btn--ghost, .hero .btn--ghost {
  border-color: rgba(233, 206, 134, .42); color: var(--gold-200);
  background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px);
}
.sect--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-300); }

.btn--dark { background: var(--ink-900); color: var(--gold-200); }
.btn--dark:hover { background: var(--ink-700); }
.btn--wa { background: var(--wa); color: #04351a; }
.btn--wa:hover { box-shadow: 0 14px 32px -12px rgba(37, 211, 102, .6); }
.btn--line { background: var(--line); color: #023318; }
.btn--line:hover { box-shadow: 0 14px 32px -12px rgba(6, 199, 85, .6); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ================================= header ================================ */

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 12, 22, .82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(201, 162, 39, .16);
  color: var(--sand-100);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
body.at-top .hdr { background: linear-gradient(to bottom, rgba(7, 12, 22, .62), transparent); border-bottom-color: transparent; }
body.at-top.has-hero .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; }

.hdr__bar { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); min-height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; flex: 0 1 auto; min-width: 0; margin-right: auto; }
.brand__mark {
  display: block;
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  box-shadow: 0 0 0 1.5px rgba(201, 162, 39, .55), 0 4px 14px rgba(0, 0, 0, .35);
  background: var(--ink-800);
}
.brand__mark--lg { width: 64px; height: 64px; }
.brand__img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(100deg, var(--gold-200), var(--gold-400) 45%, var(--gold-200));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.brand__tag {
  font-size: .68rem; color: rgba(246, 242, 233, .6); letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34ch; display: none;
}
@media (min-width: 1280px) { .brand__tag { display: block; } }
@media (min-width: 640px) and (max-width: 1079px) { .brand__tag { display: block; max-width: 26ch; } }

.hdr__nav { display: none; }
.hdr__nav ul { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.1rem); list-style: none; margin: 0; padding: 0; }
.hdr__nav a {
  position: relative; display: block; padding: .5rem .1rem; font-size: .9rem; font-weight: 500;
  white-space: nowrap;
  color: rgba(246, 242, 233, .82); transition: color .2s var(--ease);
}
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--sea-400)); transform: scaleX(0);
  transition: transform .28s var(--ease-out); transform-origin: left;
}
.hdr__nav a:hover { color: var(--white); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__nav a[aria-current="page"] { color: var(--gold-300); }

.hdr__actions { display: flex; align-items: center; gap: .5rem; flex: none; min-width: 0; }
.langsw {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem .85rem; min-width: 52px; flex: none; white-space: nowrap;
  border: 1px solid rgba(201, 162, 39, .3); border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; color: var(--gold-200);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.langsw:hover { background: rgba(201, 162, 39, .14); border-color: var(--gold-400); }
.langsw--block { justify-content: center; width: 100%; padding: .8rem; }

.hdr__call { display: none; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--sand-100); }
.hdr__call:hover { color: var(--gold-300); }
.hdr__cta { display: none; }

.hdr__burger {
  display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(201, 162, 39, .26);
  border-radius: 12px; color: var(--gold-200); cursor: pointer;
}
.hdr__burger .burger-close, .hdr__burger[aria-expanded="true"] .burger-open { display: none; }
.hdr__burger[aria-expanded="true"] .burger-close { display: block; }

.mnav {
  border-top: 1px solid rgba(201, 162, 39, .16); background: rgba(7, 12, 22, .97);
  backdrop-filter: blur(18px); max-height: calc(100dvh - 74px); overflow-y: auto;
  padding: .5rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
  animation: mnav-in .26s var(--ease-out);
}
@keyframes mnav-in { from { opacity: 0; transform: translateY(-8px); } }
.mnav[hidden] { display: none; }
.mnav__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.mnav__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-family: var(--font-display); font-weight: 600; color: rgba(246, 242, 233, .9);
}
.mnav__list a[aria-current="page"] { color: var(--gold-300); }
.mnav__list .ic { opacity: .4; }
.mnav__foot { display: grid; gap: .55rem; }

@media (min-width: 1080px) {
  .hdr__nav { display: block; }
  .hdr__burger { display: none; }
  .hdr__cta { display: inline-flex; }
  .mnav { display: none !important; }
}
@media (min-width: 640px) and (max-width: 1079px) { .hdr__call { display: inline-flex; } }
@media (max-width: 460px) {
  .hdr__bar { gap: .5rem; min-height: 66px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__tag { display: none; }
  .brand__name { font-size: .95rem; }
  .langsw { padding: .45rem .7rem; min-width: 46px; }
}
@media (min-width: 1340px) { .hdr__call { display: inline-flex; } }

/* ================================== hero ================================= */

.hero {
  position: relative; isolation: isolate;
  min-height: clamp(520px, 78vh, 780px);
  margin-top: -74px; padding-top: 74px;
  display: grid; overflow: hidden;
  background: var(--ink-900);
}
.hero__track { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease); pointer-events: none;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active img { animation: heroPan 11s var(--ease) forwards; }
@keyframes heroPan { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active img { animation: none; } }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(4, 8, 15, .97) 0%, rgba(4, 8, 15, .95) 34%, rgba(4, 9, 17, .84) 46%,
      rgba(5, 10, 19, .45) 60%, rgba(5, 10, 19, .1) 74%, rgba(5, 10, 19, .4) 100%),
    linear-gradient(to top, rgba(4, 8, 15, .8), transparent 40%);
}
@media (max-width: 767px) {
  /* Keep the photograph readable on phones — enough scrim for AA contrast
     under the copy, but not so much that the vehicle disappears. */
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(5, 9, 17, .92) 0%, rgba(5, 9, 17, .78) 34%, rgba(5, 9, 17, .3) 68%, rgba(5, 9, 17, .5) 100%);
  }
  .hero { min-height: clamp(560px, 82svh, 720px); }
  .hero__inner { align-items: end; }
  .hero__lockup span { letter-spacing: .3em; max-width: 100%; }
  .hero__chips { padding: .5rem .85rem; }
  .hero__chips li { padding-inline: .6rem; font-size: .72rem; letter-spacing: .06em; }
  .hero__wa { width: 100%; }
  .hero__wa-badge { margin-left: auto; }
  .hero__cta .btn { flex: 1 1 auto; }
}

.hero__inner {
  position: relative; display: grid; align-items: end;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem);
  width: 100%;
}
.hero__copy { max-width: 43rem; color: var(--sand-50); }
/* Eyebrow: gold tick + rule + wide-tracked caps, as on the approved banner. */
.hero__eyebrow {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1.35rem;
  font-family: var(--font-display); font-size: .76rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold-300);
}
.hero__eyebrow[hidden] { display: none; }
.hero__tick { width: 4px; height: 20px; border-radius: 2px; background: var(--gold-400); flex: none; }
.hero__rule { width: clamp(28px, 7vw, 84px); height: 1px; background: linear-gradient(90deg, var(--gold-500), transparent); flex: none; }
html[lang="th"] .hero__eyebrow { letter-spacing: .1em; font-size: .84rem; }

/* Brand lockup */
.hero__lockup { margin-bottom: 1.45rem; }
.hero__lockup strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.75rem, 4.4vw, 2.9rem); line-height: 1; letter-spacing: .06em;
  background: linear-gradient(100deg, var(--gold-200), var(--gold-400) 48%, var(--gold-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lockup span {
  display: block; margin-top: .5rem; padding-bottom: .7rem;
  font-family: var(--font-display); font-size: clamp(.72rem, 1.5vw, .9rem); font-weight: 600;
  letter-spacing: .42em; color: rgba(252, 250, 246, .82);
  border-bottom: 1px solid rgba(233, 206, 134, .28); max-width: 22rem;
}

.hero__title {
  font-size: clamp(2rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}
html[lang="th"] .hero__title { letter-spacing: -.005em; font-size: clamp(1.8rem, 4.9vw, 3.15rem); }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-200), var(--gold-400) 50%, var(--gold-200));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin-top: 1.05rem; font-size: clamp(.98rem, 1.6vw, 1.13rem);
  color: rgba(252, 250, 246, .82); max-width: 36rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .5);
}
.hero__sub[hidden] { display: none; }

/* Service chips */
.hero__chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 1.5rem 0 0; padding: .55rem 1.1rem;
  list-style: none; width: fit-content; max-width: 100%;
  border: 1px solid rgba(233, 206, 134, .34); border-radius: var(--radius-pill);
  background: rgba(9, 16, 28, .34); backdrop-filter: blur(10px);
}
.hero__chips li {
  display: flex; align-items: center; gap: .6rem; padding: .1rem .85rem;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(252, 250, 246, .9); white-space: nowrap;
}
html[lang="th"] .hero__chips li { letter-spacing: .02em; text-transform: none; font-size: .84rem; }
.hero__chips li + li { border-left: 1px solid rgba(233, 206, 134, .28); }
.hero__chips li:first-child { padding-left: 0; }
.hero__chips li:last-child { padding-right: 0; }
.hero__dotmark { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); flex: none; }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.85rem; }

/* The gold WhatsApp pill from the banner: icon, label, number, 24/7 badge. */
.hero__wa {
  display: inline-flex; align-items: center; gap: .85rem; padding: .6rem .7rem .6rem .6rem;
  border-radius: var(--radius-pill); color: var(--ink-900);
  background: linear-gradient(105deg, var(--gold-300), var(--gold-400) 45%, var(--gold-500));
  box-shadow: 0 14px 34px -12px rgba(201, 162, 39, .7);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.hero__wa:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(201, 162, 39, .8); }
.hero__wa-ic {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: var(--ink-900); color: var(--gold-300);
}
.hero__wa-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.hero__wa-label { font-family: var(--font-display); font-size: .82rem; font-weight: 600; opacity: .82; }
.hero__wa-num { font-family: var(--font-display); font-size: 1.06rem; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.hero__wa-badge {
  display: grid; place-items: center; flex: none; margin-left: .35rem; padding: .5rem .7rem;
  border-radius: var(--radius-pill); background: var(--ink-900); color: var(--gold-300);
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}

.hero__dots { display: flex; gap: .45rem; margin-top: 2.25rem; }
.hero__dot {
  width: 30px; height: 4px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(252, 250, 246, .3); transition: background .3s var(--ease), width .3s var(--ease);
}
.hero__dot.is-active { background: var(--gold-400); width: 46px; }

.hero__arrows { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 6vw, 4rem); display: none; gap: .5rem; }
.hero__arrow {
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(233, 206, 134, .34);
  background: rgba(9, 16, 28, .42); backdrop-filter: blur(10px); color: var(--gold-200);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero__arrow:hover { background: rgba(201, 162, 39, .22); border-color: var(--gold-400); }
@media (min-width: 900px) { .hero__arrows { display: flex; } }

/* --------------------------- hero quick-quote card ---------------------- */

.quotecard {
  position: relative; z-index: 3;
  margin-top: clamp(-3.5rem, -4vw, -2rem);
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--gold-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.25rem, 2.6vw, 1.9rem);
}
.quotecard__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; margin-bottom: 1.15rem; }
.quotecard__head h2 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.quotecard__head p { color: var(--text-soft); font-size: .9rem; }

/* ================================= forms ================================= */

.bform__grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .bform__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .bform--compact .bform__grid { grid-template-columns: 2fr 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .38rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
@media (min-width: 960px) { .bform--compact .field--wide { grid-column: auto; } }
.field[hidden] { display: none; }

.field label {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  color: var(--slate-600); letter-spacing: .01em;
  display: flex; align-items: baseline; gap: .4rem;
}
.field .req { color: #C2410C; }
.field .hint { font-weight: 500; color: var(--text-soft); font-size: .72rem; }

.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; font: inherit; font-size: .95rem; color: var(--text);
  background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  min-height: 46px;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3.5px rgba(201, 162, 39, .16);
}
.field input:user-invalid { border-color: #DC2626; }
.field input::placeholder, .field textarea::placeholder { color: #9AA3B0; }

.select { position: relative; display: block; }
.select select { appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select__chev { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--slate-500); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bform__quote {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
  margin-top: 1.05rem; padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  background: linear-gradient(100deg, rgba(201, 162, 39, .12), rgba(15, 163, 183, .09));
  border: 1px solid var(--gold-line);
}
.bform__quote[hidden] { display: none; }
.bform__quote-label { font-size: .8rem; font-weight: 600; color: var(--slate-600); }
.bform__quote-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink-800); }
.bform__quote-unit { font-size: .8rem; color: var(--text-soft); }

.bform__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.15rem; }
.bform__actions .btn { flex: 1 1 auto; min-width: 190px; }
.bform__note { margin-top: .85rem; font-size: .8rem; color: var(--text-soft); }
.bform__status:empty { display: none; }
.bform__status {
  margin-top: 1rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  font-size: .93rem; border: 1px solid;
}
.bform__status.is-ok { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.bform__status.is-err { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.bform__status strong { display: block; font-family: var(--font-display); margin-bottom: .2rem; }

/* ================================== cards ================================ */

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out), border-color .34s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-line); }
.card__body { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.15rem, 2vw, 1.5rem); flex: 1; }
.card__title { font-size: 1.14rem; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__text { color: var(--text-muted); font-size: .93rem; }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--border);
}
.card__more { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--gold-600); }
.card:hover .card__more .ic { transform: translateX(3px); }
.card__more .ic { transition: transform .25s var(--ease); }

.card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(140deg, rgba(201, 162, 39, .18), rgba(15, 163, 183, .13));
  color: var(--gold-600); border: 1px solid var(--gold-line); margin-bottom: .3rem;
}
.sect--dark .card {
  background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); color: var(--sand-100);
}
.sect--dark .card:hover { border-color: rgba(233, 206, 134, .4); background: rgba(255, 255, 255, .07); }
.sect--dark .card__text { color: rgba(246, 242, 233, .7); }
.sect--dark .card__foot { border-top-color: rgba(255, 255, 255, .1); }
.sect--dark .card__icon { color: var(--gold-300); background: rgba(201, 162, 39, .16); }

/* frames */
.frame { position: relative; overflow: hidden; background: var(--ink-800); }
.frame__cover, .frame__fit, .frame img { width: 100%; height: 100%; }
.frame__cover { object-fit: cover; }
.frame--safe .frame__blur {
  position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover;
  filter: blur(26px) saturate(1.25) brightness(.62); transform: scale(1.06);
}
.frame--safe .frame__fit { position: relative; object-fit: contain; }
.card .frame { border-radius: 0; }
img.ph { background-size: cover; background-position: center; }

.card__media { position: relative; overflow: hidden; }
.card__media .frame { transition: transform .5s var(--ease-out); }
.card:hover .card__media .frame { transform: scale(1.035); }
.card__badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  padding: .35rem .75rem; border-radius: var(--radius-pill);
  background: rgba(7, 12, 22, .78); backdrop-filter: blur(8px);
  color: var(--gold-200); font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(233, 206, 134, .3);
}
html[lang="th"] .card__badge { text-transform: none; letter-spacing: .02em; font-size: .76rem; }

/* prices */
.price { display: inline-flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.price__from { font-size: .74rem; color: var(--text-soft); font-weight: 600; }
.price__amount { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink-800); letter-spacing: -.02em; }
.price__unit { font-size: .72rem; color: var(--text-soft); }
.price--ask { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--gold-600); }
.sect--dark .price__amount { color: var(--gold-200); }
.sect--dark .price__from, .sect--dark .price__unit { color: rgba(246, 242, 233, .6); }

/* ============================== trust strip ============================== */

.trust { border-block: 1px solid var(--border); background: var(--white); padding-block: clamp(1.25rem, 2.4vw, 1.9rem); }
.trust__grid { display: grid; gap: 1rem clamp(1rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.trust__item { display: flex; align-items: center; gap: .7rem; font-size: .92rem; font-weight: 600; font-family: var(--font-display); color: var(--slate-700); }
.trust__item .ic { color: var(--gold-600); flex: none; }

/* ============================== route table ============================== */

.rates__tools { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.5rem; align-items: center; }
.search {
  position: relative; flex: 1 1 260px; max-width: 420px;
}
.search input { width: 100%; padding: .78rem .9rem .78rem 2.7rem; font: inherit; font-size: .95rem;
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--white); min-height: 48px; }
.search input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3.5px rgba(201, 162, 39, .16); }
.search .ic { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--slate-500); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .55rem 1.05rem; border-radius: var(--radius-pill); cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--white);
  font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--slate-600);
  transition: all .22s var(--ease);
}
.chip:hover { border-color: var(--gold-500); color: var(--gold-600); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink-900); border-color: var(--ink-900); color: var(--gold-200); }

.ratetable { width: 100%; }
.rategroup + .rategroup { margin-top: 2.5rem; }
.rategroup__head { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.rategroup__head h3 { font-size: 1.15rem; }
.rategroup__head .ic { color: var(--gold-600); }

.rtable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; }
.rtable-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.rtable th, .rtable td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.rtable thead th {
  background: var(--sand-100); font-family: var(--font-display); font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--slate-600); white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
html[lang="th"] .rtable thead th { text-transform: none; letter-spacing: .02em; font-size: .84rem; }
.rtable tbody tr:last-child td { border-bottom: 0; }
.rtable tbody tr { transition: background .18s var(--ease); }
.rtable tbody tr:hover { background: var(--sand-50); }
.rtable tbody tr[hidden] { display: none; }
.rtable .rt-route { min-width: 240px; font-weight: 600; }
.rtable .rt-route span { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.rtable .rt-route .ic { color: var(--gold-500); flex: none; }
.rtable .rt-price { font-family: var(--font-display); font-weight: 700; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.rtable .rt-price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--text-soft); }
.rtable .rt-cta { text-align: right; white-space: nowrap; }
.rtable .rt-pop {
  display: inline-block; margin-left: .5rem; padding: .12rem .5rem; border-radius: var(--radius-pill);
  background: rgba(201, 162, 39, .16); color: var(--gold-600); font-size: .68rem; font-weight: 700;
  font-family: var(--font-display); letter-spacing: .04em; vertical-align: middle;
}
.rtable__empty { padding: 2.5rem 1rem; text-align: center; color: var(--text-soft); }
.rtable__empty[hidden] { display: none; }
.rates__note {
  margin-top: 1.25rem; display: flex; gap: .6rem; align-items: flex-start;
  font-size: .84rem; color: var(--text-soft); max-width: 70ch;
}
.rates__note .ic { color: var(--gold-500); flex: none; margin-top: .15rem; }

/* mobile: rows become cards so nothing is cut off */
@media (max-width: 719px) {
  .rtable-wrap { border: 0; box-shadow: none; background: transparent; overflow: visible; }
  .rtable, .rtable tbody, .rtable tr, .rtable td { display: block; width: 100%; }
  .rtable thead { display: none; }
  .rtable tr {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 1rem 1.1rem; margin-bottom: .8rem;
  }
  .rtable td { border: 0; padding: .3rem 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .rtable td::before {
    content: attr(data-label); font-family: var(--font-display); font-size: .78rem; font-weight: 600;
    color: var(--slate-500); flex: none;
  }
  .rtable .rt-route { min-width: 0; display: block; padding-bottom: .6rem; margin-bottom: .5rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .rtable .rt-route::before { display: none; }
  .rtable .rt-price small { display: none; }
  .rtable .rt-cta { padding-top: .8rem; justify-content: stretch; }
  .rtable .rt-cta::before { display: none; }
  .rtable .rt-cta .btn { width: 100%; }
}

/* ============================== fleet cards ============================== */

.fleetcard { display: flex; flex-direction: column; }
.fleetcard__specs { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .45rem; }
.fleetcard__specs li { display: flex; gap: .55rem; align-items: flex-start; font-size: .89rem; color: var(--text-muted); }
.fleetcard__specs .ic { color: var(--sea-500); flex: none; margin-top: .18rem; }
.fleetcard__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem;
  border-radius: var(--radius-pill); background: var(--sand-100); border: 1px solid var(--border);
  font-size: .8rem; font-weight: 600; color: var(--slate-600);
}
.pill .ic { color: var(--gold-600); }
.sect--dark .pill { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: rgba(246, 242, 233, .82); }
.fleetcard__ph {
  display: grid; place-items: center; gap: .5rem; aspect-ratio: 16/10;
  background: linear-gradient(140deg, var(--ink-800), var(--ink-700));
  color: rgba(233, 206, 134, .5);
}
.fleetcard__ph .ic { width: 64px; height: 64px; }

/* ============================== why / values ============================= */

.why__grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); }
.why__item { display: flex; gap: 1rem; align-items: flex-start; }
.why__ic {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px;
  background: rgba(201, 162, 39, .14); border: 1px solid rgba(233, 206, 134, .28); color: var(--gold-300);
}
.why__item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.why__item p { font-size: .91rem; }

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(50% - .5rem, 150px), 1fr)); }
.stat {
  padding: 1.25rem 1.1rem; border-radius: var(--radius); text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(233, 206, 134, .2);
}
.stat__v { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: var(--gold-300); line-height: 1; letter-spacing: -.03em; }
.stat__l { margin-top: .5rem; font-size: .82rem; color: rgba(246, 242, 233, .72); }

/* ================================ gallery ================================ */

.gallery { columns: 1; column-gap: clamp(.75rem, 1.6vw, 1.15rem); }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 900px) { .gallery { columns: 3; } }
@media (min-width: 1200px) { .gallery { columns: 4; } }
.gitem { break-inside: avoid; margin-bottom: clamp(.75rem, 1.6vw, 1.15rem); }
.gitem[hidden] { display: none; }
.gitem__btn {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; position: relative;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-800);
  box-shadow: var(--shadow-sm); transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}
.gitem__btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gitem__btn img { width: 100%; height: auto; }
.gitem__cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2.2rem .95rem .85rem;
  background: linear-gradient(to top, rgba(7, 12, 22, .88), transparent);
  color: var(--sand-50); font-size: .84rem; text-align: left; line-height: 1.45;
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gitem__btn:hover .gitem__cap, .gitem__btn:focus-visible .gitem__cap { opacity: 1; transform: none; }
@media (hover: none) { .gitem__cap { opacity: 1; transform: none; } }

.lbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(4, 8, 15, .93); backdrop-filter: blur(10px);
  padding: clamp(1rem, 4vw, 3rem); animation: fade .22s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.lbox[hidden] { display: none; }
.lbox__fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: .85rem; }
.lbox__fig img { max-height: min(78vh, 900px); width: auto; margin-inline: auto; border-radius: var(--radius); object-fit: contain; }
.lbox__cap { color: rgba(252, 250, 246, .82); font-size: .92rem; text-align: center; }
.lbox__close, .lbox__nav {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(233, 206, 134, .3); background: rgba(255, 255, 255, .08);
  color: var(--gold-200); backdrop-filter: blur(8px);
}
.lbox__close { top: clamp(.75rem, 3vw, 1.6rem); right: clamp(.75rem, 3vw, 1.6rem); }
.lbox__nav--prev { left: clamp(.5rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lbox__nav--next { right: clamp(.5rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lbox__close:hover, .lbox__nav:hover { background: rgba(201, 162, 39, .25); }

/* =============================== testimonials =========================== */

.tcard { padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.tcard__quote { color: var(--gold-500); opacity: .5; margin-bottom: .6rem; }
.tcard__text { font-size: 1rem; color: var(--text); }
.tcard__stars { display: flex; gap: .15rem; color: var(--gold-500); margin-top: .9rem; }
.tcard__who { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.tcard__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sand-200); }
.tcard__name { font-family: var(--font-display); font-weight: 600; font-size: .93rem; }
.tcard__meta { font-size: .8rem; color: var(--text-soft); }

/* =================================== FAQ ================================= */

.faq { max-width: 60rem; margin-inline: auto; display: grid; gap: .7rem; }
.acc {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.acc[open] { border-color: var(--gold-line); box-shadow: var(--shadow); }
.acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
  padding: 1.1rem clamp(1rem, 2vw, 1.4rem); list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.acc__q::-webkit-details-marker { display: none; }
.acc__q .ic { color: var(--gold-600); transition: transform .3s var(--ease); flex: none; }
.acc[open] .acc__q .ic { transform: rotate(180deg); }
.acc__a { padding: 0 clamp(1rem, 2vw, 1.4rem) 1.25rem; color: var(--text-muted); font-size: .95rem; }
.sect--dark .acc { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); }
.sect--dark .acc__a { color: rgba(246, 242, 233, .74); }

/* ================================ CTA band =============================== */

.ctaband { position: relative; overflow: hidden; }
.ctaband__inner { display: grid; gap: 1.5rem; align-items: center; text-align: center; justify-items: center; }
.ctaband h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.ctaband p { max-width: 52ch; }
.ctaband__btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

/* ============================== breadcrumbs ============================== */

.crumbs { margin-bottom: 1.1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--text-soft); }
.crumbs li { display: inline-flex; align-items: center; gap: .3rem; }
.crumbs a:hover { color: var(--gold-600); }
.crumbs__sep { opacity: .45; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* =============================== page head =============================== */

.phead {
  position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(110% 100% at 85% 0%, rgba(201, 162, 39, .17), transparent 60%),
    radial-gradient(80% 90% at 0% 100%, rgba(15, 163, 183, .13), transparent 58%),
    var(--ink-900);
  color: var(--sand-50);
  margin-top: -74px; padding-top: calc(74px + clamp(2.5rem, 6vw, 4.5rem));
}
.phead h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.phead__lead { margin-top: 1rem; max-width: 62ch; color: rgba(252, 250, 246, .78); font-size: clamp(1rem, 1.5vw, 1.1rem); }
.phead .crumbs { color: rgba(252, 250, 246, .55); }
.phead .crumbs [aria-current] { color: var(--gold-200); }
.phead .crumbs a:hover { color: var(--gold-300); }

/* ============================== article body ============================ */

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-top: 2.25rem; margin-bottom: .8rem; }
.prose ul { margin: 1rem 0; padding-left: 0; list-style: none; display: grid; gap: .55rem; }
.prose ul li { display: flex; gap: .6rem; align-items: flex-start; }
.prose ul li .ic { color: var(--sea-500); flex: none; margin-top: .2rem; }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split--rev > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ============================== detail page ============================== */

.detail__hero { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.detail__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 960px) { .detail__grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.aside {
  position: sticky; top: 96px; display: grid; gap: 1rem;
  background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.4vw, 1.7rem); box-shadow: var(--shadow);
}
.aside h2 { font-size: 1.1rem; }
.aside__price { padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.aside__btns { display: grid; gap: .55rem; }
.aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .88rem; color: var(--text-muted); }
.aside__list li { display: flex; gap: .55rem; align-items: flex-start; }
.aside__list .ic { color: var(--sea-500); flex: none; margin-top: .18rem; }

/* ============================== contact page ============================ */

.contact__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.cchannels { display: grid; gap: .7rem; }
.cchannel {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.15rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.cchannel:hover { border-color: var(--gold-500); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.cchannel__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--sand-100); color: var(--gold-600); }
.cchannel--wa .cchannel__ic { background: rgba(37, 211, 102, .14); color: #128C4A; }
.cchannel--line .cchannel__ic { background: rgba(6, 199, 85, .14); color: #049648; }
.cchannel__l { font-size: .76rem; color: var(--text-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
html[lang="th"] .cchannel__l { text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.cchannel__v { font-family: var(--font-display); font-weight: 600; font-size: 1rem; word-break: break-word; }
.cchannel .ic:last-child { margin-left: auto; color: var(--slate-500); }

.mapbox { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--sand-200); aspect-ratio: 16/10; }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapbox--empty { display: grid; place-items: center; gap: .5rem; color: var(--text-soft); text-align: center; padding: 2rem; font-size: .9rem; }

/* ================================= footer ================================ */

.ftr { background: var(--ink-900); color: rgba(246, 242, 233, .72); padding-top: clamp(3rem, 6vw, 4.5rem); }
.ftr__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.ftr__brand { max-width: 34ch; }
.ftr__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold-200); margin-top: .9rem; }
.ftr__tag { font-size: .84rem; color: var(--gold-400); margin-top: .15rem; }
.ftr__desc { margin-top: .9rem; font-size: .88rem; line-height: 1.7; }
.ftr__social { display: flex; gap: .5rem; margin-top: 1.15rem; }
.ftr__social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--gold-200);
  transition: all .22s var(--ease);
}
.ftr__social a:hover { background: rgba(201, 162, 39, .2); border-color: var(--gold-500); transform: translateY(-2px); }

.ftr__h { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1rem; }
html[lang="th"] .ftr__h { letter-spacing: .04em; font-size: .88rem; text-transform: none; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .9rem; }
.ftr__col ul + ul { margin-top: .6rem; }
.ftr__col a { transition: color .2s var(--ease); }
.ftr__col a:hover { color: var(--gold-300); }
.ftr__contacts a { display: inline-flex; align-items: center; gap: .55rem; word-break: break-word; }
.ftr__contacts .ic { color: var(--gold-500); flex: none; }
.ftr__addr { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; margin-top: .9rem; }
.ftr__addr .ic { color: var(--gold-500); flex: none; margin-top: .2rem; }
.ftr__map, .ftr__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-size: .86rem; font-weight: 600; color: var(--gold-300); }
.ftr__map:hover, .ftr__more:hover { gap: .55rem; }
.ftr__base { border-top: 1px solid rgba(255, 255, 255, .09); padding-block: 1.25rem; }
.ftr__base-in { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; font-size: .82rem; }
.ftr__lang a { color: var(--gold-300); }

/* ============================== floating CTA ============================= */

.fab {
  position: fixed; z-index: 90; right: clamp(.9rem, 2.5vw, 1.5rem);
  bottom: calc(clamp(.9rem, 2.5vw, 1.5rem) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: .6rem;
}
.fab__btn {
  display: flex; align-items: center; gap: 0; width: 52px; height: 52px; padding: 0 15px;
  border-radius: var(--radius-pill); color: #fff; overflow: hidden; white-space: nowrap;
  box-shadow: 0 8px 24px -6px rgba(9, 16, 28, .4);
  transition: width .3s var(--ease-out), gap .3s var(--ease-out), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.fab__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(9, 16, 28, .5); }
.fab__label { font-family: var(--font-display); font-weight: 600; font-size: .88rem; opacity: 0; transition: opacity .2s var(--ease); }
@media (hover: hover) {
  .fab__btn:hover { width: auto; gap: .55rem; }
  .fab__btn:hover .fab__label { opacity: 1; }
}
.fab__btn--wa { background: var(--wa); }
.fab__btn--line { background: var(--line); }
.fab__btn--call { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--ink-900); }
@media (max-width: 639px) { .fab__btn--call { display: none; } }

/* ================================== misc ================================= */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.hero__pane { animation: paneIn .6s var(--ease-out); }
.hero__pane[hidden] { display: none; }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }


.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.empty-state {
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong); color: var(--text-soft); background: var(--white);
}
.empty-state .ic { color: var(--gold-500); margin-inline: auto; margin-bottom: .75rem; width: 34px; height: 34px; }

.nf { display: grid; place-items: center; text-align: center; gap: 1.25rem; padding-block: clamp(4rem, 12vw, 8rem); }
.nf__code { font-family: var(--font-display); font-size: clamp(4rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf__btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

@media print {
  .hdr, .ftr, .fab, .hero__arrows, .hero__dots, .btn { display: none !important; }
  body { background: #fff; }
  .rtable-wrap { border: 1px solid #ccc; }
}
