/* ==========================================================================
   Wonderlust Travels — International holidays, planned end to end
   Design: Inter throughout, smooth rounded cards with a 10–12px curve,
   warm ivory sections, brand blue + green accents.
   ========================================================================== */

:root {
  --blue: #1576bc;
  --blue-600: #0f62a0;
  --blue-800: #0b467a;
  --green: #28b574;
  --green-600: #1f9a60;
  --mint: #a6f0cb;
  --wa: #25d366;

  --ink: #0c1726;
  --navy: #0a1b30;
  --navy-2: #102a4a;
  --muted: #5d6a7b;
  --ivory: #f7f5f0;
  --sand: #efe9df;
  --line: #e9e4da;
  --sky: #eaf3fb;

  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 12px;
  --r-xl: 12px;

  --sh-sm: 0 1px 2px rgba(12, 23, 38, .05), 0 4px 14px -6px rgba(12, 23, 38, .08);
  --sh: 0 18px 40px -20px rgba(12, 23, 38, .28);
  --sh-lg: 0 40px 80px -32px rgba(12, 23, 38, .45), 0 14px 28px -18px rgba(12, 23, 38, .22);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --frame: 12px;
  --z: 1; /* page zoom on very large screens, see the end of this file */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* the closed mobile menu sits off-screen to the right; never let it create sideways scroll */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
section[id], main [id] { scroll-margin-top: 100px; }
::selection { background: var(--green); color: #fff; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (min-width: 1600px) { .wrap { width: min(1360px, 100% - 96px); } }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-xs); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons: rounded squares ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.4em;
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-weight: 700; font-size: .94rem; line-height: 1.1; letter-spacing: .005em; white-space: nowrap;
  cursor: pointer; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .arrow { transition: transform .3s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .arrow { transform: translateX(4px); }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 12px 26px -14px rgba(40, 181, 116, .9); }
.btn-green:hover { background: var(--green-600); box-shadow: 0 18px 32px -14px rgba(40, 181, 116, .95); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(12, 23, 38, .7); }
.btn-dark:hover { background: var(--blue); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.btn-light:hover { background: var(--ivory); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 1.08em 1.7em; font-size: 1rem; border-radius: var(--r); }
.btn-sm { padding: .66em 1em; font-size: .83rem; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink);
}
.link-arrow .i {
  width: 34px; height: 34px; padding: 8px; border-radius: 4px;
  background: var(--ink); color: #fff; transition: transform .3s var(--ease), background-color .3s;
}
.link-arrow:hover .i { transform: translateX(4px); background: var(--blue); }

/* ---------- Eyebrow & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--green);
  transform: rotate(45deg);
}
.hero .eyebrow, .page-hero .eyebrow {
  color: #fff; padding: 9px 16px 9px 14px; border-radius: 4px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
/* Two-line brand tagline: big top line, smaller line beneath, both starting at the same left edge */
.tagline {
  display: flex; flex-direction: column; align-items: flex-start;
  font-weight: 800; text-transform: uppercase; line-height: 1.15; color: #fff;
}
.tagline span:first-child { font-size: clamp(1.15rem, 2.2vw, 1.75rem); letter-spacing: .06em; }
.tagline span:last-child { font-size: clamp(.78rem, 1.3vw, 1.05rem); letter-spacing: .14em; margin-top: 4px; color: var(--mint); }
.hero .tagline { text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.tagline-sm { margin-top: 22px; }
.tagline-sm span:first-child { font-size: 1.12rem; }
.tagline-sm span:last-child { font-size: .74rem; }
.page-hero .eyebrow .flag { margin-left: -4px; }
.page-hero .eyebrow:has(.flag)::before { display: none; }

.h2 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em;
  color: var(--ink); margin-top: 16px;
}
.h2 em, .h2 span { font-style: normal; color: var(--blue); }

.section { padding: clamp(80px, 10vw, 136px) 0; position: relative; }
.section-soft { background: var(--ivory); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  flex-wrap: wrap; margin-bottom: clamp(36px, 4.5vw, 60px);
}
.section-head p { max-width: 440px; color: var(--muted); font-size: 1.04rem; }
.head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* ==========================================================================
   CARDS — gentle lift on hover
   ========================================================================== */
.card {
  position: relative;
  border-radius: var(--r);
  background: #fff;
  transition:
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    border-color .4s,
    opacity .8s var(--ease) var(--d, 0s),
    translate .8s var(--ease) var(--d, 0s);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); z-index: 3; }
}
.card:focus-within { transform: translateY(-6px); box-shadow: var(--sh-lg); z-index: 3; }

/* ---------- Header: full-width bar fixed to the top ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(10, 27, 48, .35);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: background-color .4s, box-shadow .4s, border-color .4s, height .4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-header.scrolled, .solid-header .site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -20px rgba(12, 23, 38, .35);
}
.site-header.scrolled { height: 68px; }

.logo { display: inline-flex; align-items: center; flex: none; }
/* Exact artwork from the brand PDF (viewBox 460x293); blue parts use currentColor */
.logo-img { display: block; height: 56px; aspect-ratio: 460 / 293; color: #1576bc; transition: color .35s, height .4s var(--ease); }
.site-header.scrolled .logo-img { height: 50px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; border-radius: 4px;
  font-weight: 600; font-size: .93rem; color: var(--ink); white-space: nowrap;
  transition: color .3s, background-color .3s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: rgba(12, 23, 38, .06); }
.nav .btn { margin-left: 10px; }
.nav .btn-cta { background: var(--ink); color: #fff; }
.nav .btn-cta:hover { background: var(--blue); }

/* Over hero imagery */
body:not(.solid-header) .site-header:not(.scrolled) .logo-img { color: #fff; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .25)); }

.menu-toggle, .nav-backdrop { display: none; }

@media (min-width: 961px) and (max-width: 1200px) {
  .nav a:not(.btn) { padding: 10px 9px; font-size: .88rem; }
  .nav .btn { margin-left: 6px; white-space: nowrap; }
}
@media (min-width: 961px) {
  body:not(.solid-header) .site-header:not(.scrolled) .nav a:not(.btn) { color: #fff; }
  body:not(.solid-header) .site-header:not(.scrolled) .nav a:not(.btn):hover,
  body:not(.solid-header) .site-header:not(.scrolled) .nav a[aria-current="page"] { background: rgba(255, 255, 255, .14); }
  body:not(.solid-header) .site-header:not(.scrolled) .nav .btn-cta { background: #fff; color: var(--ink); }
  body:not(.solid-header) .site-header:not(.scrolled) .nav .btn-cta:hover { background: var(--green); color: #fff; }
}

@media (max-width: 960px) {
  .site-header, .site-header.scrolled { height: 68px; }
  .menu-toggle {
    display: grid; place-items: center; position: relative; z-index: 70;
    width: 50px; height: 50px; border: 0; border-radius: var(--r); cursor: pointer;
    background: var(--ink); color: #fff;
    transition: background-color .3s, color .3s;
  }
  .menu-toggle .i { width: 24px; height: 24px; }
  body:not(.solid-header) .site-header:not(.scrolled) .menu-toggle { background: rgba(255, 255, 255, .16); color: #fff; }
  .nav-open .menu-toggle { background: var(--ink) !important; color: #fff !important; }

  .nav {
    position: fixed; top: 0; right: 0; z-index: 60;
    width: min(380px, 88vw); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 110px 22px 32px; background: #fff;
    border-radius: var(--r-lg) 0 0 var(--r-lg); box-shadow: var(--sh-lg);
    transform: translateX(105%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s .5s;
  }
  .nav.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .nav a:not(.btn) { padding: 16px 16px; font-size: 1.08rem; background: var(--ivory); border-radius: var(--r-sm); }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--sand); }
  .nav .btn { margin: 18px 0 0; padding: 1.1em; }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(10, 27, 48, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .logo-img, .site-header.scrolled .logo-img { height: 46px; }
}

/* ---------- Hero (framed, rounded) ---------- */
.hero { padding: 0; background: #fff; }
.hero-frame {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(680px, 100svh / var(--z));
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 60px);
  border-radius: 0;
  color: #fff; background: var(--navy);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
/* Slideshow: the incoming photo fades in over the outgoing one */
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: 0; }
.hero-slide.is-active { opacity: 1; z-index: 2; transition: opacity 1.6s ease; }
.hero-slide.is-leaving { opacity: 1; z-index: 1; }
.hero-slide.is-active, .hero-slide.is-leaving { animation: kenburns 9s ease-out both; }
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 27, 48, .45) 0%, rgba(10, 27, 48, 0) 24%, rgba(10, 27, 48, 0) 50%, rgba(10, 27, 48, .78) 100%),
    linear-gradient(90deg, rgba(10, 27, 48, .55) 0%, rgba(10, 27, 48, 0) 60%);
}
.hero-sub, .page-hero p { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
@media (max-width: 700px) {
  .hero-frame::before {
    background: linear-gradient(180deg, rgba(10, 27, 48, .5) 0%, rgba(10, 27, 48, .22) 35%, rgba(10, 27, 48, .35) 60%, rgba(10, 27, 48, .88) 100%);
  }
}
.hero-content { padding-bottom: clamp(28px, 5vh, 56px); }
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: 1.04; letter-spacing: -.035em;
  margin: 24px 0 22px;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .25);
}
.hero h1 em, .hero h1 span { display: block; font-style: normal; color: var(--mint); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 520px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-top: 32px; }
.hero-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero-place {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px;
  border-radius: var(--r-sm); font-size: .86rem; font-weight: 600;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color .3s, color .3s;
}
.hero-place .i { width: 16px; height: 16px; color: var(--mint); }
.hero-place:hover { background: #fff; color: var(--ink); }
.hero-place:hover .i { color: var(--blue); }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button {
  position: relative; width: 22px; height: 24px; padding: 0; border: 0; cursor: pointer; background: none;
}
.hero-dots button::before, .hero-dots button::after {
  content: ""; position: absolute; left: 0; top: 10px; height: 4px; border-radius: 2px;
}
.hero-dots button::before { right: 0; background: rgba(255, 255, 255, .35); transition: background-color .3s; }
.hero-dots button:hover::before { background: rgba(255, 255, 255, .7); }
.hero-dots button[aria-current="true"] { width: 48px; }
.hero-dots button[aria-current="true"]::after { width: 100%; background: #fff; transform-origin: left; animation: slidefill 6s linear both; }
.hero-dots button { transition: width .4s var(--ease); }
@keyframes slidefill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 700px) { .hero-nav { display: none; } }

/* Trip planner bar */
.planner {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: stretch; gap: 6px;
  margin-top: clamp(36px, 6vh, 64px); padding: 8px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.pl-field {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0;
  padding: 12px 16px 10px; border-radius: var(--r-sm); background: #fff; color: var(--ink);
  transition: box-shadow .25s;
}
.pl-field:focus-within { box-shadow: 0 0 0 3px rgba(40, 181, 116, .55); }
.pl-field.invalid { box-shadow: 0 0 0 3px rgba(224, 70, 75, .6); }
.pl-label {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.pl-label .i { width: 15px; height: 15px; color: var(--blue); }
/* every planner control sits on the same 34px row */
.pl-field .sel-btn, .pl-field .dp-wrap, .pl-field .stepper { min-height: 34px; }
.pl-field .sel-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole box opens the list */
.pl-field select:not(.sel-native) { width: 100%; min-height: 34px; border: 0; background: transparent; font-weight: 700; font-size: 1rem; }

/* ---------- Form widgets: dropdown, date, stepper ---------- */
.sel-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.sel-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0;
  padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer;
  font-size: 1rem; font-weight: 700; color: var(--ink);
}
.sel-val { display: flex; align-items: center; gap: 9px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sel-val .flag, .sel-pop .flag { width: 20px; height: 20px; flex: none; }
.sel-btn.is-placeholder .sel-val { color: var(--muted); font-weight: 600; }
.sel-btn .chev { width: 18px; height: 18px; flex: none; color: var(--ink); transition: transform .25s var(--ease); }
.sel-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sel-btn:focus-visible { outline: none; }

.pop {
  position: fixed; z-index: 90; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 28px 56px -18px rgba(12, 23, 38, .38), 0 6px 16px -6px rgba(12, 23, 38, .12);
  animation: popin .18s var(--ease);
  max-height: calc(100dvh / var(--z) - 16px); overflow-y: auto; overscroll-behavior: contain; /* short screens (watches, landscape phones) scroll inside it */
}
.pop.is-up { animation-name: popin-up; }
@keyframes popin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes popin-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sel-pop ul { max-height: min(320px, 46vh); overflow-y: auto; overscroll-behavior: contain; outline: none; scrollbar-width: thin; }
.sel-pop li {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  border-radius: var(--r-sm); cursor: pointer; font-size: .95rem; font-weight: 500; color: var(--ink);
}
.sel-pop li.is-active { background: var(--ivory); }
.sel-pop li[aria-selected="true"] { color: var(--blue); font-weight: 700; }
.opt-text { flex: 1; min-width: 0; }
.opt-desc { color: var(--muted); font-weight: 400; font-size: .88rem; }
.opt-text:has(+ .opt-desc) { flex: none; min-width: 3.2em; }
.opt-text + .opt-desc { flex: 1; }
.opt-check { width: 18px; height: 18px; flex: none; opacity: 0; color: var(--blue); }
.sel-pop li[aria-selected="true"] .opt-check { opacity: 1; }

.dp-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dp-wrap input {
  flex: 1; min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; outline: none;
  font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: .02em;
}
.dp-wrap input::placeholder { color: var(--muted); font-weight: 500; letter-spacing: .04em; opacity: 1; }
.dp-toggle, .stepper button {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.dp-toggle .i, .stepper button .i { width: 17px; height: 17px; }
.dp-toggle:hover, .dp-toggle[aria-expanded="true"], .stepper button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper input {
  flex: 1; min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; outline: none;
  text-align: center; font-size: 1rem; font-weight: 700; color: var(--ink);
}
.stepper input::placeholder { color: var(--muted); font-weight: 500; }

.dp-pop { padding: 14px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dp-title { font-size: .98rem; font-weight: 700; }
.dp-nav {
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink);
}
.dp-nav .i { width: 18px; height: 18px; }
.dp-nav:hover:not(:disabled) { background: var(--ivory); }
.dp-nav:disabled { opacity: .3; cursor: default; }
.dp-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.dp-grid th { padding: 6px 0; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.dp-grid td { padding: 0; }
.dp-grid td button {
  width: 100%; aspect-ratio: 1; min-height: 36px; padding: 0; cursor: pointer;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink);
  font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums;
}
.dp-grid td button:hover:not(:disabled) { background: var(--ivory); }
.dp-grid td button.is-today { color: var(--blue); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--blue); }
.dp-grid td button.is-selected { background: var(--ink); color: #fff; box-shadow: none; }
.dp-grid td button:disabled { color: #c3c9d1; cursor: default; }
.dp-grid td button:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.dp-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dp-link { min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; font-size: .88rem; font-weight: 700; color: var(--blue); }
.dp-link:hover { background: var(--sky); }

/* contact form versions: same box as the text inputs */
.field .sel-btn, .field .dp-wrap, .field .stepper {
  min-height: 54px; border: 1.5px solid transparent; border-radius: var(--r-sm); background: var(--ivory);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field .sel-btn { padding: 0 14px 0 16px; font-weight: 500; }
.field .sel-btn.is-placeholder .sel-val { font-weight: 400; }
.field .dp-wrap { padding: 0 9px 0 16px; }
.field .dp-wrap input, .field .stepper input { font-weight: 500; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.field .stepper { padding: 0 9px; }
.field .sel-btn:focus-visible, .field .sel-btn[aria-expanded="true"], .field .dp-wrap:focus-within, .field .stepper:focus-within {
  border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(21, 118, 188, .12);
}
.field.invalid .sel-btn, .field.invalid .dp-wrap { border-color: #e0464b; background-color: #fff6f6; }
.phone-row .sel-btn { width: 104px; flex: none; padding: 0 10px 0 14px; }
.field .dp-wrap input:focus, .field .stepper input:focus, .field.invalid .dp-wrap input { border: 0; box-shadow: none; background: transparent; }

.planner .btn { height: auto; padding-inline: 1.8em; }
@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr 1fr; }
  .pl-field:first-child { grid-column: 1 / -1; }
  .planner .btn { grid-column: 1 / -1; padding-block: 1.05em; }
}
@media (max-width: 480px) { .planner { grid-template-columns: 1fr; } }

@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Trust strip ---------- */
.trust { padding: clamp(28px, 4vw, 44px) 0 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  border-radius: var(--r); background: var(--ivory);
}
.trust-item .ico {
  width: 48px; height: 48px; flex: none; border-radius: var(--r); display: grid; place-items: center;
  background: #fff; color: var(--blue); box-shadow: var(--sh-sm);
}
.trust-item .ico .i { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: .96rem; line-height: 1.3; }
.trust-item span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Destination cards ---------- */
.dest-card {
  overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; color: #fff; background: var(--navy);
  border-radius: var(--r-lg);
}
.dest-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.dest-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 27, 48, .25) 0%, rgba(10, 27, 48, 0) 26%, rgba(10, 27, 48, .18) 50%, rgba(10, 27, 48, .9) 100%);
}
@media (hover: hover) { .dest-card:hover .dest-bg { transform: scale(1.07); } }
.dest-card:focus-within .dest-bg { transform: scale(1.07); }

.dest-flag {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 4px;
  font-size: .76rem; font-weight: 700; letter-spacing: .03em;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.flag { width: 22px; height: 22px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8); }
.flag[src$="/au.svg"] { object-position: 0 50%; } /* keep the Union Jack and Commonwealth star in the square crop */
.dest-go {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.dest-go .i { width: 20px; height: 20px; transform: rotate(-45deg); }
@media (hover: hover) { .dest-card:hover .dest-go { background: #fff; color: var(--ink); transform: rotate(45deg); } }

.dest-body { padding: 24px; }
.dest-body h3 {
  font-weight: 700;
  font-size: clamp(1.45rem, 1.9vw, 1.75rem); line-height: 1.1; letter-spacing: -.03em;
}
/* whole card is clickable */
.dest-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dest-body p { margin-top: 8px; font-size: .92rem; opacity: .88; max-width: 38ch; line-height: 1.5; }
.dest-price { margin-top: 10px; font-size: .85rem; opacity: .9; }
.dest-price strong { font-size: 1.15rem; color: var(--mint); }
.dest-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dest-actions .btn-green .i { width: 1.15em; height: 1.15em; }

/* Featured bento */
.dest-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(330px, auto); }
.dest-grid .dest-card:nth-child(1) { grid-row: span 2; }
.dest-grid .dest-card:nth-child(2) { grid-column: span 2; }
.dest-grid .dest-card:nth-child(1) h3 { font-size: clamp(2rem, 2.8vw, 2.6rem); }
.dest-grid .dest-card:nth-child(1) .dest-bg { object-position: 50% 60%; }
@media (max-width: 1100px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid .dest-card:nth-child(1) { grid-row: span 1; grid-column: span 2; min-height: 460px; }
  .dest-grid .dest-card:nth-child(2) { grid-column: span 1; }
  .dest-grid .dest-card:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .dest-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .dest-grid .dest-card:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 420px; }
}

/* Uniform grid (all destinations page, related) */
.dest-all { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.dest-all .dest-card { min-height: 460px; }
@media (max-width: 1000px) { .dest-all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dest-all { grid-template-columns: 1fr; } .dest-all .dest-card { min-height: 420px; } }

/* Carousel */
.car-btns { display: flex; gap: 10px; }
.car-btn {
  width: 54px; height: 54px; border-radius: var(--r); cursor: pointer;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.car-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.car-btn:disabled { opacity: .35; cursor: default; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 31%, 390px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 22px 10px 56px; margin: -22px -10px -40px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track .dest-card { min-height: 480px; }
@media (max-width: 640px) { .track { grid-auto-columns: 84%; gap: 14px; } .track .dest-card { min-height: 430px; } }

/* ---------- Why Wonderlust ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding: 0 12% 12% 0; }
.about-img {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--sh-lg);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-media:hover .about-img img { transform: scale(1.05); }
.about-img-2 {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border-radius: var(--r-lg); overflow: hidden;
  border: 8px solid var(--ivory); box-shadow: var(--sh-lg);
}
.about-img-2 img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: -18px; top: 36px;
  display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px;
  border-radius: var(--r); box-shadow: var(--sh-lg);
}
.about-badge .badge-ico {
  width: 54px; height: 54px; border-radius: var(--r); display: grid; place-items: center;
  background: var(--sky); color: var(--blue);
}
.about-badge .badge-ico svg { width: 32px; height: 27px; }
.about-badge strong { display: block; font-weight: 800; font-size: 1.3rem; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.about-badge span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.about-copy > p { margin-top: 20px; font-size: 1.06rem; color: var(--muted); max-width: 60ch; }
.about-copy > p strong { color: var(--ink); }
.usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
.usp {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--r);
}
.usp .ico {
  width: 44px; height: 44px; flex: none; border-radius: var(--r); display: grid; place-items: center;
  background: var(--sky); color: var(--blue); transition: background-color .4s, color .4s;
}
.usp:hover .ico { background: var(--blue); color: #fff; }
.usp h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; }
.usp p { font-size: .86rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.about-copy .sub-h { margin: 36px 0 16px; }
.about-copy .sub-h + .usp-grid { margin-top: 0; }
.why-close { margin-top: 28px; padding: 4px 0 4px 22px; border-left: 3px solid var(--green); max-width: 64ch; }
.why-close p { color: var(--muted); font-size: 1rem; }
.why-close .why-sign { margin-top: 12px; color: var(--ink); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
@media (max-width: 1180px) {
  .why-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 640px; }
}
@media (max-width: 560px) {
  .usp-grid { grid-template-columns: 1fr; }
  .about-badge { left: 10px; top: 14px; padding: 10px 14px 10px 10px; }
  .about-badge .badge-ico { width: 44px; height: 44px; }
  .about-img-2 { border-width: 6px; }
}

/* ---------- Services (dark, inset panel) ---------- */
.section-blue {
  color: #fff; overflow: hidden; isolation: isolate;
  margin: 0 var(--frame); border-radius: var(--r-xl);
  background:
    radial-gradient(800px 480px at 100% 0%, rgba(40, 181, 116, .18), transparent 60%),
    radial-gradient(760px 560px at 0% 100%, rgba(21, 118, 188, .42), transparent 60%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
}
.section-blue::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.section-blue .h2 { color: #fff; }
.section-blue .h2 em, .section-blue .h2 span { color: var(--mint); }
.section-blue .section-head p { color: rgba(255, 255, 255, .72); }
.section-blue .eyebrow { color: var(--mint); }

.services-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.svc {
  padding: 30px 28px; overflow: hidden; color: #fff;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.svc:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.svc .ico {
  width: 56px; height: 56px; border-radius: var(--r); display: grid; place-items: center; margin-bottom: 26px;
  background: rgba(166, 240, 203, .12); color: var(--mint);
  transition: background-color .4s, color .4s;
}
.svc .ico .i { width: 26px; height: 26px; }
.svc:hover .ico { background: var(--green); color: #fff; }
.svc h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.svc p { margin-top: 8px; color: rgba(255, 255, 255, .66); font-size: .93rem; }
.svc .num {
  position: absolute; top: 22px; right: 26px;
  font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -.04em; color: rgba(255, 255, 255, .16);
  transition: color .4s;
}
.svc:hover .num { color: rgba(166, 240, 203, .6); }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .services-grid .svc:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .section-blue { margin: 0 8px; border-radius: var(--r-lg); }
  .services-grid { grid-template-columns: 1fr; } .services-grid .svc:last-child:nth-child(odd) { grid-column: auto; } .svc { padding: 24px 22px; }
}

/* ---------- Thailand DMC (B2B) ---------- */
.dmc-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.dmc-copy .lead-p { max-width: 62ch; }
.dmc-copy .lead-p + .lead-p { margin-top: 14px; font-size: 1.02rem; }
.dmc-pillars { margin-top: 26px; }
.section-soft .dmc-pillars li { background: #fff; }
.dmc-actions { margin-top: 30px; }
.dmc-panel { overflow: hidden; box-shadow: var(--sh-lg); }
.dmc-img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.dmc-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dmc-panel:hover .dmc-img > img { transform: scale(1.05); }
.dmc-body { padding: 26px 28px 30px; }
.dmc-body h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 18px; }
.dmc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dmc-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.dmc-list .ico {
  width: 40px; height: 40px; flex: none; border-radius: var(--r); display: grid; place-items: center;
  background: var(--sky); color: var(--blue);
}
@media (max-width: 1000px) { .dmc-grid { grid-template-columns: 1fr; } .dmc-panel { max-width: 640px; } }
@media (max-width: 480px) { .dmc-list { grid-template-columns: 1fr; } .dmc-body { padding: 22px 18px 24px; } }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: how; }
.how {
  padding: 32px 30px 34px; border-radius: var(--r-lg); background: var(--ivory);
  border: 1px solid transparent;
}
.how:hover { background: #fff; border-color: var(--line); }
.how .n {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r);
  font-weight: 800; font-size: 1.5rem; line-height: 1;
  background: var(--ink); color: #fff; margin-bottom: 28px;
}
.how:nth-child(2) .n { background: var(--blue); }
.how:nth-child(3) .n { background: var(--green); }
.how h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.how p { margin-top: 10px; color: var(--muted); }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- Lead panel ---------- */
.lead-section { padding-top: 0; }
.lead-section-top { padding-top: clamp(80px, 10vw, 136px); }
.lead-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr auto; align-items: end; gap: 32px 48px;
  padding: clamp(44px, 7vw, 88px) clamp(26px, 6vw, 80px);
  border-radius: var(--r-xl); color: #fff; box-shadow: var(--sh-lg);
}
.lead-panel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.lead-panel:hover > img { transform: scale(1.04); }
.lead-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(10, 27, 48, .92) 0%, rgba(10, 27, 48, .7) 45%, rgba(21, 118, 188, .35) 100%);
}
.lead-panel h2 {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -.04em; margin: 18px 0 14px;
}
.lead-panel h2 em { font-style: normal; color: var(--mint); }
.lead-panel p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 480px; opacity: .9; }
.lead-panel .eyebrow { color: var(--mint); }
.lead-actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.lead-panel .btn-green { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.lead-panel .btn-green:hover { background: var(--green); color: #fff; }
@media (max-width: 860px) { .lead-panel { grid-template-columns: 1fr; } .lead-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 600px) { .lead-panel { border-radius: var(--r-lg); } }

/* ---------- Page hero (inner pages, framed) ---------- */
.page-hero { padding: 0; background: #fff; }
.page-hero-frame {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(460px, 66vh / var(--z), 640px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 64px) 0 clamp(56px, 8vw, 96px);
  border-radius: 0;
  color: #fff; background: var(--navy);
}
.page-hero-frame > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.page-hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 27, 48, .42) 0%, rgba(10, 27, 48, 0) 36%, rgba(10, 27, 48, .74) 100%),
              linear-gradient(90deg, rgba(10, 27, 48, .45), rgba(10, 27, 48, 0) 60%);
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.04; letter-spacing: -.035em;
  margin: 20px 0 14px; text-shadow: 0 10px 50px rgba(0, 0, 0, .25);
}
.page-hero h1 em { font-style: normal; color: var(--mint); }
.page-hero p { max-width: 560px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); opacity: .92; }
.page-hero .hero-actions { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .86rem; font-weight: 600; opacity: .88; }
.crumbs a:hover { color: var(--mint); }
.crumbs span[aria-hidden] { opacity: .55; }

/* ---------- Destination detail ---------- */
.dest-detail { padding: clamp(64px, 8vw, 110px) 0; }
.detail-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lead-p { margin-top: 20px; font-size: 1.12rem; color: var(--muted); }
.sub-h { margin: 48px 0 18px; font-weight: 700; font-size: 1.3rem; letter-spacing: -.025em; color: var(--ink); }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hl { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; }
.hl .ico {
  width: 44px; height: 44px; flex: none; border-radius: var(--r); display: grid; place-items: center;
  background: var(--sky); color: var(--blue); transition: background-color .4s, color .4s;
}
.hl:hover .ico { background: var(--blue); color: #fff; }
.includes { display: flex; flex-wrap: wrap; gap: 8px; }
.includes li {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 4px;
  background: var(--ivory); font-weight: 600; font-size: .92rem;
}
.includes .i { color: var(--green); }
.enquire-card {
  position: sticky; top: 104px; padding: 34px 30px; border-radius: var(--r-lg);
  color: #fff; background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
  box-shadow: var(--sh-lg); overflow: hidden; isolation: isolate;
}
.enquire-card::before {
  content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; z-index: -1;
  border-radius: 80px; transform: rotate(20deg);
  background: radial-gradient(circle, rgba(40, 181, 116, .45), transparent 70%);
}
.enquire-card .eyebrow { color: var(--mint); }
.enquire-card h3 { font-weight: 700; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.03em; margin: 14px 0 10px; }
.enquire-card p { opacity: .8; font-size: .95rem; }
.enquire-card .btn { margin-top: 10px; }
.enquire-card .btn:first-of-type { margin-top: 26px; }
@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; }
  .enquire-card { position: relative; top: 0; }
}
.highlights-4 { grid-template-columns: repeat(4, 1fr); }
.section-soft .hl { background: #fff; }
@media (max-width: 1000px) { .highlights-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- Thailand Destinations with Images ---------- */
.hl-thumb {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: var(--r-sm);
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(12, 23, 38, .12);
  transition: transform .3s var(--ease);
}
.hl:hover .hl-thumb {
  transform: scale(1.08);
}
.hl-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hl-content strong {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.hl-content span {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.th-places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.th-place-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.th-place-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: rgba(21, 118, 188, .28);
}
.th-place-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.th-place-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.th-place-card:hover .th-place-img {
  transform: scale(1.08);
}
.th-place-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(10, 27, 48, .72);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.th-place-badge .i {
  width: 13px;
  height: 13px;
  color: var(--mint);
}
.th-place-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 20px 20px;
}
.th-place-title {
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
}
.th-place-desc {
  margin-top: 8px;
  font-size: .93rem;
  line-height: 1.5;
  color: var(--muted);
}
.th-place-pts {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  flex-grow: 1;
  align-content: start;
}
.th-place-pts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--ink);
}
.th-place-pts .i {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--blue);
}
.th-place-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.th-place-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--blue);
  transition: color .25s;
}
.th-place-btn .i {
  width: 15px;
  height: 15px;
  transition: transform .25s var(--ease);
}
.th-place-card:hover .th-place-btn {
  color: var(--blue-600);
}
.th-place-card:hover .th-place-btn .i {
  transform: translateX(4px);
}
.th-place-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  background: var(--sky);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
  transition: background-color .3s, color .3s, transform .3s;
}
.th-place-wa .i {
  color: var(--wa);
  width: 15px;
  height: 15px;
}
.th-place-wa:hover {
  background: var(--wa);
  color: #fff;
  transform: translateY(-1px);
}
.th-place-wa:hover .i {
  color: #fff;
}
@media (max-width: 1024px) {
  .th-places-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .th-places-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- Contact page ---------- */
.contact-section { position: relative; z-index: 2; margin-top: -72px; padding-bottom: clamp(80px, 9vw, 124px); }
.contact-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; align-items: start; }
.form-card {
  background: #fff; border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px); box-shadow: var(--sh-lg);
  transition: box-shadow .45s var(--ease), opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s);
}
.form-card h2 { font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.04em; color: var(--ink); }
.form-card h2 em { font-style: normal; color: var(--blue); }
.hint { margin-top: 10px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .86rem; }
.req { color: #e0464b; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid transparent; border-radius: var(--r-sm); background: var(--ivory); font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1726' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(21, 118, 188, .12);
}
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 104px; flex: none; }
.err { display: none; color: #d23c41; font-size: .82rem; font-weight: 600; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #e0464b; background-color: #fff6f6; }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.form-foot small { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.form-foot small .i { color: var(--wa); }

.thanks { text-align: center; padding: 34px 6px; }
.thanks .check {
  width: 80px; height: 80px; margin: 0 auto 22px; border-radius: var(--r);
  display: grid; place-items: center; background: var(--green); color: #fff;
  box-shadow: 0 0 0 10px rgba(40, 181, 116, .14); animation: pop .6s var(--ease) both;
}
.thanks .check .i { width: 38px; height: 38px; stroke-width: 3; }
.thanks p { max-width: 430px; margin: 10px auto 26px; color: var(--muted); }
.thanks .btn-green { background: var(--wa); }
.choice h2 em { font-style: normal; color: var(--blue); }
.choice-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.choice-btns .btn { min-width: 210px; }
.choice-btns .btn:disabled { opacity: .65; cursor: wait; }
.thanks .choice-btns .btn-green { background: var(--wa); }
.choice-error { color: #c0392b; font-weight: 600; }
.thanks p.choice-error { margin: 18px auto 0; color: #c0392b; }
@media (max-width: 520px) { .choice-btns .btn { width: 100%; min-width: 0; } }
.again { display: block; margin: 18px auto 0; border: 0; background: none; color: var(--blue); font-weight: 700; text-decoration: underline; cursor: pointer; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.info-stack { display: grid; gap: 12px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; box-shadow: var(--sh); outline: none; }
.info-card .ico {
  width: 52px; height: 52px; flex: none; border-radius: var(--r); display: grid; place-items: center;
  background: var(--sky); color: var(--blue); transition: background-color .4s, color .4s;
}
.info-card .ico .i { width: 24px; height: 24px; }
.info-card:hover .ico { background: var(--blue); color: #fff; }
.info-card.wa .ico, .info-card.wa:hover .ico { background: var(--wa); color: #fff; }
.info-card small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-card strong { display: block; font-size: 1.04rem; overflow-wrap: anywhere; }
.info-card a { position: static; }
.info-card a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* several links in one card: each is its own tap target */
.info-card.multi a::after { content: none; }
.info-card.multi strong + strong { margin-top: 2px; }

.steps-card { padding: 28px 26px; box-shadow: var(--sh); }
.steps-card h3 { font-weight: 700; font-size: 1.3rem; letter-spacing: -.025em; color: var(--ink); }
.steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span {
  width: 36px; height: 36px; flex: none; border-radius: 4px; display: grid; place-items: center;
  background: var(--ivory); color: var(--ink); font-weight: 800; font-size: .9rem;
  transition: background-color .4s, color .4s;
}
.steps-card:hover .steps li > span { background: var(--ink); color: #fff; }
.steps strong { display: block; font-size: .97rem; }
.steps p { font-size: .87rem; color: var(--muted); margin-top: 2px; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer (rounded top panel) ---------- */
.site-footer {
  position: relative; margin: 0 var(--frame) var(--frame); padding: 80px 0 28px;
  border-radius: var(--r-xl); color: rgba(255, 255, 255, .66); background: var(--navy);
  overflow: hidden; isolation: isolate;
}
.site-footer::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -220px;
  border-radius: 140px; transform: rotate(24deg);
  background: radial-gradient(circle, rgba(21, 118, 188, .35), transparent 70%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; }
.site-footer .logo-img { height: 104px; color: #fff; }
.footer-about { margin-top: 20px; max-width: 300px; }
.site-footer h4 { margin-bottom: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { display: inline-block; transition: color .3s, transform .3s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; overflow-wrap: anywhere; }
.contact-list .i { color: var(--green); }
.contact-list .office { align-items: flex-start; }
.contact-list .office .i { margin-top: 3px; }
.contact-list .office strong { display: block; color: #fff; font-weight: 600; }
[data-address] { white-space: pre-line; } /* "\n" in an office address starts a new line */
.contact-list a:hover { color: #fff; }
.contact-list a { white-space: nowrap; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a {
  width: 46px; height: 46px; border-radius: var(--r); display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.socials a .i { width: 21px; height: 21px; }
.socials a:hover { transform: translateY(-3px); border-color: transparent; }
.socials .ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.socials .fb:hover { background: #1877f2; }
.socials .yt:hover { background: #ff0000; }
.socials .wa:hover { background: var(--wa); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer { margin: 0 8px 8px; border-radius: var(--r-lg); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Floating WhatsApp & call ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: var(--r);
  background: var(--wa); color: #fff; font-weight: 700;
  box-shadow: 0 18px 36px -14px rgba(37, 211, 102, .7), 0 4px 10px rgba(0, 0, 0, .1);
  transition: transform .35s var(--ease), opacity .3s, box-shadow .35s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--wa); animation: ring 2.8s ease-out infinite; pointer-events: none;
}
.wa-float .i { width: 32px; height: 32px; }
.wa-float .label, .call-float .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -14px rgba(37, 211, 102, .85); }
.call-float {
  position: fixed; right: 28px; bottom: 96px; z-index: 45;
  width: 48px; height: 48px; border-radius: var(--r); display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 14px 28px -10px rgba(12, 23, 38, .55);
  transition: transform .35s var(--ease), opacity .3s, background-color .3s;
}
.call-float .i { width: 21px; height: 21px; }
.call-float:hover { transform: translateY(-3px); background: var(--blue); }
.wa-hide .call-float, .nav-open .call-float { opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none; }
.wa-hide .wa-float, .nav-open .wa-float { opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.3); opacity: 0; } }
@media (max-width: 640px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .call-float, .wa-float {
    left: auto; right: auto; bottom: 0; width: 50%;
    height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 0; font-size: .95rem; font-weight: 700; box-shadow: 0 -10px 24px -12px rgba(12, 23, 38, .35);
  }
  .call-float { left: 0; }
  .wa-float { right: 0; }
  .call-float .i, .wa-float .i { width: 22px; height: 22px; }
  .wa-float::before { display: none; }
  .call-float .label, .wa-float .label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .call-float:hover, .wa-float:hover { transform: none; }
  .wa-hide .call-float, .nav-open .call-float,
  .wa-hide .wa-float, .nav-open .wa-float { transform: translateY(100%); }
}

/* ---------- Touch devices: comfortable tap targets ---------- */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .link-arrow { min-height: 44px; }
  .hero-dots button { height: 40px; }
  .hero-dots button::before, .hero-dots button::after { top: 18px; }
  .footer-links a, .contact-list a { display: inline-block; padding-block: 6px; }
}

/* ---------- Very small screens: smartwatches and folded phones (under 320px) ---------- */
@media (max-width: 319px) {
  body { overflow-wrap: anywhere; }
  .wrap { width: calc(100% - 20px); }
  .section { padding: 52px 0; }
  .h2 { font-size: 1.55rem; }
  .eyebrow { font-size: .64rem; letter-spacing: .1em; gap: 7px; }
  .hero .eyebrow, .page-hero .eyebrow { padding: 7px 10px; }

  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: .9em 1em; font-size: .92rem; }
  .hero-actions .btn, .lead-actions .btn, .dest-actions .btn { width: 100%; }

  .site-header, .site-header.scrolled { height: 58px; }
  .logo-img, .site-header.scrolled .logo-img { height: 38px; }
  .menu-toggle { width: 42px; height: 42px; }
  .nav { width: 100vw; border-radius: 0; padding: 80px 12px 20px; }

  .hero-frame { min-height: 0; padding-top: 86px; }
  .hero h1 { font-size: 1.8rem; margin: 16px 0 14px; }
  .hero-sub { font-size: .95rem; }
  .hero-row { margin-top: 22px; }
  .planner { padding: 5px; gap: 5px; margin-top: 26px; }
  .pl-field { padding: 9px 10px 8px; }
  .pl-label { font-size: .62rem; letter-spacing: .08em; }
  .dp-toggle, .stepper button { width: 30px; height: 30px; }
  .stepper { gap: 4px; }

  .page-hero-frame { min-height: 0; padding: 96px 0 44px; }
  .page-hero h1 { font-size: 1.9rem; }

  .trust-item, .usp, .hl, .info-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .steps li { flex-direction: column; gap: 8px; }

  .dest-card, .dest-grid .dest-card:nth-child(n), .dest-all .dest-card, .track .dest-card { min-height: 320px; }
  .dest-grid .dest-card:nth-child(1) h3, .dest-body h3 { font-size: 1.3rem; }
  .dest-body { padding: 14px; }
  .dest-flag { top: 10px; left: 10px; max-width: calc(100% - 70px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .dest-go { top: 10px; right: 10px; width: 38px; height: 38px; }
  .track { grid-auto-columns: 92%; }
  .car-btn { width: 44px; height: 44px; }

  .about-media { padding: 0 8% 8% 0; }
  .about-badge { position: relative; left: 0; top: 0; margin-top: 12px; }
  .svc, .how, .enquire-card, .steps-card { padding: 20px 16px; }
  .svc .num { top: 16px; right: 16px; }
  .svc h3, .how h3 { font-size: 1rem; }
  .about-badge { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-badge strong { font-size: 1.1rem; }
  .pl-field .dp-wrap input, .pl-field .stepper input { font-size: .88rem; }
  .lead-panel { padding: 32px 16px; }
  .lead-panel h2 { font-size: 1.7rem; }
  .form-card { padding: 20px 14px; }
  .form-card h2 { font-size: 1.55rem; }
  .phone-row { flex-wrap: wrap; }
  .phone-row .sel-btn, .phone-row select { width: 100%; }

  .site-footer { padding-top: 48px; }
  .site-footer .logo-img { height: 72px; }
  .contact-list a { white-space: normal; }
  .footer-bottom { margin-top: 36px; }
}
/* round watch faces and the smallest screens: icon-only call and chat bar */
@media (max-width: 259px) {
  body { padding-bottom: 46px; }
  .call-float, .wa-float { height: 46px; }
  .call-float .label, .wa-float .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero h1 { font-size: 1.55rem; }
  .h2 { font-size: 1.35rem; }
  .dest-flag { font-size: 0; gap: 0; padding: 5px; } /* flag only, no country name */
}

/* ---------- Very large screens: scale the whole page so it doesn't sit in a thin strip ---------- */
@media (min-width: 2200px) { :root { --z: 1.2; } }
@media (min-width: 2800px) { :root { --z: 1.45; } }
@media (min-width: 3400px) { :root { --z: 1.75; } }
html { zoom: var(--z); }

/* ---------- Scroll reveal ---------- */
.reveal-ready [data-reveal] {
  opacity: 0; translate: 0 28px;
  transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s);
}
.reveal-ready .card[data-reveal] {
  transition:
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    border-color .4s,
    background-color .4s,
    opacity .9s var(--ease) var(--d, 0s),
    translate .9s var(--ease) var(--d, 0s);
}
.reveal-ready [data-reveal].in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal-ready [data-reveal] { opacity: 1; translate: none; }
}
