/* Homepage — redesign in the same style as 10days-off-road-v2 (standalone) */

:root {
  --orange: #fa7436;
  --orange-dark: #f05323;
  --green: #5fb49c;
  --green-dark: #2f7f68;
  --ink: #16212b;
  --ink-soft: #4a5560;
  --muted: #7b8691;
  --line: #e7eaee;
  --bg: #f7f6f2;
  --card: #ffffff;
  --sand: #f3ede4;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 33, 43, 0.08);
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Chinese text reads better in a sans font */
:lang(zh-Hant) h1,
:lang(zh-Hant) h2,
:lang(zh-Hant) h3 {
  font-family:
    "Poppins", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0;
}

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

.section {
  padding: 100px 0;
}

.section-white {
  background: var(--card);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 680px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(250, 116, 54, 0.3);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline {
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.round-btn:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.rail-controls {
  display: flex;
  gap: 10px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #fff;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.site-header.solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.site-logo img {
  height: 44px;
  width: auto;
}

/* the logo has white lettering: give it a dark pill on the white header */
.site-header.solid .site-logo {
  background: var(--ink);
  border-radius: 12px;
  padding: 4px 10px;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.site-links a {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
  transition:
    color 0.2s,
    opacity 0.2s;
}

.site-links a:hover {
  opacity: 1;
  color: var(--orange);
}

.lang-btn {
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: none;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.9;
}

.lang-btn:hover {
  color: var(--orange);
}

.header-cta {
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: none;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  z-index: 301;
}

/* ---------- Hero slideshow ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #1b2a33;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 18, 26, 0.5) 0%,
    rgba(10, 18, 26, 0.05) 35%,
    rgba(10, 18, 26, 0.85) 100%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(42px, 7vw, 84px);
  max-width: 900px;
  min-height: 2.3em;
  display: flex;
  align-items: flex-end;
  margin-bottom: 18px;
}

.hero-title span {
  display: block;
  animation: titleIn 0.8s ease;
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 620px;
  opacity: 0.92;
  font-weight: 300;
  margin-bottom: 30px;
}

.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  /* 44px tall tap area; the visible bar is the 4px ::before / ::after */
  width: 34px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.hero-dots button::before,
.hero-dots button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 4px;
  border-radius: 2px;
}

.hero-dots button::before {
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots button::after {
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-dots button.active::after {
  animation: dotFill 6s linear forwards;
}

.hero-dots.paused button.active::after {
  animation: none;
  transform: scaleX(1);
}

@keyframes dotFill {
  to {
    transform: scaleX(1);
  }
}

/* ---------- Intro ---------- */

.intro {
  padding: 100px 0 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-text p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.intro-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
}

.intro-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-photos img:first-child {
  grid-row: span 2;
}

/* ---------- Tours ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter:hover {
  border-color: var(--orange);
}

.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

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

.tour-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: cardIn 0.4s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(22, 33, 43, 0.13);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

.tour-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card:hover .tour-media img {
  transform: scale(1.05);
}

.tour-days {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.tour-days i {
  color: var(--orange-dark);
}

.tour-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-label {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tour-label.culture,
.tour-label.slow {
  background: #e8f5f0;
  color: var(--green-dark);
}

.tour-label.classic {
  background: #eaf1fb;
  color: #2f5e9e;
}

.tour-label.adventure {
  background: #fff1e8;
  color: var(--orange-dark);
}

.tour-body h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.tour-body p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}

/* Code chip + label on one line */
.tour-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: flex-start;
  margin-bottom: 12px;
}
.tour-tags .tour-label {
  margin-bottom: 0;
}
.tour-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

/* Intensity stars, then season + highlights in a soft box */
.tour-intensity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.tour-intensity span {
  font-weight: 600;
  color: var(--ink);
}
.tour-intensity b {
  display: inline-flex;
  gap: 3px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 400;
}
.tour-info {
  list-style: none;
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sand);
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.tour-info li {
  display: flex;
  gap: 10px;
}
.tour-info i {
  color: var(--orange);
  margin-top: 4px;
  width: 14px;
  flex: 0 0 auto;
}
.tour-info b {
  color: var(--ink);
  font-weight: 600;
}

.tour-body .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: none;
}

/* ---------- Seasons ---------- */

.season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.season-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.season-tab i {
  color: var(--orange);
}

.season-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.season-tab[aria-selected="true"] i {
  color: #ffb48c;
}

.season-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.season-panel[hidden] {
  display: none;
}

.season-panel img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  animation: cardIn 0.4s ease;
}

.season-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.season-months {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.season-body h3 {
  font-size: 34px;
  margin-bottom: 14px;
}

.season-body p {
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  z-index: -1;
}

.about-text p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 28px;
}

:lang(zh-Hant) .about-text p {
  font-family: inherit;
  font-size: 20px;
}

/* ---------- Reviews ---------- */

.reviews-rail,
.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 20px;
}

.reviews-rail::-webkit-scrollbar,
.gallery-rail::-webkit-scrollbar {
  display: none;
}

.reviews-rail {
  grid-auto-columns: calc((100% - 40px) / 3);
}

.review-card {
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
}

.review-stars {
  color: #f5a623;
  letter-spacing: 2px;
  font-size: 15px;
}

.review-text {
  font-size: 15px;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 18px;
}

.review-text::before {
  content: "“";
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  line-height: 0;
  vertical-align: -10px;
  margin-right: 4px;
  color: var(--orange);
}

.review-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-author {
  font-weight: 600;
  font-size: 14px;
}

.review-author small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.review-more {
  background: none;
  border: none;
  padding: 12px 4px;
  margin: -12px -4px;
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.review-dialog {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  margin: auto; /* the "* { margin: 0 }" reset pushed it to the top-left corner */
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  max-width: 620px;
  width: calc(100% - 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.review-dialog::backdrop {
  background: rgba(10, 18, 26, 0.55);
  backdrop-filter: blur(3px);
}

.review-dialog-inner {
  padding: 34px 34px 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.review-dialog .review-stars {
  margin-bottom: 12px;
}

.review-dialog p {
  white-space: pre-line;
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 20px;
}

.review-dialog .dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
}

/* ---------- Why us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

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

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e8f5f0;
  color: var(--green-dark);
  font-size: 20px;
  margin-bottom: 18px;
}

.why-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Stories (blog playlists) ---------- */

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

.story-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.story-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.story-head {
  padding: 22px 24px 8px;
}

.story-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  background: #e8f5f0;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.story-head h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.story-head p {
  font-size: 14px;
  color: var(--ink-soft);
}

.story-list {
  list-style: none;
  padding: 8px 12px 14px;
}

.story-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.2s;
}

.story-list a:hover {
  background: var(--bg);
}

.story-list time {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.story-list h4 {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}

.story-list i {
  color: var(--orange);
  font-size: 13px;
  flex-shrink: 0;
}

/* ---------- Gallery ---------- */

#gallery {
  overflow-x: clip;
}

/* Big photos that run to the edge of the screen; the next photo peeks in.
   All photos share one height, so wide and tall photos both show uncropped. */
.gallery-rail {
  --gallery-edge: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  --gallery-h: min(640px, 72vh);
  display: flex;
  gap: 20px;
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--gallery-edge);
  scroll-padding-inline: var(--gallery-edge);
}

.gallery-rail figure {
  flex: 0 0 auto;
  height: var(--gallery-h);
  max-width: 90vw;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand);
}

.gallery-rail img {
  height: 100%;
  width: auto;
  max-width: 90vw;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-rail figure:hover img {
  transform: scale(1.05);
}

/* ---------- Videos & reels ---------- */

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

.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.media-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(22, 33, 43, 0.13);
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.reel-grid .media-thumb {
  aspect-ratio: 4 / 5;
}

.media-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 18, 26, 0.35));
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #e62117;
  font-size: 22px;
  transition: transform 0.25s ease;
}

.reel-grid .play {
  color: #d62976;
  font-size: 18px;
}

.media-card:hover .play {
  transform: scale(1.1);
}

.media-body {
  padding: 16px 18px 20px;
}

.media-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.media-body h3 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.reels-wrap {
  margin-top: 80px;
}

/* ---------- Custom trip CTA ---------- */

.cta-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
}

.cta-text {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cta-text .eyebrow {
  color: #ffb48c;
}

.cta-text h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 16px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 30px;
  max-width: 460px;
}

.cta-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 32px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--orange);
  color: #fff;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-contact li {
  display: flex;
  gap: 10px;
}

.footer-contact i {
  margin-top: 4px;
  color: var(--orange);
  width: 14px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Floating contact ---------- */

.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  box-shadow: 0 10px 26px rgba(250, 116, 54, 0.45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.floating-contact.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slide,
  .hero-slide img {
    transition: none;
    transform: none;
  }
  .hero-dots button.active::after {
    animation: none;
    transform: scaleX(1);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .site-links {
    gap: 16px;
  }

  .why-grid,
  .reel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .site-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 90px 28px;
    background: var(--ink);
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 300;
  }

  .site-links.open {
    transform: none;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  }

  .site-links a {
    font-size: 16px;
  }

  .menu-btn {
    display: block;
  }

  .site-links.open ~ .menu-btn {
    color: #fff;
  }

  .header-cta {
    display: none;
  }

  .intro-grid,
  .about,
  .season-panel,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .about {
    gap: 40px;
  }

  .about-photo {
    max-width: 420px;
  }

  .tours-grid,
  .stories-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-rail {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .season-panel img {
    min-height: 260px;
    max-height: 340px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 70px 0;
  }

  .intro {
    padding-top: 70px;
  }

  .site-header .container {
    height: 66px;
  }

  .site-logo img {
    height: 38px;
  }

  .hero .container {
    padding-bottom: 40px;
  }

  .hero-title {
    min-height: 2.4em;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-photos {
    grid-template-rows: 150px 150px;
  }

  .tours-grid,
  .stories-grid,
  .video-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .reel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .reel-grid .media-body h3 {
    font-size: 13px;
  }

  .reviews-rail {
    grid-auto-columns: 86%;
  }

  .gallery-rail {
    --gallery-h: min(380px, 56vh);
    --gallery-edge: 16px;
    gap: 12px;
  }

  .season-body {
    padding: 28px 22px;
  }

  .season-body h3 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 20px;
  }

  .about-photo::before {
    inset: 14px -14px -14px 14px;
  }

  .cta-text {
    padding: 40px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    padding: 11px 18px;
  }
}

.section-lead + .section-lead {
  margin-top: 10px;
}

/* ==========================================================
   Authentic journey: 9 days in Bek's home mountains
   Full-width photo with the text on a dark fade,
   so it stands apart from the tour cards
   ========================================================== */
.authentic {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.authentic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.authentic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(22, 33, 43, 0.88) 0%,
    rgba(22, 33, 43, 0.6) 45%,
    rgba(22, 33, 43, 0.05) 80%
  );
}
.authentic-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 90px;
  padding-bottom: 90px;
}
.authentic-text {
  max-width: 560px;
}
.authentic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.authentic-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}
.authentic-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  color: #fff;
}
.authentic-sub {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 21px;
  color: #ffc9a8;
  margin: 8px 0 18px;
}
.authentic-lead {
  color: rgba(255, 255, 255, 0.88);
}
.authentic-facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.authentic-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
}

/* Phones and tablets: photo on top, text below on dark blue */
@media (max-width: 960px) {
  .authentic {
    min-height: 0;
    display: block;
  }
  .authentic-bg {
    position: relative;
    height: 300px;
  }
  .authentic::after {
    inset: 0 0 auto 0;
    height: 300px;
    background: linear-gradient(
      180deg,
      rgba(22, 33, 43, 0) 55%,
      var(--ink) 100%
    );
  }
  .authentic-inner {
    margin-top: -40px;
    padding-top: 0;
    padding-bottom: 64px;
  }
}

/* Shown only when the page is in Chinese */
html:not([lang^="zh"]) .zh-only {
  display: none;
}

/* Authentic section: intensity + season/highlights on the photo */
.authentic-intensity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
  font-size: 14px;
}
.authentic-intensity span {
  font-weight: 600;
}
.authentic-intensity b {
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 17px;
  font-weight: 400;
}
.authentic-box {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  display: grid;
  gap: 8px;
  max-width: 460px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
}
.authentic-box li {
  display: flex;
  gap: 10px;
}
.authentic-box i {
  color: var(--orange);
  margin-top: 4px;
  width: 14px;
}
.authentic-box b {
  font-weight: 600;
}

/* What's included (all tours) */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.included-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 32px;
}
.included-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 18px;
}
.included-yes h3 i {
  color: var(--green-dark);
}
.included-no h3 i {
  color: var(--orange-dark);
}
.included-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.included-card li {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}
.included-card li i {
  flex: 0 0 auto;
  margin-top: 5px;
  font-size: 13px;
}
.included-yes li i {
  color: var(--green-dark);
}
.included-no li i {
  color: var(--orange-dark);
}
@media (max-width: 760px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
  .included-card {
    padding: 24px;
  }
}


/* Coming soon: button that is not a link (Special Tour) */
.btn-soon {
  cursor: default;
  pointer-events: none;
  opacity: 0.9;
}

/* How to choose (inside "What's included") */
.choose {
  margin-top: 56px;
}
.choose-head {
  margin-bottom: 20px;
}
.choose-head h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 6px;
}
.choose-head-2 {
  margin-top: 40px;
}
.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.choose-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 32px;
}
.choose-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fdeee6;
  color: var(--orange-dark);
  font-size: 19px;
  margin-bottom: 14px;
}
.choose-card h4 {
  font-size: 21px;
  margin-bottom: 6px;
}
.choose-sub {
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.choose-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.choose-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.choose-card li {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}
.choose-card li i {
  flex: 0 0 auto;
  margin-top: 5px;
  font-size: 13px;
  color: var(--green-dark);
}
.choose-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sand);
  font-size: 14.5px;
  font-weight: 500;
}
.choose-note i {
  margin-top: 4px;
  color: var(--orange-dark);
}
.choose-guide {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.choose-guide p {
  color: var(--ink-soft);
  font-size: 15px;
}
.choose-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
@media (max-width: 760px) {
  .choose-grid {
    grid-template-columns: 1fr;
  }
  .choose-card {
    padding: 24px;
  }
}

/* Guest reviews: tour chip, real star rating, avatar next to the name */
.review-stars-off {
  color: #e3ddd3;
}
.review-tour {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  background: #eef7f3;
  padding: 4px 10px;
  border-radius: 999px;
  text-align: right;
  line-height: 1.4;
}
.review-top {
  gap: 10px;
  align-items: flex-start;
}
.review-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-text {
  white-space: pre-line;
}
.review-dialog p {
  white-space: pre-line;
}

/* Review cards: same height and same number of lines in every language */
.review-card .review-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  min-height: calc(1.65em * 6);
  flex: 0 0 auto;
}
.review-card .review-foot {
  margin-top: auto;
}

/* Keyboard focus ring for everything on the homepage */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Respect "reduce motion": no slideshow animation, zoom or reveal movement */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Short screens (phone held sideways): keep the top banner's text clear of the
   floating header; the banner simply grows taller instead of hiding text */
.hero .container,
.about-hero .container {
  padding-top: 104px;
}

/* Large desktop screens: use more of the width instead of a narrow middle column */
@media (min-width: 1800px) {
  :root {
    --max: 1440px;
  }
}
@media (min-width: 2400px) {
  :root {
    --max: 1680px;
  }
  body {
    font-size: 17px;
  }
}
@media (min-width: 2400px) {
  .hero-title {
    font-size: 104px;
    max-width: 1200px;
  }
  .section-title {
    font-size: 60px;
  }
}
@media (min-width: 2400px) {
  .hero-lead {
    font-size: 22px;
    max-width: 760px;
  }
}

/* Phones (portrait): the wide banner photos are cropped to a narrow strip, so
   aim each slide at its subject instead of the middle of the photo.
   Slide order: 1 eagle hunter, 2 Song-Kul rider, 3 river walk, 4 horses, 5 bread market */
@media (max-width: 760px) and (orientation: portrait) {
  .hero-slide img,
  .hero-slide.active img {
    transform: none; /* no extra zoom: shows a bit more of the photo */
  }
  .hero-slide:nth-of-type(1) img {
    object-position: 63% center; /* eagle's head and the hunter's face */
  }
  .hero-slide:nth-of-type(2) img {
    object-position: 40% center; /* rider and yurt */
  }
  .hero-slide:nth-of-type(3) img {
    object-position: 50% center;
  }
  .hero-slide:nth-of-type(4) img {
    object-position: 58% center;
  }
  .hero-slide:nth-of-type(5) img {
    object-position: 22% center; /* the bread seller */
  }
}

/* Tour cards ("2027 … 旅行風格"): the whole card opens the itinerary.
   The "View itinerary" link stretches an invisible layer over the card. */
.tour-card {
  position: relative;
  cursor: pointer;
}
.tour-card .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.tour-card .btn:hover {
  transform: none; /* the card itself lifts on hover */
}
.tour-card:hover .btn {
  background: var(--orange-dark);
}
