/* =================================================================
   WANDERLUX — Premium Travel Agency Template
   Author: Wanderlux Template Co.  |  © 2026
   -----------------------------------------------------------------
   TABLE OF CONTENTS
   1. Design tokens (:root)        -> REBRAND HERE
   2. Reset & base
   3. Layout helpers & buttons
   4. Header / navigation
   5. Hero + search card
   6. Section headers
   7. Destinations grid
   8. Tour packages
   9. Features
   10. Stats band
   11. Gallery
   12. Testimonials
   13. Newsletter / CTA
   14. Footer
   15. Back-to-top & scroll reveal
   16. Responsive breakpoints
================================================================= */

/* =========================================================
   1. DESIGN TOKENS  — ★ REBRAND: change values below to
      instantly re-skin the whole template (colors + fonts).
========================================================= */
:root {
  /* Brand palette */
  --color-primary: #0ea5a4;        /* ocean teal */
  --color-primary-dark: #0b827f;
  --color-accent: #f97316;         /* sunset orange */
  --color-accent-dark: #ea580c;

  /* Surfaces */
  --color-bg: #ffffff;
  --color-bg-alt: #f1fbfa;         /* soft teal tint */
  --color-ink: #0f2e2d;            /* near-black headings */
  --color-text: #475a59;           /* body text */
  --color-muted: #7b908f;
  --color-line: #e3efee;

  /* Sky gradient used in hero */
  --grad-sky: linear-gradient(160deg, #5eead4 0%, #0ea5a4 45%, #0e7490 100%);
  --grad-accent: linear-gradient(120deg, #f97316 0%, #fb923c 100%);

  /* Typography */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Shape & depth */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(15, 46, 45, 0.06);
  --shadow: 0 14px 40px rgba(15, 46, 45, 0.10);
  --shadow-lg: 0 26px 60px rgba(15, 46, 45, 0.16);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   2. RESET & BASE
========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--color-primary-dark); }

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

ul { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   3. LAYOUT HELPERS & BUTTONS
========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--color-bg-alt); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.6em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 165, 164, 0.35);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(14, 165, 164, 0.45);
}

.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}
.btn-accent:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.5);
}

/* =========================================================
   4. HEADER / NAVIGATION  (sticky)
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-line);
}

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

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-ink);
  letter-spacing: -0.03em;
}
.logo-text span { color: var(--color-primary); }
.logo-mark { display: inline-flex; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav > ul { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 500;
  color: var(--color-ink);
  position: relative;
  padding: 4px 0;
}
.main-nav > ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.main-nav > ul a:hover { color: var(--color-primary); }
.main-nav > ul a:hover::after { width: 100%; }

.nav-cta { font-size: 0.92rem; padding: 0.7em 1.3em; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--color-ink);
  border-radius: 3px;
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   5. HERO + SEARCH CARD
========================================================= */
.hero {
  position: relative;
  background: var(--grad-sky);
  color: #fff;
  padding: clamp(64px, 11vw, 130px) 0 clamp(90px, 12vw, 150px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin-inline: auto; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Decorative blurred blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 1;
}
.hero-blob-1 { width: 360px; height: 360px; background: #99f6e4; top: -120px; left: -80px; }
.hero-blob-2 { width: 300px; height: 300px; background: #fb923c; bottom: -100px; right: -60px; opacity: 0.4; }
.hero-blob-3 { width: 340px; height: 340px; background: #5eead4; top: -120px; right: -90px; opacity: 0.35; }

/* Search card */
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  text-align: left;
  max-width: 880px;
  margin-inline: auto;
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.search-field input,
.search-field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  border: 1.5px solid var(--color-line);
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.8em 0.9em;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.search-btn { height: 100%; padding-block: 0.95em; }
.search-note { margin-top: 16px; font-weight: 500; color: #fff; min-height: 1.2em; }

/* =========================================================
   6. SECTION HEADERS
========================================================= */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 700; }
.section-lead { color: var(--color-muted); font-size: 1.05rem; margin: 0; }

/* =========================================================
   7. DESTINATIONS GRID
========================================================= */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dest-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.dest-photo {
  position: relative;
  height: 210px;
  transform: scale(1);
  transition: transform 0.6s var(--ease);
}
.dest-card:hover .dest-photo { transform: scale(1.08); }

.dest-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
/* gradient "photos" */
.dest-1 { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.dest-2 { background: linear-gradient(135deg, #f472b6, #f97316); }
.dest-3 { background: linear-gradient(135deg, #10b981, #84cc16); }
.dest-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.dest-5 { background: linear-gradient(135deg, #6366f1, #0ea5a4); }
.dest-6 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }

.dest-body { padding: 20px 22px 24px; }
.dest-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.dest-body > p { color: var(--color-muted); font-size: 0.94rem; margin-bottom: 14px; }
.dest-meta { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-head); font-weight: 700; color: var(--color-accent); font-size: 1.05rem; }
.rating { font-size: 0.9rem; color: var(--color-text); font-weight: 500; }

/* =========================================================
   8. TOUR PACKAGES
========================================================= */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.pkg-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.pkg-photo { position: relative; height: 150px; }
.pkg-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35em 0.75em;
  border-radius: 999px;
}
.pkg-1 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.pkg-2 { background: linear-gradient(135deg, #f472b6, #a855f7); }
.pkg-3 { background: linear-gradient(135deg, #34d399, #14b8a6); }
.pkg-4 { background: linear-gradient(135deg, #fbbf24, #f97316); }

.pkg-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pkg-rating { font-size: 0.82rem; margin-bottom: 8px; color: var(--color-accent); }
.pkg-rating span { color: var(--color-text); font-weight: 600; margin-left: 4px; }
.pkg-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pkg-meta { font-size: 0.84rem; color: var(--color-primary-dark); font-weight: 500; margin-bottom: 8px; }
.pkg-desc { font-size: 0.9rem; color: var(--color-muted); flex: 1; }
.pkg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.pkg-price { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--color-ink); }
.pkg-price small { font-size: 0.7rem; color: var(--color-muted); font-weight: 500; }
.pkg-foot .btn { padding: 0.6em 1.1em; font-size: 0.85rem; }

/* =========================================================
   9. FEATURES
========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
  background: var(--color-bg-alt);
  border-radius: 50%;
}
.feature-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature-card p { color: var(--color-muted); font-size: 0.92rem; margin: 0; }

/* =========================================================
   10. STATS BAND
========================================================= */
.stats-band { background: var(--grad-sky); color: #fff; padding: 60px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}
.stat-label { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); font-weight: 500; }

/* =========================================================
   11. GALLERY
========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.g-tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.g-tile figcaption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 18px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.g-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scale(1);
  transition: transform 0.6s var(--ease);
}
.g-tile:hover::before { transform: scale(1.1); }
.g-tile:hover figcaption { transform: translateY(0); opacity: 1; }

.g-a::before { background: linear-gradient(135deg, #0ea5a4, #2563eb); }
.g-b::before { background: linear-gradient(135deg, #06b6d4, #5eead4); }
.g-c::before { background: linear-gradient(135deg, #f97316, #facc15); }
.g-d::before { background: linear-gradient(135deg, #ef4444, #f97316); }
.g-e::before { background: linear-gradient(135deg, #10b981, #34d399); }
.g-f::before { background: linear-gradient(135deg, #6366f1, #a855f7); }

/* make some tiles span larger for visual rhythm */
.g-a { grid-row: span 2; }
.g-f { grid-column: span 2; }

/* =========================================================
   12. TESTIMONIALS
========================================================= */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { color: var(--color-accent); margin-bottom: 14px; font-size: 0.95rem; }
.quote { font-size: 1rem; color: var(--color-text); font-style: italic; }
.author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.avatar-a { background: linear-gradient(135deg, #0ea5a4, #2563eb); }
.avatar-b { background: linear-gradient(135deg, #f97316, #ef4444); }
.avatar-c { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.author strong { display: block; color: var(--color-ink); font-family: var(--font-head); font-size: 0.98rem; }
.author small { color: var(--color-muted); font-size: 0.82rem; }

/* =========================================================
   13. NEWSLETTER / CTA
========================================================= */
.newsletter {
  position: relative;
  background: var(--color-ink);
  color: #fff;
  padding: clamp(60px, 9vw, 100px) 0;
  overflow: hidden;
}
.newsletter-inner { position: relative; z-index: 2; text-align: center; max-width: 660px; margin-inline: auto; }
.newsletter h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.newsletter p { color: rgba(255, 255, 255, 0.78); }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 26px auto 14px;
}
.newsletter-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9em 1.2em;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.14);
}
.news-note { color: #5eead4; font-weight: 500; min-height: 1.2em; margin: 0; }
.news-fineprint { color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; margin: 6px 0 0; }

/* =========================================================
   14. FOOTER
========================================================= */
.site-footer { background: #0a201f; color: rgba(255, 255, 255, 0.7); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 48px;
}
.logo-light .logo-text { color: #fff; }
.footer-brand p { margin: 16px 0 18px; font-size: 0.92rem; max-width: 280px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 1.05rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.socials a:hover { background: var(--color-primary); transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 0.9rem; margin-bottom: 10px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* =========================================================
   15. BACK-TO-TOP & SCROLL REVEAL
========================================================= */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.3rem;
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: #fff; background: var(--color-primary-dark); transform: translateY(-3px); }

/* Scroll reveal — hidden initially, shown when .is-visible added.
   Fallback: if JS disabled, .no-js rule below keeps everything visible. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* If user prefers reduced motion, disable transforms/animations */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   16. RESPONSIVE BREAKPOINTS
========================================================= */

/* Tablet landscape */
@media (max-width: 980px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Tablet / mobile nav */
@media (max-width: 820px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow);
    padding: 12px var(--gutter) 22px;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul li { border-bottom: 1px solid var(--color-line); }
  .main-nav > ul a { display: block; padding: 14px 4px; }
  .main-nav > ul a::after { display: none; }
  .nav-cta { margin-top: 16px; text-align: center; }

  .search-card { grid-template-columns: 1fr 1fr; }
  .search-btn { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 620px) {
  .dest-grid,
  .pkg-grid,
  .feature-grid,
  .testi-grid,
  .stats-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .gallery-grid { grid-auto-rows: 170px; }
  .g-a { grid-row: span 1; }
  .g-f { grid-column: span 1; }

  .search-card { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =================================================================
   ███  MULTI-PAGE ADDITIONS  ███
   Appended below the original single-page template.
   Adds: active nav state, page banner + breadcrumb, region filter,
   featured destination, steps, larger dest grid, detailed tour
   cards, included strip, story/team/values, contact page, FAQ.
================================================================= */

/* ---- Active nav link ---- */
.main-nav > ul a.active { color: var(--color-primary); }
.main-nav > ul a.active::after { width: 100%; }

/* =========================================================
   PAGE BANNER + BREADCRUMB  (inner-page hero)
========================================================= */
.page-banner {
  position: relative;
  background: var(--grad-sky);
  color: #fff;
  padding: clamp(54px, 9vw, 96px) 0 clamp(48px, 8vw, 84px);
  overflow: hidden;
  text-align: center;
}
.page-banner-inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.banner-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.4em;
}
.banner-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
  margin: 0 auto 22px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.45em 1.1em;
  border-radius: 999px;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #d9fff9; text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, 0.55); }
.breadcrumb span[aria-current] { color: #d9fff9; }

/* =========================================================
   REGION FILTER BAR  (destinations page)
========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.filter-chip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-ink);
  background: #fff;
  border: 1.5px solid var(--color-line);
  padding: 0.6em 1.3em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.filter-chip:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.filter-chip.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 165, 164, 0.35);
}
.filter-empty {
  text-align: center;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: 40px;
}

/* larger destination grid + region label */
.dest-grid-lg { grid-template-columns: repeat(4, 1fr); }
.dest-region {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  padding: 0.25em 0.7em;
  border-radius: 999px;
  margin-bottom: 8px;
}
/* extra gradient "photos" for destinations 7–16 */
.dest-7  { background: linear-gradient(135deg, #14b8a6, #facc15); }
.dest-8  { background: linear-gradient(135deg, #06b6d4, #818cf8); }
.dest-9  { background: linear-gradient(135deg, #f59e0b, #84cc16); }
.dest-10 { background: linear-gradient(135deg, #6366f1, #22d3ee); }
.dest-11 { background: linear-gradient(135deg, #2dd4bf, #3b82f6); }
.dest-12 { background: linear-gradient(135deg, #f97316, #b45309); }
.dest-13 { background: linear-gradient(135deg, #fb7185, #f59e0b); }
.dest-14 { background: linear-gradient(135deg, #34d399, #0ea5a4); }
.dest-15 { background: linear-gradient(135deg, #22d3ee, #2563eb); }
.dest-16 { background: linear-gradient(135deg, #a855f7, #ec4899); }

/* =========================================================
   FEATURED DESTINATION HIGHLIGHT
========================================================= */
.featured-dest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-photo {
  position: relative;
  min-height: 360px;
}
.featured-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4em 0.9em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.featured-text { padding: clamp(28px, 4vw, 48px); }
.featured-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.featured-list { margin: 18px 0 26px; display: grid; gap: 10px; }
.featured-list li {
  position: relative;
  padding-left: 4px;
  color: var(--color-text);
  font-size: 0.96rem;
}
.featured-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.featured-foot .price { font-size: 1.4rem; }
.featured-foot .price small { font-size: 0.8rem; color: var(--color-muted); font-weight: 500; }

/* =========================================================
   STEP / VALUE CARDS  (how it works · mission)
========================================================= */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card, .value-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step-card:hover, .value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-num {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  background: var(--grad-accent);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}
.step-card h3, .value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p, .value-card p { color: var(--color-muted); font-size: 0.94rem; margin: 0; }

/* =========================================================
   DETAILED TOUR CARDS  (tours page)
========================================================= */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tour-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tour-photo { position: relative; height: 170px; }
.tour-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tour-top h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tour-top .pkg-rating { margin: 4px 0 0; white-space: nowrap; }
.tour-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 6px 0 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}
.tour-desc { font-size: 0.92rem; color: var(--color-text); margin-bottom: 16px; }
.tour-incl-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 10px;
}
.tour-incl { display: grid; gap: 8px; margin-bottom: 18px; flex: 1; }
.tour-incl li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--color-text);
}
.tour-incl li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.tour-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
  margin-top: auto;
}

/* =========================================================
   "ALWAYS INCLUDED" STRIP  (tours page)
========================================================= */
.incl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.incl-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.incl-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* =========================================================
   ABOUT — STORY SPLIT
========================================================= */
.story-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.story-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.story-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.story-photo { height: 300px; }
.story-quote { padding: 26px 28px 30px; }
.story-quote p {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-ink);
  margin: 0 0 10px;
}
.story-quote span { color: var(--color-muted); font-size: 0.9rem; font-weight: 500; }

/* =========================================================
   ABOUT — TEAM
========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.team-avatar {
  width: 78px; height: 78px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-role { color: var(--color-primary); font-weight: 600; font-size: 0.88rem; margin-bottom: 10px; }
.team-bio { color: var(--color-muted); font-size: 0.9rem; margin: 0; }

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.contact-card p { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 14px; }
.contact-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-primary);
}
.contact-link:hover { color: var(--color-accent); }

.contact-split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.contact-form-wrap h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  border: 1.5px solid var(--color-line);
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.8em 0.9em;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.form-note { margin: 16px 0 0; font-weight: 500; min-height: 1.2em; }

/* Offices */
.offices h3 { font-size: 1.4rem; margin-bottom: 20px; }
.office-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.office-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.office-flag { font-size: 1.6rem; line-height: 1; }
.office-card strong { display: block; font-family: var(--font-head); color: var(--color-ink); font-size: 1.02rem; margin-bottom: 4px; }
.office-card p { color: var(--color-muted); font-size: 0.9rem; margin: 0 0 4px; }
.office-hours { color: var(--color-primary) !important; font-weight: 600; font-size: 0.82rem !important; }

/* =========================================================
   FAQ
========================================================= */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-ink);
  padding: 18px 36px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--color-text); font-size: 0.96rem; margin: 0 0 18px; }

/* =========================================================
   MULTI-PAGE RESPONSIVE OVERRIDES
========================================================= */
@media (max-width: 980px) {
  .dest-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .incl-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
  .featured-dest { grid-template-columns: 1fr; }
  .featured-photo { min-height: 240px; }
  .story-split { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .dest-grid-lg,
  .tour-grid,
  .incl-grid,
  .team-grid,
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .featured-foot { flex-direction: column; align-items: stretch; }
  .featured-foot .btn { width: 100%; }
}

/* =========================================================
   PHOTO HELPER  — real images wired into photo placeholders
   Use with inline style="background-image:url('images/NAME.jpg')"
   Overrides decorative gradients on hero/about/dest/tour/gallery.
========================================================= */
.has-photo {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Hero with real photo: dark gradient overlay keeps text legible */
.hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, rgba(11, 130, 127, 0.78) 0%, rgba(14, 116, 144, 0.72) 55%, rgba(15, 46, 45, 0.82) 100%);
}

/* Gallery tile photo sits on the ::before layer (keeps hover-zoom).
   Pass the image inline via  style="--tile-img:url('images/NAME.jpg')" */
.g-tile.has-photo::before {
  background-image: var(--tile-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
