:root {
  --taxi-yellow: #ffc400;
  --taxi-gold: #f2a900;
  --taxi-amber: #ffb000;
  --line-green: #06c755;
  --line-green-dark: #049c43;
  --ink: #081f3a;
  --navy: #0b2b4c;
  --blue: #115c9b;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --line: #dbe6f2;
  --green: #13a538;
  --text: #1d2b3a;
  --muted: #5c6b7a;
  --shadow: 0 18px 42px rgba(8, 31, 58, 0.14);
  --focus-ring: 0 0 0 4px rgba(17, 92, 155, 0.2);
  --call-shadow: 0 14px 28px rgba(242, 169, 0, 0.32);
  --line-shadow: 0 14px 28px rgba(6, 199, 85, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans Thai", "Tahoma", sans-serif;
  line-height: 1.7;
  background: var(--paper);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
}

.topbar .container,
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.15rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--taxi-yellow), var(--taxi-gold));
  color: var(--ink);
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(8, 31, 58, 0.18);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #fff4bd;
  text-decoration: none;
}

.hero {
  color: #fff;
  background: var(--navy);
}

.hero-with-bg {
  position: relative;
  min-height: clamp(620px, 78vh, 760px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 58, 0.9) 0%, rgba(8, 31, 58, 0.78) 48%, rgba(8, 31, 58, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 31, 58, 0.25), rgba(8, 31, 58, 0.65));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 34px;
  min-height: clamp(620px, 78vh, 760px);
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--taxi-yellow);
  font-weight: 900;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
}

.hero h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  letter-spacing: 0;
}

.hero .lead {
  color: #e8f1fb;
  font-size: 1.18rem;
  max-width: 760px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-panel,
.hero-booking-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: rgba(8, 31, 58, 0.72);
  box-shadow: 0 18px 42px rgba(8, 31, 58, 0.24);
  backdrop-filter: blur(8px);
}

.hero-panel h2,
.hero-panel h3,
.hero-booking-card h2,
.hero-booking-card h3 {
  color: #fff;
  margin-top: 0;
}

.hero-card-media {
  margin-bottom: 18px;
  padding: 16px;
}

.hero-card-media img {
  display: block;
  width: min(160px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.badge-row,
.btn-row,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-row,
.cta-group {
  align-items: center;
}

.btn-row .btn-primary-call,
.btn-row .btn-line {
  min-width: min(100%, 210px);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 850;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(8, 31, 58, 0.1);
  transform: translateY(0);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:focus-visible,
.sticky-cta a:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 7px 16px rgba(8, 31, 58, 0.16);
}

.btn-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.btn-primary,
.btn-primary-call {
  background:
    linear-gradient(180deg, #ffe176 0%, var(--taxi-yellow) 48%, var(--taxi-amber) 100%);
  color: var(--ink);
  font-size: clamp(1.07rem, 1vw, 1.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.005em;
  box-shadow: var(--call-shadow), inset 0 -2px 0 rgba(8, 31, 58, 0.14);
}

.btn-primary::before,
.btn-primary-call::before {
  content: "☎";
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 999px;
  background: rgba(8, 31, 58, 0.12);
  color: var(--ink);
  font-size: 1.14em;
  line-height: 1;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary-call:hover,
.btn-primary-call:focus-visible {
  background:
    linear-gradient(180deg, #ffeb99 0%, #ffd12f 48%, #f4a900 100%);
  box-shadow: 0 18px 34px rgba(242, 169, 0, 0.42), inset 0 -2px 0 rgba(8, 31, 58, 0.14);
}

.btn-line {
  background:
    linear-gradient(180deg, #26df73 0%, var(--line-green) 54%, var(--line-green-dark) 100%);
  color: #fff;
  font-size: clamp(1.07rem, 1vw, 1.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.005em;
  box-shadow: var(--line-shadow), inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}

.btn-line::before {
  content: "LINE";
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.btn-line:hover,
.btn-line:focus-visible {
  background:
    linear-gradient(180deg, #37ea83 0%, #08d95e 54%, #04a849 100%);
  box-shadow: 0 18px 34px rgba(6, 199, 85, 0.32), inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}

.btn-outline {
  color: #0b2d52;
  background: #f3f7fb;
  border-color: #0b2d52;
  font-size: clamp(0.99rem, 0.9vw, 1.05rem);
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 10px 22px rgba(8, 31, 58, 0.14);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: #061f3d;
  background: #e6eff8;
  border-color: #061f3d;
  box-shadow: 0 16px 30px rgba(8, 31, 58, 0.18);
}

.section {
  padding: 58px 0;
}

.section-soft {
  background: var(--soft);
}

.section-title {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-title h2,
.page-title h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 31, 58, 0.06);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card-media,
.content-media {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.card-media {
  aspect-ratio: 4 / 3;
  margin: -6px 0 16px;
}

.content-media {
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
}

.media-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 31, 58, 0.06);
}

.media-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.media-panel figcaption {
  padding: 0 16px 16px;
}

.qr-image {
  max-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list,
.link-list {
  padding-left: 1.2rem;
}

.check-list li,
.link-list li {
  margin-bottom: 8px;
}

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 40px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-band h2,
.cta-band h3 {
  color: #fff;
  margin-top: 0;
}

.page-title {
  padding: 48px 0 34px;
  background: linear-gradient(135deg, #fff8d5, #eef6ff);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumb a {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.contact-cta-card {
  border: 1px solid rgba(255, 196, 0, 0.35);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, #fff8d5, #ffffff 54%, #eef9f2);
  box-shadow: 0 18px 42px rgba(8, 31, 58, 0.12);
}

.contact-cta-card h2 {
  margin-top: 0;
}

.contact-cta-card .contact-list {
  margin: 14px 0 18px;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.site-footer {
  padding: 34px 0 92px;
  color: #dbe7f4;
  background: #07192d;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr 1fr;
  gap: 22px;
}

.sticky-cta {
  display: none;
}

@media (max-width: 1060px) and (min-width: 861px) {
  .nav-links a {
    padding: 10px 8px;
    font-size: 0.94rem;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .topbar .container {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-links {
    display: block;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0 14px;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .hero-grid,
  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0 42px;
  }

  .hero-with-bg {
    min-height: auto;
  }

  .hero-bg {
    object-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 31, 58, 0.92) 0%, rgba(8, 31, 58, 0.82) 52%, rgba(8, 31, 58, 0.72) 100%);
  }

  .hero-booking-card {
    padding: 20px;
  }

  .section {
    padding: 42px 0;
  }

  .btn {
    min-height: 58px;
    padding: 14px 18px;
    font-size: 1.06rem;
    font-weight: 900;
    width: 100%;
  }

  .btn-primary,
  .btn-primary-call,
  .btn-line {
    font-size: 1.09rem;
    font-weight: 900;
  }

  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 25, 45, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -18px 34px rgba(8, 31, 58, 0.32);
    backdrop-filter: blur(14px);
  }

  .sticky-cta a {
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-weight: 900;
    font-size: clamp(0.98rem, 3.8vw, 1.08rem);
    line-height: 1.05;
    letter-spacing: 0;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
  }

  .sticky-cta a:hover,
  .sticky-cta a:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
  }

  .sticky-cta a:active {
    transform: translateY(1px) scale(0.98);
    filter: saturate(1.08);
  }

  .sticky-cta a::before {
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-size: 0.96rem;
    line-height: 1;
  }

  .sticky-call {
    background: linear-gradient(180deg, #ffe176, var(--taxi-yellow) 50%, var(--taxi-amber));
    color: var(--ink);
    box-shadow: 0 12px 24px rgba(242, 169, 0, 0.32);
  }

  .sticky-call::before {
    content: "☎";
    width: 22px;
    height: 22px;
    background: rgba(8, 31, 58, 0.12);
  }

  .sticky-line {
    background: linear-gradient(180deg, #26df73, var(--line-green) 54%, var(--line-green-dark));
  }

  .sticky-line::before {
    content: "LINE";
    min-width: 32px;
    height: 20px;
    padding: 0 5px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.62rem;
    font-weight: 900;
  }
}
