/* ==========================================================================
   GLAMOUR TOURS EGYPT — Child theme main stylesheet
   Ports the approved HTML preview design system to WordPress.
   Loads after Astra parent — overrides via cascade.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --c-bg: #0F141C;
  --c-bg-soft: #131927;
  --c-surface: #182337;
  --c-surface-raised: #1F2C45;
  --c-turquoise: #4DD8C7;
  --c-turquoise-hover: #3BC6B6;
  --c-gold: #D4B27A;
  --c-gold-soft: #E8C998;
  --c-gold-dim: rgba(212, 178, 122, 0.5);
  --c-text: #F8F5EE;
  --c-text-strong: #FFFFFF;
  --c-text-muted: #C2C9D6;
  --c-text-subtle: #8E97A8;
  --c-border: #2C3A55;
  --c-border-soft: rgba(212, 178, 122, 0.15);
  --c-whatsapp: #25D366;
  --c-whatsapp-deep: #1FAF54;
  --c-coral: #E76F51;

  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px;

  --container: 1280px;
  --header-h: 68px;
  --header-h-mobile: 56px;

  --radius-sm: 4px; --radius: 8px; --radius-lg: 16px; --radius-pill: 999px;
  --t-fast: 150ms ease; --t: 250ms ease; --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- WP base reset / overrides ---------- */
html.glamour-theme,
html:has(body.glamour-theme),
body.glamour-theme {
  overflow-x: hidden;
  max-width: 100%;
}
.glamour-theme {
  font-family: var(--font-body);
  background: var(--c-bg);
  background-image:
    radial-gradient(ellipse 800px 600px at 50% 0%, rgba(212, 178, 122, 0.04), transparent 60%),
    radial-gradient(ellipse 1000px 800px at 100% 100%, rgba(77, 216, 199, 0.025), transparent 60%);
  background-attachment: fixed;
  color: var(--c-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.glamour-theme * { box-sizing: border-box; }
.glamour-theme img, .glamour-theme picture, .glamour-theme video { max-width: 100%; display: block; }
.glamour-theme a { color: inherit; text-decoration: none; }
.glamour-theme ul, .glamour-theme ol { list-style: none; margin: 0; padding: 0; }
.glamour-theme button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* WP admin bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ---------- Astra container neutralization ----------
   Even with `page-builder` content layout, Astra still wraps content in
   #primary / .ast-container / .entry-content with constrained widths and
   padding. We need to stretch those to full-width on Glamour pages so our
   own `.container` is the only width constraint. */
.glamour-theme #primary,
.glamour-theme .site-content,
.glamour-theme .site-content > .ast-container,
.glamour-theme .ast-container,
.glamour-theme .ast-container-fluid,
.glamour-theme .entry-content,
.glamour-theme .entry-content-wrap,
.glamour-theme .ast-article-single,
.glamour-theme .ast-article-post,
.glamour-theme .ast-row,
.glamour-theme .ast-grid-common-col,
.glamour-theme .ast-archive-wrap,
.glamour-theme .ast-archive-post,
.glamour-theme .content-area,
.glamour-theme main#main {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
}

/* Astra 4 uses CSS grid on .ast-container when a sidebar is configured
   (`grid-template-columns: 70% 30%` or similar). Even with #secondary
   display:none, the grid track still reserves the column — leaving an
   empty gutter on the right (and shifting content left visually depending
   on layout direction). Force block layout on our custom templates. */
.glamour-tour-archive .ast-container,
.glamour-tour-single .ast-container,
.glamour-tour-category .ast-container,
.glamour-info-page .ast-container,
.home .ast-container,
.page-template-page-home .ast-container {
  display: block !important;
  grid-template-columns: none !important;
}

/* Hide Astra sidebar on Glamour pages (page-builder layout already does this,
   but belt-and-braces for any plugin that re-enables it). */
.glamour-tour-archive #secondary,
.glamour-tour-single #secondary,
.glamour-tour-category #secondary,
.glamour-info-page #secondary,
.home #secondary,
.page-template-page-home #secondary { display: none !important; }

/* Astra title bar / page header — hide on our custom templates */
.glamour-tour-archive .ast-page-header,
.glamour-tour-single .ast-page-header,
.glamour-tour-category .ast-page-header,
.glamour-info-page .ast-page-header,
.home .ast-page-header,
.page-template-page-home .ast-page-header,
.glamour-tour-archive .ast-archive-description,
.glamour-tour-category .ast-archive-description,
.glamour-tour-single .entry-header,
.glamour-info-page .entry-header,
.glamour-tour-archive .entry-header { display: none !important; }

/* ---------- Typography ---------- */
.glamour-theme h1, .glamour-theme h2, .glamour-theme h3, .glamour-theme h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--c-text);
  margin: 0 0 var(--space-3);
}
.glamour-theme h1 { font-size: clamp(32px, 5vw, 56px); }
.glamour-theme h2 { font-size: clamp(28px, 4vw, 40px); }
.glamour-theme h3 { font-size: clamp(20px, 2.5vw, 26px); }
.glamour-theme h4 { font-size: clamp(18px, 2vw, 22px); }
.glamour-theme p { color: var(--c-text); margin: 0 0 var(--space-3); }
.glamour-theme .muted { color: var(--c-text-muted); }

.glamour-theme .h-display, .glamour-theme .hero-title {
  font-style: italic; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1;
}
.glamour-theme .eyebrow {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--c-gold);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: var(--space-4);
}
.glamour-theme .eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--c-gold); opacity: 0.6;
}

/* ---------- Layout ---------- */
.glamour-theme .container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4); }
.glamour-theme .section { padding: var(--space-7) 0; }
.glamour-theme .section--lg { padding: var(--space-8) 0; }
.glamour-theme .section-snug { padding: var(--space-5) 0 var(--space-7); }
.glamour-theme .section-tinted { background: var(--c-surface); }
@media (max-width: 768px) {
  .glamour-theme .section { padding: var(--space-6) 0; }
  .glamour-theme .section--lg { padding: var(--space-7) 0; }
  .glamour-theme .section-snug { padding: var(--space-4) 0 var(--space-6); }
}

/* ---------- Compact rhythm on the Tour archive + Category pages ----------
   Trim the global section padding (which is tuned for the homepage's long
   scroll) so the All-Tours and Safari-Trips pages don't accumulate dead
   space between the hero, the cards, the cross-category strip, and the
   final CTA. Roughly a 35–50% reduction across every vertical surface. */

/* Hero — shorter min-height so the H1 sits closer to the breadcrumb,
   slim vertical padding inside it. */
.glamour-tour-archive .cat-hero,
.glamour-tour-category .cat-hero {
  min-height: 320px;
  padding: var(--space-5) 0;
}
@media (max-width: 768px) {
  .glamour-tour-archive .cat-hero,
  .glamour-tour-category .cat-hero {
    min-height: 240px;
    padding: var(--space-4) 0;
  }
}

/* Section padding — compact rhythm so the cross-category strip and SEO
   block sit close to the cards above them. */
.glamour-tour-archive .section,
.glamour-tour-category .section {
  padding: var(--space-4) 0;
}
@media (max-width: 768px) {
  .glamour-tour-archive .section,
  .glamour-tour-category .section {
    padding: var(--space-3) 0;
  }
}

/* Final CTA — connected to the cross-category strip directly above it. */
.glamour-tour-archive .final-cta,
.glamour-tour-category .final-cta {
  padding: var(--space-5) 0;
}
@media (max-width: 768px) {
  .glamour-tour-archive .final-cta,
  .glamour-tour-category .final-cta {
    padding: var(--space-4) 0;
  }
}
/* The final-cta paragraph above the WhatsApp button had a fat 32 px bottom
   margin — trim so "Tap below…" hugs its button. */
.glamour-tour-archive .final-cta p,
.glamour-tour-category .final-cta p {
  margin-bottom: var(--space-3);
}

/* Section-heading margin — was 48 px, then 24 px, now 16 px so the category
   crosslinks tiles sit directly below the "Not into safari trips?" heading. */
.glamour-tour-archive .section-heading,
.glamour-tour-category .section-heading {
  margin-bottom: var(--space-3);
}
.glamour-tour-archive .section-heading p,
.glamour-tour-category .section-heading p {
  margin-top: var(--space-2);
}

/* Trust-bar → cards gap (replaces the earlier rule). The trust-bar already
   adds 18 px breathing room above, so the top of the cards section can be
   tight. Bottom keeps a normal gap so cards aren't crammed against the next
   section. */
.glamour-tour-archive .section-snug,
.glamour-tour-category .section-snug {
  padding: var(--space-3) 0 var(--space-5);
}
@media (max-width: 768px) {
  .glamour-tour-archive .section-snug,
  .glamour-tour-category .section-snug {
    padding: var(--space-2) 0 var(--space-4);
  }
}

/* Filter bar — slim it down (it was using --space-4 = 24 px each side). */
.glamour-tour-category .filter-bar {
  padding: var(--space-2) 0;
}

/* ---------- Section heading ---------- */
.section-heading { margin-bottom: var(--space-6); }
.section-heading h2 { position: relative; display: inline-block; }
.section-heading h2::after {
  content: ''; display: block; width: 64px; height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent); margin-top: var(--space-3);
}
.section-heading.center { text-align: center; }
.section-heading.center h2::after {
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  width: 96px; margin-left: auto; margin-right: auto;
}
.section-heading p { color: var(--c-text-muted); font-size: 16px; margin-top: var(--space-3); max-width: 560px; }
.section-heading.center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2); padding: 14px 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all var(--t); border: 1px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-whatsapp {
  background: linear-gradient(180deg, #1EA855 0%, #178946 100%);
  color: #fff; letter-spacing: 0.6px; font-weight: 600;
  border: 1px solid rgba(23, 137, 70, 0.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.22) inset,
    0 4px 14px rgba(23, 137, 70, 0.28);
}
.btn-whatsapp:hover {
  background: linear-gradient(180deg, #22B85B 0%, #1A9A4F 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.22) inset,
    0 8px 22px rgba(23, 137, 70, 0.4);
  color: #fff;
}
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp-large { padding: 18px 36px; font-size: 14px; letter-spacing: 1.2px; }
.btn-outline {
  background: transparent; border-color: rgba(212, 178, 122, 0.4);
  color: var(--c-gold); letter-spacing: 0.6px; font-weight: 500;
}
.btn-outline:hover {
  background: rgba(212, 178, 122, 0.08); border-color: var(--c-gold); color: var(--c-gold-soft);
}
.btn-gold { background: var(--c-gold); color: var(--c-bg); }
.btn-gold:hover { background: var(--c-gold-soft); }
.btn-ghost {
  color: var(--c-text-muted); padding: 8px 0; letter-spacing: 0.5px; font-size: 13px;
}
.btn-ghost:hover { color: var(--c-gold); }
.btn-ghost::after { content: '→'; margin-left: var(--space-2); transition: transform var(--t); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---------- Site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 20, 28, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4);
  height: var(--header-h); display: flex; align-items: center; gap: var(--space-5);
}
.site-logo { display: inline-flex; align-items: center; gap: var(--space-2); flex-shrink: 0; line-height: 0; }
.site-logo__fallback {
  font-family: var(--font-heading); font-weight: 600; font-size: 18px;
  letter-spacing: 1px; color: var(--c-text); line-height: 1;
}
/* Header brand mark — circular badge on a dark (black) square canvas. Even
   though the canvas is dark, we still clip to a circle so the badge edge
   blends seamlessly into the header background regardless of the theme's
   exact black value. The badge itself stays fully intact. */
.header-logo {
  display: block;
  max-height: 58px;
  height: 58px;
  width: 58px;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  background: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.55));
  transition: transform var(--t);
}
.site-logo:hover .header-logo { transform: scale(1.04); }
@media (max-width: 1024px) { .header-logo { height: 52px; width: 52px; max-height: 52px; } }
@media (max-width: 640px)  { .header-logo { height: 44px; width: 44px; max-height: 44px; } }

.header-logo--drawer { height: 44px; width: 44px; max-height: 44px; }

/* Legacy classes kept as inert no-ops in case any template part still emits them */
.site-logo__mark { display: none; }
.site-logo__text { display: none; }
.site-nav {
  display: flex; align-items: center;
  flex: 1; min-width: 0;
  /* Center the nav on the header row */
  justify-content: center;
}
.site-nav__list {
  display: flex; align-items: center;
  gap: var(--space-5);
  list-style: none; margin: 0; padding: 0;
}
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--c-text);
  padding: var(--space-2) 0;
  transition: color var(--t);
  white-space: nowrap;
}
.site-nav__list > li > a:hover,
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current-menu-ancestor > a { color: var(--c-gold); }

/* Chevron on parent items with children */
.site-nav__list > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
  transition: transform var(--t);
}
.site-nav__list > li.menu-item-has-children:hover > a::after,
.site-nav__list > li.menu-item-has-children:focus-within > a::after { transform: rotate(180deg); }

/* Desktop dropdown — premium dark panel with gold accent */
.site-nav__list .sub-menu {
  position: absolute;
  top: 100%; left: -16px;
  min-width: 220px;
  background: rgba(15, 20, 28, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 178, 122, 0.25);
  border-radius: var(--radius);
  padding: 8px 0;
  margin: 8px 0 0; /* gap from the trigger to avoid hover flicker */
  list-style: none;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 110;
}
.site-nav__list .sub-menu::before {
  content: ''; position: absolute;
  top: -1px; left: 28%; right: 28%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  opacity: 0.7;
}
.site-nav__list > li:hover > .sub-menu,
.site-nav__list > li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-nav__list .sub-menu > li { display: block; }
.site-nav__list .sub-menu > li > a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  color: var(--c-text);
  border-left: 2px solid transparent;
  transition: color 160ms, background 160ms, border-color 160ms, padding 160ms;
  white-space: nowrap;
}
.site-nav__list .sub-menu > li > a:hover,
.site-nav__list .sub-menu > li.current-menu-item > a {
  color: var(--c-gold);
  background: rgba(212, 178, 122, 0.06);
  border-left-color: var(--c-gold);
  padding-left: 22px;
}
.site-header__actions {
  display: flex; align-items: center; gap: var(--space-3);
  margin-left: auto; flex-shrink: 0;
}
/* Future-ready language switcher — static pills until translation exists. */
.lang-switcher {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--c-text-muted);
}
.lang-switcher__list {
  list-style: none; margin: 0; padding: 0;
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px;
}
.lang-pill,
.lang-switcher__list li > a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; padding: 4px 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  line-height: 1; text-decoration: none;
  border-radius: var(--radius-pill); border: 1px solid var(--c-border-soft);
  background: rgba(24, 35, 55, 0.5); color: var(--c-text-muted);
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.lang-pill.is-active,
.lang-switcher__list .current-lang > a {
  color: var(--c-gold); border-color: rgba(212, 178, 122, 0.55);
  background: rgba(212, 178, 122, 0.12);
}
.lang-pill.is-upcoming { opacity: 0.45; cursor: not-allowed; }
.lang-switcher__list li > a:hover { color: var(--c-gold); border-color: rgba(212, 178, 122, 0.4); }
.menu-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1px solid var(--c-border);
}
.menu-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--c-text); position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--c-text);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
@media (max-width: 1024px) {
  .site-nav,
  .site-nav__list { display: none; }
  .menu-toggle { display: flex; }
  /* Hide only the HEADER switcher on mobile — the drawer one stays visible. */
  .site-header__actions .lang-switcher { display: none; }
}
@media (max-width: 640px) {
  .site-header__inner { height: var(--header-h-mobile); }
  .site-logo__text small { display: none; }
  .site-logo__text { font-size: 16px; }
  .btn-whatsapp-header { display: none; }
}

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--c-bg);
  transform: translateX(100%); transition: transform var(--t-slow);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--c-border);
  height: var(--header-h-mobile);
}
.mobile-drawer__close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--c-text); }
.mobile-drawer__nav {
  display: flex; flex-direction: column;
  padding: var(--space-5) var(--space-4);
}
.mobile-drawer__list,
.mobile-drawer__nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.mobile-drawer__list > li { display: block; }
.mobile-drawer__list > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) 0;
  font-family: var(--font-heading); font-size: 22px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.mobile-drawer__list > li > a:hover,
.mobile-drawer__list > li.current-menu-item > a,
.mobile-drawer__list > li.current-menu-ancestor > a { color: var(--c-gold); }

/* Chevron + accordion behavior for parent items with children */
.mobile-drawer__list > li.menu-item-has-children > a::after {
  content: '▾';
  font-size: 16px; color: var(--c-gold);
  margin-left: 12px;
  transition: transform 200ms ease;
}
.mobile-drawer__list > li.menu-item-has-children.is-open > a::after { transform: rotate(180deg); }

.mobile-drawer__list .sub-menu {
  display: none;
  list-style: none; margin: 0 0 8px; padding: 4px 0 4px 16px;
  border-left: 2px solid rgba(212, 178, 122, 0.25);
}
.mobile-drawer__list > li.menu-item-has-children.is-open > .sub-menu { display: block; }
.mobile-drawer__list .sub-menu > li > a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  color: var(--c-text-muted);
  border-bottom: 0;
}
.mobile-drawer__list .sub-menu > li > a:hover,
.mobile-drawer__list .sub-menu > li.current-menu-item > a { color: var(--c-gold); }
.mobile-drawer__lang {
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--space-4); margin-top: auto;
  border-top: 1px solid var(--c-border);
}
.mobile-drawer__lang-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--c-text-muted);
}
.lang-switcher--drawer .lang-switcher__list { gap: 8px; }
.lang-switcher--drawer .lang-pill,
.lang-switcher--drawer .lang-switcher__list li > a { min-width: 44px; padding: 8px 14px; font-size: 13px; }
/* When the language block is present, the CTA no longer needs the auto top-margin. */
.mobile-drawer__lang + .mobile-drawer__cta { margin-top: 0; padding-top: var(--space-3); }
.mobile-drawer__cta { padding: var(--space-4); margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 720px;
  display: flex; align-items: center; overflow: hidden;
}
@media (max-width: 768px) { .hero { min-height: 600px; } }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(15,20,28,0.55) 80%);
  pointer-events: none; z-index: 0;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { 0% { transform: scale(1) translateX(0); } 100% { transform: scale(1.07) translateX(-1%); } }
.hero__content { position: relative; max-width: 820px; z-index: 2; padding: var(--space-8) 0; }
.hero__content .eyebrow { color: var(--c-gold); }
.hero h1.hero-title {
  font-size: clamp(40px, 6.5vw, 76px); line-height: 1.05; margin-bottom: var(--space-5);
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  font-style: italic; font-weight: 700;
}
.hero__subtitle {
  font-size: 20px; line-height: 1.55; color: rgba(248, 245, 238, 0.88);
  max-width: 600px; margin-bottom: var(--space-7); font-weight: 400;
}
@media (max-width: 768px) { .hero__subtitle { font-size: 17px; margin-bottom: var(--space-6); } }
.hero__gold-underline {
  display: block; width: 96px; height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent); margin: var(--space-5) 0;
}
.hero__cta-row { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-6); }
.hero__category-pills { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; padding: 10px 20px;
  border-radius: var(--radius-pill); border: 1px solid rgba(212, 178, 122, 0.25);
  background: rgba(24, 35, 55, 0.55); color: var(--c-text);
  font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
  transition: all var(--t); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pill:hover { border-color: var(--c-gold); background: rgba(212, 178, 122, 0.1); color: var(--c-gold-soft); transform: translateY(-1px); }
.hero__review-badge {
  margin-top: var(--space-6); display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--c-text-muted); font-size: 13px; letter-spacing: 0.5px;
}
.hero__review-badge .stars { color: var(--c-gold); letter-spacing: 2px; }
.hero__review-badge .hero__review-rank {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--c-gold);
  letter-spacing: 0.4px;
  opacity: 0.9;
}

/* Sub-line ranking under cat-hero meta (Tours archive, About) */
.cat-hero__rank {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-gold);
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* (Removed: .footer-contact-line--sub. All contact rows now share the same
   icon-grid layout; the TripAdvisor ranking is a normal row.) */

/* Footer "Tour assistance" line — label and code group sit on the same row
   when there's room, else the codes wrap to a new line as ONE unbreakable
   block so we never end up with a lone "RU" on its own row. */
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  font-size: 13.5px;
  line-height: 1.5;
}
.footer-langs__label {
  color: rgba(248, 245, 238, 0.7);
  letter-spacing: 0.2px;
}
.footer-langs__codes {
  white-space: nowrap;
  color: var(--c-gold);
  letter-spacing: 0.5px;
  font-weight: 500;
  opacity: 0.95;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: linear-gradient(180deg, rgba(24, 35, 55, 0.95), rgba(24, 35, 55, 0.85));
  border-top: 1px solid rgba(212, 178, 122, 0.3);
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0; overflow-x: auto; position: relative;
}
.trust-bar::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.trust-bar__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--c-text); white-space: nowrap;
  letter-spacing: 0.2px; font-weight: 400;
}
.trust-item::before {
  content: ''; width: 5px; height: 5px; background: var(--c-gold); border-radius: 50%; flex-shrink: 0;
}
@media (max-width: 768px) {
  .trust-bar__inner { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .trust-bar__inner::-webkit-scrollbar { display: none; }
  .trust-item { font-size: 12.5px; }
}

/* ---------- Tour card ---------- */
.tour-card {
  background: var(--c-surface-raised); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all var(--t-slow);
  display: flex; flex-direction: column; position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.tour-card::before {
  content: ''; position: absolute; top: 0; left: 50%; right: 50%; height: 2px;
  background: var(--c-gold); transition: all var(--t-slow); z-index: 3; opacity: 0;
}
.tour-card:hover::before { left: 0; right: 0; opacity: 1; }
.tour-card:hover {
  transform: translateY(-6px); border-color: rgba(212, 178, 122, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 178, 122, 0.15);
}
.tour-card__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, #243454 0%, #1A2538 100%);
}
.tour-card__media::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(212, 178, 122, 0.08), transparent 60%); z-index: 0;
}
.tour-card__media img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; transition: transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-card:hover .tour-card__media img { transform: scale(1.08); }
.tour-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,20,28,0.75) 100%);
  pointer-events: none; z-index: 1;
}
/* Badges container — flex row pinned to the top of the media. Children flow
   left-to-right with auto margins so FEATURED hugs the left and the flag
   hugs the right (matching the original visual). flex-wrap means that if
   the card is too narrow to hold both badges side-by-side, the flag wraps
   to a second row instead of overlapping the featured badge. */
.tour-card__badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  flex-wrap: wrap;
  z-index: 2;
  pointer-events: none;
}
.tour-card__badges > * { pointer-events: auto; }

.tour-card__featured {
  margin-right: auto; /* Pushes the flag to the right when both are present */
  background: rgba(15, 20, 28, 0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--c-gold); color: var(--c-gold);
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  padding: 5px 12px; border-radius: var(--radius-sm); text-transform: uppercase;
  max-width: 100%;
}
.tour-card__flag {
  margin-left: auto; /* Keeps flag pinned to right edge even when alone */
  background: rgba(231, 111, 81, 0.9); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 8px; border-radius: var(--radius-sm); text-transform: uppercase;
  max-width: 100%;
}
.tour-card__flag.flag-temp { background: rgba(212, 178, 122, 0.9); color: var(--c-bg); }

/* Phone-size badges — slightly smaller so they're less likely to wrap and
   read better in the smaller card frame. */
@media (max-width: 480px) {
  .tour-card__badges { top: 10px; left: 10px; right: 10px; gap: 6px; }
  .tour-card__featured { font-size: 9px; letter-spacing: 2px; padding: 4px 9px; }
  .tour-card__flag { font-size: 8.5px; letter-spacing: 1.2px; padding: 3px 7px; }
}
.tour-card__price-tag {
  position: absolute; bottom: var(--space-3); right: var(--space-3);
  background: rgba(15, 20, 28, 0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--c-gold); color: var(--c-gold);
  padding: 8px 14px; border-radius: var(--radius); font-weight: 600; z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1; min-width: 92px;
}
.tour-card__price-tag .from {
  font-family: var(--font-heading); font-style: italic; font-size: 11px;
  font-weight: 500; opacity: 0.85; margin-bottom: 2px;
}
.tour-card__price-tag .price {
  font-family: var(--font-heading); font-style: italic; font-size: 24px;
  line-height: 1; font-weight: 700; letter-spacing: -0.3px;
}
.tour-card__price-tag .was {
  font-size: 12px; text-decoration: line-through; opacity: 0.55;
  margin-left: 6px; font-weight: 400; font-style: normal; font-family: var(--font-body);
}
.tour-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.tour-card__category {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--c-gold);
}
.tour-card__title {
  font-family: var(--font-heading); font-size: 24px; font-weight: 600;
  color: var(--c-text); line-height: 1.15; letter-spacing: -0.2px;
}
.tour-card__title-line { width: 36px; height: 1px; background: var(--c-gold); opacity: 0.7; }
.tour-card__rating { font-size: 13px; color: var(--c-text-muted); letter-spacing: 0.2px; }
.tour-card__rating .stars { color: var(--c-gold); letter-spacing: 2px; margin-right: 4px; }
.tour-card__meta {
  display: flex; gap: 14px; font-size: 13.5px;
  color: rgba(248, 245, 238, 0.78); flex-wrap: wrap; letter-spacing: 0.2px;
}
.tour-card__excerpt {
  font-size: 14.5px; color: rgba(248, 245, 238, 0.78); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tour-card__actions {
  /* minmax(0, ...) so tracks can shrink below their content's min-content size
     (default grid track min-width is `auto`, which combined with .btn's
     white-space: nowrap + uppercase forces overflow and gets clipped by
     .tour-card { overflow: hidden }). */
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-2);
  margin-top: auto; padding-top: var(--space-4);
  border-top: 1px solid rgba(212, 178, 122, 0.12);
}
.tour-card__actions .btn {
  min-width: 0;
  padding: 12px 10px; font-size: 12px; letter-spacing: 0.3px;
  /* Whitespace handling — keep text on one line but allow truncation as a
     last resort instead of breaking out of the card. */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Poster-style tour cards ----------
   For tours whose featured image is one of the glamour-card-*.png composites.
   These images already render their own logo + title + highlights + CTA
   inside the artwork, so we hide only what *overlays the image* (badges,
   price tag) plus the duplicate long excerpt. The category label, tour title,
   rating, short meta, and the Details + WhatsApp action buttons all stay so
   the card still clearly identifies the tour underneath the poster. */
.tour-card--poster .tour-card__badges,
.tour-card--poster .tour-card__price-tag,
.tour-card--poster .tour-card__excerpt,
.tour-card--poster .tour-card__langs {
  display: none !important;
}

/* Match the poster's native 16:9 ratio so the artwork is shown in full —
   no top/bottom crop that would clip the "Book on WhatsApp" CTA baked
   into the bottom of the poster. */
.tour-card--poster .tour-card__media {
  aspect-ratio: 16 / 9;
  background: var(--c-bg);
}
.tour-card--poster .tour-card__media img {
  object-fit: cover; /* 16:9 image in 16:9 frame — no crop */
}
/* Dark gradient overlay was added so the price tag stayed legible above the
   photo. With the price tag hidden, it'd only dim the in-image CTA. */
.tour-card--poster .tour-card__media::after { display: none !important; }
/* No hover zoom — the artwork has edge-near text and a CTA button; any
   scale-up would crop them. The card's translate-up lift is preserved. */
.tour-card--poster:hover .tour-card__media img { transform: none !important; }

/* Body — keep the standard rhythm so the tour title + rating + meta + buttons
   read clearly, but with slightly tighter padding because the poster already
   carries a lot of visual weight. */
.tour-card--poster .tour-card__body {
  padding: var(--space-3) var(--space-4) var(--space-4);
  gap: 8px;
}
@media (max-width: 480px) {
  .tour-card--poster .tour-card__body { padding: 12px 14px 14px; gap: 6px; }
  .tour-card--poster .tour-card__title { font-size: 19px; }
}

/* In-body price row — used on poster cards (because their image overlay
   .tour-card__price-tag is hidden, the price has to live in the body).
   On regular cards we keep the image-overlay price tag and hide this. */
.tour-card__body-price { display: none; }
.tour-card--poster .tour-card__body-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 2px;
}
.tour-card__body-price__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.tour-card__body-price__current {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.2px;
  color: var(--c-gold);
}
.tour-card__body-price__was {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--c-text-muted);
  text-decoration: line-through;
  opacity: 0.65;
}
@media (max-width: 480px) {
  .tour-card__body-price__current { font-size: 20px; }
  .tour-card__body-price__was { font-size: 12px; }
}

/* ---------- Tour grid ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.tour-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tour-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }

/* Archive grid — used on /tours/ and category pages.
   3 cols desktop, 2 cols tablet, 1 col mobile.
   Selector is `.tour-grid.tour-grid--archive` (specificity 0,2,0) so it
   beats `.tour-grid` (0,1,0) inside the 480px breakpoint regardless of
   source order. */
.tour-grid.tour-grid--archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1200px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) {
  .tour-grid.tour-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
}
@media (max-width: 900px)  { .tour-grid, .tour-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .tour-grid.tour-grid--archive { grid-template-columns: 1fr; gap: var(--space-4); }
  /* Constrain individual archive cards so a single-column stretch doesn't
     produce one giant phone-width card. Centered via auto margins. */
  .tour-card--archive { max-width: 420px; margin-left: auto; margin-right: auto; width: 100%; }
}
@media (max-width: 480px) {
  .tour-grid, .tour-grid--3, .tour-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tour-card__body { padding: 14px; gap: 10px; }
  .tour-card__title { font-size: 17px; line-height: 1.2; }
  .tour-card--archive .tour-card__title { font-size: 21px; }
  .tour-card__excerpt { display: none; }
  .tour-card--archive .tour-card__excerpt { display: -webkit-box; }
  .tour-card__meta { font-size: 12.5px; gap: 10px; line-height: 1.4; }
  .tour-card__rating { font-size: 12.5px; }
  .tour-card__category { font-size: 10px; letter-spacing: 1.8px; }
  .tour-card__price-tag { padding: 7px 11px; bottom: 10px; right: 10px; min-width: 78px; }
  .tour-card__price-tag .price { font-size: 18px; }
  .tour-card__price-tag .from { font-size: 10px; }
  .tour-card__price-tag .was { font-size: 11px; }
  .tour-card__actions { grid-template-columns: 1fr; padding-top: 12px; gap: 8px; }
  .tour-card--archive .tour-card__actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
  .tour-card__actions .btn { padding: 13px 10px; font-size: 12px; min-height: 44px; }
  /* Mobile-tighter body padding for archive cards so content has room. */
  .tour-card--archive .tour-card__body { padding: 16px; gap: 10px; }
}

/* Archive-card sizing — let cards breathe horizontally so they don't read
   as tall slivers. Slightly tighter vertical padding and excerpt cap keeps
   total card height in check. */
.tour-card--archive { min-width: 0; }
/* Keep the default 16/10 media ratio — flatter image keeps total card height down. */
.tour-card--archive .tour-card__body { padding: var(--space-4); gap: var(--space-2); }
.tour-card--archive .tour-card__title { font-size: 22px; line-height: 1.2; }
.tour-card--archive .tour-card__excerpt {
  font-size: 14px; -webkit-line-clamp: 2;
}
.tour-card--archive .tour-card__meta { font-size: 13px; gap: 12px; }
.tour-card--archive .tour-card__actions { padding-top: var(--space-3); }

/* Belt-and-braces: prevent horizontal scroll on the archive page even if
   a child element exceeds its column track. */
.glamour-tour-archive,
.glamour-tour-category { overflow-x: hidden; }
.glamour-tour-archive .tour-grid--archive > *,
.glamour-tour-category .tour-grid--archive > * { min-width: 0; }
.section-footer-link { text-align: center; margin-top: var(--space-6); }

/* ---------- Category sections (homepage) ---------- */
.cat-section { position: relative; padding: var(--space-7) 0; }
.cat-section::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  background-size: cover; background-position: center; pointer-events: none;
}
.cat-section .container { position: relative; z-index: 1; }
@media (max-width: 768px) { .cat-section { padding: var(--space-6) 0; } }

/* ---------- Why book grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-tile {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: var(--space-5);
  text-align: left; transition: all var(--t);
}
.why-tile:hover { border-color: var(--c-gold); }
.why-tile__icon { width: 32px; height: 32px; color: var(--c-gold); margin-bottom: var(--space-3); }
.why-tile__title { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: var(--space-2); }
.why-tile__text { font-size: 13px; color: var(--c-text-muted); }
@media (max-width: 480px) { .why-tile { padding: var(--space-3); } .why-tile__title { font-size: 16px; } }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-surface-raised) 100%);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: var(--space-5); position: relative; transition: all var(--t);
}
.testimonial:hover { border-color: rgba(212, 178, 122, 0.4); transform: translateY(-2px); }
.testimonial::before {
  content: '"'; position: absolute; top: var(--space-2); left: var(--space-4);
  font-family: var(--font-heading); font-size: 80px; font-style: italic;
  color: var(--c-gold); opacity: 0.4; line-height: 1;
}
.testimonial .stars { color: var(--c-gold); letter-spacing: 3px; margin-bottom: var(--space-3); position: relative; }
.testimonial__quote {
  font-family: var(--font-heading); font-size: 20px; line-height: 1.4;
  font-style: italic; margin-bottom: var(--space-4); position: relative;
}
.testimonial__author { font-size: 13px; color: var(--c-text-muted); }
.testimonial__author strong { color: var(--c-text); font-weight: 600; }
.review-badges {
  display: flex; justify-content: center; align-items: center;
  gap: var(--space-5); margin-top: var(--space-6); flex-wrap: wrap;
}
.review-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-4); border: 1px solid var(--c-border);
  border-radius: var(--radius); background: var(--c-surface); font-size: 13px;
}
.review-badge strong { color: var(--c-gold); }

/* ---------- How booking works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: var(--space-4); position: relative; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-surface); border: 2px solid var(--c-gold);
  margin: 0 auto var(--space-3); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 28px; font-style: italic; color: var(--c-gold);
}
.step__title { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: var(--space-2); }
.step__text { color: var(--c-text-muted); font-size: 14px; max-width: 260px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); }
.faq details {
  background: rgba(15, 20, 28, 0.5); border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden; transition: border-color var(--t), background var(--t);
}
.faq details:hover { border-color: rgba(212, 178, 122, 0.45); }
.faq details[open] { border-color: var(--c-gold); background: rgba(24, 35, 55, 0.5); }
.faq summary {
  padding: var(--space-4) var(--space-5); cursor: pointer;
  font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--c-text);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-3); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* circular +/- badge so each row clearly reads as an accordion control */
.faq summary::after {
  content: '+'; flex: 0 0 auto;
  width: 28px; height: 28px; line-height: 26px; text-align: center;
  border: 1px solid rgba(212, 178, 122, 0.5); border-radius: 50%;
  font-size: 20px; color: var(--c-gold); font-weight: 300;
  transition: transform var(--t), background var(--t), color var(--t);
}
.faq summary:hover::after { background: rgba(212, 178, 122, 0.12); }
.faq details[open] summary::after { content: '\2013'; transform: rotate(0deg); background: var(--c-gold); color: var(--c-bg); }
.faq__answer { padding: 0 var(--space-5) var(--space-4); color: var(--c-text-muted); font-size: 15px; line-height: 1.75; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; padding: var(--space-8) 0; text-align: center; overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
  animation: kenburns 28s ease-in-out infinite alternate;
}
.final-cta::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(15,20,28,0.55) 90%); z-index: 0;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(32px, 4.5vw, 52px); margin-bottom: var(--space-3);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.final-cta p { color: rgba(248, 245, 238, 0.88); font-size: 17px; margin-bottom: var(--space-5); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-surface); border-top: 1px solid var(--c-border);
  padding: var(--space-6) 0 var(--space-3);
  margin-bottom: 60px; position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 160px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent); opacity: 0.5;
}
@media (min-width: 769px) { .site-footer { margin-bottom: 0; } }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-4); margin-bottom: var(--space-5);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.footer-col h4 {
  font-family: var(--font-heading); font-size: 17px; font-weight: 600;
  color: var(--c-gold); margin-bottom: 10px; letter-spacing: 0.3px;
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a {
  font-size: 13.5px; color: rgba(248, 245, 238, 0.7);
  transition: color var(--t); letter-spacing: 0.2px;
}
.footer-col ul a:hover { color: var(--c-gold); }
.footer-tagline {
  font-family: var(--font-heading); font-style: italic; font-size: 15px;
  line-height: 1.4; color: var(--c-text); margin-bottom: 10px; max-width: 280px;
}
.footer-social { display: flex; gap: 10px; margin-bottom: 10px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--c-border); display: inline-flex;
  align-items: center; justify-content: center; color: var(--c-gold);
  font-size: 13px; font-weight: 600; transition: all var(--t);
}
.footer-social a:hover { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); }
.footer-license {
  font-size: 12.5px; color: rgba(248, 245, 238, 0.75);
  letter-spacing: 0.3px; margin-top: 6px; font-weight: 400;
}

/* Trust signals under the brand column (TripAdvisor rating + ranking).
   Sits below the license line; reuses .footer-contact-line so the icon
   column stays aligned across the whole footer. */
.footer-trust {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(212, 178, 122, 0.18);
  max-width: 320px;
}
/* Footer contact / trust rows — fixed-width icon column, text wraps within
   its own track so a second visual line never slides under the icon and
   the medal can't end up alone. */
.footer-contact-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(248, 245, 238, 0.75);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.footer-contact-line__icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 22px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--c-gold);
}
.footer-contact-line__text { min-width: 0; }
.footer-contact-line strong { color: var(--c-text); font-weight: 500; }
.footer-contact-line a { color: inherit; }
.footer-contact-line a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid var(--c-border); padding-top: var(--space-3);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(248, 245, 238, 0.6);
  flex-wrap: wrap; gap: 10px; letter-spacing: 0.2px;
}
.footer-payments { display: flex; gap: var(--space-2); align-items: center; }
.payment-icon {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  color: var(--c-text-muted); letter-spacing: 0.5px;
}
@media (max-width: 480px) {
  .site-footer { padding: var(--space-5) 0 var(--space-3); }
  .footer-grid { margin-bottom: var(--space-4); gap: 18px; }
}

/* ---------- Sticky mobile WhatsApp bar ---------- */
.sticky-whatsapp {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: linear-gradient(180deg, #1EA855 0%, #178946 100%);
  color: #fff; padding: 15px var(--space-3) calc(15px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2); font-weight: 600; font-size: 14px;
  letter-spacing: 0.8px; text-transform: uppercase;
  border-top: 1px solid rgba(212, 178, 122, 0.25);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
@media (min-width: 769px) { .sticky-whatsapp { display: none; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: var(--space-4) 0; font-size: 13px;
  color: var(--c-text-muted); border-bottom: 1px solid var(--c-border);
}
.breadcrumbs a { color: var(--c-text-muted); transition: color var(--t); }
.breadcrumbs a:hover { color: var(--c-gold); }
.breadcrumbs .sep { margin: 0 var(--space-2); color: var(--c-border); }
.breadcrumbs .current { color: var(--c-gold); }

/* ---------- Category page hero ---------- */
.cat-hero {
  position: relative; padding: var(--space-7) 0 var(--space-7); text-align: center;
  overflow: hidden; background-color: var(--c-bg);
  min-height: 480px; display: flex; align-items: center;
}
@media (max-width: 768px) { .cat-hero { min-height: 420px; padding: var(--space-6) 0; } }
.cat-hero::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  z-index: 0; animation: catkenburns 24s ease-in-out infinite alternate;
}
.cat-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(15,20,28,0.5) 80%); z-index: 0;
}
@keyframes catkenburns { 0% { transform: scale(1); } 100% { transform: scale(1.06); } }
.cat-hero .container { position: relative; z-index: 1; }
.cat-hero h1 {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(42px, 6.5vw, 72px); margin-bottom: var(--space-3);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.cat-hero .gold-line {
  width: 96px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  margin: var(--space-4) auto;
}
.cat-hero__intro {
  max-width: 660px; margin: 0 auto var(--space-4);
  color: rgba(248, 245, 238, 0.88); font-size: 18px; line-height: 1.6;
}
.cat-hero__meta { font-size: 13px; color: var(--c-text-muted); letter-spacing: 0.8px; }
.cat-hero__meta .stars { color: var(--c-gold); letter-spacing: 3px; }

/* ---------- Filter bar ---------- */
.filter-bar {
  padding: var(--space-4) 0; border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.filter-chip {
  padding: 10px 18px; border: 1px solid rgba(212, 178, 122, 0.2);
  border-radius: var(--radius-pill); background: rgba(24, 35, 55, 0.4);
  color: var(--c-text-muted); font-size: 13px; font-weight: 500;
  letter-spacing: 0.4px; cursor: pointer; transition: all var(--t);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.filter-chip:hover { border-color: rgba(212, 178, 122, 0.5); color: var(--c-gold-soft); background: rgba(212, 178, 122, 0.06); }
.filter-chip.active {
  background: rgba(212, 178, 122, 0.12); border-color: var(--c-gold); color: var(--c-gold);
  box-shadow: 0 0 0 1px rgba(212, 178, 122, 0.3);
}
.filter-bar__sort { margin-left: auto; font-size: 13px; color: var(--c-text-muted); letter-spacing: 0.3px; }
@media (max-width: 480px) { .filter-chip { padding: 9px 14px; font-size: 12.5px; } .filter-bar__sort { display: none; } }

/* ---------- SEO + Cross-category strip ---------- */
.seo-block { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.8; color: var(--c-text-muted); }
.seo-block p { margin-bottom: var(--space-3); }
/* ---------- Category visual slider (cross-category strip) ---------- */
.cat-slider-section { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.cat-slider {
  position: relative;
  margin-top: var(--space-3);
}
.cat-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  /* a touch of side padding so the focus-ring of an active slide isn't clipped */
  padding: 2px;
  margin: -2px;
}
.cat-slider__track {
  display: flex;
  gap: var(--space-3);
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.cat-slider__slide {
  flex: 0 0 calc((100% - 2 * var(--space-3)) / 3); /* 3 visible on desktop */
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  min-width: 0;
}
.cat-slider__slide:hover {
  border-color: rgba(212, 178, 122, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}
.cat-slider__slide.is-current {
  border-color: rgba(212, 178, 122, 0.6);
  box-shadow: 0 0 0 1px rgba(212, 178, 122, 0.3);
}
.cat-slider__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg);
}
.cat-slider__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.cat-slider__slide:hover .cat-slider__media img { transform: scale(1.04); }
.cat-slider__body {
  padding: var(--space-3) var(--space-4);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.cat-slider__title {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 600;
  color: var(--c-text);
  margin: 0;
  letter-spacing: 0.2px;
}
.cat-slider__cta {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  white-space: nowrap;
}

/* Prev / next arrows — vertically centered on the viewport */
.cat-slider__btn {
  position: absolute;
  top: 35%;            /* image center, not whole-card center, looks better */
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(15, 20, 28, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 178, 122, 0.4);
  color: var(--c-gold);
  font-size: 28px; line-height: 1; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 200ms, border-color 200ms, transform 200ms;
  z-index: 3;
  padding: 0 0 4px; /* nudge the chevron glyph optical-center up a hair */
}
.cat-slider__btn:hover {
  background: rgba(15, 20, 28, 0.96);
  border-color: var(--c-gold);
  transform: translateY(-50%) scale(1.05);
}
.cat-slider__btn--prev { left: -22px; }
.cat-slider__btn--next { right: -22px; }
@media (max-width: 768px) {
  .cat-slider__btn--prev { left: 8px; }
  .cat-slider__btn--next { right: 8px; }
}

/* When all slides fit in the visible viewport, the JS adds .cat-slider--no-nav
   and we hide the chevrons + pagination dots (nothing to navigate to). */
.cat-slider--no-nav .cat-slider__btn,
.cat-slider--no-nav .cat-slider__dots { display: none; }

/* Dots */
.cat-slider__dots {
  display: flex; justify-content: center;
  gap: 10px;
  margin-top: var(--space-3);
}
.cat-slider__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(212, 178, 122, 0.3);
  border: 0; padding: 0; cursor: pointer;
  transition: background 200ms, transform 200ms;
}
.cat-slider__dot:hover { background: rgba(212, 178, 122, 0.6); }
.cat-slider__dot.is-active {
  background: var(--c-gold);
  transform: scale(1.4);
}

/* Tablet → 2 slides per view */
@media (max-width: 1024px) {
  .cat-slider__slide {
    flex: 0 0 calc((100% - 1 * var(--space-3)) / 2);
  }
  .cat-slider__title { font-size: 18px; }
}
/* Mobile → 1 slide per view */
@media (max-width: 640px) {
  .cat-slider__slide { flex: 0 0 100%; }
  .cat-slider__body { padding: var(--space-3); }
}

/* Legacy cross-cat (kept harmless in case any older page still references it) */
.cross-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 768px) { .cross-cat { grid-template-columns: 1fr; } }
.cross-cat__card {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius);
  overflow: hidden; display: flex; align-items: flex-end; padding: var(--space-4);
}
.cross-cat__card::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: -1; transition: transform var(--t-slow);
}
.cross-cat__card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15,20,28,0.9)); z-index: -1;
}
.cross-cat__card:hover::before { transform: scale(1.05); }
.cross-cat__card h3 { color: #fff; font-family: var(--font-heading); font-style: italic; font-size: 24px; }

/* ---------- Tour detail page ---------- */
.tour-hero { padding: var(--space-5) 0 var(--space-3); }
.tour-gallery { display: grid; grid-template-columns: 1fr; gap: var(--space-3); max-width: 940px; margin: 0 auto; }
.tour-gallery__main {
  /* The frame hugs the selected image's own aspect ratio (set per-tour via the
     --hero-ar custom property in the template), but is capped to a comfortable
     height so it never dominates the page. width:auto lets the box derive its
     width from height x ratio, so a portrait/branded poster shows with little or
     no empty space and a landscape photo fills the frame — both fully visible. */
  aspect-ratio: var(--hero-ar, 16 / 9);
  width: auto;
  max-width: 100%;
  height: clamp(300px, 36vw, 440px);   /* desktop cap = old height, but now ratio-matched/centred so it reads lighter */
  justify-self: center;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(212,178,122,0.12);
}
/* contain (not cover) so text on branded posters is never cropped. Because the
   frame matches the image ratio, contain fills it with no bars in the common
   case; the dark surface elegantly backs any rare letterboxing (e.g. a swapped
   photo of a different ratio, or very wide panoramas on narrow screens). */
.tour-gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 1024px) { .tour-gallery__main { height: clamp(280px, 44vw, 400px); } }
@media (max-width: 768px)  { .tour-gallery__main { height: clamp(240px, 52vw, 340px); border-radius: var(--radius); } }
@media (max-width: 600px)  { .tour-gallery__main { height: clamp(240px, 64vw, 300px); } }
/* Compact, uniform thumbnails that stay small for any image count and centre
   under the main image so spacing always looks balanced. */
.tour-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 104px));
  justify-content: center;
  gap: var(--space-2);
}
.tour-gallery__thumb {
  aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  opacity: 0.7; transition: border-color var(--t), opacity var(--t), transform var(--t);
}
.tour-gallery__thumb:hover { opacity: 1; transform: translateY(-2px); }
.tour-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-gallery__thumb.active {
  border-color: var(--c-gold); opacity: 1;
  box-shadow: 0 0 0 1px var(--c-gold), 0 6px 16px rgba(0,0,0,0.4);
}
@media (max-width: 600px) {
  .tour-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(64px, 84px)); }
}

.tour-title-block { padding: var(--space-5) 0; }
.tour-title-block .eyebrow { color: var(--c-gold); }
.tour-title-block h1 {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(36px, 5vw, 56px); margin-bottom: var(--space-3);
}
.tour-title-block .rating-row {
  display: flex; gap: var(--space-3); align-items: center;
  font-size: 14px; color: var(--c-text-muted); flex-wrap: wrap;
}
.tour-title-block .rating-row .stars { color: var(--c-gold); letter-spacing: 2px; }
.tour-title-block .badge {
  background: var(--c-gold); color: var(--c-bg); padding: 4px 10px;
  border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}

.tour-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-6); padding: var(--space-4) 0 var(--space-8); align-items: flex-start;
}
@media (max-width: 1024px) { .tour-layout { grid-template-columns: 1fr; gap: var(--space-5); } }
.tour-content { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.tour-content > div:not(.quick-facts) {
  background: rgba(24, 35, 55, 0.35);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
@media (max-width: 600px) { .tour-content > div:not(.quick-facts) { padding: var(--space-4); } }
.tour-content h2 {
  font-family: var(--font-heading); font-size: 28px; font-weight: 600;
  position: relative; display: inline-block; margin-bottom: var(--space-3);
}
.tour-content h2::after {
  content: ''; display: block; width: 60px; height: 2px; background: var(--c-gold); margin-top: var(--space-2);
}
/* Internal content headings (e.g. the Overview's tour-title h3 + "Why choose" h4) */
.tour-content h3 {
  font-family: var(--font-heading); font-style: italic;
  font-size: 23px; font-weight: 600; color: var(--c-gold-soft);
  margin: var(--space-4) 0 var(--space-2);
}
.tour-content h4 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 600;
  color: var(--c-text); margin: var(--space-4) 0 var(--space-2);
}
.tour-content > div > h3:first-child,
.tour-content > div > h2 + h3 { margin-top: var(--space-2); }
.tour-content p { line-height: 1.75; color: var(--c-text-muted); margin: 0 0 var(--space-3); }
.tour-content p:last-child { margin-bottom: 0; }
.tour-content ul li { line-height: 1.7; }

.quick-facts {
  display: flex; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-3) 0;
  border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
}
.quick-facts__item {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 13px; color: var(--c-text-muted);
}
.quick-facts__item strong { color: var(--c-text); }

.list-checked, .list-x { display: flex; flex-direction: column; gap: var(--space-2); }
.list-checked li { display: flex; gap: var(--space-3); font-size: 15px; color: var(--c-text); }
.list-checked li::before { content: '✓'; color: var(--c-turquoise); font-weight: 700; flex-shrink: 0; }
.list-x li { display: flex; gap: var(--space-3); font-size: 15px; color: var(--c-text-muted); }
.list-x li::before { content: '✕'; color: var(--c-coral); flex-shrink: 0; font-weight: 700; }

.itinerary { position: relative; padding-left: var(--space-4); }
.itinerary::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: var(--c-gold); opacity: 0.3;
}
.itinerary__step { position: relative; margin-bottom: var(--space-4); }
.itinerary__step::before {
  content: ''; position: absolute; left: -15px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-gold); border: 2px solid var(--c-bg);
}
.itinerary__time { font-family: var(--font-heading); font-size: 18px; color: var(--c-gold); font-weight: 600; margin-bottom: var(--space-1); }
.itinerary__title { font-weight: 600; color: var(--c-text); margin-bottom: 4px; }
.itinerary__desc { font-size: 14px; color: var(--c-text-muted); }

/* Sticky booking card */
.booking-card {
  position: sticky; top: calc(var(--header-h) + var(--space-4));
  background: linear-gradient(180deg, var(--c-surface-raised) 0%, var(--c-surface) 100%);
  border: 1px solid rgba(212, 178, 122, 0.4); border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 178, 122, 0.1);
}
.booking-card::before {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
@media (max-width: 1024px) { .booking-card { position: static; } }
.booking-card .from { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-text-muted); }
.booking-card .price {
  font-family: var(--font-heading); font-style: italic; font-size: 56px; font-weight: 700;
  color: var(--c-gold); line-height: 1; letter-spacing: -1px; margin-top: 4px;
}
.booking-card .price-was { font-size: 18px; color: var(--c-text-muted); text-decoration: line-through; margin-left: var(--space-2); font-style: normal; font-weight: 400; }
.booking-card hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--space-4) 0; }
.booking-card__quickfact { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--c-text-muted); margin-bottom: var(--space-2); }
.booking-card__cta { width: 100%; margin-top: var(--space-4); }
.booking-card__phone { text-align: center; margin-top: var(--space-3); font-size: 13px; color: var(--c-text-muted); }
.booking-card__phone a { color: var(--c-gold); font-weight: 500; }
.booking-card__trust { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--c-border); font-size: 12px; color: var(--c-text-muted); }
.booking-card__trust div { margin-bottom: 4px; }
.booking-card__trust .icon { color: var(--c-turquoise); margin-right: 4px; }

.related-tours h2 { text-align: center; margin-bottom: var(--space-6); }

/* ---------- Image flag banner on tour (front-end visible when admin flag is set) ---------- */
.tour-image-flag {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(231, 111, 81, 0.15); border: 1px solid rgba(231, 111, 81, 0.5);
  color: #ffb09c; margin-bottom: var(--space-3);
}
.tour-image-flag.temp { background: rgba(212, 178, 122, 0.12); border-color: rgba(212, 178, 122, 0.5); color: var(--c-gold); }

/* ---------- Booking-card price tiers + structured info blocks ---------- */
.booking-card__price-meta {
  font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--c-text-subtle); margin-top: 4px;
}
.booking-card__price-tiers {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-top: var(--space-3); font-size: 13.5px; color: var(--c-text-muted);
}
.booking-card__price-tiers strong { color: var(--c-gold); font-weight: 600; }
.booking-card__price-note {
  margin-top: var(--space-2); font-size: 12.5px; color: var(--c-text-subtle); line-height: 1.5;
}

/* Pickup & transfer / Good-to-know panels — reuse the dark content-card frame */
.tour-info-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 var(--space-3); }
.tour-info-list li {
  display: flex; justify-content: space-between; gap: var(--space-4);
  padding-bottom: 8px; border-bottom: 1px solid var(--c-border);
  font-size: 14.5px;
}
.tour-info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tour-info-list__k { color: var(--c-text-muted); }
.tour-info-list__v { color: var(--c-text); font-weight: 500; text-align: right; }

.tour-fees {
  margin-top: var(--space-3); padding: var(--space-3) var(--space-4);
  background: rgba(15, 20, 28, 0.45); border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.tour-fees__label {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--c-gold); font-weight: 600; margin-bottom: 8px;
}
.tour-fees__row {
  font-size: 14px; color: var(--c-text); padding: 5px 0;
  border-bottom: 1px solid rgba(212, 178, 122, 0.12);
}
.tour-fees__row:last-child { border-bottom: 0; }

.tour-goodtoknow__note {
  margin: var(--space-3) 0 0; padding: var(--space-3) var(--space-4);
  background: rgba(212, 178, 122, 0.08); border: 1px solid rgba(212, 178, 122, 0.3);
  border-radius: var(--radius); color: var(--c-gold-soft); font-size: 14px; line-height: 1.6;
}

/* ---------- Quick WhatsApp Booking form (single tour) ---------- */
.wa-booking {
  background: linear-gradient(180deg, var(--c-surface-raised) 0%, var(--c-surface) 100%);
  border: 1px solid rgba(212, 178, 122, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(212, 178, 122, 0.1);
  position: relative;
}
.wa-booking::before {
  content: ''; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
@media (max-width: 600px) { .wa-booking { padding: var(--space-4); } }
.wa-booking__head { margin-bottom: var(--space-4); }
.wa-booking__head h2 {
  font-family: var(--font-heading); font-size: 26px; font-weight: 600;
  margin: 0 0 var(--space-2);
  position: relative; display: inline-block;
}
.wa-booking__head h2::after {
  content: ''; display: block; width: 60px; height: 2px; background: var(--c-gold); margin-top: var(--space-2);
}
.wa-booking__sub { color: var(--c-text-muted); font-size: 14.5px; line-height: 1.6; margin: 0; max-width: 60ch; }

.wa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);   /* roomier vertical rhythm */
}
@media (max-width: 600px) { .wa-grid { grid-template-columns: 1fr; gap: var(--space-3); } }

.wa-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-bottom: var(--space-3); }
.wa-grid .wa-field { margin-bottom: 0; }
.wa-field--full { grid-column: 1 / -1; }

.wa-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }

.wa-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--c-text-muted);
}
.wa-req { color: var(--c-gold); }

.wa-input {
  width: 100%;
  background: rgba(15, 20, 28, 0.6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  min-height: 46px; /* easy mobile tap target */
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none; appearance: none;
}
textarea.wa-input { min-height: 84px; resize: vertical; line-height: 1.55; }
.wa-input::placeholder { color: var(--c-text-subtle); }
.wa-input:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 2px rgba(212, 178, 122, 0.18);
}
.wa-input--readonly {
  background: rgba(212, 178, 122, 0.06);
  border-color: rgba(212, 178, 122, 0.25);
  color: var(--c-gold-soft);
  font-family: var(--font-heading); font-style: italic; font-weight: 600;
  cursor: default;
}
.wa-input.is-invalid {
  border-color: var(--c-coral);
  box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.18);
}
/* Native date/select chrome on the dark theme */
.wa-input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(1) saturate(3) hue-rotate(5deg); cursor: pointer; }
select.wa-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4B27A' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}

.wa-booking__error {
  margin: var(--space-3) 0 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(231, 111, 81, 0.12);
  border: 1px solid rgba(231, 111, 81, 0.4);
  color: #ffb09c;
  font-size: 13.5px;
}
.wa-booking__submit {
  width: 100%; margin-top: var(--space-5); font-size: 16px;
  padding-top: 16px; padding-bottom: 16px; letter-spacing: 0.3px;
}
.wa-booking__note {
  text-align: center; color: var(--c-text-subtle);
  font-size: 12.5px; letter-spacing: 0.3px; margin: var(--space-3) 0 0;
}

/* ---------- WP-specific (admin notices, etc.) ---------- */
.glamour-theme .wc-block-components-notice-banner { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border); }

/* ---------- Info pages (About / Contact) ---------- */
.info-hero { min-height: 360px; }
@media (max-width: 768px) { .info-hero { min-height: 300px; padding: var(--space-6) 0; } }

.info-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 1024px) { .info-page__grid { grid-template-columns: 1fr; gap: var(--space-5); } }

.info-page__main { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.info-page__aside { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
@media (max-width: 1024px) { .info-page__aside { position: static; } }

.info-card {
  background: rgba(24, 35, 55, 0.45);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
@media (max-width: 600px) { .info-card { padding: var(--space-4); } }
.info-card h2 {
  font-family: var(--font-heading); font-size: 26px; font-weight: 600;
  position: relative; display: inline-block; margin-bottom: var(--space-3);
}
.info-card h2::after {
  content: ''; display: block; width: 60px; height: 2px;
  background: var(--c-gold); margin-top: var(--space-2);
}
.info-card--center { text-align: center; margin-top: var(--space-5); }
.info-card--cta {
  border-color: rgba(212, 178, 122, 0.45);
  background: linear-gradient(180deg, rgba(24,35,55,0.6), rgba(24,35,55,0.3));
}

/* 3-column step cards (single column on narrow viewports) so each step
   keeps its own column and text never collapses to a word-per-line ladder. */
.info-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
@media (max-width: 900px) {
  .info-steps { grid-template-columns: 1fr; }
}
.info-steps__item {
  background: rgba(15, 20, 28, 0.5);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0; /* allow the grid track to shrink without forcing overflow */
  transition: border-color var(--t), transform var(--t);
}
.info-steps__item:hover {
  border-color: rgba(212, 178, 122, 0.45);
  transform: translateY(-2px);
}
.info-steps__num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-surface);
  border: 1.5px solid var(--c-gold);
  color: var(--c-gold);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.info-steps__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
  line-height: 1.25;
}
.info-steps__text {
  font-size: 14.5px;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.55;
}

.list-checked--center {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  text-align: left; margin: 0 auto var(--space-4);
}

.info-aside {
  background: linear-gradient(180deg, var(--c-surface-raised), var(--c-surface));
  border: 1px solid rgba(212, 178, 122, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.info-aside h3 {
  font-family: var(--font-heading); font-size: 20px;
  color: var(--c-gold); margin: 0 0 var(--space-3);
  letter-spacing: 0.4px;
}
.info-aside__list { display: flex; flex-direction: column; gap: 10px; }
.info-aside__list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  font-size: 14px; color: var(--c-text-muted); letter-spacing: 0.2px;
}
.info-aside__list strong { color: var(--c-text); }

/* ---------- Contact page ----------
   Equal-height flex cards. `auto-fit, minmax(220px, 1fr)` adapts to the
   viewport — 5 cards in a row on wide desktops, fewer on smaller widths,
   without an explicit breakpoint per column-count. */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  align-items: stretch;
}
@media (max-width: 540px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-3); }
}
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-4) calc(var(--space-4) + 4px);
  text-align: center;
  transition: border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
  min-width: 0;
}
.contact-card:hover { border-color: rgba(212, 178, 122, 0.5); transform: translateY(-2px); }
.contact-card--primary {
  border-color: rgba(37, 211, 102, 0.45);
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.08), var(--c-surface) 70%);
}
.contact-card__head {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.contact-card__icon { font-size: 28px; line-height: 1; }
.contact-card h3 {
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: var(--c-gold); margin: 0;
  letter-spacing: 0.2px;
}
.contact-card__body {
  flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px;
  padding: 4px 0;
}
.contact-card__lead {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.contact-card__lead-label {
  color: var(--c-text-subtle);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0;
}
.contact-card__line {
  color: var(--c-text);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  word-break: break-word; /* allow long email addresses to wrap cleanly */
}
.contact-card__line a { color: var(--c-gold); }
.contact-card__line a:hover { color: var(--c-gold-soft); }
.contact-card__hint {
  color: var(--c-text-subtle);
  font-size: 12px;
  letter-spacing: 0.3px;
  line-height: 1.5;
  margin: 0;
  margin-top: auto; /* pin hint to the bottom regardless of card height */
}
/* CTA block for the WhatsApp card — keeps the button inside the card and
   above the hint, never overflowing. */
.contact-card__cta {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: auto;
}
.contact-card__cta .contact-card__hint { margin-top: 4px; }
/* Scope: any button inside a contact card stays inside it, no matter
   how narrow the card is. Allow text to wrap if necessary. */
.contact-card .btn {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  white-space: normal;
  line-height: 1.3;
  min-height: 44px;
}

/* "What to send us" — two-column on desktop (list left, CTA right),
   single column on mobile. */
.send-us h2 {
  font-family: var(--font-heading); font-size: 26px; font-weight: 600;
  margin: 0 0 var(--space-4);
}
.send-us__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
}
@media (max-width: 768px) {
  .send-us__grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
.send-us__list {
  display: flex; flex-direction: column; gap: var(--space-2);
  margin: 0;
  text-align: left;
}
.send-us__list li { font-size: 15px; line-height: 1.55; }
.send-us__cta {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  padding: var(--space-4);
  background: rgba(15, 20, 28, 0.45);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.send-us__btn { width: 100%; max-width: 320px; }
.send-us__phone {
  margin: 0;
  color: var(--c-gold);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.4px;
}
.send-us__hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--c-text-subtle);
}
.send-us__hint strong { color: var(--c-text); font-weight: 500; }

/* ---------- Booking Details table (single tour) ---------- */
.booking-details h2 {
  font-family: var(--font-heading); font-size: 28px; font-weight: 600;
  position: relative; display: inline-block; margin-bottom: var(--space-4);
}
.booking-details h2::after {
  content: ''; display: block; width: 60px; height: 2px;
  background: var(--c-gold); margin-top: var(--space-2);
}
.booking-details__table {
  width: 100%; border-collapse: collapse;
  background: rgba(15, 20, 28, 0.45);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  table-layout: fixed;
}
.booking-details__table th,
.booking-details__table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.55;
  text-align: left;
}
.booking-details__table tr:last-child th,
.booking-details__table tr:last-child td { border-bottom: 0; }
.booking-details__table th {
  width: 38%;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  color: var(--c-gold);
  letter-spacing: 0.3px;
  background: rgba(212, 178, 122, 0.04);
  border-right: 1px solid var(--c-border);
}
.booking-details__table td { color: var(--c-text); }
.booking-details__table td strong { color: var(--c-text-strong); font-weight: 600; }
.booking-details__price {
  display: inline-block;
  color: var(--c-gold); font-family: var(--font-heading); font-style: italic; font-weight: 700;
  font-size: 16px; margin-left: 6px;
}
.booking-details__price .was {
  text-decoration: line-through; opacity: 0.6;
  font-size: 13px; font-family: var(--font-body); font-style: normal; font-weight: 400;
  margin-left: 6px;
}
.booking-details__needs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px;
  margin: 0; padding: 0; list-style: none;
}
.booking-details__needs li {
  position: relative; padding-left: 16px;
  font-size: 14px; color: var(--c-text);
}
.booking-details__needs li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--c-turquoise); font-weight: 700;
}
.booking-details__cta { margin-top: var(--space-4); width: 100%; }
@media (max-width: 600px) {
  .booking-details__table { table-layout: auto; }
  .booking-details__table th,
  .booking-details__table td {
    display: block; width: 100%;
    border-right: 0;
    padding: 10px 14px;
  }
  .booking-details__table th {
    border-bottom: 0;
    background: rgba(212, 178, 122, 0.06);
    font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.2px;
    padding-top: 12px; padding-bottom: 4px;
  }
  .booking-details__table td { padding-top: 4px; padding-bottom: 14px; }
  .booking-details__needs { grid-template-columns: 1fr; }
}

/* ---------- A5: mobile readability for tables / price units / fee & list rows ----------
   Additive only — long values wrap instead of forcing horizontal scroll, and the
   per-unit label (per boat / per buggy / per car·vehicle / per person) sits cleanly. */
.booking-details__per {
  display: inline-block; margin-left: 6px;
  font-size: 12px; font-style: italic; color: var(--c-text-muted);
}
.booking-details__table th,
.booking-details__table td { overflow-wrap: anywhere; word-break: break-word; }
.tour-fees__row { overflow-wrap: anywhere; line-height: 1.55; }
.tour-info-list li { flex-wrap: wrap; }
.list-checked li, .list-x li { overflow-wrap: anywhere; }
.booking-card__price-meta,
.booking-card__price-tiers { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .booking-details__price { font-size: 15px; margin-left: 0; }
  .booking-details__per { margin-left: 0; display: block; margin-top: 2px; }
  .tour-info-list li { justify-content: flex-start; }
  .tour-info-list__v { text-align: left; }
}

/* ---------- Suppress Astra's "below footer" / Powered-by bar ----------
   The Astra header/footer builder renders its own below-footer row outside
   the `astra_footer` action we replace in functions.php, so it can sneak in
   under our custom footer. Hide it site-wide. */
.glamour-theme .site-below-footer-wrap,
.glamour-theme .site-below-footer-inner-wrap,
.glamour-theme .ast-builder-footer-grid-columns,
.glamour-theme .ast-footer-copyright,
.glamour-theme [class*="ast-below-footer"],
.glamour-theme [class*="site-below-footer"] {
  display: none !important;
}

/* ---------- Language badges & sections ---------- */
.hero__lang-trust {
  margin-top: var(--space-3);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--c-text-muted);
  letter-spacing: 0.3px;
  padding: 8px 14px;
  border: 1px solid var(--c-border-soft);
  background: rgba(24, 35, 55, 0.5);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  max-width: 100%;
}
@media (max-width: 480px) {
  .hero__lang-trust { font-size: 12px; padding: 7px 12px; }
}

.lang-section { background: var(--c-surface); }
.lang-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: flex-start;
}
.lang-section .lang-badges { justify-content: center; }
.lang-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(24, 35, 55, 0.6);
  border: 1px solid var(--c-border-soft);
  font-size: 13px; color: var(--c-text);
  letter-spacing: 0.2px;
}
.lang-badge strong {
  color: var(--c-gold); font-weight: 700; font-size: 12px; letter-spacing: 1px;
}
.lang-badge--lg {
  padding: 10px 18px; font-size: 15px; gap: 8px;
}
.lang-badge--lg strong { font-size: 13px; letter-spacing: 1.4px; }

/* Compact language codes on tour cards — small, wraps safely, never overflows. */
.tour-card__langs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  color: var(--c-gold); text-transform: uppercase;
  line-height: 1.4;
}
.tour-card__langs .lang-code {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid rgba(212, 178, 122, 0.3);
  border-radius: 3px;
  background: rgba(212, 178, 122, 0.06);
}
.tour-card__langs .lang-sep { color: rgba(212, 178, 122, 0.4); margin: 0 2px; }
@media (max-width: 480px) {
  .tour-card__langs { font-size: 10px; gap: 3px; letter-spacing: 0.8px; }
  .tour-card__langs .lang-code { padding: 1px 5px; }
}

/* Footer brand logo + brand-name line */
.footer-logo-link {
  display: inline-block;
  margin-bottom: var(--space-3);
  line-height: 0;
}
.footer-logo {
  display: block;
  max-height: 54px;
  height: 54px;
  width: 54px;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  background: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
}
@media (max-width: 768px) { .footer-logo { height: 48px; width: 48px; max-height: 48px; } }
@media (max-width: 480px) { .footer-logo { height: 44px; width: 44px; max-height: 44px; } }

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--c-text);
  margin: 0 0 6px 0;
}

/* Footer "trust" note row (above copyright) */
.footer-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-2); padding: var(--space-3) 0;
  font-size: 12.5px; color: var(--c-text-muted); letter-spacing: 0.4px;
  border-top: 1px solid var(--c-border);
  text-align: center;
}
.footer-note__dot { color: var(--c-gold); opacity: 0.5; }
@media (max-width: 480px) { .footer-note { font-size: 11.5px; gap: 6px; } }

/* Mobile footer — force single column so columns stack instead of 2x2 cramped */
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* Ensure no horizontal scroll anywhere — guard against children that
   ignore the container. Already applied on archive; extend site-wide. */
html, body.glamour-theme { overflow-x: clip; }
