/* ==========================================================================
   Chiang Mai Lady Driver — CMLD
   Elegant Lanna-inspired design system
   ========================================================================== */

:root {
  --forest: #0f2b26;
  --forest-2: #16382f;
  --pine: #1d4a3f;
  --gold: #c8a35a;
  --gold-light: #e9d5a6;
  --cream: #fbf7ef;
  --sand: #f2e9da;
  --sand-2: #ece0cb;
  --ink: #10211d;
  --muted: #6c7a74;
  --white: #ffffff;
  --line: rgba(200, 163, 90, 0.34);
  --line-soft: rgba(16, 33, 29, 0.1);
  --shadow-s: 0 6px 24px rgba(15, 43, 38, 0.08);
  --shadow-m: 0 18px 50px rgba(15, 43, 38, 0.14);
  --shadow-l: 0 30px 80px rgba(15, 43, 38, 0.2);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Noto Sans Thai", -apple-system, "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--forest);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--forest);
}

p {
  margin: 0 0 1.1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.container--narrow {
  max-width: 880px;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--dark {
  color: var(--pine);
}

.display {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
}

.h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.06;
  margin-bottom: 22px;
}

.h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.italic {
  font-style: italic;
}

.gold {
  color: var(--gold);
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
}

.section--tight {
  padding-block: clamp(56px, 6vw, 88px);
}

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

.section--sand {
  background: var(--sand);
  overflow: hidden;
}

.section--forest {
  background: var(--forest);
  color: rgba(251, 247, 239, 0.78);
  overflow: hidden;
}

.section--forest h2,
.section--forest h3,
.section--forest h4 {
  color: var(--cream);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head__text {
  max-width: 620px;
}

.section-head .h2 {
  margin-bottom: 0;
}

.section-head__link {
  flex: none;
}

/* ---------- ornaments ---------- */
.ornament {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
}

.ornament--leaf {
  width: clamp(180px, 22vw, 320px);
  color: var(--gold);
}

.ornament--leaf-tr {
  top: -40px;
  right: -60px;
  transform: rotate(12deg);
}

.ornament--leaf-bl {
  bottom: -60px;
  left: -80px;
  transform: rotate(-168deg);
}

.ornament--bird {
  width: clamp(80px, 10vw, 130px);
  opacity: 0.65;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.7;
}

.btn--gold {
  background: var(--gold);
  color: #14201c;
  box-shadow: 0 12px 28px rgba(200, 163, 90, 0.32);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(200, 163, 90, 0.4);
}

.btn--ghost {
  border-color: rgba(251, 247, 239, 0.45);
  color: var(--cream);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(251, 247, 239, 0.12);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--gold);
  color: var(--forest);
}

.btn--outline:hover {
  background: var(--gold);
  color: #14201c;
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--forest);
  color: var(--cream);
}

.btn--dark:hover {
  background: var(--pine);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 12px 22px;
  font-size: 0.7rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
    height 0.45s var(--ease), color 0.45s var(--ease);
  color: var(--cream);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(251, 247, 239, 0.16);
  transition: opacity 0.4s var(--ease);
}

.site-header.is-solid {
  height: 74px;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(15, 43, 38, 0.09);
}

.site-header.is-solid::after {
  opacity: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  color: var(--gold);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-6deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__top {
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.86;
}

.brand__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav__link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 6px;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  opacity: 1;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.header-phone svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px clamp(24px, 7vw, 60px) 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease), transform 0.45s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu__link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.6rem);
  line-height: 1.25;
  border-bottom: 1px solid rgba(233, 213, 166, 0.16);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
  transition: color 0.3s var(--ease), padding-left 0.35s var(--ease);
}

.mobile-menu__link:hover {
  color: var(--gold-light);
  padding-left: 8px;
}

.mobile-menu__link span {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.mobile-menu__contact {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  padding-bottom: clamp(48px, 7vw, 86px);
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.02);
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(9, 26, 22, 0.62) 0%,
      rgba(9, 26, 22, 0.22) 34%,
      rgba(9, 26, 22, 0.52) 66%,
      rgba(9, 26, 22, 0.9) 100%
    ),
    linear-gradient(90deg, rgba(9, 26, 22, 0.55), transparent 62%);
}

.hero__inner {
  position: relative;
  width: 100%;
}

.hero__content {
  max-width: 760px;
}

.hero__title {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.8;
  color: rgba(251, 247, 239, 0.86);
  max-width: 52ch;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__thai {
  margin-top: 28px;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: rgba(233, 213, 166, 0.85);
}

.hero__scroll {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.7);
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* stat bar */
.stats {
  position: relative;
  margin-top: clamp(-58px, -5vw, -44px);
  z-index: 5;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}

.stat {
  padding: clamp(20px, 2.6vw, 34px) clamp(16px, 2vw, 30px);
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: var(--line);
}

.stat__value {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  color: var(--forest);
  margin-bottom: 8px;
}

.stat__value sup {
  font-size: 0.45em;
  color: var(--gold);
  top: -0.7em;
}

.stat__label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__frame {
  position: relative;
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

.about__frame img {
  width: 100%;
  height: clamp(420px, 52vw, 620px);
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.2s var(--ease);
}

.about__frame:hover img {
  transform: scale(1.04);
}

.about__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(251, 247, 239, 0.35);
  border-radius: inherit;
  margin: 14px;
  pointer-events: none;
}

.about__tag {
  position: absolute;
  left: clamp(-10px, -1vw, 0px);
  bottom: 32px;
  background: var(--forest);
  color: var(--cream);
  padding: 18px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-m);
  max-width: 230px;
}

.about__tag .num {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold-light);
}

.about__tag .txt {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.72);
  margin-top: 6px;
}

.about__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--pine);
  margin: 6px 0 0;
}

.about__sign small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(200, 163, 90, 0.6);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--forest);
  background: var(--white);
  box-shadow: 0 3px 12px rgba(15, 43, 38, 0.05);
}

.chip svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex: none;
}

.quote {
  border-left: 1px solid var(--gold);
  padding-left: 22px;
  margin: 30px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--forest);
}

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.card {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 1.42rem;
  margin-bottom: 12px;
  line-height: 1.15;
}

.card__text {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card__foot {
  margin-top: auto;
}

/* ---------- tours ---------- */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
}

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
}

.tour-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.tour-card:hover .tour-card__media img {
  transform: scale(1.07);
}

.tour-card__code {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 43, 38, 0.72);
  color: var(--gold-light);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  padding: 6px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.tour-card__price {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(251, 247, 239, 0.94);
  color: var(--forest);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(9, 26, 22, 0.16);
}

.tour-card__price small {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.tour-card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.tour-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.tour-card__title {
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.tour-card__text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.tour-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.tour-card__foot .link-arrow {
  font-size: 0.66rem;
}

/* ---------- fleet ---------- */
.fleet {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 18px;
}

.rate-table th {
  text-align: left;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.rate-table th:last-child,
.rate-table td:last-child {
  text-align: right;
}

.rate-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.94rem;
}

.rate-table td strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--forest);
}

.rate-table .price {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--pine);
  white-space: nowrap;
}

.fleet__note {
  font-size: 0.82rem;
  color: var(--muted);
}

.fleet__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  background: var(--white);
}

.fleet__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

.fleet__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--forest);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- moments / mosaic ---------- */
.mosaic {
  column-count: 4;
  column-gap: 16px;
}

.mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  background: var(--sand-2);
  display: block;
  width: 100%;
  cursor: zoom-in;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.mosaic__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 26, 22, 0.35));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.mosaic__item:hover img {
  transform: scale(1.07);
}

.mosaic__item:hover::after {
  opacity: 1;
}



.mosaic__caption {
  margin-top: 22px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid rgba(233, 213, 166, 0.28);
}

.step__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.step__title {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  margin-bottom: 10px;
  line-height: 1.2;
}

.step__text {
  font-size: 0.94rem;
  color: rgba(251, 247, 239, 0.7);
  margin: 0;
}

/* ---------- contact split ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(233, 213, 166, 0.22);
  border-radius: 16px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.contact-item:hover {
  background: rgba(233, 213, 166, 0.07);
  border-color: rgba(233, 213, 166, 0.45);
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(233, 213, 166, 0.4);
  display: grid;
  place-items: center;
  color: var(--gold-light);
}

.contact-item__icon svg {
  width: 17px;
  height: 17px;
}

.contact-item__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item__value {
  display: block;
  font-size: 0.98rem;
  color: var(--cream);
  line-height: 1.5;
}

/* ---------- form ---------- */
.form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-l);
  color: var(--ink);
}

.form-card h3 {
  margin-bottom: 6px;
  color: var(--forest);
}

.form-card .form-sub {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 163, 90, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 16px 0 0;
}

.form-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ---------- map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line-soft);
  filter: saturate(0.85) contrast(1.02);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--forest);
  color: rgba(251, 247, 239, 0.66);
  padding-top: clamp(60px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand .brand {
  color: var(--cream);
  margin-bottom: 20px;
}

.footer-text {
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 34ch;
}

.footer-title {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a {
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 0.9rem;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
  margin-top: 5px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 239, 0.24);
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.social svg {
  width: 15px;
  height: 15px;
}

.social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(251, 247, 239, 0.13);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 239, 0.5);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  padding: calc(var(--header-h) + clamp(60px, 8vw, 110px)) 0 clamp(46px, 6vw, 76px);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 43, 38, 0.58), rgba(15, 43, 38, 0.93));
}

.page-hero__inner {
  position: relative;
}

.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 16px;
  max-width: 18ch;
}

.page-hero p {
  color: rgba(251, 247, 239, 0.72);
  max-width: 58ch;
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.55);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb span {
  color: var(--gold);
}

/* ---------- tour detail ---------- */
.tour-hero {
  position: relative;
  color: var(--cream);
  background: var(--forest);
  padding: calc(var(--header-h) + clamp(52px, 7vw, 92px)) 0 0;
  overflow: hidden;
}

.tour-hero__media {
  position: absolute;
  inset: 0;
}

.tour-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 26, 22, 0.5), rgba(9, 26, 22, 0.78));
}

.tour-hero__inner {
  position: relative;
}

.tour-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.tour-hero__code {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid rgba(233, 213, 166, 0.45);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 7px 14px;
}

.tour-hero__dur {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.66);
}

.tour-hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  max-width: 20ch;
  margin-bottom: 18px;
}

.tour-hero__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.tour-hero__price .amount {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: var(--gold-light);
}

.tour-hero__price .label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.55);
}

.tour-hero__body {
  padding-block: clamp(48px, 6vw, 84px);
}

.tour-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 6px;
}

.tour-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.tour-prose p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.itinerary {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 2px;
}

.itinerary li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
  color: var(--ink);
}

.itinerary li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  flex: none;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.booking-card {
  position: sticky;
  top: 96px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-m);
  border: 1px solid var(--line-soft);
}

.booking-card__price {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--forest);
  line-height: 1;
}

.booking-card__price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.booking-card__list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.booking-card__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.booking-card__list svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
  margin-top: 4px;
}

.booking-card .btn {
  width: 100%;
}

.booking-card .btn + .btn {
  margin-top: 10px;
}

.booking-card__alt {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid button {
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand-2);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-grid button:hover img {
  transform: scale(1.06);
}

/* ---------- services page ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
}

.service-row {
  position: relative;
}

.service-row + .service-row {
  border-top: 1px solid var(--line-soft);
}

.service-row--flip .service-row__media {
  order: 2;
}

.service-row__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}

.service-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}

.service-row__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.service-row h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.service-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 10px;
  flex: none;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.service-list strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 26, 22, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 239, 0.3);
  background: rgba(9, 26, 22, 0.5);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--gold);
  color: var(--forest);
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox svg {
  width: 18px;
  height: 18px;
}

.lightbox__caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(251, 247, 239, 0.6);
  white-space: nowrap;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

/* ---------- misc ---------- */
.band-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--cream);
  padding: clamp(36px, 5vw, 66px);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
}

.band-cta h2 {
  color: var(--cream);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.band-cta p {
  color: rgba(251, 247, 239, 0.66);
  margin: 0;
  font-size: 0.95rem;
}

.band-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.empty-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--forest);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 0 0 10px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mosaic {
    column-count: 3;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 76px;
  }
  .nav,
  .header-phone {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    min-height: 86vh;
  }
  .hero__scroll {
    display: none;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3)::before {
    display: none;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .about,
  .fleet,
  .contact-split,
  .tour-layout,
  .service-row {
    grid-template-columns: 1fr;
  }
  .service-row--flip .service-row__media {
    order: 0;
  }
  .about__frame img {
    height: clamp(380px, 84vw, 520px);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .band-cta {
    grid-template-columns: 1fr;
  }
  .booking-card {
    position: static;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mosaic {
    column-count: 2;
  }
  .about__tag {
    left: 12px;
  }
}

@media (max-width: 620px) {
  .header-cta .btn {
    display: none;
  }
  .site-header .header-inner {
    gap: 14px;
  }
  body {
    font-size: 1rem;
  }
  .cards,
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mosaic {
    column-count: 2;
    column-gap: 12px;
  }
  .mosaic__item {
    margin-bottom: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__thai {
    margin-top: 20px;
  }
  .brand__name {
    font-size: 1.3rem;
  }
  .about__frame {
    border-radius: 140px 140px var(--radius) var(--radius);
  }
  .tour-hero h1 {
    font-size: 2rem;
  }
  .rate-table th:nth-child(2),
  .rate-table td:nth-child(2) {
    display: none;
  }
}

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