/* ==========================================================================
   STATIC SITE FACTORY — EDITORIAL / DATA JOURNALISM THEME (AEO/GEO OPTIMIZED)
   --------------------------------------------------------------------------
   Aesthetic: Warm Architectural & Travel Magazine (The Atlantic / Kinfolk / Monocle)
   Font Pairing:
     - Headings & Editorial Accents: 'Newsreader' (Google Fonts, Optical Sizing)
     - Body Text, Tables & CRO UI:  'Plus Jakarta Sans' (Google Fonts, Modern Grotesque)
     - Data Monospace / Navigation:  'ui-monospace', 'SF Mono', Menlo, monospace

   * Alternate Font Presets (easily switched in :root):
     Preset A: 'Newsreader' + 'Plus Jakarta Sans' (Default Flagship)
     Preset B: 'Lora' + 'Plus Jakarta Sans'
     Preset C: 'Playfair Display' + 'Outfit'
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  /* Warm Architectural & Paper Foundations */
  --bg:                #fafaf8;  /* Warm paper background */
  --bg-alt:            #f3f1ec;  /* Soft card and table beige */
  --bg-dark:           #1a1917;  /* Deep graphite black for footer/facts */
  --border:            #dedad4;  /* Craft border */
  --border-strong:     #b8b2a8;  /* Strong structural border */

  /* Text & Contrast */
  --text:              #1c1b18;  /* Deep charcoal readable text */
  --muted:             #5a5751;  /* Editorial warm gray for subtitles */
  --muted-light:       #7a766e;  /* Secondary metadata */

  /* Editorial Heritage Accent (Terracotta / Brick) */
  --accent:            #a8442a;  /* Historic terracotta / brick */
  --accent-dk:         #7a2f1c;  /* Deep brick hover */
  --accent-lt:         #f7eae4;  /* Subtle pastel terracotta tint */
  --accent-contrast:   #ffffff;

  /* CRO Signals & Highlighter Marker */
  --highlight:         #fde68a;  /* Yellow highlighter marker */
  --highlight-strong:  #fbd35a;  /* Stronger marker on hover */
  --warn:              #b45309;  /* Warning ochre */
  --warn-bg:           #fffbeb;  /* Warning background */
  --danger:            #b91c1c;  /* Red flags accent */
  --danger-bg:         #fef2f2;  /* Red flags soft background */

  /* Typography Stack */
  --serif:             'Newsreader', Georgia, serif;
  --sans:              'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono:              ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;

  /* Layout Widths */
  --max:               840px;    /* Ideal reading measure */
  --wide:              1140px;   /* Wide comparison matrix & grids */

  /* Radius & Transitions */
  --radius-xs:         2px;
  --radius-sm:         4px;
  --radius-pill:       9999px;
  --transition:        all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  scroll-padding-top: 105px;
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  letter-spacing: -0.015em;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text);
}
p:last-child { margin-bottom: 0; }

strong {
  font-weight: 700;
  color: var(--text);
}

ul, ol {
  padding-left: 1.35rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
  line-height: 1.65;
}

/* ── EDITORIAL HIGHLIGHTER LINKS (.u-link) ───────────────── */
.u-link {
  position: relative;
  display: inline;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  padding: 0 0.15em;
  background-image: linear-gradient(to top, transparent 0.15em, var(--highlight) 0.15em, var(--highlight) 1.05em, transparent 1.05em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-image 0.2s ease, color 0.15s ease;
}

.u-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.u-link:hover {
  color: var(--accent);
  background-image: linear-gradient(to top, transparent 0.15em, var(--highlight-strong) 0.15em, var(--highlight-strong) 1.05em, transparent 1.05em);
}

.u-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Standard editorial text link */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
a:hover {
  color: var(--accent-dk);
}

/* ── LAYOUT CONTAINERS ──────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wide {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}
section:first-of-type {
  border-top: none;
}

/* ── SECTION LABEL & EYEBROW ────────────────────────────── */
.s-label, .eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ── HEADER & NAVIGATION ────────────────────────────────── */
/* ── NAVIGATION HEADER ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 2px solid var(--text);
}

.nav-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 56px;
  position: relative;
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo .gem {
  color: var(--accent);
  margin-right: 0.35em;
}
.nav-logo .muted {
  font-weight: 400;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  flex: 1;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-cta a.btn,
.nav-cta .btn,
.nav-cta .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--accent) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--sans);
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.45rem 1.1rem !important;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.nav-cta a.btn:hover,
.nav-cta .btn:hover,
.nav-cta .btn-primary:hover {
  background-color: var(--accent-dk) !important;
  border-color: var(--accent-dk) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.nav-cta a:not(.btn) {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-cta a:not(.btn):hover {
  color: var(--accent-dk);
  border-color: var(--accent-dk);
}

/* Mobile Hamburger Toggle Button (Editorial Site Header) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
  margin-left: auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer (Editorial Site Header) */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--text);
  padding: 1.25rem 1.5rem 1.75rem;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 1000;
}
.mobile-nav.open {
  display: flex !important;
  animation: mobileNavSlide 0.2s ease-out;
}
@keyframes mobileNavSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  padding: 0.65rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  padding-left: 0.4rem;
}
.mobile-nav .btn,
.mobile-nav .btn-primary {
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
  border-bottom: none !important;
  padding: 0.75rem 1rem !important;
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 800 !important;
  display: flex !important;
}
.mobile-nav .btn:hover,
.mobile-nav .btn-primary:hover {
  background-color: var(--accent-dk) !important;
  color: #ffffff !important;
  padding-left: 1rem;
}


/* ── STICKY ANCHOR NAV (In-Page Monospace TOC) ───────────── */
.anchor-nav {
  position: sticky;
  top: 54px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }

.anchor-nav-list {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: inline-flex;
  list-style: none;
  min-width: 100%;
  gap: 0.25rem;
}
.anchor-nav-list li { flex-shrink: 0; padding: 0; margin: 0; }
.anchor-nav-list li::before { content: none; }

.anchor-link {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.15s, color 0.15s, border-color 0.15s;
}
.anchor-link:hover, .anchor-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 1;
}

/* ── HERO & BYLINE ──────────────────────────────────────── */
.hero {
  padding: 3.5rem 0 2.2rem;
  border-top: none;
}

.hero-deck {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.byline {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* ── FACTS BAR (AEO Information Density) ────────────────── */
.facts-bar {
  background: var(--bg-dark);
  padding: 1.25rem 0;
  border-top: none;
  color: #ffffff;
}

.facts-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fact-n {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.fact-l {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* ── EDITORIAL CALLOUT & TL;DR ──────────────────────────── */
.callout, .tldr-box {
  margin: 2rem 0;
  padding: 1.35rem 1.65rem;
  background: var(--bg-alt);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-xs);
}
.callout p, .tldr-box p { font-size: 0.95rem; line-height: 1.65; }
.callout ul, .tldr-box ul { font-size: 0.95rem; margin-bottom: 0; }

/* ── TOP-PICKS NUMBERED LIST ────────────────────────────── */
.top10-list {
  margin: 1.75rem 0;
}

.top10-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.5rem 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.top10-item:last-child {
  border-bottom: 1px solid var(--border);
}

.top10-num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
  padding-top: 0.2rem;
}

.top10-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.top10-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.top10-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.chip {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.22em 0.65em;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
}
.chip.accent {
  background: var(--accent-lt);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 800;
}

/* ── DATA COMPARISON TABLE ──────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  background: var(--bg);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table thead th {
  background: var(--text);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.data-table tbody tr:hover { background: var(--accent-lt); }

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table td:first-child {
  font-weight: 700;
}

/* ── RED FLAGS & OVERRATED TOURS (E-E-A-T & AEO TRUST) ──── */
.flag-list {
  margin: 1.5rem 0;
}

.flag-item {
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
}
.flag-item:last-child {
  border-bottom: 1px solid var(--border);
}

.flag-icon {
  font-size: 1.3rem;
  line-height: 1.2;
}

.flag-body h4 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 0.25rem;
}

.flag-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ── FAQ ACCORDION (Direct Choice X vs Y) ────────────────── */
.faq-list {
  margin: 1.5rem 0;
}

.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a.open {
  max-height: 1200px;
}
.faq-a p {
  padding-bottom: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
}

/* ── FLOATING PLAN PILL (Modern subtle CRO) ──────────────── */
.plan-pill {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75em 1.4em;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(168, 68, 42, 0.35);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.15s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.plan-pill.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.plan-pill:hover {
  color: #ffffff;
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 68, 42, 0.45);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  border-top: none;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}
.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: var(--wide);
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ── RESPONSIVE ADAPTATION ──────────────────────────────── */
@media (max-width: 768px) {
  .facts-inner { gap: 1.5rem; }
  .fact-n { font-size: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .top10-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .plan-pill { bottom: 1rem; right: 1rem; padding: 0.65em 1.1em; font-size: 0.75rem; }
}


/* ── SUBPAGE / LEGACY HEADER COMPATIBILITY ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 2px solid var(--text);
}
.nav-container {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 56px;
  position: relative;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.logo strong, .logo .text-accent {
  color: var(--accent);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu .nav-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-menu .nav-link:hover, .nav-menu .nav-link.active {
  color: var(--accent);
}
.nav-menu .nav-cta, .nav-cta.btn {
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  border: none !important;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.nav-menu .nav-cta:hover {
  background: var(--accent-dk) !important;
}
.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  z-index: 1001;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.burger:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--text);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── RESPONSIVE NAVIGATION BREAKPOINTS (<= 1024px) ────────── */
.mobile-cta-btn {
  display: none;
}

@media (max-width: 1024px) {
  /* Hide desktop-only elements */
  .nav-inner > .nav-cta {
    display: none !important;
  }
  .nav-inner > .nav-links {
    display: none !important;
  }
  
  /* Show hamburger button */
  .nav-toggle,
  .burger {
    display: flex !important;
  }
  
  /* Navigation drawer (hidden by default) */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 2px solid var(--text);
    padding: 1rem 1.5rem 1.75rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    z-index: 1000;
  }

  /* Navigation drawer (OPEN state) */
  .nav-menu.open {
    display: flex !important;
    flex-direction: column !important;
    animation: mobileNavSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* Navigation list INSIDE open drawer */
  .nav-menu.open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .nav-menu.open .nav-links li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-menu.open .nav-link {
    display: block !important;
    font-family: var(--sans) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    color: var(--text) !important;
    padding: 0.8rem 0.5rem !important;
    border-bottom: 1px solid var(--border) !important;
    text-decoration: none !important;
    transition: color 0.15s ease, padding-left 0.15s ease, background 0.15s ease !important;
  }

  .nav-menu.open .nav-link:hover,
  .nav-menu.open .nav-link.active {
    color: var(--accent) !important;
    padding-left: 0.85rem !important;
    background: rgba(168, 68, 42, 0.05) !important;
  }

  /* Full-width CTA button inside open mobile menu */
  .nav-menu.open .mobile-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 1.25rem !important;
    padding: 0.85rem 1.25rem !important;
    background: var(--accent) !important;
    color: #ffffff !important;
    font-family: var(--sans) !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: 0 4px 14px rgba(168, 68, 42, 0.3) !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
  }

  .nav-menu.open .mobile-cta-btn:hover {
    background: var(--accent-dk) !important;
    transform: translateY(-1px) !important;
  }
}

/* Active hamburger animation */
.nav-toggle.active span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2),
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3),
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   CRO & CONVERSION ENHANCEMENTS (4-Tour Matrix, Sticky Bar, Callouts)
   ========================================================================== */

/* --- 4-Tour Comparison Table --- */
.cmp-table-section {
    margin: 3rem 0;
}
.cmp-scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--fg-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.cmp-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
}
.cmp-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}
.cmp-table thead th {
    padding: 1.25rem 1rem;
    vertical-align: top;
    background: #fafaf8;
    border-bottom: 2px solid var(--border);
    border-right: 1px solid var(--border);
}
.cmp-table thead th:last-child {
    border-right: none;
}
.cmp-th-feature {
    width: 160px;
    min-width: 160px;
    position: sticky;
    left: 0;
    z-index: 3;
    background: #fafaf8 !important;
    font-family: ui-monospace, monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fg-muted);
}
.cmp-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    background: #f0eade;
    color: var(--fg);
    margin-bottom: 0.4rem;
}
.cmp-badge-best {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.cmp-badge-vip {
    background: #f3e5f5;
    color: #6a1b9a;
    border: 1px solid #e1bee7;
}
.cmp-badge-wine {
    background: #fbe9e7;
    color: #c94a29;
    border: 1px solid #ffccbc;
}
.cmp-badge-audio {
    background: #e1f5fe;
    color: #0277bd;
    border: 1px solid #b3e5fc;
}
.cmp-tour-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0.4rem 0 0.2rem;
    color: var(--fg);
}
.cmp-tour-provider {
    font-size: 0.75rem;
    color: var(--fg-muted);
    font-family: ui-monospace, monospace;
}
.cmp-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    vertical-align: middle;
}
.cmp-table tbody td:last-child {
    border-right: none;
}
.cmp-td-feature {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
    font-weight: 600;
    color: var(--fg-muted);
    font-size: 0.82rem;
    font-family: ui-monospace, monospace;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cmp-price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fg);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.cmp-price-approx {
    font-size: 0.8rem;
    color: var(--fg-muted);
    margin-left: 0.25rem;
}
.cmp-cta-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #c94a29;
    color: #ffffff !important;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 8px rgba(201, 74, 41, 0.25);
}
.cmp-cta-btn:hover {
    background: #a83819;
    transform: translateY(-1px);
}

/* --- Mobile Sticky Booking Bar --- */
.sticky-book {
    display: none;
}
@media (max-width: 820px) {
    .sticky-book {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding: 0.75rem 1.25rem;
        z-index: 1000;
        align-items: center;
        justify-content: space-between;
    }
    .sticky-book-info {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }
    .sticky-book-title {
        font-family: 'Newsreader', Georgia, serif;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--fg);
    }
    .sticky-book-meta {
        font-size: 0.8rem;
        color: #c94a29;
        font-weight: 700;
        font-family: ui-monospace, monospace;
    }
    .sticky-book-btn {
        background: #c94a29;
        color: #ffffff !important;
        font-size: 0.88rem;
        font-weight: 700;
        padding: 0.65rem 1.2rem;
        border-radius: 6px;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(201, 74, 41, 0.3);
        flex-shrink: 0;
    }
}

/* --- Article Callout Boxes --- */
.article-cta-box {
    margin: 2.25rem 0;
    padding: 1.5rem 1.75rem;
    background: #fbfaf7;
    border: 1px solid var(--border);
    border-left: 4px solid #c94a29;
    border-radius: 6px;
}
.article-cta-box h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.35rem;
    color: var(--fg);
}
.article-cta-box p {
    font-size: 0.95rem;
    color: var(--fg-muted);
    margin-bottom: 1rem;
    line-height: 1.55;
}
.article-cta-box .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.cta-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    background: #c94a29;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(201, 74, 41, 0.25);
    transition: background 0.15s ease;
}
.cta-pill-btn:hover {
    background: #a83819;
}
.cta-secondary-link {
    font-size: 0.88rem;
    color: #c94a29;
    font-weight: 600;
    text-decoration: underline;
}

/* --- GetYourGuide Availability Container --- */
.gyg-widget-box {
    margin: 2rem 0;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.gyg-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.gyg-widget-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--fg);
}
.gyg-badge {
    font-size: 0.75rem;
    font-family: ui-monospace, monospace;
    background: #eef2f6;
    color: #1976d2;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    font-size: 0.8rem;
    color: var(--fg-muted);
    font-family: ui-monospace, monospace;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.breadcrumbs a {
    color: var(--fg-muted);
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #c94a29;
}
.breadcrumbs span {
    margin: 0 0.4rem;
    color: var(--border);
}


/* ==========================================================================
   ENHANCED EDITORIAL LAYOUT & MOBILE ADAPTATION (CRO / RESPONSIVE)
   ========================================================================== */

/* ── MAIN CONTAINERS & WIDE-SCREEN CONSTRAINTS ─────────────────────────── */
.page-main {
  width: 100%;
  min-height: 80vh;
  box-sizing: border-box;
}

/* Master content container constrained to 1140px and centered */
.content-container {
  max-width: var(--wide); /* 1140px */
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Focused reading column for editorial prose on wide/ultrawide screens */
.article-content,
.page-header,
.tldr-box,
.breadcrumbs,
.article-cta-box,
.faq-accordion,
.faq-list,
.gyg-widget-box {
  max-width: var(--max); /* 840px */
  margin-left: auto;
  margin-right: auto;
}

/* Page Header & Typography */
.page-header {
  margin: 2rem auto 1.5rem;
  text-align: left;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.hero-deck {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Article Prose Formatting */
.article-content {
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  color: var(--text);
}

.article-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.25;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.article-content ul, 
.article-content ol {
  margin: 1rem 0 1.5rem 1.4rem;
  font-size: 1rem;
  line-height: 1.7;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Figures & Images — Responsive & Adaptive (Zero Overflow / Distortion) */
figure,
.article-hero-fig,
.article-figure {
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 8px;
}
figure img,
.article-hero-fig img,
.article-hero-img,
.article-figure img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
figure figcaption,
.article-hero-fig figcaption,
.article-figure figcaption {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.65rem;
  line-height: 1.5;
  text-align: center;
  padding: 0 0.5rem;
}
@media (max-width: 768px) {
  figure,
  .article-hero-fig,
  .article-figure {
    margin: 1.25rem 0;
  }
  figure img,
  .article-hero-fig img,
  .article-hero-img,
  .article-figure img {
    aspect-ratio: 16 / 10;
    border-radius: 6px;
  }
}

/* ── FACTS BAR COMPONENT ───────────────────────────────────────────────── */
.facts-bar {
  background: var(--bg-dark);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  color: #ffffff;
  margin: 2rem auto;
  max-width: var(--max);
  box-sizing: border-box;
}

.hero-section + .content-container .facts-bar {
  margin-top: -1.5rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.facts-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fact-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.fact-val {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .facts-bar {
    padding: 1.25rem 1rem;
    margin: 1.5rem auto;
  }
  .facts-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .facts-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── HERO COMPONENT ─────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.hero-badge {
  display: inline-block;
  background: rgba(168, 68, 42, 0.95);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-family: var(--mono);
}

/* ── NAV & LOGO ────────────────────────────────────────────────────────── */
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 800;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo-text strong {
  color: var(--accent);
}

.mobile-nav-links {
  list-style: none;
  padding: 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

/* ── FOOTER CONTAINER & GRID ───────────────────────────────────────────── */
.footer-container {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-col-brand {
  padding-right: 1rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-logo strong {
  color: #f7eae4;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.footer-author-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info strong {
  display: block;
  color: #ffffff;
  font-size: 0.88rem;
}

.author-info span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-family: var(--mono);
}

.footer-heading {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── DATA TABLES: DESKTOP & MOBILE CARD RESTRUCTURING ──────────────────── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.data-table th {
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.data-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(247, 234, 228, 0.25);
}

/* Mobile: Data Table transforms into vertical stacked cards */
@media (max-width: 768px) {
  .table-wrap {
    overflow-x: visible;
    margin: 1.5rem 0;
  }
  .data-table thead {
    display: none;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .data-table {
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .data-table tr {
    margin-bottom: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--border);
    text-align: right;
    font-size: 0.92rem;
  }
  .data-table td:last-child {
    border-bottom: none;
  }
  .data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--mono);
    text-align: left;
    padding-right: 1rem;
    flex-shrink: 0;
  }
  /* First column (Castle Name) styled as card headline */
  .data-table td:first-child {
    display: block;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    padding: 0 0 0.75rem 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 0.35rem;
    text-align: left;
  }
  .data-table td:first-child::before {
    display: none;
  }
}

/* ── 4-TOUR COMPARISON TABLE: DESKTOP & MOBILE STACKED CARDS ───────────── */
.cmp-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
}

.cmp-desktop-only {
  display: block;
}

.cmp-mobile-cards {
  display: none;
}

/* Mobile: Comparison Table converts into native card deck */
@media (max-width: 768px) {
  .cmp-scroll-hint {
    display: none !important;
  }
  .cmp-desktop-only {
    display: none !important;
  }
  .cmp-mobile-cards {
    display: flex !important;
    flex-direction: column;
    gap: 1.35rem;
    margin: 1.5rem 0 2rem;
  }
  .cmp-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.35rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
  }
  .cmp-card-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
  }
  .cmp-card-title {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.5rem 0 0.25rem;
    color: var(--text);
  }
  .cmp-card-provider {
    font-size: 0.75rem;
    color: var(--muted);
    font-family: var(--mono);
  }
  .cmp-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.25rem 0;
  }
  .cmp-card-price .cmp-price-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent);
    margin-right: 0.35rem;
  }
  .cmp-card-price .cmp-price-approx {
    font-size: 0.85rem;
    color: var(--muted);
  }
  .cmp-card-duration {
    font-size: 0.82rem;
    font-weight: 700;
    background: var(--bg-alt);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    color: var(--text);
    font-family: var(--mono);
  }
  .cmp-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.88rem;
  }
  .cmp-card-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .cmp-card-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    font-weight: 700;
  }
  .cmp-card-val {
    color: var(--text);
    line-height: 1.5;
  }
  .cmp-card-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .cmp-card-list li {
    margin-bottom: 0.25rem;
  }
  .cmp-card-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    transition: background 0.2s;
    margin-top: 0.5rem;
    box-sizing: border-box;
  }
  .cmp-card-cta-btn:hover {
    background: var(--accent-dk);
  }
}

/* ── FAQ ARROWS & RED FLAGS HELPERS ────────────────────────────────────── */
.faq-arrow {
  font-family: var(--mono);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
  color: var(--muted);
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.flag-text {
  flex: 1;
}
.flag-text strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.cmp-th-tour {
  vertical-align: top;
  padding: 1.25rem 1rem;
}
.chateaux-directory-section {
  margin: 3rem 0;
}


/* ── TOUR CATALOG & PRODUCT CARDS (GYG & TIQETS) ───────────────────────── */
.tour-section {
  margin: 3.5rem 0;
}

.tour-section-header {
  margin-bottom: 2rem;
  text-align: left;
}

.tour-section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tour-section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.tour-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.tour-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.hub-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  background: #f0ede6;
  color: var(--text);
  border-radius: 4px;
}

.provider-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.provider-tag.gyg {
  color: #c94a29;
}

.provider-tag.tiqets {
  color: #0277bd;
}

.tour-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  background: #f7eae4;
  color: var(--accent);
  border: 1px solid rgba(168, 68, 42, 0.2);
}

.tour-title {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
}

.tour-rating {
  color: #e65100;
  font-weight: 700;
}

.tour-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tour-price-from {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--mono);
}

.tour-price-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
}

.tour-price-approx {
  font-size: 0.85rem;
  color: var(--muted);
}

.tour-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  flex-grow: 1;
}

.tour-highlights li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
}

.tour-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e7d32;
  font-weight: 700;
}

.tour-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(168, 68, 42, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.tour-btn:hover {
  background: var(--accent-dk);
}

.tour-btn.tiqets-btn {
  background: #0277bd;
  box-shadow: 0 2px 8px rgba(2, 119, 189, 0.25);
}

.tour-btn.tiqets-btn:hover {
  background: #01579b;
}

/* Online Booking Advantage Callout */
.online-perks-box {
  background: #f0f7ff;
  border: 1px solid #b3d7ff;
  border-left: 4px solid #0066cc;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.online-perks-box h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #004499;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.online-perks-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #1a334d;
  margin-bottom: 0.75rem;
}

.online-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.online-perk-item {
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #d0e4ff;
  font-size: 0.88rem;
  line-height: 1.45;
}

.online-perk-item strong {
  display: block;
  color: #004499;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.provider-tag.viator {
  color: #00875a;
  font-weight: 700;
}

.tour-btn.viator-btn {
  background: #00875a;
  box-shadow: 0 2px 8px rgba(0, 135, 90, 0.25);
}

.tour-btn.viator-btn:hover {
  background: #006644;
}

.tour-btn.gyg-btn {
  background: #c94a29;
  box-shadow: 0 2px 8px rgba(201, 74, 41, 0.25);
}

.tour-btn.gyg-btn:hover {
  background: #a83819;
}

/* ==========================================================================
   INTERACTIVE MAP COMPONENT (LEAFLET + CARTODB VOYAGER)
   ========================================================================== */

.map-section {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e6e4dc;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-header {
  margin-bottom: 1.25rem;
}

.map-header h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.85rem;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.map-header p {
  color: #555550;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.map-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.map-filter-btn {
  appearance: none;
  background: #fafaf8;
  border: 1px solid #d4d0c5;
  color: #2c2a26;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-filter-btn:hover {
  background: #f0ede4;
  border-color: #a8442a;
  color: #a8442a;
}

.map-filter-btn.active {
  background: #a8442a;
  border-color: #a8442a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(168, 68, 42, 0.3);
}

.map-filter-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-all { background: #555; }
.dot-blois { background: #a8442a; }
.dot-amboise { background: #1a6b85; }
.dot-tours { background: #2e7d32; }
.dot-anjou { background: #7b1fa2; }

.map-container-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dedad0;
}

#chateaux-map,
#transport-map,
#wine-map,
#hotels-map,
#paris-daytrips-map,
#loire-master-map,
.interactive-map {
  width: 100%;
  height: 520px;
  background: #f4f2ec;
  z-index: 1;
}

@media (max-width: 768px) {
  #chateaux-map,
  #transport-map,
  #wine-map,
  #hotels-map,
  #paris-daytrips-map,
  #loire-master-map,
  .interactive-map {
    height: 400px;
  }
  .map-section {
    padding: 1rem;
    margin: 1.75rem 0;
  }
  .map-header h2 {
    font-size: 1.45rem;
  }
}

.map-hint-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem;
  background: #fafaf8;
  border-top: 1px solid #dedad0;
  font-size: 0.82rem;
  color: #66645e;
}

/* Custom Leaflet Pin Styling */
.custom-map-marker {
  background: transparent;
  border: none;
}

.custom-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  border: 2px solid #ffffff;
}

.custom-pin:hover {
  transform: rotate(-45deg) scale(1.18);
  filter: brightness(1.12);
  z-index: 1000 !important;
}

.custom-pin-inner {
  transform: rotate(45deg);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-blois { background: #a8442a; }
.pin-amboise { background: #1a6b85; }
.pin-tours { background: #2e7d32; }
.pin-anjou { background: #7b1fa2; }

/* Leaflet Popup Card */
.chateau-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: #ffffff;
}

.chateau-popup .leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4;
  min-width: 250px;
  max-width: 290px;
}

.chateau-popup .map-card-desc {
  font-size: 0.78rem;
  color: #555550;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.leaflet-control-attribution {
  font-size: 0.7rem !important;
  background: rgba(250, 250, 248, 0.85) !important;
  color: #777 !important;
}

.map-card-img-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: #e6e4dc;
}

.map-card-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.map-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(26, 26, 26, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.map-card-body {
  padding: 0.85rem 1rem 1rem;
  background: #ffffff;
}

.map-card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.map-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
  color: #555550;
}

.map-card-price {
  font-weight: 700;
  color: #a8442a;
  font-size: 0.92rem;
}

.map-card-desc {
  font-size: 0.8rem;
  color: #555550;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.map-card-actions {
  display: flex;
  gap: 0.4rem;
}

.map-btn-guide {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.45rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: #2c2a26;
  background: #f0ede4;
  border: 1px solid #dedad0;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.map-btn-guide:hover {
  background: #e6e2d6;
  color: #000;
}

.map-btn-ticket {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.45rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: #ffffff;
  background: #c94a29;
  border: 1px solid #c94a29;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.map-btn-ticket:hover {
  background: #a83819;
}


/* Transport Map Specific Pins & Legend */
.pin-rail { background: #1565c0; }
.pin-parking { background: #a8442a; }
.pin-bike { background: #2e7d32; }
.pin-bus { background: #e65100; }

.dot-rail { background: #1565c0; }
.dot-parking { background: #a8442a; }
.dot-bike { background: #2e7d32; }
.dot-bus { background: #e65100; }

.map-route-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1rem;
  background: #fafaf8;
  border-top: 1px solid #dedad0;
  font-size: 0.8rem;
  color: #444;
}

.route-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.route-legend-line {
  display: inline-block;
  width: 24px;
  height: 4px;
  border-radius: 2px;
}

.line-cycle {
  background: #2e7d32;
  border-bottom: 2px dashed #1b5e20;
}

.line-bus {
  background: #e65100;
  border-bottom: 2px dashed #b23c00;
}

.line-highway {
  background: #c62828;
}



/* Lodging Map Specific Pins & Legend */
.pin-castle-hotel { background: #8e24aa; }
.pin-base-town { background: #1a6b85; }
.pin-town-hotel { background: #a8442a; }

.dot-castle-hotel { background: #8e24aa; }
.dot-base-town { background: #1a6b85; }
.dot-town-hotel { background: #a8442a; }



/* Wine Map Specific Pins & Legend */
.pin-white { background: #c69214; }
.pin-red { background: #880e4f; }
.pin-troglodyte { background: #1a6b85; }
.pin-specialty { background: #a8442a; }

.dot-white { background: #c69214; }
.dot-red { background: #880e4f; }
.dot-troglodyte { background: #1a6b85; }
.dot-specialty { background: #a8442a; }



/* Paris Day Trips Map Specific Pins & Legend */
.pin-tour-loop { background: #1565c0; }
.pin-rail-route { background: #7b1fa2; }
.pin-wine-stop { background: #a8442a; }

.dot-tour-loop { background: #1565c0; }
.dot-rail-route { background: #7b1fa2; }
.dot-wine-stop { background: #a8442a; }

.line-tour-loop {
  background: #1565c0;
  border-bottom: 2px dashed #0d47a1;
}

.line-tgv-rail {
  background: #7b1fa2;
}

.line-ter-rail {
  background: #00897b;
  border-bottom: 2px dashed #004d40;
}



/* Master Overview Map Specific Pins & Legend */
.pin-master-chateau { background: #a8442a; }
.pin-master-town { background: #1a6b85; }
.pin-master-wine { background: #c69214; }

.dot-master-chateau { background: #a8442a; }
.dot-master-town { background: #1a6b85; }
.dot-master-wine { background: #c69214; }

