/* ============================================
   TREKKING TOUR SAPA — Main Stylesheet
   Mobile-first, CSS custom properties only
   ============================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --color-primary:    #1a3c6e;
  --color-accent:     #f5a623;
  --color-bg:         #ffffff;
  --color-text:       #2d2d2d;
  --color-text-light: #666666;
  --color-border:     #e8e8e8;
  --color-surface:    #f8f7f4;
  --color-whatsapp:   #25D366;
  --color-footer:     #0f2340;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1200px;
  --container-pad: 1.5rem;
  --radius-card:   12px;
  --radius-btn:    8px;
  --shadow-card:        0 2px 12px rgba(0,0,0,0.08);
  --shadow-card-hover:  0 8px 28px rgba(0,0,0,0.14);
  --transition-fast: 150ms ease;
  --transition-med:  200ms ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; scrollbar-gutter: stable; }
body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: filter var(--transition-fast), transform var(--transition-fast),
              background var(--transition-med), color var(--transition-med),
              border-color var(--transition-med);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover { filter: brightness(1.08); transform: scale(1.02); }

.btn--secondary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--secondary:hover { background: var(--color-primary); color: #fff; }

.btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.75);
  color: #fff;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}
.btn--whatsapp:hover { filter: brightness(1.07); transform: scale(1.02); }

.btn--sm  { padding: 0.5rem 1rem;   font-size: 0.875rem; }
.btn--lg  { padding: 0.875rem 2rem; font-size: 1rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
/* Prevent CLS: reserve header space before JS injects the component */
#header-placeholder { min-height: 70px; }
#footer-placeholder  { min-height: 420px; }

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
}
.header.scrolled .header__inner {
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 1rem;
  background: rgba(255,255,255,0.97);
  transition: border-radius var(--transition-med), box-shadow var(--transition-med);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-img--footer {
  filter: brightness(0) invert(1);
}
.logo-text span { color: var(--color-accent); }

/* Nav */
.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.nav__link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav__link:hover { background: var(--color-surface); color: var(--color-primary); }

/* Dropdown */
.nav__item--dropdown { position: relative; }
.nav__link--has-arrow::after { content: ' ▾'; font-size: 0.7rem; }
.nav__link-row { display: flex; align-items: center; }
.nav__link-row .nav__link { flex: 1; }
.nav__chevron { display: none; }

/* Transparent bridge fills the 8px gap so hover isn't lost when moving to dropdown */
.nav__item--dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-med), transform var(--transition-med), visibility var(--transition-med);
  pointer-events: none;
}
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: var(--color-text);
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.dropdown a:hover { background: var(--color-surface); color: var(--color-primary); }

.header__cta { margin-left: 1rem; }

/* Header user / login button — icon only, no text */
.header__user { margin-left: 0.5rem; }
.header__user-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--color-text); text-decoration: none;
  border: 1.5px solid var(--color-border);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.header__user-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(26,60,110,0.05); }
.header__user-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Nav close button — hidden by default, only shows on mobile via media query */
.nav__close { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  width: 40px; height: 40px;
  border-radius: 6px;
  margin-left: auto;
  transition: background var(--transition-fast);
}
.hamburger:hover { background: var(--color-surface); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-fast);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   VIEWPORT WRAPPER — hero + trust bar fill exactly one screen
   ============================================================ */
/* ============================================================
   HERO — compact, rounded, YouTube video background
   ============================================================ */
.hero {
  position: relative;
  min-height: 400px;
  max-height: 520px;
  height: calc(100vh - 200px);
  margin-top: 70px;
  max-width: var(--container-max);
  width: calc(100% - 3rem);
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Video background ── */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
  /* Static image fallback — shows if video fails to load */
  background: url('../images/banner.webp') center 35% / cover no-repeat;
}
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Cover at 16:9 — scale(1.14) crops YouTube branding at edges */
  width: max(100%, calc(100vh * 1.7778));
  height: max(100%, calc(100vw * 0.5625));
  transform: translate(-50%, -50%) scale(1.14);
  border: none;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 12, 30, 0.62) 0%,
    rgba(5, 12, 30, 0.38) 45%,
    rgba(5, 12, 30, 0.08) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: 2.5rem 1rem 3rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--color-accent);
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero__price-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.hero__trust {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero__stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero__stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__scroll { display: none; }

/* ============================================================
   PAGE HERO — sub-page shorter version
   ============================================================ */
.page-hero {
  position: relative;
  height: 38vh;
  min-height: 260px;
  max-height: 340px;
  margin-top: 70px;
  max-width: var(--container-max);
  width: calc(100% - 3rem);
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 12, 30, 0.72) 0%,
    rgba(5, 12, 30, 0.44) 55%,
    rgba(5, 12, 30, 0.12) 100%
  );
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 2.5rem;
  width: 100%;
}
.page-hero__content--center { text-align: center; }
.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.625rem;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}
.page-hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  max-width: 560px;
}
.page-hero__content--center .page-hero__sub { margin: 0 auto; }
@media (max-width: 767px) {
  .page-hero {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    border-radius: 0;
    min-height: 260px;
  }
  .page-hero__content { padding: 1.5rem 1.25rem; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-primary);
  color: #fff;
  padding: 1.125rem 0;
  max-width: var(--container-max);
  width: calc(100% - 3rem);
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  border-radius: 20px;
}
.trust-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.trust-bar__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.90);
}
.trust-bar__item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}
.trust-bar__item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 3.5rem 0; }
.section--surface { background: var(--color-surface); }

.section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}
.section__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.625rem;
}
.section__title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section__desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
}
.section__cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   TOUR CARDS
   ============================================================ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1023px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .tours-grid { grid-template-columns: 1fr; }
}

.tour-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  display: flex;
  flex-direction: column;
}
.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.tour-card__img-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.tour-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.tour-card:hover .tour-card__img { transform: scale(1.05); }

.tour-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.625rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.tour-card__badge--navy { background: var(--color-primary); }

.tour-card__body {
  padding: 1.125rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card__rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}
.stars { color: var(--color-accent); font-size: 0.85rem; letter-spacing: 1px; }
.rating-count { font-size: 0.78rem; color: var(--color-text-light); }

.tour-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.tour-card__desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin-top: -0.25rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.tour-card__meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.375rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  align-items: center;
}

.tour-card__scarcity {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 0.875rem;
  margin-top: auto;
}
.tour-card__price { display: flex; flex-direction: column; }
.price-from  { font-size: 0.72rem; color: var(--color-text-light); }
.tour-card__price strong { font-size: 1.15rem; font-weight: 700; color: var(--color-accent); line-height: 1; }
.tour-card__price small  { font-size: 0.75rem; font-weight: 400; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.why-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.why-card__icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(26, 60, 110, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
  transition: background var(--transition-med);
}
.why-card:hover .why-card__icon-wrap {
  background: rgba(26, 60, 110, 0.11);
}
.why-card__svg { width: 40px; height: 40px; }
.why-card h3 { font-size: 1rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.625rem; }
.why-card p  { font-size: 0.875rem; color: var(--color-text-light); line-height: 1.7; }

/* ============================================================
   TRANSPORTATION
   ============================================================ */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.transport-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.transport-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.transport-card__icon-wrap {
  width: 68px;
  height: 68px;
  background: rgba(26, 60, 110, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  transition: background var(--transition-med);
}
.transport-card:hover .transport-card__icon-wrap {
  background: rgba(26, 60, 110, 0.11);
}
.transport-card__svg { width: 38px; height: 38px; }
.transport-card h3 { font-size: 1rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.5rem; }
.transport-card p  { font-size: 0.875rem; color: var(--color-text-light); line-height: 1.65; margin-bottom: 1.25rem; }
.transport-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border);
}
.transport-duration { font-size: 0.8rem; color: var(--color-text-light); }
.transport-price    { font-size: 1.05rem; font-weight: 700; color: var(--color-accent); }

/* ============================================================
   ABOUT SPLIT
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}
.about-split__text .section__title { text-align: left; }
.about-split__text p { color: var(--color-text-light); line-height: 1.8; }
.about-split__text p + p { margin-top: 1rem; }

.about-team {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.75rem;
}
.team-member { display: flex; align-items: center; gap: 0.75rem; }
.team-member__img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}
.team-member strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }
.team-member span   { font-size: 0.75rem; color: var(--color-text-light); }

.about-photo {
  width: 100%; height: 500px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
}

/* ============================================================
   SAPA FACTS
   ============================================================ */
.sapa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.sapa-fact {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem 1.25rem;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-med);
}
.sapa-fact:hover { transform: translateY(-3px); }
.sapa-fact strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.sapa-fact span {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================================
   PLATFORM BADGES (Reviews section)
   ============================================================ */
.review-platforms {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  text-decoration: none;
  min-width: 210px;
}
.platform-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent);
}

.platform-badge__logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-badge__logo--ta { background: #34E0A1; }

.platform-badge__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.platform-badge__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.platform-badge__stars {
  font-size: 0.9rem;
  color: var(--color-accent);
}
.platform-badge__stars strong {
  color: var(--color-text);
  font-weight: 700;
}
.platform-badge__cta {
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  display: flex;
  flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.review-card__stars { color: var(--color-accent); font-size: 1rem; letter-spacing: 2px; }
.review-card__platform-icon { flex-shrink: 0; }

.review-card__text  { font-size: 0.925rem; line-height: 1.75; color: var(--color-text); font-style: italic; flex: 1; margin-bottom: 1.25rem; }
.review-card__author { display: flex; align-items: center; gap: 0.75rem; }

.review-author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__author strong { display: block; font-size: 0.875rem; font-weight: 600; }
.review-card__author span   { font-size: 0.75rem; color: var(--color-text-light); }

/* ============================================================
   DESTINATIONS GRID
   ============================================================ */
.dest-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
}
.dest-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.dest-card--large {
  grid-column: 1;
  grid-row: 1 / 3;
}
.dest-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.dest-card:hover img { transform: scale(1.06); }
.dest-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  transition: opacity var(--transition-med);
}
.dest-card:hover .dest-card__overlay { opacity: 0.8; }
.dest-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.125rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================================
   TOUR META ITEMS (SVG-based, no emoji)
   ============================================================ */
.tour-card__meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.375rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  align-items: center;
}
.tour-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--color-surface);
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  line-height: 1;
  white-space: nowrap;
}
.tour-meta-item svg { flex-shrink: 0; }

/* Difficulty dots */
.tour-meta-item--easy   { color: #2e7d32; background: #e8f5e9; border-color: #c8e6c9; }
.tour-meta-item--easy svg   { color: #43a047; }
.tour-meta-item--moderate { color: #e65100; background: #fff3e0; border-color: #ffe0b2; }
.tour-meta-item--moderate svg { color: #fb8c00; }
.tour-meta-item--hard   { color: #c62828; background: #ffebee; border-color: #ffcdd2; }
.tour-meta-item--hard svg   { color: #e53935; }

/* ============================================================
   TRAVEL GUIDES
   ============================================================ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guide-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.guide-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.guide-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.guide-card:hover .guide-card__img { transform: scale(1.05); }

.guide-card__category {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.625rem;
  border-radius: 20px;
}

.guide-card__body {
  padding: 1.375rem 1.375rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card__date {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.guide-card__title {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.guide-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}

.guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast), gap var(--transition-fast);
  margin-top: auto;
}
.guide-card__link:hover {
  color: var(--color-accent);
  gap: 0.625rem;
}

/* Stagger guides */
.guides-grid .fade-in:nth-child(2) { transition-delay: 80ms; }
.guides-grid .fade-in:nth-child(3) { transition-delay: 160ms; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
}
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition-fast), background var(--transition-fast);
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms ease, padding 320ms ease;
}
.faq-answer.open { max-height: 400px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.8; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(26,60,110,0.80), rgba(26,60,110,0.80)),
    url('https://trekkingtoursapa.com/wp-content/uploads/2022/11/sapa-day-tour-12-900x473.jpg') center/cover no-repeat;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.cta-banner__content h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cta-banner__content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-footer);
  color: rgba(255,255,255,0.7);
  padding-top: 3rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 240px;
}
.footer__logo {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer__logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.footer__social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition-fast), color var(--transition-fast);
  letter-spacing: 0;
}
.social-link:hover { background: var(--color-accent); color: #fff; }

.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.125rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}
.footer__col li a:hover { color: var(--color-accent); }

.footer__contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}
.footer__contact li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer__contact a { color: rgba(255,255,255,0.55); transition: color var(--transition-fast); }
.footer__contact a:hover { color: var(--color-accent); }

.footer__bottom { padding: 1.25rem 0; }
.footer__bottom-inner { text-align: center; }
.footer__legal { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.375rem 0.75rem; margin-bottom: 0.625rem; }
.footer__legal a { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color var(--transition-fast); white-space: nowrap; }
.footer__legal a:hover { color: rgba(255,255,255,0.8); }
.footer__legal span { font-size: 0.78rem; color: rgba(255,255,255,0.2); }
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer__payment { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 1rem; }
.footer__payment-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-right: 2px; white-space: nowrap; }
.footer__payment .payment-icon { display: block; border-radius: 5px; opacity: 0.85; transition: opacity 200ms ease; flex-shrink: 0; }
.footer__payment .payment-icon:hover { opacity: 1; }

/* ============================================================
   BANNED UI — exit-nudge bottom bar is permanently removed.
   Never re-add. This kill-rule guards against any cached or
   stray script that tries to inject it.
   ============================================================ */
.exit-nudge { display: none !important; }

/* ============================================================
   WISHLIST HEART BUTTON
   ============================================================ */
.trek-card__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 150ms, transform 150ms;
  backdrop-filter: blur(4px);
}
.trek-card__wish:hover { background: #fff; transform: scale(1.12); }
.trek-card__wish svg { pointer-events: none; }
.trek-card__wish .wish-icon { fill: none; stroke: #888; stroke-width: 2; transition: fill 200ms, stroke 200ms; }
.trek-card__wish.is-saved .wish-icon { fill: #e53935; stroke: #e53935; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 210;
  transition: bottom 300ms ease;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55); }
.whatsapp-float__tooltip {
  position: absolute;
  right: 66px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ============================================================
   SCROLL FADE ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Stagger children inside a grid */
.tours-grid .fade-in:nth-child(2) { transition-delay: 80ms; }
.tours-grid .fade-in:nth-child(3) { transition-delay: 160ms; }
.tours-grid .fade-in:nth-child(4) { transition-delay: 240ms; }
.why-grid .fade-in:nth-child(2)   { transition-delay: 80ms; }
.why-grid .fade-in:nth-child(3)   { transition-delay: 160ms; }
.why-grid .fade-in:nth-child(4)   { transition-delay: 240ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-split__img { order: -1; }
  .about-photo { height: 360px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 100%; }

  .dest-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .dest-card--large { grid-column: 1 / -1; grid-row: auto; }

  .guides-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --container-pad: 1.125rem; }

  /* Nav mobile */
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99;
    padding: 80px 1.5rem 2rem;
    flex-direction: column;
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav__list { flex-direction: column; width: 100%; gap: 0; align-items: stretch; }
  .nav__link {
    padding: 1rem 0.5rem;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
  }
  /* Dropdown chevron button — tap to open, separate from link */
  .nav__link--has-arrow::after { display: none; }
  .nav__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    border-radius: 8px;
    margin-right: -0.375rem;
  }
  .nav__chevron svg { transition: transform 250ms ease; }
  .nav__item--dropdown.open .nav__chevron { color: var(--color-primary); }
  .nav__item--dropdown.open .nav__chevron svg { transform: rotate(90deg); }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    background: var(--color-surface);
    margin: 0 -1.5rem;
  }
  .dropdown.open { max-height: 500px; }
  .dropdown li:first-child a { border-top: 1px solid var(--color-border); }
  .dropdown a {
    padding: 0.65rem 1.5rem 0.65rem 2rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 0.9rem;
    color: #555;
  }
  .dropdown a:active { color: var(--color-primary); background: #eef2f8; }

  .hamburger { display: flex; }
  .header__cta { display: none; }
  .header__inner { gap: 0.5rem; }
  .header__logo { flex-grow: 1; margin-right: 0; }  /* grow to fill space → pushes user + hamburger right */
  .header__user { margin-left: 0; flex-shrink: 0; }

  /* Mobile nav close button */
  .nav__close {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-light);
    padding: 0.75rem 0.5rem 1rem;
    align-self: flex-end;
    margin-bottom: 0.5rem;
  }

  /* Hero mobile — no horizontal margins, square corners */
  .hero { margin-left: 0; margin-right: 0; border-radius: 0; min-height: 420px; }
  .hero__video-wrap { border-radius: 0; }
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  /* Trust bar mobile — full width, no radius, no gap */
  .trust-bar { margin-left: 0; margin-right: 0; margin-top: 4px; border-radius: 0; }
  .trust-bar__inner { justify-content: center; gap: 1rem; }

  /* Grids */
  .tours-grid     { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid      { grid-template-columns: 1fr; }
  .sapa-grid         { grid-template-columns: 1fr 1fr; }
  .transport-grid    { grid-template-columns: 1fr 1fr; }
  .review-platforms  { flex-direction: column; align-items: center; }
  .platform-badge    { width: 100%; max-width: 320px; }
  .dest-grid      { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
  .guides-grid    { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }

  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { width: 100%; max-width: 300px; }

  .section { padding: 2.5rem 0; }
}

/* Small mobile */
@media (max-width: 480px) {
  .transport-grid { grid-template-columns: 1fr; }
  .sapa-grid      { grid-template-columns: 1fr 1fr; }
  .dest-grid      { grid-template-columns: 1fr; grid-template-rows: none; }
  .dest-card img  { min-height: 200px; }
  .footer__inner  { grid-template-columns: 1fr; }
  .hero__stats    { flex-direction: row; flex-wrap: wrap; gap: 1.25rem 2rem; }
}

/* ── Seat Availability Badge (booking widget, Group Tour only) ── */
.avail-badge {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 500; padding: .5rem .75rem;
  border-radius: 8px; margin-top: .5rem; line-height: 1.35;
  border-left: 3px solid transparent;
}
.avail-badge::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; flex-shrink: 0;
}
.avail-badge--ok       { background:#eef9f2; color:#1a5c40; border-left-color:#38a169; }
.avail-badge--ok::before       { background:#38a169; }
.avail-badge--warning  { background:#fffbeb; color:#7a4e00; border-left-color:#d69e2e; }
.avail-badge--warning::before  { background:#d69e2e; }
.avail-badge--critical { background:#fff5f5; color:#9b2c2c; border-left-color:#e53e3e; font-weight:600; }
.avail-badge--critical::before { background:#e53e3e; }
.avail-badge--full     { background:#fff5f5; color:#9b2c2c; border-left-color:#e53e3e; font-weight:600; }
.avail-badge--full::before     { background:#e53e3e; }

/* ── Availability dot on calendar date cells ────────── */
.dp-cell.dp-has-booking { position: relative; }
.dp-cell.dp-has-booking::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}
.dp-cell.dp-busy::after  { background: #b7791f; }
.dp-cell.dp-full::after  { background: #c53030; }
/* Selected cell: orange dot stays visible on navy background */
.dp-cell.dp-has-booking.dp-selected::after { background: #f5a623; }

/* ── Hover tooltip showing booked count ────────── */
.dp-cell[data-avail-tip]:not([disabled]):hover::before {
  content: attr(data-avail-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 60, 110, 0.96);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 5px;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  line-height: 1.4;
}
