/* Jost, self-hosted. One variable file per subset covers 400-700, which is
   what Google served too — but without a render-blocking request to a third
   party. unicode-range keeps latin-ext off pages that never need it. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Design tokens ===== */
:root {
  --brand: #d90368;
  --brand-dark: #a6034e;
  --ink: #262626;
  --muted: #3d3d3d;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --footer-bg: #201b1e;
  --footer-text: #f3e9ed;
  --border: #eee0e5;
  --radius: 14px;
  --font: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; color: var(--ink); line-height: 1.2; margin: 0 0 16px; }
p { margin: 0 0 16px; color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: var(--font);
  font-size: 15px;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); padding: 12px 28px; }
.btn--outline:hover { background: var(--brand); color: #fff; }

section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

/* ===== Header ===== */
.site-header { background: var(--bg); }
.topbar { background: #000; color: #fff; font-size: 16px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar__email { color: #fff; text-decoration: none; opacity: 0.9; }
.topbar__email:hover { opacity: 1; }
.topbar__social { display: flex; gap: 16px; }
.topbar__social a { color: #fff; display: inline-flex; opacity: 0.85; }
.topbar__social a:hover { opacity: 1; color: var(--brand); }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 140px; height: 140px; }
.brand span { font-weight: 700; font-size: 22px; letter-spacing: 0.01em; }

.main-nav > ul { display: flex; gap: 30px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 19px; }
.main-nav a:hover { color: var(--brand); }

/* ===== Nav dropdowns ===== */
.has-dropdown { position: relative; display: flex; align-items: center; gap: 4px; }
.dropdown { display: block; }
.dropdown-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; padding: 4px; margin: 0; color: var(--ink); cursor: pointer; }
.has-dropdown:hover > a, .has-dropdown.is-open > a { color: var(--brand); }
.has-dropdown:hover .dropdown-toggle, .has-dropdown.is-open .dropdown-toggle { color: var(--brand); transform: rotate(180deg); }
.dropdown-toggle svg { transition: transform 0.2s ease; }

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0,0,0,0.14);
  padding: 26px 30px 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
  border-bottom: 4px solid var(--brand);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown li { position: relative; padding-left: 26px; margin-bottom: 22px; }
.dropdown li:last-child { margin-bottom: 0; }
.dropdown li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fdeaf1;
  border: none;
}
.dropdown li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
}
.dropdown li:not(:last-child) .dropdown-line {
  position: absolute;
  left: 7px;
  top: 16px;
  width: 1px;
  height: calc(100% + 8px);
  background: #fdeaf1;
}
.dropdown a { font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.dropdown a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--brand);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  align-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 480px) {
  .brand img { width: 56px; height: 56px; }
  .brand span { font-size: 16px; }
}

@media (max-width: 900px) {
  .topbar__email { font-size: 13px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-top: 1px solid var(--border);
  }
  .main-nav.is-open { display: block; z-index: 500; }
  .main-nav > ul { flex-direction: column; padding: 12px 24px 24px; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .navbar { position: relative; }
  .nav-toggle { display: flex; }

  .has-dropdown { flex-wrap: wrap; }
  .has-dropdown > a { flex: 1; border-bottom: none; }
  .dropdown-toggle { padding: 12px 4px; }
  .dropdown {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border-bottom: none;
    border-radius: 0;
    background: #fdf6f9;
    padding: 0 0 0 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { max-height: 0; }
  .has-dropdown.is-open .dropdown { max-height: 600px; padding: 10px 0 14px 18px; transform: none; opacity: 1; visibility: visible; }
  .has-dropdown.is-open .dropdown, .has-dropdown.is-open:hover .dropdown, .has-dropdown.is-open:focus-within .dropdown { max-height: 600px; }
  .dropdown li { margin-bottom: 16px; }
  .dropdown a { white-space: normal; border-bottom: none; padding: 0; }
}

/* ===== Hero video (homepage top, placeholder until real footage is supplied) ===== */
.hero-video {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-video__media { position: absolute; inset: 0; z-index: 0; }
.hero-video__media img,
.hero-video__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* The still frame paints first and the clip covers it once it plays, so the
   hero has an image immediately and we never request the same frame twice. */
.hero-video__fallback { z-index: 0; }
.hero-video__video { z-index: 1; }

/* No clip on small screens — the still frame is the hero there.
   The download itself is gated in js/main.js; CSS alone did not stop it. */
@media (max-width: 700px) {
  .hero-video__media video.hero-video__video { display: none; }
}
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,.4), rgba(20,20,20,.6));
  z-index: 1;
}
.hero-video__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-video__content .eyebrow { color: #fff; opacity: .9; }
.hero-video__content h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  margin: 14px 0 30px;
  color: #fff;
}

@media (max-width: 700px) {
  .hero-video { min-height: 480px; }
}

/* ===== Hero rows (alternating image/text) ===== */
.hero-row { padding: 56px 0; }
.hero-row .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-row__media { position: relative; }
.hero-row__media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 3px solid var(--brand);
  border-radius: var(--radius);
  z-index: 0;
}
.hero-row__media img {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
}
.hero-row__text h1 { font-size: clamp(32px, 4vw, 52px); }
.hero-row--reverse .wrap { direction: rtl; }
.hero-row--reverse .wrap > * { direction: ltr; }

@media (max-width: 800px) {
  .hero-row .wrap { grid-template-columns: 1fr; }
  .hero-row--reverse .wrap { direction: ltr; }
  .hero-row__media { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ===== Why-choose grid (4 feature cards) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.feature-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 15px; }

@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--3 .feature-card { background: var(--bg); }
@media (max-width: 800px) { .feature-grid--3 { grid-template-columns: 1fr; } }

/* ===== Highlight strip (dark, editorial standout section) ===== */
.highlight-strip { background: var(--ink); color: #fff; }
.highlight-strip__head { text-align: center; margin-bottom: 48px; }
.highlight-strip__head .eyebrow { color: var(--brand); }
.highlight-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.highlight-strip__item {
  padding: 0 36px;
  border-left: 1px solid rgba(255,255,255,.15);
}
.highlight-strip__item:first-child { border-left: none; padding-left: 0; }
.highlight-strip__item:last-child { padding-right: 0; }
.highlight-strip__num {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 18px;
}
.highlight-strip__item h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.highlight-strip__item p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; }

@media (max-width: 800px) {
  .highlight-strip__grid { grid-template-columns: 1fr; gap: 36px; }
  .highlight-strip__item {
    border-left: none;
    padding: 32px 0 0;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .highlight-strip__item:first-child { border-top: none; padding-top: 0; }
}

/* ===== Content page hero banner ===== */
.content-hero {
  background: var(--bg-soft);
  padding: 80px 0 56px;
  text-align: center;
}
.content-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.content-hero p { max-width: 620px; margin: 0 auto; }

.prose { max-width: 760px; margin: 0 auto; }
.prose img { display: block; width: 100%; border-radius: var(--radius); margin: 28px 0; }
.prose h2 { margin-top: 44px; font-size: 24px; }
.prose h3 { margin-top: 30px; font-size: 19px; color: var(--brand); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; color: var(--muted); }
.callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p:first-child { font-weight: 700; color: var(--ink); margin-bottom: 6px; }

.callout--map img { margin: 0 0 18px; }
.callout--map form { margin-top: 16px; }
.callout--map input[type="email"] { width: 100%; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--border); font-family: var(--font); font-size: 15px; margin-bottom: 14px; }
.callout--map input[type="email"]:focus { outline: 2px solid var(--brand); }
.ml-form-interestGroupsRow { margin-bottom: 4px; }
.ml-checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; cursor: pointer; }
.ml-checkbox-row input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; }
.ml-checkbox-row span { font-size: 14px; color: var(--muted); }
.callout--map button.btn { margin-top: 4px; }

/* ===== Latest tours strip ===== */
.tours-strip { background: var(--bg-soft); }
.tours-strip--gray { background: #f5f5f5; }
.tours-strip--white { background: var(--bg); }
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tour-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.1); color: inherit; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.tour-card:hover, .tour-card:focus-visible { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.16); }
.tour-card img { width: 100%; height: 220px; object-fit: cover; }
.tour-card__body { padding: 20px 22px; }
.tour-card__region { color: var(--brand); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.tour-card h3 { font-size: 18px; margin: 8px 0; }
.tour-card__meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; margin: 0; }
.tour-card__price { color: var(--ink); font-weight: 700; }
.badge { display: inline-block; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.badge--partnered { background: var(--brand); }

@media (max-width: 900px) { .tours-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tours-grid { grid-template-columns: 1fr; } }

/* ===== Tours listing page (/destinations/thailand/) ===== */
.region-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }

.tour-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tour-listing-grid--single { grid-template-columns: minmax(0, 420px); justify-content: center; }

.tour-listing-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 20px rgba(0, 0, 0, .08); display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.tour-listing-card:hover, .tour-listing-card:focus-visible { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.16); }
.tour-listing-card .btn { pointer-events: none; }
.tour-listing-card__media { position: relative; }
.tour-listing-card__media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.tour-listing-card__media .badge { position: absolute; top: 16px; left: 16px; margin-bottom: 0; }

.tour-listing-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tour-listing-card__body h3 { font-size: 19px; line-height: 1.3; margin: 8px 0 12px; }
.tour-listing-card__body > p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }

.tour-listing-card__meta { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.tour-listing-card__meta span:not(:last-child)::after { content: "•"; margin: 0 10px; color: var(--border); }

.tour-listing-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.tour-listing-card__price { font-weight: 700; font-size: 18px; color: var(--ink); }

@media (max-width: 900px) { .tour-listing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tour-listing-grid { grid-template-columns: 1fr; } }

.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(38,38,38,0.08); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Click-to-play stand-in for the YouTube embed. It is a real <button> so it is
   reachable by keyboard; js/main.js swaps it for the iframe on activation. */
.video-facade {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: #141414;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.video-facade__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.video-facade__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 0;
}
.video-facade__play svg { width: 68px; height: 48px; }
.video-facade__play-shape { fill: rgba(20, 20, 20, 0.75); transition: fill 0.2s ease; }
.video-facade:hover .video-facade__thumb,
.video-facade:focus-visible .video-facade__thumb { transform: scale(1.03); filter: brightness(0.92); }
.video-facade:hover .video-facade__play-shape,
.video-facade:focus-visible .video-facade__play-shape { fill: #cc1a1a; }
.video-facade:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

@media (prefers-reduced-motion: reduce) {
  .video-facade__thumb { transition: none; }
  .video-facade:hover .video-facade__thumb,
  .video-facade:focus-visible .video-facade__thumb { transform: none; }
}

.instagram-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.instagram-embed { max-width: 540px; width: 100%; margin: 0 auto; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.instagram-embed .instagram-media { margin: 0 auto !important; width: 100% !important; }
.instagram-embed--side { display: none; }

@media (min-width: 900px) {
  .instagram-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .instagram-embed { max-width: none; }
  .instagram-embed--side { display: block; }
}

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.review-card { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 22px; }
.review-card__photo {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px double var(--brand);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.5);
  margin: 0 auto 14px;
  display: block;
}
.review-card__photo--placeholder { background: var(--border); }
.review-card__stars { color: var(--brand); letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { font-size: 14.5px; color: var(--ink); opacity: 0.85; }
.review-card__name { font-weight: 700; color: var(--ink); margin: 0; }

@media (max-width: 960px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

/* Full-length reviews (reviews page) */
.reviews-list { display: flex; flex-direction: column; gap: 24px; max-width: 840px; margin: 0 auto; }
.review-full { display: flex; gap: 26px; background: var(--bg-soft); border-radius: var(--radius); padding: 30px 32px; }
.review-full__photo {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px double var(--brand);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.review-full__photo--placeholder { background: var(--border); }
.review-full__stars { color: var(--brand); letter-spacing: 2px; margin-bottom: 8px; }
.review-full__name { font-weight: 700; color: var(--ink); margin: 14px 0 0; }
.review-full p { font-size: 14.5px; color: var(--ink); opacity: 0.85; margin-bottom: 12px; }
.review-full p:last-of-type { margin-bottom: 0; }
@media (max-width: 640px) {
  .review-full { flex-direction: column; padding: 26px 24px; }
  .review-full__stars { display: flex; justify-content: center; }
}

/* ===== CTA strip ===== */
.cta-strip { background: var(--ink); color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #d8d0d4; max-width: 620px; margin: 0 auto 28px; }

/* Light variant — for use when the strip sits directly above the (dark) footer,
   so the two don't blend into one another */
.cta-strip--light { background: var(--bg-soft); color: var(--ink); }
.cta-strip--light h2 { color: var(--ink); }
.cta-strip--light p { color: var(--muted); }

/* ===== Guide cards (Why Thailand -> subpages) ===== */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.guide-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.guide-card:hover { box-shadow: 0 14px 30px rgba(38,38,38,0.08); transform: translateY(-2px); }
.guide-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--brand); }
.guide-card p { font-size: 14px; margin: 0; }

@media (max-width: 960px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .guide-grid { grid-template-columns: 1fr; } }

.guide-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .guide-grid--3 { grid-template-columns: 1fr; } }

/* ===== Simple newsletter/lead form ===== */
.inline-form { display: flex; gap: 10px; max-width: 420px; margin: 24px auto 0; }
.inline-form input { flex: 1; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--border); font-family: var(--font); font-size: 15px; }
.inline-form input:focus { outline: 2px solid var(--brand); }

/* ===== Footer ===== */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 64px; }
.site-footer p { color: var(--footer-text); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer a { text-decoration: none; color: #fff; opacity: 0.9; }
.site-footer a:hover { opacity: 1; color: var(--brand); }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__brand img { width: 80px; height: 80px; margin-bottom: 14px; }
.footer__social { display: flex; gap: 14px; margin-top: 16px; }
.footer__social a { color: #fff; opacity: 0.9; display: inline-flex; }
.footer__social a:hover { opacity: 1; color: var(--brand); }
.footer__tagline { opacity: 0.85; font-size: 14px; }
.footer__ig-note { margin-bottom: 4px; font-size: 14px; opacity: 0.85; }
.footer__ig-link { font-weight: 600; }
.footer__ig-feed { margin-top: 14px; }
.footer__subscribe { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.footer__subscribe input { width: 100%; padding: 11px 14px; border-radius: 999px; border: none; font-family: var(--font); }
.footer__subscribe button { border-radius: 999px; border: none; background: var(--brand); color: #fff; padding: 11px 18px; font-weight: 600; cursor: pointer; }
.footer__subscribe button[disabled] { opacity: 0.65; cursor: default; }

/* Inline feedback for MailerLite forms (submitted in the background by main.js) */
.ml-form-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.45; }
.ml-form-msg.is-success { color: #0b7a4b; font-weight: 600; }
.ml-form-msg.is-error { color: #c0143c; font-weight: 600; }
.footer__subscribe .ml-form-msg.is-success { color: #ffd9e8; }
.footer__subscribe .ml-form-msg.is-error { color: #ffc9c9; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; font-size: 13px; opacity: 0.85; flex-wrap: wrap; gap: 10px; }
.footer__legal a { margin: 0 4px; }
.footer__legal span { opacity: 0.5; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* Site-wide: keep a consistent gap between descriptive text and a button/CTA
   that follows it, even inside containers that zero out paragraph margins
   (.section-head p, .content-hero p, etc.). Applies to any <p> that wraps a
   button, wherever it's used, now and on future pages. */
p:has(> .btn) {
  margin-top: 24px;
}

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

.trip-hero { background: var(--bg-soft); padding: 64px 0 48px; text-align: center; }
.trip-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.trip-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 0 0 20px; font-weight: 600; color: var(--ink); }
.trip-hero__meta span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; font-size: 14px; }
.trip-hero__lead { max-width: 720px; margin: 0 auto; text-align: center; }
.trip-hero__note { max-width: 720px; margin: 0 auto; font-size: 14px; font-style: italic; }

/* Gallery */
.trip-gallery { padding: 0 0 72px; }
.trip-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 10px;
}
.trip-gallery__item {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
}
.trip-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.trip-gallery__item:hover img { transform: scale(1.05); }
.trip-gallery__item--large { grid-column: span 2; grid-row: span 2; }
.trip-gallery__more {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

@media (max-width: 800px) {
  .trip-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .trip-gallery__item--large { grid-column: span 2; grid-row: span 1; }
}

/* Trip collages — three portrait (4:5) collage images, click-to-zoom */
.trip-collage { padding: 0 0 72px; }
.trip-collage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trip-collage__item {
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 5;
}
.trip-collage__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.trip-collage__item:hover img { transform: scale(1.03); }

@media (max-width: 800px) {
  .trip-collage__grid { grid-template-columns: 1fr; gap: 12px; max-width: 420px; margin: 0 auto; }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.lightbox.is-active { display: flex; }
.lightbox__img { max-width: min(90vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--brand); }
.lightbox__close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 20px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 24px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; opacity: 0.8; font-size: 14px; }

@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { width: 40px; height: 40px; font-size: 18px; }
  .lightbox__close { width: 36px; height: 36px; top: 14px; right: 14px; }
}

/* Check / cross lists (audience fit, cost includes/excludes) */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.check-list { background: var(--bg-soft); border-radius: var(--radius); padding: 30px 28px; }
.check-list h3 { font-size: 18px; margin-bottom: 16px; }
.check-list ul { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.check-list li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0; }
.check-list--negative li::before { content: "✗"; color: #9a9a9a; }

@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }

/* Dates & pricing box */
.trip-dates-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; max-width: 640px; margin: 0 auto; }
.trip-dates-box__price { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.trip-dates-box__price span { font-size: 16px; font-weight: 500; opacity: 0.7; }
.trip-dates-box ul { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.trip-dates-box li { color: rgba(255,255,255,0.85); font-size: 15px; }
.trip-dates-box li strong { color: #fff; }
.trip-dates-box__divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 32px 0 24px; }
.trip-dates-box__waitlist-lead { font-weight: 600; color: #fff; margin-bottom: 6px; }

/* Testimonial */
.trip-testimonial { max-width: 720px; margin: 0 auto; text-align: center; }
.trip-testimonial blockquote { margin: 0 0 16px; font-size: 20px; line-height: 1.5; color: var(--ink); font-style: italic; }
.trip-testimonial cite { color: var(--brand); font-weight: 600; font-style: normal; }
.trip-testimonial .review-card__stars { justify-content: center; display: flex; margin-bottom: 14px; }

/* Common thoughts before booking */
.trip-thoughts { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin: 0 auto; }
.trip-thoughts .callout { margin: 0; }

/* Itinerary */
.trip-itinerary { display: flex; flex-direction: column; gap: 20px; max-width: 820px; margin: 0 auto; }
.trip-day { display: flex; gap: 22px; background: var(--bg-soft); border-radius: var(--radius); padding: 26px 28px; }
.trip-day__num { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }
.trip-day__body h3 { font-size: 18px; margin-bottom: 8px; }
.trip-day__fact { font-size: 14px; font-style: italic; color: var(--muted); margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.trip-day__fact strong { color: var(--ink); font-style: normal; }

@media (max-width: 600px) {
  .trip-day { flex-direction: column; gap: 14px; padding: 22px; }
}

/* FAQ accordion (accessible: text present in HTML, no JS required to read) */
.trip-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.trip-faq details { background: var(--bg-soft); border-radius: 10px; padding: 4px 24px; }
.trip-faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.trip-faq summary::-webkit-details-marker { display: none; }
.trip-faq summary::after { content: "+"; font-size: 22px; color: var(--brand); flex-shrink: 0; }
.trip-faq details[open] summary::after { content: "–"; }
.trip-faq p { padding-bottom: 20px; margin: 0; }

/* ===== Cookie notice (bottom bar, dismiss-and-remember) ===== */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding-right: 84px; /* keep the OK button clear of the chatbot bubble (bottom-right) */
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-notice__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-notice__inner p { margin: 0; font-size: 14px; line-height: 1.45; color: #d8d0d4; }
.cookie-notice__inner a { color: #fff; text-decoration: underline; }
.cookie-notice__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 24px;
  cursor: pointer;
}
.cookie-notice__btn:hover { background: var(--brand-dark); }

/* Mobile: keep it to one compact strip — text and button side by side */
@media (max-width: 700px) {
  .cookie-notice__inner { padding: 10px 14px; gap: 12px; }
  .cookie-notice__inner p { font-size: 12px; line-height: 1.35; }
  .cookie-notice__btn { font-size: 13px; padding: 8px 16px; }
}

/* ===== Blog ===== */
body.blog-page { background: var(--bg-soft); }
body.blog-page .content-hero { background: transparent; }

/* Blog index: plain vertical list, no sidebar */
.blog-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 64px;
}
.blog-list__item {
  display: flex;
  align-items: stretch;
  gap: 28px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(38,38,38,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-list__item:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(38,38,38,0.1); }
.blog-list__img {
  flex: 0 0 240px;
  width: 240px;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.blog-list__body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 28px 32px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-list__date {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.blog-list__title { font-size: 23px; margin-bottom: 10px; }
.blog-list__excerpt { margin: 0; color: var(--muted); }

/* Article page: white card on the pink page background */
.article-card {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 820px;
  margin: 0 auto 72px;
  padding: 48px 56px;
  box-shadow: 0 2px 14px rgba(38,38,38,0.06);
}
.article-card .prose { max-width: none; }
.article-card .prose > *:first-child { margin-top: 0; }

.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.prose th { color: var(--ink); }
.prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose ol li { margin-bottom: 8px; color: var(--muted); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

@media (max-width: 700px) {
  .blog-list__item { flex-direction: column; }
  .blog-list__img { width: 100%; height: 180px; }
  .blog-list__body { padding: 22px 24px 26px; }
  .article-card { padding: 30px 24px; }
}
