/* Watphou Travels — layout inspired by vietnamdiscovery.com (Watphou photos & copy only) */

:root {
  --wpt-orange: #f15a24;
  --wpt-orange-dark: #d9480f;
  --wpt-text: #212529;
  --wpt-muted: #6c757d;
  --wpt-border: #dee2e6;
  --wpt-bg: #fff;
  --wpt-footer: #1a1d21;
  --wpt-max: 1140px;
  --wpt-gutter: 1rem; /* space between the window edge and page text */
  --wpt-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
  --wpt-why-bg: #f0f7fd;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wpt-text);
  background: var(--wpt-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wpt-orange); text-decoration: none; }
a:hover { color: var(--wpt-orange-dark); }
h1, h2, h3, h4 { color: var(--wpt-text); font-weight: 700; }

.wpt-container {
  width: min(100% - 2 * var(--wpt-gutter), var(--wpt-max));
  margin-inline: auto;
}

/* Demo banner */
.watphou-lang-banner {
  background: #e7f1ff;
  color: #084298;
  text-align: center;
  padding: .45rem 1rem;
  font-size: .85rem;
  border-bottom: 1px solid #b6d4fe;
}

.wpt-breadcrumbs {
  font-size: .85rem;
  color: var(--wpt-muted);
  margin: 1rem 0;
}
.wpt-related { margin: 2rem 0 1rem; }
.wpt-related ul { padding-left: 1.2rem; }
.wpt-related a {
  color: var(--wpt-orange);
  text-decoration: underline;
  text-underline-offset: .2em;
  font-weight: 600;
}
.wpt-related a:hover,
.wpt-related a:focus-visible {
  color: var(--wpt-orange-dark);
  text-decoration-thickness: 2px;
}
.wpt-tour-more { padding-bottom: 3rem; }

.watphou-demo-banner {
  background: #fff3cd;
  color: #664d03;
  text-align: center;
  padding: .4rem 1rem;
  font-size: .8rem;
  border-bottom: 1px solid #ffe69c;
}

/* Top bar — white, sticky */
.wpt-topbar {
  background: #fff;
}

.wpt-topbar__inner,
.wpt-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wpt-topbar__inner { min-height: 64px; }
.wpt-topbar__left,
.wpt-topbar__right { display: flex; align-items: center; gap: 1rem; }

/* Header: logo spans the top bar and the menu row; everything else sits to its right */
.wpt-header { background: #fff; box-shadow: var(--wpt-shadow); container-type: inline-size; }
.wpt-header__grid {
  /* --m: space between the window edge and the page content; the logo cell reaches the window edge */
  --m: max(1rem, calc((100cqw - var(--wpt-max)) / 2));
  --wpt-logo-w: 210px;
  display: grid;
  grid-template-columns: calc(var(--m) + var(--wpt-logo-w)) minmax(0, 1fr);
  grid-template-areas: "logo top" "logo nav";
  width: 100%;
  margin: 0;
  padding-right: var(--m);
}
/* Logo centered between the window's left edge and the start of "Home" (menu links have .7rem padding),
   12px of space above and below. */
.wpt-logo { grid-area: logo; display: flex; align-items: center; justify-content: center; padding: 12px 0; }
.wpt-logo img { height: 92px; width: auto; max-width: none; position: relative; left: .35rem; }
.wpt-header__grid > .wpt-topbar { grid-area: top; min-width: 0; }
.wpt-header__grid > .wpt-nav { grid-area: nav; min-width: 0; }

.wpt-location {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .9rem;
  color: var(--wpt-orange);
  font-weight: 600;
  border-left: 1px solid var(--wpt-border);
  padding-left: 1rem;
}

.wpt-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--wpt-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.wpt-search button {
  border: 0;
  background: #fff;
  padding: .4rem .6rem;
  cursor: pointer;
}
.wpt-search input {
  border: 0;
  padding: .45rem .6rem .45rem 0;
  font-size: .875rem;
  width: 140px;
  outline: none;
}

.wpt-whatsapp-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--wpt-text) !important;
  font-size: .95rem;
}
.wpt-wa-icon { width: 24px; height: 24px; }
.wpt-login-link { font-size: .8rem; color: var(--wpt-muted) !important; }
.wpt-langs { display: flex; gap: .45rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; }
.wpt-langs a, .wpt-langs li, .wpt-langs .lang-item { color: var(--wpt-text) !important; list-style: none; }
.wpt-langs ul { display: flex; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.wpt-langs .current-lang a { color: var(--wpt-orange) !important; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.wpt-nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Second nav */
.wpt-nav {
  background: #fff;
  border-top: 1px solid var(--wpt-border);
}
.wpt-nav__inner { min-height: 52px; }

.wpt-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: .25rem;
  flex-wrap: wrap;
}
.wpt-menu > li { position: relative; }
.wpt-menu > li > a {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .75rem .7rem;
  color: var(--wpt-text);
  font-size: .92rem;
  font-weight: 500;
}
.wpt-menu > li > a:hover { color: var(--wpt-orange); }

.wpt-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 260px;
  background: #fff;
  box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12);
  list-style: none;
  margin: 0;
  padding: .5rem 0;
  z-index: 210;
}
.has-children:hover > .wpt-dropdown,
.has-children:focus-within > .wpt-dropdown { display: block; }
.wpt-dropdown a {
  display: block;
  padding: .45rem 1rem;
  color: var(--wpt-text);
  font-size: .875rem;
}
.wpt-dropdown a:hover { background: #fff7ed; color: var(--wpt-orange); }
/* "All tours" repeated inside its own submenu: only needed on mobile, where the parent link toggles the accordion */
.wpt-dropdown__all { display: none; }

.wpt-cta-outline {
  display: inline-block;
  border: 2px solid var(--wpt-orange);
  color: var(--wpt-orange) !important;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.wpt-cta-outline:hover {
  background: var(--wpt-orange);
  color: #fff !important;
}

.wpt-btn-primary {
  display: inline-block;
  background: var(--wpt-orange);
  color: #fff !important;
  padding: .7rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(232,93,4,.35);
}
.wpt-btn-primary:hover { background: var(--wpt-orange-dark); }

/* Hero */
.wpt-hero {
  position: relative;
  min-height: 72vh;
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  color: #fff;
}
.wpt-hero--tour { overflow: hidden; } /* same height as the homepage hero (72vh desktop, 55vh phone) */
.wpt-hero--home {
  overflow: hidden;
  background: #1c1917;
}
.wpt-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1c1917;
}
.wpt-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  z-index: 0;
  background: #1c1917;
  transition: opacity .9s ease-in-out;
}
.wpt-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.wpt-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.1) 100%);
}
.wpt-hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 5rem 0;
  max-width: 640px;
  margin-inline: 1.5rem 0; /* small fixed space from the left window edge (24px) */
}
.wpt-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.wpt-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  margin: 0 0 1.75rem;
  color: #fff;
}
.wpt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.wpt-btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  padding: .85rem 1.6rem;
  border-radius: 4px;
}
.wpt-btn-whatsapp:hover { background: #1ebe57; color: #fff !important; }

/* Explore */
.wpt-explore { padding: 1rem 0 .75rem; text-align: center; }
.wpt-explore__inner { max-width: 760px; }
.wpt-explore h2 { font-size: 2rem; margin: 0 0 .5rem; }
.wpt-explore p { color: var(--wpt-muted); }
.wpt-explore p:last-child { margin-bottom: 0; }

/* Interest cards — photo + duration badge + price row */
.wpt-interest { padding: 1rem 0 3rem; }
.wpt-interest h2 { text-align: center; margin-bottom: 1.5rem; }
.wpt-interest__track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0 max(var(--wpt-gutter), calc((100% - var(--wpt-max)) / 2)) 1rem;
  scroll-snap-type: x mandatory;
}
.wpt-interest-card {
  flex: 0 0 250px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.wpt-interest-card__image { position: relative; height: 168px; }
.wpt-interest-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.wpt-interest-card:hover img { transform: scale(1.06); }
.wpt-interest-card__body { padding: .85rem 1rem 1rem; }
.wpt-interest-card__body h3 {
  margin: 0 0 .65rem;
  font-size: 1.02rem;
  color: var(--wpt-text);
  min-height: 2.5em;
}
.wpt-interest-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .5rem;
}
.wpt-from-price { font-size: .78rem; color: var(--wpt-muted); }
.wpt-from-price strong { display: block; color: var(--wpt-orange); font-size: 1.15rem; }
.wpt-explore-link {
  color: var(--wpt-orange);
  font-weight: 600;
  font-size: .9rem;
}
.wpt-interest-card__hit,
.wpt-tour-row__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Tour rows like VD adventures */
.wpt-adventures { padding: 1rem 0 2rem; background: #f8f9fa; }
.wpt-adventures__heading { text-align: center; margin-bottom: 2rem; }
.wpt-adventures__heading h2 { margin: 0 0 .35rem; }
.wpt-adventures__heading p { color: var(--wpt-muted); margin: 0; }
.wpt-main .wpt-adventures__list { padding-bottom: 3.5rem; }

.wpt-tour-row {
  display: grid;
  grid-template-columns: 280px 1fr 180px;
  gap: 1.25rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: var(--wpt-shadow);
  position: relative;
}
.wpt-tour-row a.wpt-view-tour,
.wpt-tour-row h3 a { position: relative; z-index: 3; }
.wpt-tour-row__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  min-height: 0;
  max-height: 280px;
}
.wpt-tour-row__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 0;
}
.wpt-day-badge {
  position: absolute;
  left: 0; bottom: 0;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .8rem;
  padding: .35rem .7rem;
}
.wpt-tour-row__content { padding: 1.1rem 0; }
.wpt-tour-row__content h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.wpt-tour-row__content h3 a { color: var(--wpt-text); }
.wpt-tour-row__content h3 a:hover { color: var(--wpt-orange); }
.wpt-tour-row__desc { color: var(--wpt-muted); font-size: .92rem; margin-bottom: .75rem; }
.wpt-tour-row__content h4 { margin: 0 0 .25rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--wpt-muted); }
.wpt-tour-row__price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 1rem 1.25rem 1rem 0;
  border-left: 1px solid var(--wpt-border);
  gap: .75rem;
}
.wpt-price { text-align: right; font-size: .8rem; color: var(--wpt-muted); }
.wpt-price__num { display: block; font-size: 1.6rem; font-weight: 700; color: var(--wpt-orange); line-height: 1.1; }
.wpt-view-tour {
  background: var(--wpt-orange);
  color: #fff !important;
  padding: .5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .875rem;
}
.wpt-view-tour:hover { background: var(--wpt-orange-dark); }

/* Destinations overlay tiles */
.wpt-destinations { padding: 3rem 0 3.5rem; }
.wpt-destinations h2, .wpt-steps h2 { text-align: center; margin: 0 0 .4rem; }
.wpt-section-sub { text-align: center; color: var(--wpt-muted); margin: 0 0 1.75rem; }
.wpt-dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.wpt-dest-tile {
  position: relative;
  display: block;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff !important;
}
.wpt-dest-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wpt-dest-tile:hover img { transform: scale(1.06); }
.wpt-dest-tile h3 {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 2.2rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: 1.15rem;
}

/* 5 steps */
.wpt-steps { padding: 1.5rem 0 3rem; }

/* Google reviews — IZITOUR-style rolling cards */
.wpt-reviews { padding: 3rem 0 3.5rem; background: #fff; }
.wpt-reviews__title { text-align: center; margin: 0 0 .4rem; font-size: 2rem; }
.wpt-reviews__title a { color: var(--wpt-text); }
.wpt-reviews__title a:hover { color: var(--wpt-orange); }
.wpt-reviews__summary { margin-bottom: 1.25rem; }
.wpt-reviews__slider { position: relative; }
.wpt-reviews__viewport { overflow: hidden; }
.wpt-reviews__track {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 1.5rem .25rem .5rem;
  list-style: none;
  transition: transform .45s ease;
}
.wpt-reviews__slide {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
}
.wpt-review-card {
  display: block;
  position: relative;
  height: 100%;
  min-height: 246px;
  padding: 1.35rem 1.25rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
  color: var(--wpt-text) !important;
}
.wpt-review-card:hover { color: var(--wpt-text) !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.wpt-review-quote {
  position: absolute;
  top: -14px;
  right: 20px;
  width: 36px;
  height: 28px;
  background: #fff;
  padding: 0 4px;
}
.wpt-review-stars {
  display: block;
  color: #f8b400;
  letter-spacing: .12em;
  font-size: 1rem;
  line-height: 1;
  margin: .15rem 0 .65rem;
}
.wpt-review-text {
  margin: 0 0 1rem;
  font-size: .875rem;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6.5em;
}
.wpt-review-who {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: .35rem;
}
.wpt-review-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 50%;
  overflow: hidden;
  background: #f15a24;
  color: #fff;
}
.wpt-review-avatar img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.wpt-review-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
}
.wpt-review-meta { font-size: .875rem; line-height: 1.35; }
.wpt-review-meta strong { color: var(--wpt-text); }
.wpt-review-meta time { color: var(--wpt-muted); font-size: .82rem; }
.wpt-reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(33, 37, 41, .55);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
}
.wpt-reviews__slider:hover .wpt-reviews__nav,
.wpt-reviews__nav:focus { opacity: 1; }
.wpt-reviews__nav--prev { left: .15rem; }
.wpt-reviews__nav--next { right: .15rem; }
.wpt-reviews__google { text-align: center; margin: 1.25rem 0 0; font-weight: 600; }

.wpt-steps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.wpt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wpt-orange);
  color: #fff;
  font-weight: 700;
  margin-bottom: .6rem;
}
.wpt-steps__grid h3 { font-size: 1rem; margin: 0 0 .4rem; }
.wpt-steps__grid p { margin: 0; color: var(--wpt-muted); font-size: .9rem; }

/* Why us */
.wpt-why { padding: 3.5rem 0; background: var(--wpt-why-bg); }
.wpt-why h2 { text-align: center; margin-bottom: 2rem; }
.wpt-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.wpt-why__grid h3 { font-size: 1.05rem; color: var(--wpt-orange); margin: 0 0 .5rem; }
.wpt-why__grid p { color: var(--wpt-muted); margin: 0; font-size: .92rem; }

.wpt-reviews { padding: 3rem 0; text-align: center; background: #f8f9fa; }
.wpt-reviews__note { color: var(--wpt-muted); max-width: 560px; margin: 0 auto 1.25rem; }

.wpt-contact-cta { padding: 3.5rem 0 4rem; text-align: center; }
.wpt-contact-form { max-width: 560px; margin: 1.5rem auto 0; text-align: left; }
.watphou-booking-form label { display: block; margin-bottom: .75rem; font-size: .9rem; }
.watphou-booking-form input,
.watphou-booking-form select,
.watphou-booking-form textarea {
  width: 100%;
  padding: .5rem .65rem;
  border: 1px solid var(--wpt-border);
  border-radius: 4px;
  font: inherit;
}
.watphou-booking-form fieldset {
  border: 1px solid var(--wpt-border);
  border-radius: 8px;
  padding: 1rem 1.1rem .35rem;
  margin: 0 0 1.25rem;
}
.watphou-booking-form legend { font-weight: 700; padding: 0 .35rem; }
.watphou-booking-form__tour { background: #f8f9fa; }
.watphou-booking-form input[type="checkbox"] {
  width: auto;
  margin-right: .4rem;
}
.watphou-booking-form button { background: var(--wpt-orange); color: #fff; border: 0; padding: .7rem 1.4rem; border-radius: 6px; font-weight: 700; cursor: pointer; }
.watphou-booking-form button:disabled { opacity: .7; cursor: wait; }
.watphou-booking-form__req {
  color: var(--wpt-muted);
  font-weight: 500;
  font-size: .8rem;
}
.watphou-booking-form__hint {
  color: var(--wpt-muted);
  font-size: .85rem;
  margin: .35rem 0 1rem;
}
.watphou-booking-form__field-error {
  display: block;
  color: #9b1c1c;
  font-size: .82rem;
  font-weight: 600;
  margin-top: .3rem;
}
.watphou-booking-form [aria-invalid="true"] {
  border-color: #c0392b;
  outline: 2px solid #f5c6cb;
}
.watphou-booking-form__alert {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: 6px;
  text-align: left;
  scroll-margin-top: 8rem;
}
.watphou-booking-form__alert ul {
  margin: .4rem 0 0;
  padding-left: 1.2rem;
}
.watphou-booking-form__alert--error {
  background: #fdecea;
  border: 1px solid #e6b0aa;
  color: #7b1e1e;
}
.watphou-booking-form__alert--ok {
  background: #eaf7ee;
  border: 1px solid #a3d4b1;
  color: #1e5a32;
}

.wpt-tour-booking {
  padding: 2.5rem 0 3rem;
  max-width: 760px;
  scroll-margin-top: 9rem;
  border-top: 1px solid var(--wpt-border);
}
.wpt-tour-booking__note {
  color: var(--wpt-muted);
  margin: 0 0 1rem;
}
.wpt-page-title { margin-top: 0; }
.wpt-prose { max-width: 760px; }
.wpt-archive-hero { padding: 2.5rem 0 1rem; text-align: center; }
.wpt-listing-group {
  margin: 2rem 0 .75rem;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--wpt-muted);
}
.wpt-listing-note { margin: 1.5rem 0 3rem; }
.wpt-price-bar { font-weight: 700; color: #ffe8d6; }

/* Footer */
.wpt-footer { background: var(--wpt-footer); color: #cfd3d8; padding: 3rem 0 0; margin-top: 2rem; }
.wpt-footer a { color: #fff; }
.wpt-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.wpt-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 .75rem; }
.wpt-footer ul { list-style: none; margin: 0; padding: 0; }
.wpt-footer li { margin-bottom: .35rem; }
.wpt-footer__logo {
  height: 72px;
  width: auto;
  max-width: 220px;
  margin-bottom: .75rem;
}
.wpt-footer__copy { border-top: 1px solid #2c3138; padding: 1rem 0; font-size: .8rem; }

.watphou-whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  background: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.watphou-whatsapp-float img { width: 34px; height: 34px; }

.wpt-dest-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 0 0 3rem;
}
.wpt-dest-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--wpt-shadow);
}
.wpt-dest-card a { color: inherit; display: block; }
.wpt-dest-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.wpt-dest-card__body { padding: 1rem 1.15rem 1.25rem; }
.wpt-dest-card__body h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.wpt-dest-card__body p { margin: 0 0 .75rem; color: var(--wpt-muted); }
.wpt-dest-card__body span { color: var(--wpt-orange); font-weight: 600; }

.wpt-about {
  padding-bottom: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.wpt-about__section { margin-bottom: 2.75rem; }
.wpt-about h1 { margin: 0 0 1rem; font-size: 2rem; }
.wpt-about h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.wpt-about h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.wpt-about p { margin: 0 0 1rem; }
.wpt-about ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.wpt-about li { margin-bottom: .35rem; }
.wpt-about__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 1.25rem 0 1.5rem;
}
.wpt-about__gallery figure,
.wpt-tour-gallery figure {
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
}
.wpt-about__gallery figure { margin: 0; }
.wpt-about__gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.wpt-tour-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 1.75rem 0 2rem;
}
.wpt-tour-gallery figure { margin: 0; }
.wpt-tour-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.wpt-lightbox-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.wpt-about__gallery .wpt-lightbox-trigger {
  position: relative;
  overflow: hidden;
}
.wpt-about__gallery .wpt-lightbox-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(0,0,0,0);
  transition: background .2s ease;
  pointer-events: none;
}
.wpt-about__gallery .wpt-lightbox-trigger:hover img,
.wpt-about__gallery .wpt-lightbox-trigger:focus-visible img {
  transform: scale(1.04);
}
.wpt-about__gallery .wpt-lightbox-trigger:hover::after,
.wpt-about__gallery .wpt-lightbox-trigger:focus-visible::after {
  background: rgba(0,0,0,.18);
}
.wpt-about__gallery .wpt-lightbox-trigger img {
  transition: transform .25s ease;
}
.wpt-tour-row__image .wpt-lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 4;
  border-radius: 0;
}

body.wpt-lightbox-open { overflow: hidden; }
body.wpt-lightbox-open .watphou-whatsapp-float,
body.wpt-lightbox-open .wpt-topbar,
body.wpt-lightbox-open .wpt-logo {
  visibility: hidden;
  pointer-events: none;
}

.wpt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.wpt-lightbox[hidden] { display: none; }
.wpt-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(10, 12, 16, .88);
  cursor: zoom-out;
}
.wpt-lightbox__stage {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wpt-lightbox__img {
  max-width: min(96vw, 1400px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 1.25rem 3rem rgba(0,0,0,.45);
  opacity: 0;
  transform: scale(.98);
  transition: opacity .2s ease, transform .2s ease;
  background: #111;
}
.wpt-lightbox__img.is-ready {
  opacity: 1;
  transform: scale(1);
}
.wpt-lightbox__caption {
  margin: .75rem 0 0;
  color: #f8f9fa;
  font-size: .95rem;
  text-align: center;
  max-width: 40rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.wpt-lightbox__close,
.wpt-lightbox__prev,
.wpt-lightbox__next {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.wpt-lightbox__close:hover,
.wpt-lightbox__prev:hover,
.wpt-lightbox__next:hover,
.wpt-lightbox__close:focus-visible,
.wpt-lightbox__prev:focus-visible,
.wpt-lightbox__next:focus-visible {
  background: var(--wpt-orange);
  outline: none;
}
.wpt-lightbox__close {
  top: -2.6rem;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.6rem;
}
.wpt-lightbox__prev,
.wpt-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.8rem;
}
.wpt-lightbox__prev { left: -3.25rem; }
.wpt-lightbox__next { right: -3.25rem; }
.wpt-lightbox__prev[hidden],
.wpt-lightbox__next[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .wpt-about__gallery .wpt-lightbox-trigger img,
  .wpt-lightbox__img,
  .wpt-hero__slide,
  .wpt-reviews__track { transition: none; }
}
.wpt-about__venue {
  margin: 1.75rem 0 2rem;
  padding-top: .25rem;
}
.wpt-about__meta {
  font-size: .95rem;
  color: var(--wpt-muted);
}
.wpt-about__close {
  border-top: 1px solid var(--wpt-border);
  padding-top: 1.75rem;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .wpt-tour-row { grid-template-columns: 1fr; }
  .wpt-tour-row__price { align-items: flex-start; border-left: 0; padding: 0 1rem 1rem; flex-direction: row; justify-content: space-between; }
  .wpt-why__grid { grid-template-columns: 1fr 1fr; }
  .wpt-dest-grid { grid-template-columns: 1fr 1fr; }
  .wpt-steps__grid { grid-template-columns: 1fr 1fr; }
  .wpt-reviews__slide { flex-basis: calc((100% - 1.25rem) / 2); }
  .wpt-footer__grid { grid-template-columns: 1fr; }
  .wpt-location, .wpt-search.d-desktop { display: none; }
  .wpt-hero__content { text-align: center; max-width: none; padding: 4rem 0; margin-inline: auto; }
  .wpt-about__gallery { grid-template-columns: 1fr 1fr; }
  .wpt-tour-gallery { grid-template-columns: 1fr 1fr; }
  .wpt-lightbox__prev { left: .35rem; }
  .wpt-lightbox__next { right: .35rem; }
  .wpt-lightbox__close { top: .35rem; right: .35rem; }
}

@media (max-width: 768px) {
  .wpt-nav-toggle { display: block; }
  .wpt-header__grid { grid-template-areas: "logo top" "nav nav"; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; padding-inline: 1rem; }
  .wpt-logo { padding: 0; }
  .wpt-logo img { height: 44px; left: 0; }
  .wpt-topbar__inner { justify-content: flex-end; }
  .wpt-topbar__right { gap: .6rem; }
  .wpt-whatsapp-phone { font-size: .85rem; white-space: nowrap; }
  .wpt-nav { display: none; }
  .wpt-nav.is-open { display: block; }
  .wpt-menu { flex-direction: column; }
  .wpt-dropdown { position: static; box-shadow: none; display: none; }
  .has-children:hover > .wpt-dropdown { display: none; }
  .has-children.is-open > .wpt-dropdown { display: block; }
  .wpt-dropdown__all { display: block; }
  .wpt-cta-outline { margin: .5rem 1rem 1rem; }
  .wpt-whatsapp-phone .text, .wpt-login-link { display: none; }
  .wpt-hero { min-height: 55vh; }
  .wpt-why__grid { grid-template-columns: 1fr; }
  .wpt-dest-hub { grid-template-columns: 1fr; }
  .wpt-steps__grid { grid-template-columns: 1fr; }
  .wpt-reviews__slide { flex-basis: 100%; }
  .wpt-reviews__nav { opacity: 1; }
  .wpt-about__gallery { grid-template-columns: 1fr; }
  .wpt-about__gallery img { height: 220px; }
  .wpt-tour-gallery { grid-template-columns: 1fr; }
  .wpt-tour-gallery img { height: 220px; }
}

/* Tour price table (replaces “Request this tour”) */
.wpt-prices { scroll-margin-top: 9rem; }
.wpt-prices h2 { margin: 0 0 .35rem; }
.wpt-prices__note { color: var(--wpt-muted); margin: 0 0 1rem; }
.wpt-prices__table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.wpt-prices__table th,
.wpt-prices__table td { padding: .8rem .6rem; border-bottom: 1px solid var(--wpt-border); text-align: left; vertical-align: middle; }
.wpt-prices__table thead th { color: var(--wpt-orange); font-size: .95rem; line-height: 1.3; border-bottom-width: 2px; }
.wpt-prices__table tbody th { font-weight: 600; white-space: nowrap; }
.wpt-prices__per { display: block; color: var(--wpt-muted); font-weight: 500; font-size: .8rem; }
.wpt-prices__amount { color: var(--wpt-orange-dark); font-weight: 700; font-size: 1.1rem; }
.wpt-prices__on-request { color: var(--wpt-muted); font-style: italic; }
.wpt-prices__action { text-align: right !important; }
.wpt-btn-inquiry {
  display: inline-block;
  background: var(--wpt-orange);
  color: #fff;
  border: 2px solid var(--wpt-orange);
  padding: .5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}
.wpt-btn-inquiry:hover,
.wpt-btn-inquiry:focus-visible { background: var(--wpt-orange-dark); border-color: var(--wpt-orange-dark); color: #fff; }
.wpt-btn-inquiry--outline { background: #fff; color: var(--wpt-orange-dark); }
.wpt-prices__more { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; background: #fff6f1; border-radius: 8px; }
.wpt-prices__more p { margin: 0; display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--wpt-text); }
.wpt-prices__more svg { flex: 0 0 auto; color: var(--wpt-orange); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Inquiry page: only the form + booking summary */
.wpt-inquiry { padding: 1.5rem 0 3rem; }
.wpt-inquiry__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; margin-top: 1rem; }
.wpt-inquiry .watphou-booking-form legend { text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; }
.wpt-inquiry-summary { border: 1px solid var(--wpt-border); border-radius: 10px; overflow: hidden; position: sticky; top: 7rem; background: #fff; box-shadow: var(--wpt-shadow); }
.wpt-inquiry-summary__head { margin: 0; padding: .9rem 1.1rem; background: var(--wpt-orange); color: #fff; font-size: 1.15rem; }
.wpt-inquiry-summary__body { padding: 1rem 1.1rem 1.1rem; }
.wpt-inquiry-summary__tour { font-weight: 700; font-size: 1.05rem; margin: 0 0 .25rem; }
.wpt-inquiry-summary__dur { color: var(--wpt-muted); margin: 0 0 .75rem; }
.wpt-inquiry-summary dl { margin: 0; }
.wpt-inquiry-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--wpt-border); }
.wpt-inquiry-summary dt { color: var(--wpt-muted); }
.wpt-inquiry-summary dd { margin: 0; font-weight: 700; text-align: right; color: var(--wpt-orange-dark); }
.wpt-inquiry-summary__note { color: var(--wpt-muted); font-size: .82rem; margin: .75rem 0 0; }
.wpt-inquiry-summary dt small { display: block; font-size: .82rem; margin-top: .1rem; }
.wpt-inquiry-summary dl div[hidden] { display: none; }
/* Tours with nights: people per room type, with - and + (like the customer's reference screen) */
.wpt-rooms { border: 1px solid var(--wpt-border); border-radius: 10px; padding: .25rem 1rem .5rem; margin: 0 0 1rem; }
.wpt-rooms__title { font-weight: 700; margin: .75rem 0 .25rem; }
.wpt-rooms__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--wpt-border); }
.wpt-rooms__label { font-weight: 600; }
.wpt-stepper { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--wpt-border); border-radius: 999px; padding: .2rem .35rem; flex-shrink: 0; }
.watphou-booking-form .wpt-stepper__btn { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; min-height: 0; border-radius: 50%; border: 1.5px solid var(--wpt-orange); background: transparent; color: var(--wpt-orange); font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; box-shadow: none; }
.watphou-booking-form .wpt-stepper__btn:hover, .watphou-booking-form .wpt-stepper__btn:focus-visible { background: var(--wpt-orange); color: #fff; }
.wpt-stepper input[type="number"] { width: 3rem; text-align: center; border: 0; background: transparent; font-weight: 700; padding: .2rem 0; -moz-appearance: textfield; appearance: textfield; }
.wpt-stepper input::-webkit-outer-spin-button, .wpt-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wpt-rooms input[name="people"][readonly] { background: transparent; font-weight: 700; }
.watphou-booking-form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .wpt-inquiry__grid { grid-template-columns: 1fr; }
  .wpt-inquiry-summary { position: static; order: -1; }
}
@media (max-width: 640px) {
  .wpt-prices__table thead { display: none; }
  .wpt-prices__table,
  .wpt-prices__table tbody,
  .wpt-prices__table tr,
  .wpt-prices__table th,
  .wpt-prices__table td { display: block; width: 100%; }
  .wpt-prices__table tr { border: 1px solid var(--wpt-border); border-radius: 8px; padding: .4rem .8rem .8rem; margin-bottom: .75rem; }
  .wpt-prices__table tbody th { font-size: 1.05rem; border-bottom: 1px solid var(--wpt-border); }
  .wpt-prices__table td { border: 0; display: flex; align-items: baseline; padding: .45rem 0; }
  .wpt-prices__table td[data-label]::before { content: attr(data-label); color: var(--wpt-muted); font-size: .88rem; margin-right: auto; padding-right: .75rem; }
  .wpt-prices__action { text-align: left !important; display: block !important; padding-top: .6rem !important; }
  .wpt-prices__action .wpt-btn-inquiry { width: 100%; }
  .wpt-prices__more { flex-direction: column; align-items: stretch; }
}

/* Very narrow phones: keep the WhatsApp icon (still a link), drop the number so the bigger logo fits */
@media (max-width: 420px) {
  .wpt-whatsapp-phone strong { display: none; }
}

/* The logo takes the left of the menu row, so tighten the menu a little before it wraps */
@media (min-width: 769px) and (max-width: 1280px) {
  .wpt-menu { gap: 0; }
  .wpt-menu > li > a { padding: .75rem .5rem; font-size: .88rem; }
  .wpt-logo img { left: .25rem; }
}

/* Guide / FAQ page (mirrors the PDF "Practical Guide"): one accent colour, change --wpt-guide to restyle. */
.wpt-guide { --wpt-guide: #1a5c45; --wpt-guide-soft: #eef5f1; padding-bottom: 3rem; max-width: 900px; margin: 0 auto; }
.wpt-guide__hero { text-align: center; padding: 1.25rem 0 1rem; }
.wpt-guide__hero h1 { margin: 0; font-size: 2.4rem; color: var(--wpt-guide); line-height: 1.2; }
.wpt-guide__subtitle { margin: .25rem 0 1rem; font-size: 1.6rem; font-weight: 700; color: var(--wpt-guide); }
.wpt-guide__tagline { margin: 0 0 .75rem; color: var(--wpt-muted); }
.wpt-guide__note { margin: 0; font-size: .95rem; color: var(--wpt-text); }
.wpt-guide__toc { background: var(--wpt-guide-soft); border-radius: 8px; padding: .9rem 1.1rem; margin: 1.25rem 0 2rem; }
.wpt-guide__toc-label { display: block; font-weight: 700; color: var(--wpt-guide); margin-bottom: .4rem; }
.wpt-guide__toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; counter-reset: guide-toc; }
.wpt-guide__toc li { counter-increment: guide-toc; }
.wpt-guide__toc li::before { content: counter(guide-toc) "."; color: var(--wpt-guide); font-weight: 700; margin-right: .3rem; }
.wpt-guide__toc a { color: var(--wpt-guide); font-weight: 600; text-decoration: underline; }
.wpt-guide__section { margin-bottom: 2.5rem; scroll-margin-top: 1rem; }
.wpt-guide__banner { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem; padding: .7rem 1rem; background: var(--wpt-guide); color: #fff; font-size: 1.45rem; border-radius: 4px; }
.wpt-guide__num { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: var(--wpt-guide); font-weight: 700; font-size: 1.1rem; }
.wpt-guide h3 { margin: 1.5rem 0 .6rem; font-size: 1.2rem; color: var(--wpt-guide); }
.wpt-guide p { margin: 0 0 1rem; }
.wpt-guide__list { margin: 0 0 1rem; padding-left: 1.4rem; }
.wpt-guide__list li { margin-bottom: .4rem; }
.wpt-guide__table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.wpt-guide__table { width: 100%; border-collapse: collapse; }
.wpt-guide__table th { background: var(--wpt-guide); color: #fff; text-align: left; padding: .6rem .8rem; }
.wpt-guide__table td { padding: .6rem .8rem; border-bottom: 1px solid var(--wpt-border); vertical-align: top; }
.wpt-guide__table tbody tr:nth-child(odd) td { background: var(--wpt-guide-soft); }
.wpt-guide__table td:first-child { font-weight: 600; white-space: nowrap; }
.wpt-guide__tips { margin: 0 0 1rem; }
.wpt-guide__tips div { margin-bottom: .8rem; }
.wpt-guide__tips dt { display: inline; font-weight: 700; }
.wpt-guide__tips dt::after { content: ": "; }
html[lang^="fr"] .wpt-guide__tips dt::after { content: " : "; }
.wpt-guide__tips dd { display: inline; margin: 0; }
.wpt-guide__qa { margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--wpt-border); }
.wpt-guide__qa:last-child { border-bottom: 0; }
.wpt-guide__qa h3 { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--wpt-text); }
.wpt-guide__qa p { margin: 0; }
.wpt-guide__cta { background: var(--wpt-guide-soft); border-radius: 8px; padding: 1.5rem; text-align: center; }
.wpt-guide__cta h2 { margin: 0 0 .5rem; color: var(--wpt-guide); }
@media (max-width: 640px) {
  .wpt-guide__hero h1 { font-size: 1.9rem; }
  .wpt-guide__subtitle { font-size: 1.3rem; }
  .wpt-guide__banner { font-size: 1.2rem; }
  .wpt-guide__table td:first-child { white-space: normal; }
}
/* Thai menu labels are long: tighter padding keeps the 11 items on one row. */
@media (min-width: 901px) { html[lang^="th"] .wpt-menu { gap: 0; } html[lang^="th"] .wpt-menu > li > a { padding-left: .3rem; padding-right: .3rem; font-size: .85rem; } }
/* Tablets: FR/TH labels are longer, so tighten the menu to keep it on one row. */
@media (min-width: 769px) and (max-width: 949px) { html[lang^="fr"] .wpt-menu > li > a, html[lang^="th"] .wpt-menu > li > a { padding-left: .3rem; padding-right: .3rem; font-size: .8rem; } }

@media (min-width: 769px) { :root { --wpt-gutter: 1.5rem; } }
