/* ============================================================
   ACROSS THE BLUE — Design System
   Editorial, premium, travel-inspired. Dark navy + dark turquoise
   + warm ivory. Serif headings, clean sans body. Minimal rounding,
   no gradients, no dashboard-y chrome.
   ============================================================ */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/assets/fonts/fraunces-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/assets/fonts/fraunces-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #0a1826;
  --navy-900: #0e2135;
  --navy-800: #14304a;
  --navy-700: #1c4260;
  --teal-900: #0b3a3a;
  --teal-700: #145252;
  --teal-500: #1f7268;
  --teal-400: #2f8f82;
  --ivory-100: #faf6ee;
  --ivory-200: #f3ecdd;
  --ivory-300: #ece2cd;
  --charcoal-900: #171b1e;
  --charcoal-700: #33393e;
  --charcoal-500: #5a6268;
  --line: rgba(23, 27, 30, 0.12);
  --line-on-dark: rgba(250, 246, 238, 0.18);

  --font-serif: "Fraunces", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 1px 2px rgba(10, 22, 40, 0.04), 0 10px 30px rgba(10, 22, 40, 0.07);
  --shadow-lift: 0 2px 4px rgba(10, 22, 40, 0.05), 0 18px 44px rgba(10, 22, 40, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal-900);
  background: var(--ivory-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-500);
  font-weight: 600;
  margin-bottom: 0.9em;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--teal-500); color: var(--ivory-100); }
.btn-primary:hover { background: var(--teal-700); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy-900); color: var(--ivory-100); }
.btn-dark:hover { background: var(--navy-950); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory-100);
  border-bottom: 1px solid var(--line);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: var(--container); margin: 0 auto; }
.navbar-logo { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.06em; }
.navbar-links { display: flex; align-items: center; gap: 28px; font-size: 0.86rem; }
.navbar-links a { white-space: nowrap; }
.navbar-links a { padding: 4px 0; border-bottom: 1px solid transparent; }
.navbar-links a:hover { border-color: var(--teal-500); }
.navbar-lang { display: flex; gap: 6px; font-size: 0.75rem; font-weight: 600; }
.navbar-lang a { padding: 2px 6px; opacity: 0.55; }
.navbar-lang a.active { opacity: 1; border-bottom: 1px solid var(--teal-500); }
.navbar-cta { margin-left: 10px; white-space: nowrap; flex-shrink: 0; }
/* .navbar-links a (padding: 4px 0) is more specific than .btn and was squeezing the button's side padding to 0 */
.navbar-links a.navbar-cta { padding: 14px 32px; border-bottom: 1px solid transparent; }
.navbar-links a.navbar-cta:hover { border-color: transparent; }
.navbar-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 42px; height: 38px; font-size: 1.1rem; cursor: pointer; color: var(--charcoal-900);
}
.mobile-menu { display: none; flex-direction: column; gap: 16px; padding: 18px 24px 26px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.mobile-menu.open { display: flex; }
.mobile-menu .navbar-lang { display: flex; gap: 12px; font-size: 0.8rem; }
@media (max-width: 1080px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: block; }
}
@media (min-width: 1081px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Search ---------- */
.navbar-search-btn {
  background: none; border: none; font-size: 1rem; line-height: 1; cursor: pointer;
  padding: 6px; color: var(--charcoal-900); opacity: 0.75;
}
.navbar-search-btn:hover { opacity: 1; }
.navbar-search-btn-mobile { display: none; }
@media (max-width: 1080px) {
  .navbar-search-btn-mobile { display: inline-flex; }
}
.search-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,24,38,0.55);
  padding: 10vh 20px 20px;
}
/* align-items: flex-start (not the default stretch) so the panel sizes
   to its own content instead of stretching to fill the overlay's full
   height, which left a huge empty box below a short result list. */
.search-overlay.open { display: flex; justify-content: center; align-items: flex-start; }
.search-panel {
  position: relative;
  width: 100%; max-width: 640px; max-height: 70vh;
  background: var(--ivory-100); border-radius: var(--radius);
  padding: 20px 20px 10px;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(10,24,38,0.35);
}
.search-input {
  width: 100%; padding: 14px 44px 14px 16px; font-size: 1.05rem;
  border: 1px solid var(--line); font-family: var(--font-sans); color: var(--charcoal-900);
}
.search-input:focus { outline: none; border-color: var(--teal-500); }
.search-close {
  position: absolute; top: 30px; right: 30px;
  background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--charcoal-500);
  padding: 6px;
}
.search-results { margin-top: 14px; overflow-y: auto; }
.search-result {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 8px; border-bottom: 1px solid var(--line);
}
.search-result:hover { background: var(--ivory-200); }
.search-result-title { font-family: var(--font-serif); font-size: 1.02rem; color: var(--charcoal-900); }
.search-result-snippet { font-size: 0.84rem; color: var(--charcoal-500); line-height: 1.5; }
.search-empty { color: var(--charcoal-500); font-size: 0.9rem; padding: 12px 8px; }
.search-quicklinks { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 18px; padding: 4px 8px 4px; overflow-y: auto; }
.search-quicklinks-group { display: flex; flex-direction: column; gap: 7px; min-width: 130px; }
.search-quicklinks-heading { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--teal-500); font-weight: 600; margin-bottom: 2px; }
.search-quicklinks-group a { font-size: 0.88rem; color: var(--charcoal-900); }
.search-quicklinks-group a:hover { color: var(--teal-700); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--ivory-100);
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--teal-900) 100%);
  padding: 120px 24px 100px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(47,143,130,0.25), transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { color: var(--ivory-100); max-width: 820px; }
.hero .lead { font-size: 1.15rem; max-width: 620px; color: var(--ivory-200); margin-bottom: 2em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-small { padding: 70px 24px; }
.hero.has-illustration { background: var(--navy-950); }
.hero-illustration {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; z-index: 0;
}
.hero.has-illustration::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(10,24,38,0.55) 0%, rgba(10,24,38,0.75) 55%, rgba(11,58,58,0.85) 100%);
}
.hero.has-illustration .hero-inner { position: relative; z-index: 1; }

picture { display: contents; }
.illustration-media { width: 100%; height: 100%; object-fit: cover; display: block; }

.placeholder-media {
  background: repeating-linear-gradient(135deg, var(--navy-800), var(--navy-800) 12px, var(--navy-700) 12px, var(--navy-700) 24px);
  color: var(--ivory-200);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 220px;
  border: 1px solid var(--line-on-dark);
}
.placeholder-media.light {
  background: repeating-linear-gradient(135deg, var(--ivory-200), var(--ivory-200) 12px, var(--ivory-300) 12px, var(--ivory-300) 24px);
  color: var(--charcoal-500);
  border-color: var(--line);
}

/* ---------- Section ---------- */
.section { padding: 80px 24px; }
.section-tight { padding: 56px 24px; }
.section-dark { background: var(--navy-900); color: var(--ivory-100); }
.section-header { max-width: 640px; margin-bottom: 3em; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: var(--container); margin: 0 auto; }
.step-num {
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--teal-500);
  margin-bottom: 0.3em;
}
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 28px; max-width: var(--container); margin: 0 auto; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Destination / Itinerary / Style cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
/* min-height: 0 is required here, not decorative — .card-media is a flex
   item (.card is flex-direction: column), and flex items default to
   min-height: auto, which for a child sized by percentage (.illustration
   -media's height: 100%) falls back to the CHILD IMAGE's own intrinsic
   aspect ratio. A portrait-oriented source photo (taller than wide) was
   silently overriding aspect-ratio: 4/3 with the image's real ratio
   instead, roughly doubling that one card's height versus its
   landscape-photo siblings. */
.card-media { aspect-ratio: 4/3; min-height: 0; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-500); font-weight: 600; }
.card-title { font-family: var(--font-serif); font-size: 1.2rem; margin: 0; }
.card-meta { font-size: 0.82rem; color: var(--charcoal-500); }
.card-desc { font-size: 0.9rem; color: var(--charcoal-700); }
/* margin-top: auto (not .card-desc's old flex:1) pushes the footer to
   the bottom of the card — cards in a row still match height (grid's
   default align-items: stretch), but the blank leftover space collects
   as a neutral gap above the footer instead of stretching the
   description text's own box. */
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card-price { font-family: var(--font-serif); font-size: 1.05rem; }
.card-link { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-700); }
.card.is-muted { opacity: 0.55; }
.badge {
  display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 9px; border: 1px solid var(--teal-500); color: var(--teal-700); font-weight: 600;
}
.badge-soft { border-color: var(--line); color: var(--charcoal-500); }
.filter-pill {
  display: inline-block; font-size: 0.78rem; padding: 7px 14px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--charcoal-700); background: none; cursor: pointer; font-family: inherit;
}
.filter-pill.is-active { border-color: var(--teal-500); background: var(--teal-500); color: #fff; }
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2em; }

/* ---------- Includes grid ---------- */
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: var(--container); margin: 0 auto; }
.includes-item { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); font-size: 0.92rem; }
.includes-check { color: var(--teal-500); font-weight: 700; }
@media (max-width: 780px) { .includes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .includes-grid { grid-template-columns: 1fr; } }

/* ---------- Price box / CTA ---------- */
.price-box {
  background: var(--navy-900); color: var(--ivory-100);
  padding: 32px; border: 1px solid var(--line-on-dark);
}
.price-box .price { font-family: var(--font-serif); font-size: 2rem; margin: 6px 0 18px; }
.price-box .price small { font-family: var(--font-sans); font-size: 0.8rem; opacity: 0.7; display: block; margin-top: 6px; }
.cta-section {
  background: var(--teal-900); color: var(--ivory-100);
  padding: 70px 24px; text-align: center;
}
.cta-section h2 { color: var(--ivory-100); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-serif); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-sans); color: var(--teal-500); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 14px; color: var(--charcoal-700); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--navy-950); color: var(--ivory-100); padding: 70px 24px; text-align: center; }
.newsletter h2 { color: var(--ivory-100); }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 24px auto 0; }
.newsletter-form input {
  flex: 1; padding: 14px 16px; border: 1px solid var(--line-on-dark); background: transparent; color: var(--ivory-100); font-family: var(--font-sans);
}
.newsletter-form input::placeholder { color: rgba(250,246,238,0.5); }

/* ---------- Route / day timeline ---------- */
.route-list { display: flex; flex-wrap: wrap; gap: 10px; }
.route-chip { border: 1px solid var(--line-on-dark); padding: 8px 14px; font-size: 0.82rem; }

/* ---------- Day-by-day quick view (itinerary detail page) ---------- */
.day-pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.day-pill {
  display: flex; align-items: baseline; gap: 6px;
  padding: 7px 12px; background: #fff; border: 1px solid var(--line);
  font-size: 0.78rem; white-space: nowrap;
}
.day-pill-num { font-family: var(--font-serif); font-size: 0.95rem; color: var(--teal-500); font-weight: 600; }
.day-pill-city { color: var(--charcoal-700); }
.day-pill-arrow { color: var(--charcoal-500); font-size: 0.8rem; opacity: 0.6; }
.preview-lead { font-size: 1.05rem; color: var(--charcoal-700); line-height: 1.65; }
.day-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.day-nav a { border: 1px solid var(--line); padding: 8px 12px; font-size: 0.8rem; }
.day-nav a.locked { opacity: 0.45; }
.day-block { border-top: 1px solid var(--line); padding: 34px 0; }
.day-block h3 { margin-bottom: 0.3em; }
.day-block .day-tag { font-size: 0.78rem; color: var(--teal-500); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Day accordion (private itinerary page — dark section) ---------- */
.day-accordion { border-top: 1px solid var(--line-on-dark); }
.day-accordion summary {
  cursor: pointer; list-style: none; padding: 22px 0;
  display: flex; align-items: baseline; gap: 14px;
}
.day-accordion summary::-webkit-details-marker { display: none; }
.day-accordion summary::after { content: "+"; margin-left: auto; font-family: var(--font-sans); color: #7fd6c9; font-size: 1.3rem; line-height: 1; }
.day-accordion[open] summary::after { content: "–"; }
.day-accordion summary .day-tag { font-size: 0.78rem; color: #7fd6c9; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; flex-shrink: 0; }
.day-accordion summary h3 { margin: 0; color: var(--ivory-100); font-size: 1.05rem; }
.day-accordion .day-accordion-body { padding: 0 0 26px; }
.day-accordion .day-accordion-body .prose { color: rgba(250,246,238,0.85); }
.day-accordion .day-accordion-body .prose h3 { color: var(--ivory-100); }

/* ---------- Content accordion (private itinerary page — light sections) ---------- */
.content-accordion summary { cursor: pointer; list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.content-accordion summary::-webkit-details-marker { display: none; }
.content-accordion summary h2 { margin: 0.2em 0 0; }
.content-accordion summary::after { content: "+"; font-family: var(--font-sans); color: var(--teal-500); font-size: 1.6rem; line-height: 1; flex-shrink: 0; margin-top: 0.3em; }
.content-accordion[open] summary::after { content: "–"; }
.content-accordion .content-accordion-body { margin-top: 1em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.3em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.88rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose a { color: var(--teal-700); text-decoration: underline; }

/* ---------- Blog article rich content (inline photos, quotes, callouts) ---------- */
.prose img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
.article-photo { margin: 2em 0; }
.article-photo img { width: 100%; height: 340px; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 28px rgba(10,24,38,0.14); }
.article-photo figcaption { margin-top: 10px; font-family: var(--font-serif); font-style: italic; font-size: 0.85rem; color: var(--charcoal-500); }
.article-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 2em 0; }
.article-photo-pair img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; box-shadow: 0 8px 20px rgba(10,24,38,0.12); }
.article-photo-pair figcaption { margin-top: 8px; font-family: var(--font-serif); font-style: italic; font-size: 0.82rem; color: var(--charcoal-500); }
@media (max-width: 620px) { .article-photo-pair { grid-template-columns: 1fr; } }
.pull-quote {
  border-left: 3px solid var(--teal-500); padding: 0.2em 0 0.2em 1.4em; margin: 2em 0;
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--navy-900);
}
.stat-callout {
  background: var(--ivory-200); border-radius: 4px; padding: 16px 20px; margin: 1.8em 0;
  font-size: 0.92rem; line-height: 1.6;
}
.stat-callout strong { color: var(--teal-700); }
.stat-callout-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 1.8em 0; }
.stat-callout-row .stat { background: var(--ivory-200); border-radius: 4px; padding: 14px 16px; text-align: center; }
.stat-callout-row .stat .stat-num { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: var(--teal-700); }
.stat-callout-row .stat .stat-label { display: block; font-size: 0.78rem; color: var(--charcoal-500); margin-top: 2px; }

.paywall {
  position: relative; margin-top: 20px; padding: 40px 24px;
  background: var(--ivory-200); border: 1px dashed var(--teal-500);
  text-align: center;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--ivory-200); padding: 60px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; max-width: var(--container); margin: 0 auto; }
.footer .footer-title { font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ivory-100); margin-bottom: 1.2em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.86rem; }
.footer-bottom { max-width: var(--container); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line-on-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.76rem; color: rgba(250,246,238,0.55); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.empty-state {
  border: 1px dashed var(--line); padding: 40px; text-align: center; color: var(--charcoal-500); font-size: 0.9rem;
}

.breadcrumb { font-size: 0.78rem; color: var(--charcoal-500); margin-bottom: 1.4em; }
.breadcrumb a { color: var(--teal-700); }

.itinerary-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .itinerary-layout { grid-template-columns: 1fr; } }
.itinerary-layout aside { position: sticky; top: 90px; }
@media (max-width: 860px) { .itinerary-layout aside { position: static; } }

.mobile-menu { display: none; }

/* Affiliate links block (bottom of blog posts): quiet, with the disclosure small and grey underneath */
.affiliate-block { padding-top: 2.4em; padding-bottom: 1.6em; }
.affiliate-title { font-size: 1.05rem; margin: 1.6em 0 0.8em; }
.affiliate-title:first-of-type { margin-top: 0; }
.highlight-title { font-family: var(--font-serif); font-size: 1.1rem; margin: 0 0 0.5em; line-height: 1.3; }
.highlight-text { font-size: 0.93rem; line-height: 1.6; color: var(--charcoal-700); margin: 0; }
.highlight-text p { margin: 0; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { background: #fff; border: 1px solid var(--line); padding: 20px 22px; }
.hub-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-500); font-weight: 600; margin: 0 0 0.8em; font-family: inherit; }
.hub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55em; }
.hub-list a { font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.35; color: inherit; text-decoration: none; }
.hub-list a:hover { color: var(--teal-500); text-decoration: underline; }
.affiliate-intro { margin: 0 0 1em; font-size: 0.92rem; color: var(--charcoal-700); max-width: 640px; }
.affiliate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .affiliate-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .affiliate-cards { grid-template-columns: 1fr; } }
.affiliate-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.affiliate-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); transform: translateY(-2px); }
.affiliate-card-media { display: block; aspect-ratio: 16/9; min-height: 0; overflow: hidden; background: var(--ivory-200); }
.affiliate-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.affiliate-card-city { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-500); font-weight: 600; }
.affiliate-card-title { font-family: var(--font-serif); font-size: 1rem; line-height: 1.3; color: var(--charcoal-900, inherit); }
.affiliate-card-btn { margin-top: auto; padding-top: 6px; font-size: 0.8rem; font-weight: 600; color: var(--teal-500); }
.affiliate-card:hover .affiliate-card-btn { color: var(--teal-700); }
.affiliate-note { margin: 2em 0 0; font-size: 0.72rem; line-height: 1.5; color: var(--charcoal-500); opacity: 0.85; }
.affiliate-note a { color: inherit; text-decoration: underline; }

/* ---------- Photo cards (About: where to start) ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .explore-grid { grid-template-columns: 1fr; } }
.explore-card { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy-900); }
.explore-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.explore-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,0.05) 30%, rgba(10,22,40,0.78) 100%); transition: background 0.3s ease; }
.explore-card:hover img { transform: scale(1.06); }
.explore-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.explore-card-title { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.2; margin: 0 0 4px; color: #fff; }
.explore-card-text { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin: 0; }
.explore-card-arrow { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.explore-card:hover .explore-card-arrow { background: #fff; color: var(--navy-900); transform: translateX(3px); }

/* ---------- Feature explorer (How it works) ---------- */
.explorer { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 28px; align-items: stretch; }
@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } }
.explorer-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.explorer-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 6px; background: none; border: none; border-bottom: 1px solid var(--line); cursor: pointer; font-family: var(--font-serif); font-size: 1.1rem; color: var(--charcoal-700); transition: color 0.15s ease, padding 0.2s ease; }
.explorer-tab .n { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--teal-500); width: 22px; }
.explorer-tab:hover { color: var(--charcoal-900); }
.explorer-tab[aria-selected="true"] { color: var(--charcoal-900); padding-left: 16px; border-bottom-color: var(--teal-500); }
.explorer-tab[aria-selected="true"] .n { font-weight: 700; }
.explorer-panels { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.explorer-panel { display: flex; flex-direction: column; }
.explorer-panel .photo { aspect-ratio: 16/9; overflow: hidden; background: var(--ivory-200); }
.explorer-panel .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.explorer-panel .txt { padding: 22px 26px 26px; }
.explorer-panel h3 { margin: 0 0 8px; font-size: 1.35rem; }
.explorer-panel p { margin: 0 0 14px; color: var(--charcoal-700); }
.explorer-example { border-left: 3px solid var(--teal-500); padding: 4px 0 4px 14px; font-size: 0.9rem; color: var(--charcoal-700); margin: 0; }
.explorer-example b { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 3px; }
.js .explorer-panel { display: none; animation: explorerIn 0.35s ease; }
.js .explorer-panel.active { display: flex; }
@keyframes explorerIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.no-js .explorer-panel { margin-bottom: 14px; }

/* ---------- Timeline (How it works: after you buy) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px; background: var(--teal-500); opacity: 0.45; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; gap: 26px; } .timeline::before { top: 0; bottom: 0; left: 26px; right: auto; width: 1px; height: auto; } }
.timeline-step { position: relative; text-align: center; padding: 0 8px; }
.timeline-dot { width: 52px; height: 52px; border-radius: 50%; background: var(--ivory-100); border: 1px solid var(--teal-500); color: var(--teal-500); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.2rem; margin: 0 auto 16px; position: relative; z-index: 1; }
.timeline-step h3 { font-size: 1.15rem; margin: 0 0 8px; }
.timeline-step p { margin: 0; font-size: 0.92rem; color: var(--charcoal-700); }
@media (max-width: 800px) { .timeline-step { text-align: left; padding-left: 74px; } .timeline-dot { position: absolute; left: 0; top: 0; margin: 0; } }

/* ---------- Itinerary filters ---------- */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2.2em; padding: 20px 22px; background: #fff; border: 1px solid var(--line); }
.filter-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filter-label { width: 96px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-500); font-weight: 600; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--font-sans); font-size: 0.82rem; padding: 8px 16px; background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--charcoal-700); cursor: pointer; transition: all 0.15s ease; }
.chip:hover { border-color: var(--teal-500); color: var(--teal-700); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory-100); }
.filter-status { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--charcoal-500); border-top: 1px solid var(--line); padding-top: 12px; }
.filter-reset { background: none; border: none; color: var(--teal-500); font-size: 0.85rem; text-decoration: underline; cursor: pointer; padding: 0; font-family: inherit; }
.filter-empty { padding: 40px 0; text-align: center; color: var(--charcoal-700); }
@media (max-width: 600px) { .filter-label { width: 100%; } }

/* ---------- eSIM banner ---------- */
.esim-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px 38px; background: var(--navy-900); color: var(--ivory-100); }
.esim-banner h2 { color: var(--ivory-100); margin: 0 0 10px; }
.esim-banner .eyebrow { color: #7fd6c9; }
.esim-banner p { color: rgba(250,246,238,0.85); margin: 0 0 10px; font-size: 0.95rem; }
.esim-banner .esim-code { font-size: 0.88rem; }
.esim-banner .esim-code strong { color: #fff; letter-spacing: 0.04em; }
.esim-btn { flex: none; white-space: nowrap; }
@media (max-width: 760px) { .esim-banner { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 20px; } }

/* ---------- Polish: reveal, carousels, progress ---------- */
.js-polish .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.js-polish .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-polish .reveal { opacity: 1; transform: none; transition: none; } }
.hero { overflow: hidden; }
.hero-illustration { will-change: transform; transform-origin: center; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--teal-500); transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none; }
.card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(10, 22, 40, 0.1); } }
.carousel-dots { display: none; }
@media (max-width: 700px) {
  .m-carousel { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: -24px; margin-right: -24px; padding: 4px 24px 8px; scroll-padding: 0 24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
  .m-carousel::-webkit-scrollbar { display: none; }
  .m-carousel > * { flex: 0 0 80%; scroll-snap-align: start; min-width: 0; }
  .carousel-dots { display: flex; justify-content: center; gap: 7px; margin: 10px 0 4px; }
  .carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: all 0.25s ease; }
  .carousel-dots span.on { width: 22px; border-radius: 4px; background: var(--teal-500); }
}

/* ---------- Home: trust strip, sample band ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy-900); color: var(--ivory-100); }
.trust-item { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(250, 246, 238, 0.12); }
.trust-item:last-child { border-right: none; }
.trust-num { display: block; font-family: var(--font-serif); font-size: 2.3rem; line-height: 1; margin-bottom: 6px; color: #fff; }
.trust-label { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250, 246, 238, 0.7); }
@media (max-width: 700px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } .trust-item { border-bottom: 1px solid rgba(250, 246, 238, 0.12); padding: 20px 12px; } .trust-item:nth-child(2n) { border-right: none; } .trust-num { font-size: 1.9rem; } }
.trust-line { text-align: center; font-size: 0.88rem; color: var(--charcoal-700); margin: 0; padding: 18px 24px; background: var(--ivory-200); border-bottom: 1px solid var(--line); }
.sample-band { background: var(--navy-900); color: var(--ivory-100); }
.sample-band h2 { color: var(--ivory-100); }
.sample-band p { color: rgba(250, 246, 238, 0.82); max-width: 620px; }
.sample-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.6em; }
.sample-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid rgba(250, 246, 238, 0.35); color: #fff; font-size: 0.82rem; text-decoration: none; transition: all 0.2s ease; border-radius: 999px; }
.sample-link:hover { background: #fff; color: var(--navy-900); }
.section-more { text-align: center; margin-top: 2em; }

/* Explorer on phones/tablets: tabs become a sideways row of pills above the panel */
@media (max-width: 860px) {
  .explorer-tabs { flex-direction: row; overflow-x: auto; gap: 8px; border-top: none; padding: 2px 24px 6px; margin: 0 -24px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .explorer-tabs::-webkit-scrollbar { display: none; }
  .explorer-tab { width: auto; flex: none; white-space: nowrap; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.98rem; background: #fff; scroll-snap-align: center; }
  .explorer-tab .n { display: none; }
  .explorer-tab[aria-selected="true"] { background: var(--navy-900); color: var(--ivory-100); border-color: var(--navy-900); padding-left: 16px; }
}

/* ============================================================
   Visual refresh (Nov 2026): self-hosted Fraunces + Inter, softer
   shapes, depth, a more editorial rhythm. Palette unchanged.
   ============================================================ */
body { font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-optical-sizing: auto; letter-spacing: -0.022em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.08; }
.section { padding: 104px 24px; }
@media (max-width: 700px) { .section { padding: 68px 24px; } }
.section-header { margin-bottom: 3.2em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7; }
.section-header.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7; }

/* Navbar: frosted */
.navbar { background: rgba(250, 246, 238, 0.82); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom-color: rgba(23, 27, 30, 0.08); }
.navbar-logo { font-weight: 500; letter-spacing: 0.1em; }

/* Buttons: pills with a little life */
.btn { border-radius: 999px; padding: 15px 32px; font-size: 0.76rem; letter-spacing: 0.12em; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 22, 40, 0.18); }
.btn-primary { box-shadow: 0 6px 18px rgba(31, 114, 104, 0.28); }
.btn-block { border-radius: 14px; }
.navbar-links a.navbar-cta { padding: 13px 30px; }

/* Hero: more depth */
.hero { padding: 150px 24px 130px; }
.hero-small { padding: 96px 24px 84px; }
.hero.has-illustration::before { background: linear-gradient(180deg, rgba(10, 24, 38, 0.5) 0%, rgba(10, 24, 38, 0.72) 60%, rgba(11, 58, 58, 0.92) 100%); }
.hero .lead { font-size: 1.22rem; line-height: 1.6; }
.hero-illustration { opacity: 0.62; }

/* Cards: soft, lifted, rounded */
.card { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); background: #fff; }
.card-media { overflow: hidden; }
.card-media img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card-media img { transform: scale(1.06); }
@media (hover: hover) { .card:hover { box-shadow: var(--shadow-lift); } }
.card-body { padding: 26px 26px 24px; gap: 9px; }
.card-title { font-size: 1.32rem; line-height: 1.2; }
.card-footer { border-top-color: rgba(23, 27, 30, 0.08); }
.card-link { color: var(--teal-500); }
.badge { border-radius: 999px; padding: 5px 12px; }
.hub-card { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.explore-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.filters { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.affiliate-card { border: none; border-radius: 18px; box-shadow: var(--shadow-soft); }
.includes-item { border: none; border-radius: 14px; box-shadow: var(--shadow-soft); }
.esim-banner { border-radius: 26px; background: radial-gradient(ellipse at 85% 0%, rgba(47, 143, 130, 0.32), transparent 55%), var(--navy-900); }
.article-photo img { border-radius: 16px; }
.preview-lead, .day-block { border-radius: 14px; }
input, textarea, select { border-radius: 12px; }
.faq-item { border-bottom-color: rgba(23, 27, 30, 0.1); }
.trust-strip { background: linear-gradient(90deg, var(--navy-950), var(--navy-900) 50%, var(--navy-950)); }
.sample-band { background: radial-gradient(ellipse at 20% 0%, rgba(47, 143, 130, 0.28), transparent 55%), var(--navy-900); }
.sample-link { padding: 12px 20px; }

/* Immersive dark explorer */
.section-dark { background: radial-gradient(ellipse at 80% -10%, rgba(47, 143, 130, 0.3), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(28, 66, 96, 0.55), transparent 60%), var(--navy-950); color: var(--ivory-100); }
.section-dark .section-header h2, .section-dark h2 { color: var(--ivory-100); }
.section-dark .section-header p { color: rgba(250, 246, 238, 0.78); }
.section-dark .eyebrow { color: #7fd6c9; }
.explorer { gap: 48px; align-items: center; }
.explorer-tabs { border-top-color: rgba(250, 246, 238, 0.16); }
.explorer-tab { color: rgba(250, 246, 238, 0.6); border-bottom-color: rgba(250, 246, 238, 0.16); padding: 18px 6px; font-size: 1.28rem; }
.explorer-tab .n { color: #7fd6c9; }
.explorer-tab:hover { color: var(--ivory-100); }
.explorer-tab[aria-selected="true"] { color: #fff; padding-left: 22px; border-bottom-color: #7fd6c9; }
.explorer-panels { background: none; border: none; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.explorer-panel { position: relative; }
.explorer-panel .photo { aspect-ratio: 5 / 4; border-radius: 28px; }
.explorer-panel .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 24, 38, 0.55) 100%); }
.explorer-panel .txt { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 22px 26px 24px; background: rgba(10, 24, 38, 0.58); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(250, 246, 238, 0.2); border-radius: 20px; color: var(--ivory-100); z-index: 2; }
.explorer-panel h3 { color: #fff; }
.explorer-panel p { color: rgba(250, 246, 238, 0.86); }
.explorer-example { border-left-color: #7fd6c9; color: rgba(250, 246, 238, 0.86); }
.explorer-example b { color: #7fd6c9; }
@media (max-width: 860px) {
  .explorer { gap: 22px; }
  .explorer-tab { border: 1px solid rgba(250, 246, 238, 0.28); background: rgba(250, 246, 238, 0.06); color: rgba(250, 246, 238, 0.85); font-size: 0.98rem; padding: 10px 18px; }
  .explorer-tab[aria-selected="true"] { background: #fff; color: var(--navy-900); border-color: #fff; padding-left: 18px; }
  .explorer-panel .photo { aspect-ratio: 4 / 3; border-radius: 24px 24px 0 0; }
  .explorer-panels { border-radius: 24px; }
  .explorer-panel .txt { position: static; border-radius: 0 0 24px 24px; border: none; background: var(--navy-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.section-more .btn-outline { border-color: rgba(250, 246, 238, 0.5); }

.section-text { color: var(--charcoal-700); font-size: 1.05rem; }
.section-dark .section-text { color: rgba(250, 246, 238, 0.8); }
.navbar-logo { white-space: nowrap; letter-spacing: 0.08em; font-size: 1.2rem; }

.price-box { border-radius: 24px; box-shadow: var(--shadow-lift); background: radial-gradient(ellipse at 90% 0%, rgba(47, 143, 130, 0.3), transparent 55%), var(--navy-900); }
.leaflet-container, .route-map, .map-frame { border-radius: 18px; }
iframe { border-radius: 14px; }
.day-nav a, .city-tab, .legend-chip { border-radius: 999px; }
.cta-section { border-radius: 0; }

/* ============================================================
   Cinematic layer: hero motion, destination panels, marquee
   ============================================================ */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.1em 0.12em 0.04em; margin: -0.04em -0.1em -0.12em -0.04em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes wordUp { to { transform: none; } }
.hero-inner .eyebrow, .hero-inner .lead, .hero-actions { animation: heroFade 1s ease 0.55s both; }
.hero-actions { animation-delay: 0.85s; }
@keyframes heroFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-illustration { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.14; } }
@media (prefers-reduced-motion: reduce) { .hero-illustration { animation: none; } .hero h1 .w > span { animation: none; transform: none; } .hero-inner .eyebrow, .hero-inner .lead, .hero-actions { animation: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(250, 246, 238, 0.55); border-radius: 14px; z-index: 2; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* Destination panels */
.dest-strips { display: flex; gap: 12px; height: 560px; max-width: var(--container); margin: 0 auto; }
.dest-strip { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 26px; color: #fff; text-decoration: none; transition: flex 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: var(--shadow-soft); }
.dest-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dest-strip-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 38, 0.05) 30%, rgba(10, 24, 38, 0.82) 100%); transition: background 0.5s ease; }
.dest-strip-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.dest-strip-name { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.05; letter-spacing: -0.02em; white-space: nowrap; }
.dest-strip-more { display: flex; flex-direction: column; gap: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s ease, opacity 0.5s ease 0.1s; }
.dest-strip-tag { font-size: 0.95rem; color: rgba(255, 255, 255, 0.88); max-width: 340px; }
.dest-strip-cta { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.dest-strip-cta b { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy-900); align-items: center; justify-content: center; font-weight: 400; }
@media (hover: hover) and (min-width: 901px) {
  .dest-strips:hover .dest-strip { flex: 0.8; }
  .dest-strips .dest-strip:hover, .dest-strips .dest-strip:focus-visible { flex: 3.6; }
  .dest-strips:hover .dest-strip:not(:hover):not(:focus-visible) .dest-strip-name { writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; font-size: 1.5rem; }
  .dest-strips:hover .dest-strip:not(:hover):not(:focus-visible) .dest-strip-body { padding: 22px 0 24px; align-items: center; }
  .dest-strip:hover img { transform: scale(1.06); }
  .dest-strip:hover .dest-strip-more, .dest-strip:focus-visible .dest-strip-more { max-height: 140px; opacity: 1; }
}
@media (max-width: 900px) {
  .dest-strips { height: auto; }
  .dest-strip { flex: 0 0 76%; height: 400px; }
  .dest-strip-more { max-height: none; opacity: 1; }
}
@media (min-width: 701px) and (max-width: 900px) { .dest-strips { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .dest-strip { flex: 0 0 46%; scroll-snap-align: start; } }
@media (max-width: 700px) { .dest-strip { border-radius: 22px; } }
@media (hover: none) and (min-width: 901px) { .dest-strip-more { max-height: none; opacity: 1; } }

/* Marquee ribbon */
.marquee { overflow: hidden; padding: 34px 0 30px; background: var(--ivory-200); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 3.5rem); letter-spacing: -0.02em; color: var(--navy-800); opacity: 0.88; white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); margin: 0 clamp(26px, 4vw, 56px); flex: none; }
@keyframes marquee { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   Route story: pinned stage, the route draws itself while you scroll
   ============================================================ */
.rs-section { padding-bottom: 60px; }
.rs-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; max-width: var(--container); margin: 0 auto; }
.rs-stage { position: sticky; top: 92px; height: calc(100vh - 130px); min-height: 520px; max-height: 720px; border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 30% 10%, rgba(47, 143, 130, 0.22), transparent 55%), linear-gradient(160deg, #0d2236, #09161f); border: 1px solid rgba(250, 246, 238, 0.14); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.rs-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-grid line { stroke: rgba(250, 246, 238, 0.06); stroke-width: 1; }
.rs-line-bg { fill: none; stroke: rgba(250, 246, 238, 0.14); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.rs-line { fill: none; stroke: #7fd6c9; stroke-width: 3.2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(127, 214, 201, 0.7)); transition: stroke-dashoffset 1.3s cubic-bezier(0.3, 0.7, 0.2, 1); }
.rs-pin .dot { fill: #0d2236; stroke: rgba(250, 246, 238, 0.5); stroke-width: 1.5; transition: all 0.4s ease; }
.rs-pin .ping { fill: none; stroke: #7fd6c9; stroke-width: 1.5; opacity: 0; }
.rs-pin .lbl { font-family: var(--font-sans); font-size: 15px; fill: rgba(250, 246, 238, 0.35); transition: fill 0.4s ease; }
.rs-pin.on .dot { fill: #7fd6c9; stroke: #7fd6c9; }
.rs-pin.on .lbl { fill: rgba(250, 246, 238, 0.8); }
.rs-pin.cur .dot { fill: #fff; stroke: #7fd6c9; stroke-width: 3; }
.rs-pin.cur .lbl { fill: #fff; font-weight: 600; }
.rs-pin.cur .ping { animation: rsPing 1.8s ease-out infinite; }
@keyframes rsPing { 0% { opacity: 0.9; r: 7; } 100% { opacity: 0; r: 26; } }
.rs-hud { position: absolute; left: 26px; top: 22px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.rs-count { font-size: 0.78rem; letter-spacing: 0.14em; color: #7fd6c9; }
.rs-count b { font-weight: 600; color: #fff; }
.rs-name { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.2vw, 2.8rem); color: #fff; line-height: 1.05; letter-spacing: -0.02em; }
.rs-photo { position: absolute; left: 22px; bottom: 22px; width: min(46%, 300px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); border: 1px solid rgba(250, 246, 238, 0.25); z-index: 2; }
.rs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.8s ease, transform 1.4s ease; }
.rs-photo img.show { opacity: 1; transform: scale(1); }
.rs-steps { padding-top: 6vh; padding-bottom: 14vh; }
.rs-step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transform: translateX(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.rs-step.active { opacity: 1; transform: none; }
.rs-days { display: inline-flex; align-self: flex-start; padding: 6px 14px; border: 1px solid rgba(127, 214, 201, 0.5); border-radius: 999px; color: #7fd6c9; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.rs-step h3 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 0 0 14px; }
.rs-step ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rs-step li { color: rgba(250, 246, 238, 0.78); font-size: 1rem; padding-left: 18px; position: relative; }
.rs-step li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 1px; background: #7fd6c9; }
@media (max-width: 900px) {
  .rs-wrap { grid-template-columns: 1fr; gap: 0; }
  .rs-stage { top: 72px; height: 46vh; min-height: 300px; border-radius: 22px; z-index: 5; }
  .rs-photo { width: 36%; left: 14px; bottom: 14px; }
  .rs-hud { left: 18px; top: 16px; }
  .rs-steps { padding-top: 2vh; }
  .rs-step { min-height: 56vh; }
}

/* Route story v2: photo as the stage backdrop, one label at a time */
.rs-bg { position: absolute; inset: 0; z-index: 0; }
.rs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 22, 31, 0.78), rgba(9, 22, 31, 0.9)); }
.rs-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1s ease, transform 2.4s ease; }
.rs-bg img.show { opacity: 0.55; transform: scale(1); }
.rs-stage svg { z-index: 1; }
.rs-pin .lbl { opacity: 0; transition: opacity 0.4s ease, fill 0.4s ease; }
.rs-pin.cur .lbl { opacity: 1; }
.rs-pin .lbl { paint-order: stroke; stroke: rgba(9, 22, 31, 0.85); stroke-width: 5px; stroke-linejoin: round; }
.rs-photo { display: none; }

/* Filters v2: a slim bar that opens into the full panel on demand */
.filters { padding: 0; background: none; box-shadow: none; border-radius: 0; margin-bottom: 2.4em; gap: 0; }
.filters-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-sans); font-size: 0.84rem; font-weight: 500; color: var(--charcoal-900); cursor: pointer; transition: all 0.2s ease; }
.filters-toggle:hover { border-color: var(--teal-500); }
.filters-toggle .chev { transition: transform 0.3s ease; }
.filters.open .filters-toggle .chev { transform: rotate(180deg); }
.filters-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 0.72rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.filters-count { font-size: 0.85rem; color: var(--charcoal-500); }
.filters-active { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.active-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; background: rgba(31, 114, 104, 0.1); border: 1px solid rgba(31, 114, 104, 0.35); border-radius: 999px; font-family: var(--font-sans); font-size: 0.8rem; color: var(--teal-700); cursor: pointer; }
.active-chip i { font-style: normal; font-size: 1rem; line-height: 1; }
.filters .filter-reset { margin-left: auto; }
.filters-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.filters.open .filters-panel { grid-template-rows: 1fr; }
.filters-panel-inner { overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.filters.open .filters-panel-inner { padding: 22px 0 8px; }
@media (max-width: 600px) { .filters-count { order: 3; width: 100%; } .filters .filter-reset { margin-left: 0; } }

/* Free preview band on itinerary pages */
.sample-compact-section { background: var(--ivory-200); padding: 64px 24px; }
.sample-compact { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 900px; }
.sample-compact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.3em; }
.sample-compact p { margin: 0; color: var(--charcoal-700); max-width: 520px; }
.sample-compact .btn { flex: none; }
.sample-read { max-width: 900px; margin: 22px auto 0; }
.sample-read summary { cursor: pointer; font-size: 0.88rem; color: var(--teal-500); text-decoration: underline; list-style: none; width: fit-content; }
.sample-read summary::-webkit-details-marker { display: none; }
.sample-read .prose { margin-top: 1.2em; }
@media (max-width: 760px) { .sample-compact { flex-direction: column; align-items: flex-start; gap: 20px; } .sample-compact-section { padding: 48px 24px; } }

/* Lenis soft scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Cards sitting on a dark section keep their own dark-on-white text */
.section-dark .card, .section-dark .card h3, .section-dark .card-title { color: var(--charcoal-900); }
.section-dark .card-desc { color: var(--charcoal-700); }
.section-dark .card-eyebrow { color: var(--teal-500); }

/* Anchor links (#sample, #day-5...) land below the sticky header instead of under it */
[id] { scroll-margin-top: 96px; }

/* Long button labels (e.g. the support email) never push the page wider than the screen */
.btn { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .btn { padding-left: 20px; padding-right: 20px; letter-spacing: 0.08em; }
  .btn[href^="mailto:"] { text-transform: none; letter-spacing: 0.02em; }
}

/* Tables inside prose (photo credits) stay inside the viewport on phones */
.prose table { width: 100%; table-layout: fixed; }
.prose table td, .prose table th { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 560px) { .prose table { font-size: 0.8rem; } .prose table td, .prose table th { padding-left: 6px; padding-right: 6px; } }

/* Sub-headings that are h2 in the outline but keep the compact look they had as h3 */
.prose h2.h-sub { font-size: 1.15rem; line-height: 1.3; margin-top: 1.6em; margin-bottom: 0.5em; letter-spacing: -0.01em; }
