:root {
  --black: #080808;
  --ink: #111;
  --soft-black: #121111;
  --gold: #b59356;
  --gold-light: #d4bd87;
  --cream: #f5f0e7;
  --muted: #b7b0a6;
  --line: rgba(255, 255, 255, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cinema: cubic-bezier(0.77, 0, 0.175, 1);
  --motion-fast: 220ms;
  --motion-med: 720ms;
  --motion-slow: 1200ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.22)),
    radial-gradient(ellipse at 50% 50%, transparent 0 58%, rgba(0, 0, 0, 0.34) 100%);
  opacity: 0.72;
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  opacity: 0.16;
}

.page-exit main,
.page-exit .footer {
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.985);
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

/* Paragraph readability — comfortable measure (~65 characters) and warmer color */
p {
  max-width: 65ch;
  color: rgba(245, 240, 231, 0.88);
  overflow-wrap: anywhere;
}
.panel-copy p,
.overlay-card p,
.club-band p,
.events-copy p,
.form-intro p,
.gallery-band p,
.hero-lede,
.muted-copy {
  color: rgba(245, 240, 231, 0.85);
}

.tour-meta li {
  color: rgba(245, 240, 231, 0.78) !important;
}

/* Strong contrast for emphasis */
strong { color: var(--cream); font-weight: 600; }

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 112px;
  padding: 8px 42px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  transition: background 240ms ease, min-height 240ms ease, padding 240ms ease;
}

.jcx-topbar {
  display: none;
}

.site-header.is-scrolled {
  min-height: 80px;
  padding: 6px 42px;
  background: rgba(7, 7, 7, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.top-nav,
.header-actions,
.link-row,
.event-links,
.footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-nav {
  justify-self: center;
}

.top-nav a,
.header-actions a,
.footer a,
.link-row a,
.event-links a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-nav a::after,
.link-row a::after,
.event-links a::after,
.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.top-nav a:hover::after,
.link-row a:hover::after,
.event-links a:hover::after,
.footer a:hover::after {
  transform: scaleX(1);
}

.top-nav a,
.header-actions a,
.link-row a,
.event-links a,
.footer a {
  transition: color 220ms ease, transform 220ms ease;
}

.top-nav a:hover,
.header-actions a:hover,
.link-row a:hover,
.event-links a:hover,
.footer a:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  line-height: 0;
}

.brand img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(181, 147, 86, 0.4));
  transition: filter 280ms ease, transform 280ms ease, width 240ms ease, height 240ms ease;
}
.brand:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 24px rgba(181, 147, 86, 0.6));
}

.site-header.is-scrolled .brand img {
  width: 68px;
  height: 68px;
}

.footer img {
  display: block;
  width: 100%;
  height: auto;
}

.header-actions {
  justify-self: end;
}

.shop-link {
  color: var(--gold-light);
}

.shop-link,
.jcx-page .shop-link {
  display: none !important;
}

/* ════════════════════════════════════════════════════════════════════
   HERO COMPASS — 4 logo pieces orbit as a slow VFX layer over the hero
   ════════════════════════════════════════════════════════════════════ */
.hero-compass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hc-piece {
  position: absolute;
  object-fit: contain;
  will-change: transform;
  filter: drop-shadow(0 0 24px rgba(181, 147, 86, 0.25));
}

/* Piece 1 — full lockup, anchored bottom-right, slow drift + breathe */
.hc-piece-1 {
  width: clamp(220px, 28vw, 420px);
  right: -4%;
  bottom: -8%;
  opacity: 0.07;
  animation: hc-breathe 14s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Piece 2 — gold arc, top-left, slow rotation orbit */
.hc-piece-2 {
  width: clamp(140px, 18vw, 260px);
  top: 12%;
  left: -2%;
  opacity: 0.18;
  animation: hc-orbit-2 28s linear infinite;
}

/* Piece 3 — gold blade, mid-right, counter-rotation */
.hc-piece-3 {
  width: clamp(120px, 16vw, 240px);
  top: 40%;
  right: 4%;
  opacity: 0.16;
  animation: hc-orbit-3 32s linear infinite;
}

/* Piece 4 — JX monogram, lower-left, slow pulse + drift */
.hc-piece-4 {
  width: clamp(160px, 22vw, 320px);
  bottom: 18%;
  left: 6%;
  opacity: 0.12;
  animation: hc-drift-4 22s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes hc-orbit-2 {
  from { transform: translate(var(--mx, 0), var(--my, 0)) rotate(0deg); }
  to   { transform: translate(var(--mx, 0), var(--my, 0)) rotate(360deg); }
}
@keyframes hc-orbit-3 {
  from { transform: translate(var(--mx, 0), var(--my, 0)) rotate(0deg); }
  to   { transform: translate(var(--mx, 0), var(--my, 0)) rotate(-360deg); }
}
@keyframes hc-breathe {
  0%, 100% { transform: translate(var(--mx, 0), var(--my, 0)) scale(1); opacity: 0.07; }
  50%      { transform: translate(var(--mx, 0), var(--my, 0)) scale(1.04); opacity: 0.11; }
}
@keyframes hc-drift-4 {
  0%, 100% { transform: translate(var(--mx, 0), var(--my, 0)) translateY(0); opacity: 0.12; }
  50%      { transform: translate(var(--mx, 0), var(--my, 0)) translateY(-12px); opacity: 0.18; }
}

@media (max-width: 640px) {
  .hero-compass {
    display: none;
  }
}

/* Hero content above the compass */
.hero-content { z-index: 2; position: relative; }
.scroll-mark { z-index: 2; }

/* ════════════════════════════════════════════════════════════════════
   QUOIN-ROCK-GRADE SCROLL REVEALS
   Refined fade-up with stagger; clip-path image reveals; smooth easings.
   ════════════════════════════════════════════════════════════════════ */
/* Reveal animations — only hide-by-default when JS has marked the page ready.
   If JS is cached/blocked, content stays visible. */
.js-reveal-ready .reveal-up,
.js-reveal-ready .section-number,
.js-reveal-ready .panel-copy h2,
.js-reveal-ready .panel-copy p,
.js-reveal-ready .panel-copy .link-row,
.js-reveal-ready .panel-copy .tour-meta,
.js-reveal-ready .panel-copy .tour-price,
.js-reveal-ready .overlay-card h2,
.js-reveal-ready .overlay-card p,
.js-reveal-ready .overlay-card .link-row,
.js-reveal-ready .events-copy h2,
.js-reveal-ready .events-copy p,
.js-reveal-ready .events-copy .event-links,
.js-reveal-ready .club-band h2,
.js-reveal-ready .club-band p,
.js-reveal-ready .club-band .link-row,
.js-reveal-ready .club-band .eyebrow,
.js-reveal-ready .form-intro h2,
.js-reveal-ready .form-intro p,
.js-reveal-ready .form-intro .eyebrow,
.js-reveal-ready .gallery-band h2,
.js-reveal-ready .gallery-band p,
.js-reveal-ready .faq-item {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(46px) scale(0.985);
  transition:
    opacity 1150ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1150ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal-ready .is-revealed,
.js-reveal-ready .is-revealed .section-number,
.js-reveal-ready .is-revealed h2,
.js-reveal-ready .is-revealed p,
.js-reveal-ready .is-revealed .link-row,
.js-reveal-ready .is-revealed .event-links,
.js-reveal-ready .is-revealed .tour-meta,
.js-reveal-ready .is-revealed .tour-price,
.js-reveal-ready .is-revealed .eyebrow {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: translateY(0) !important;
}

/* Stagger child reveals for elegance */
.is-revealed .eyebrow        { transition-delay: 0ms; }
.is-revealed .section-number { transition-delay: 0ms; }
.is-revealed h2              { transition-delay: 120ms; }
.is-revealed p               { transition-delay: 200ms; }
.is-revealed .tour-price     { transition-delay: 280ms; }
.is-revealed .tour-meta      { transition-delay: 360ms; }
.is-revealed .link-row,
.is-revealed .event-links    { transition-delay: 440ms; }

/* Image-panel: visible by default; clip-path reveal only adds polish */
.image-panel {
  transition:
    filter 1500ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1500ms cubic-bezier(0.22, 1, 0.36, 1),
    background-position 900ms ease-out;
  transform-origin: center;
  will-change: filter, transform, background-position;
}
/* Reveal animation only triggers when explicitly opted-in via .will-reveal */
.image-panel.will-reveal {
  filter: brightness(0.78) saturate(0.82);
  transform: scale(1.035);
}
.image-panel.will-reveal.is-revealed,
.is-revealed > .image-panel.will-reveal {
  filter: brightness(1) saturate(1);
  transform: scale(1);
}

/* Gallery figures: visible by default; subtle scale-in only when .will-reveal */
.gallery-grid figure {
  transition:
    opacity 950ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 950ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-grid.will-reveal figure {
  opacity: 0;
  filter: blur(10px) brightness(0.72);
  transform: translateY(34px) scale(0.94);
}
.gallery-grid.will-reveal.is-revealed figure {
  opacity: 1;
  filter: blur(0) brightness(1);
  transform: scale(1);
}
.is-revealed .gallery-grid figure:nth-child(1) { transition-delay: 0ms; }
.is-revealed .gallery-grid figure:nth-child(2) { transition-delay: 80ms; }
.is-revealed .gallery-grid figure:nth-child(3) { transition-delay: 160ms; }
.is-revealed .gallery-grid figure:nth-child(4) { transition-delay: 240ms; }
.is-revealed .gallery-grid figure:nth-child(5) { transition-delay: 320ms; }
.is-revealed .gallery-grid figure:nth-child(6) { transition-delay: 400ms; }

/* Hero h1 — letter-by-letter reveal feel via tighter cubic */
.hero h1 {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  animation: hero-h1-reveal 1650ms cubic-bezier(0.16, 1, 0.3, 1) 220ms forwards;
}
.hero .eyebrow,
.hero-content > .eyebrow {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-eyebrow-reveal 1100ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}
.hero-buttons {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-buttons-reveal 1050ms cubic-bezier(0.22, 1, 0.36, 1) 780ms forwards;
}
.hero-lede {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-eyebrow-reveal 1100ms cubic-bezier(0.22, 1, 0.36, 1) 560ms forwards;
}

@keyframes hero-h1-reveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-eyebrow-reveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-buttons-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Smooth slide cross-fade for hero (already there but enhanced timing) */
.hero-slide {
  filter: brightness(0.86) saturate(0.98) contrast(1.04);
  transition: opacity 1700ms ease, filter 1700ms ease, transform 12000ms linear;
}

.hero-slide.is-active {
  animation: hero-kenburns 14500ms linear forwards;
  filter: brightness(1) saturate(1.08) contrast(1.02);
}

@keyframes hero-kenburns {
  from { transform: scale(1.045) translate3d(0, 0, 0); }
  to { transform: scale(1.11) translate3d(1.8%, -1.4%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hc-piece, .hero-slide,
  .reveal-up, .section-number, .panel-copy *, .overlay-card *,
  .events-copy *, .club-band *, .form-intro *, .gallery-band *,
  .gallery-grid figure, .image-panel, .faq-item,
  .hero h1, .hero .eyebrow, .hero-buttons, .hero-lede,
  .mobile-nav a, .mobile-menu-foot,
  .button, input, select, textarea {
    animation: none !important;
    transition-duration: 1ms !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
  .mobile-menu {
    transition: none !important;
  }
  .mobile-menu:not(.is-open) {
    transform: translateX(100%) !important;
    opacity: 0 !important;
  }
  .mobile-menu.is-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
  body::before,
  body::after {
    display: none;
  }
  .page-exit main,
  .page-exit .footer {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════════════
   BRAND INTRO — VFX assembly (4 logo pieces â†’ one mark â†’ full lockup)
   ════════════════════════════════════════════════════════════════════ */
.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, #161312 0%, #050505 75%);
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 600ms ease 200ms;
}
.brand-intro.is-done {
  opacity: 0;
}
.brand-intro.is-removed {
  display: none;
}

.brand-intro-stage {
  position: relative;
  width: min(72vw, 480px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.brand-intro-stage::before,
.brand-intro-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.brand-intro-stage::before {
  background: radial-gradient(circle at center, rgba(181,147,86,0.18), transparent 65%);
  opacity: 0;
  animation: bi-glow 3600ms cubic-bezier(0.22,1,0.36,1) forwards;
}
.brand-intro-stage::after {
  border: 1px solid rgba(181,147,86,0.18);
  transform: scale(0.4);
  opacity: 0;
  animation: bi-ring 3600ms cubic-bezier(0.22,1,0.36,1) forwards;
}

.bi-piece {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

/* Piece 2 — flies in from upper-left, rotates into position */
.bi-piece-2 {
  animation: bi-piece-2 3600ms cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Piece 3 — flies in from lower-right, rotates into position */
.bi-piece-3 {
  animation: bi-piece-3 3600ms cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Piece 4 — JX monogram materialises inside the assembled sun */
.bi-piece-4 {
  animation: bi-piece-4 3600ms cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Piece 1 — full lockup cross-fades on top to seal the brand */
.bi-piece-1 {
  animation: bi-piece-1 3600ms cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Gold flash at the moment of assembly */
.bi-flash {
  position: absolute;
  width: 24%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,235,180,0.95), rgba(181,147,86,0) 70%);
  filter: blur(2px);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  animation: bi-flash 3600ms cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes bi-piece-2 {
  0%   { opacity: 0; transform: translate(-46%, -38%) scale(0.55) rotate(-95deg); filter: blur(6px); }
  35%  { opacity: 1; transform: translate(-12%, -10%) scale(0.8)  rotate(-30deg); filter: blur(0); }
  55%  { opacity: 1; transform: translate(0, 0)       scale(1)    rotate(0deg);   filter: blur(0); }
  85%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(0, 0)       scale(1.04) rotate(0deg); }
}

@keyframes bi-piece-3 {
  0%   { opacity: 0; transform: translate(46%, 38%) scale(0.55) rotate(95deg); filter: blur(6px); }
  35%  { opacity: 1; transform: translate(12%, 10%) scale(0.8)  rotate(30deg); filter: blur(0); }
  55%  { opacity: 1; transform: translate(0, 0)     scale(1)    rotate(0deg);  filter: blur(0); }
  85%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(0, 0)     scale(1.04) rotate(0deg); }
}

@keyframes bi-piece-4 {
  0%, 50% { opacity: 0; transform: scale(0.85); filter: blur(8px); }
  62%     { opacity: 1; transform: scale(1.04); filter: blur(0); }
  72%     { opacity: 1; transform: scale(1);    filter: blur(0); }
  88%     { opacity: 0.85; }
  100%    { opacity: 0;   transform: scale(1.06); filter: blur(2px); }
}

@keyframes bi-piece-1 {
  0%, 70%  { opacity: 0; transform: scale(0.92); filter: blur(4px); }
  82%      { opacity: 1; transform: scale(1);    filter: blur(0); }
  100%     { opacity: 1; transform: scale(1.02); filter: blur(0); }
}

@keyframes bi-flash {
  0%, 50% { opacity: 0; transform: scale(0); }
  56%     { opacity: 1; transform: scale(2.6); }
  62%     { opacity: 0.6; transform: scale(3.6); }
  72%     { opacity: 0; transform: scale(4); }
  100%    { opacity: 0; }
}

@keyframes bi-glow {
  0%, 40% { opacity: 0; }
  60%     { opacity: 1; }
  90%     { opacity: 0.8; }
  100%    { opacity: 0; }
}

@keyframes bi-ring {
  0%   { opacity: 0; transform: scale(0.4); }
  50%  { opacity: 0.6; transform: scale(0.95); }
  72%  { opacity: 0.4; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .bi-piece, .bi-flash, .brand-intro-stage::before, .brand-intro-stage::after {
    animation-duration: 1ms !important;
  }
  .brand-intro { transition-duration: 200ms; }
}

body.brand-intro-active { overflow: hidden; }

/* HAMBURGER */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 180ms ease, background 180ms ease;
}
.hamburger:hover {
  border-color: var(--gold);
}
.hamburger span {
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.77,0,0.175,1), opacity 220ms ease, background 180ms ease;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 1040px) {
  .hamburger { display: inline-flex; }
}

/* MOBILE MENU */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
  backdrop-filter: blur(4px);
}
.mobile-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  z-index: 95;
  background: linear-gradient(165deg, var(--black) 0%, #161312 50%, var(--black) 100%);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 18px clamp(20px, 5vw, 32px) 18px;
  transform: translateX(100%);
  transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
  opacity: 0;
  isolation: isolate;
  overflow: hidden;
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0);
}
.mobile-menu:not(.is-open) {
  transform: translateX(100%) !important;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(181, 147, 86, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(181, 147, 86, 0.08), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1;
}
.mobile-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.mobile-nav a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: padding-left 220ms ease, color 220ms ease;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(24px);
}
.mobile-nav a::before {
  content: "\2192";
  grid-column: 3;
  font-family: "Montserrat", sans-serif;
  color: var(--gold-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  outline: none;
  padding-left: 12px;
  color: var(--gold-light);
}
.mobile-nav a:hover::before,
.mobile-nav a:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}
.mobile-nav .num {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.mobile-nav .label {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 3.4vw, 22px);
  letter-spacing: -0.005em;
  text-transform: lowercase;
  line-height: 1.05;
}

.mobile-menu.is-open .mobile-nav a {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 250ms ease,
    transform 300ms ease,
    padding-left 200ms ease,
    color 200ms ease;
}

.mobile-menu.is-open .mobile-nav a:nth-child(1) { transition-delay: 90ms; }
.mobile-menu.is-open .mobile-nav a:nth-child(2) { transition-delay: 135ms; }
.mobile-menu.is-open .mobile-nav a:nth-child(3) { transition-delay: 180ms; }
.mobile-menu.is-open .mobile-nav a:nth-child(4) { transition-delay: 225ms; }
.mobile-menu.is-open .mobile-nav a:nth-child(5) { transition-delay: 270ms; }
.mobile-menu.is-open .mobile-nav a:nth-child(6) { transition-delay: 315ms; }

.mobile-menu-foot {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease-soft), transform 620ms var(--ease-out);
}

.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 360ms;
}
.mobile-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mobile-channels a {
  display: grid;
  place-items: center;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  transition: border-color 180ms ease, color 180ms ease;
}
.mobile-channels a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.mobile-menu-foot .button {
  width: 100%;
}
.mobile-meta {
  margin: 4px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

body.menu-open { overflow: hidden; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 32%, rgba(0, 0, 0, 0.18) 75%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.30) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 244, 214, 0.12) 48%, transparent 58%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 42%, rgba(0, 0, 0, 0.24));
  opacity: 0;
  transform: translateX(-22%);
  animation: hero-light-sweep 2600ms cubic-bezier(0.22, 1, 0.36, 1) 300ms forwards;
}

@keyframes hero-light-sweep {
  0% { opacity: 0; transform: translateX(-22%); }
  28% { opacity: 0.58; }
  100% { opacity: 0.18; transform: translateX(16%); }
}

/* Full-bleed sections (Signature routes, Custom day): stronger gradient
   on the side where the overlay-card text sits, so the image stays bright
   on the opposite side but text is always readable. */
.full-bleed::after,
.events::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 32%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 100%);
}

/* Subtle text-backdrop on the overlay card for safety against bright sky areas */
.overlay-card {
  position: relative;
}
.overlay-card::before {
  content: "";
  position: absolute;
  inset: -2.5rem -3rem;
  background: radial-gradient(ellipse at 28% 50%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 80%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

/* Also add a soft text-shadow on h2/p inside full-bleed sections as a safety net */
.full-bleed h2,
.full-bleed p,
.events h2,
.events p {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  filter: brightness(0.86) saturate(0.98) contrast(1.04);
  transform: scale(1.045);
  transition: opacity 1700ms ease, filter 1700ms ease, transform 12000ms linear;
}

.hero-slide.is-active {
  opacity: 1;
  filter: brightness(1) saturate(1.08) contrast(1.02);
  animation: hero-kenburns 14500ms linear forwards;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 40px));
  margin-top: 76px;
  text-align: center;
}

.eyebrow,
.section-number {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Big Caslon QR", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  margin-top: 18px;
  font-size: clamp(56px, 9vw, 132px);
  text-transform: lowercase;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin: 14px 0 24px;
  font-size: clamp(45px, 6vw, 92px);
  overflow-wrap: anywhere;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.button {
  min-width: 148px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  text-align: center;
  white-space: normal;
}

.button-gold {
  background: var(--gold);
  color: #111;
}

.button-ghost {
  background: rgba(0, 0, 0, 0.24);
  color: var(--cream);
}

.button:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: #111;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35), 0 0 32px rgba(212, 189, 135, 0.2);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.99);
}

.scroll-mark {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.panel {
  min-height: 92vh;
  background: var(--soft-black);
  overflow: hidden;
}

@supports (content-visibility: auto) {
  .panel,
  .full-bleed,
  .club-band,
  .events,
  .newsletter,
  .gallery-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.split.reverse .panel-copy {
  order: 2;
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 92px clamp(28px, 7vw, 112px);
}

.panel-copy p,
.overlay-card p,
.club-band p,
.events-copy p {
  max-width: 58ch;
  margin: 0 0 32px;
  color: rgba(245, 240, 231, 0.85);
  font-size: 17.5px;
  line-height: 1.75;
  letter-spacing: 0.005em;
}

.image-panel {
  min-height: 620px;
  background-position: center;
  background-size: cover;
}

.image-panel.winery {
  background-color: var(--soft-black);
}

.image-panel.tasting {
  background-color: var(--soft-black);
}

.full-bleed {
  position: relative;
  min-height: 110vh;
  display: flex;
  align-items: end;
  padding: clamp(24px, 6vw, 88px);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  isolation: isolate;
}

.quartz,
.signature {
  background-color: var(--black);
}

.overlay-card {
  max-width: 690px;
  padding: 0 0 6vh;
}

.club-band {
  min-height: 54vh;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(260px, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: clamp(58px, 8vw, 110px);
  background-color: var(--black);
  background-position: center;
  background-size: cover;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.club-band p {
  margin: 0;
}

.events {
  min-height: 108vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: clamp(28px, 8vw, 112px);
  background-color: var(--black);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  isolation: isolate;
}

.events-copy {
  max-width: 720px;
}

.event-links {
  flex-wrap: wrap;
}

.newsletter {
  padding: clamp(64px, 9vw, 128px) 24px;
  background: #0d0d0d;
}

.newsletter-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: start;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-width: 0;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(245, 240, 231, 0.78);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  min-width: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"] {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
  outline: none;
  transition: border-color 260ms var(--ease-soft), box-shadow 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(181, 147, 86, 0.08);
  transform: translateY(-1px);
}

.check {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  align-items: start;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.5;
}

.check input {
  margin-top: 4px;
  accent-color: var(--gold);
}

form .button {
  justify-self: start;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 64px 24px 38px;
  background: #070707;
  text-align: center;
}

.footer img {
  width: min(190px, 44vw);
}

.footer nav {
  flex-wrap: wrap;
  justify-content: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.copyright {
  font-size: 12px;
}

.hero-short {
  min-height: 60vh;
}

.tour-price {
  margin: 8px 0 18px;
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tour-price strong {
  font-family: "Big Caslon QR", Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--cream);
  font-weight: 400;
  text-transform: none;
  margin: 0 4px;
}

.tour-meta {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tour-meta li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.tour-meta li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.tour-meta-inline {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.gallery-section {
  padding: clamp(64px, 9vw, 128px) clamp(20px, 4vw, 56px);
  background: var(--soft-black);
}

.gallery-band {
  max-width: 1280px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  padding-top: clamp(28px, 4vw, 56px);
}

.gallery-band:first-child { padding-top: 0; }

.gallery-band h2 {
  margin: 12px 0 14px;
  font-size: clamp(38px, 5vw, 72px);
}

.gallery-band p {
  max-width: 640px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
  max-width: 1280px;
  margin: 0 auto clamp(40px, 6vw, 84px);
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 4 / 5;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 720ms ease, filter 320ms ease;
  filter: brightness(0.92);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery-grid figure { aspect-ratio: 3 / 2; }
}

.faq-section {
  padding: clamp(64px, 9vw, 128px) 24px;
  background: var(--soft-black);
}

.faq-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-family: "Big Caslon QR", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.005em;
  color: var(--cream);
  transition: color 180ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: var(--gold);
  transition: transform 240ms ease, background 180ms ease, color 180ms ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--gold);
  color: #111;
}

.faq-item summary:hover { color: var(--gold-light); }

.faq-item p {
  margin: 18px 0 0;
  max-width: 64ch;
  color: rgba(245, 240, 231, 0.86);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.005em;
}

@media (max-width: 640px) {
  .faq-item summary { gap: 14px; font-size: 18px; }
  .faq-item summary::after { width: 30px; height: 30px; font-size: 16px; }
}

.hero-lede {
  max-width: 540px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.form-intro h2 {
  margin-top: 14px;
}

.form-intro .muted-copy {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}

select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
  outline: none;
  resize: vertical;
  min-width: 0;
  transition: border-color 260ms var(--ease-soft), box-shadow 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

select option {
  background: var(--black);
  color: var(--cream);
}

select:focus,
textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(181, 147, 86, 0.08);
  transform: translateY(-1px);
}

form.is-submitting {
  pointer-events: none;
}

form.is-submitting label,
form.is-submitting .check {
  opacity: 0.72;
  transition: opacity 260ms var(--ease-soft);
}

form.is-submitting .button {
  position: relative;
  overflow: hidden;
}

form.is-submitting .button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 30%, rgba(255, 255, 255, 0.38) 48%, transparent 66% 100%);
  transform: translateX(-120%);
  animation: button-sheen 1200ms var(--ease-soft) infinite;
}

@keyframes button-sheen {
  to { transform: translateX(120%); }
}

label.full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--gold-light);
  font-size: 14px;
  min-height: 1.4em;
}

.form-status.error {
  color: #d4796b;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
    min-height: 92px;
    padding: 6px 20px;
  }
  .site-header.is-scrolled {
    min-height: 76px;
    padding: 4px 20px;
  }

  .top-nav {
    display: none;
  }

  .brand {
    justify-self: center;
    grid-column: 2;
  }

  .brand img {
    width: 140px;
    height: 140px;
  }

  .site-header.is-scrolled .brand img {
    width: 116px;
    height: 116px;
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
  }

  .split,
  .split.reverse,
  .newsletter-inner,
  .club-band {
    grid-template-columns: 1fr;
  }

  .split.reverse .panel-copy {
    order: 0;
  }

  .image-panel {
    min-height: 56vh;
  }

  .club-band {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  body::before,
  body::after {
    display: none;
  }

  body {
    font-size: 16px;
    line-height: 1.7;
  }
  .panel-copy p,
  .overlay-card p,
  .club-band p,
  .events-copy p {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero-lede,
  .muted-copy {
    font-size: 15.5px;
    line-height: 1.7;
  }
  .faq-item p { font-size: 15.5px; }
  .tour-meta li { font-size: 15px !important; }
  .tour-meta-inline { font-size: 15px; }
  .grev-quote, .testimonial p { font-size: 15.5px; line-height: 1.7; }
  label { font-size: 11.5px; }

  .site-header {
    min-height: 80px;
    padding: 4px 16px;
  }
  .site-header.is-scrolled {
    min-height: 68px;
    padding: 4px 16px;
  }

  .brand img {
    width: 140px;
    height: 140px;
  }

  .site-header.is-scrolled .brand img {
    width: 116px;
    height: 116px;
  }

  .shop-link {
    display: none;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 96px 0 72px;
    align-items: center;
  }

  .hero::before {
    display: none;
  }

  .hero-slide,
  .hero-slide.is-active {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: brightness(0.92) saturate(1.02) contrast(1.02);
  }

  .hero-content {
    z-index: 4;
    width: min(100% - 32px, 620px);
    margin-top: 46px;
  }

  .hero h1,
  .hero .eyebrow,
  .hero-content > .eyebrow,
  .hero-buttons,
  .hero-lede {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .hero-short {
    min-height: 78svh;
    min-height: 78dvh;
  }

  h1 {
    max-width: min(100%, 320px);
    margin-inline: auto;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(34px, 11.5vw, 54px);
    line-height: 1.04;
  }

  .eyebrow,
  .section-number {
    font-size: 10.5px;
    letter-spacing: 0.18em;
  }

  .hero-buttons,
  .link-row,
  .event-links {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .button,
  .hero-buttons .button {
    width: 100%;
    min-width: 0;
    padding-inline: 16px;
    letter-spacing: 0.13em;
  }

  .panel-copy {
    padding: 56px 20px;
    min-width: 0;
  }

  .panel {
    min-height: auto;
  }

  .image-panel {
    min-height: 42svh;
    min-height: 42dvh;
    will-change: auto;
    transition: none;
  }

  .full-bleed,
  .events {
    min-height: 86svh;
    min-height: 86dvh;
    padding: 96px 20px 44px;
    background-attachment: scroll;
  }

  .overlay-card {
    max-width: 100%;
    padding-bottom: 0;
  }

  .overlay-card::before {
    inset: -1.25rem -1rem;
  }

  .club-band {
    padding: 56px 20px;
  }

  .newsletter {
    padding: 56px 20px;
  }

  .newsletter-inner {
    gap: 34px;
  }

  form {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-inline: 20px;
  }
}

@media (max-width: 375px) {
  .site-header { min-height: 76px; padding: 3px 12px; }
  .site-header.is-scrolled { min-height: 64px; padding: 2px 12px; }
  .brand img { width: 136px; height: 136px; }
  .site-header.is-scrolled .brand img { width: 112px; height: 112px; }

  .hero-content {
    width: calc(100% - 24px);
  }

  h1 {
    max-width: min(100%, 292px);
    font-size: clamp(32px, 10.5vw, 42px);
  }

  h2 {
    font-size: clamp(31px, 10.8vw, 46px);
  }

  .mobile-menu {
    padding-inline: 14px;
  }

  .mobile-nav a {
    grid-template-columns: 26px 1fr auto;
    gap: 9px;
    padding-block: 10px;
  }

  .mobile-brand {
    font-size: 18px;
  }

  .mobile-channels {
    grid-template-columns: 1fr;
  }

  .panel-copy,
  .club-band,
  .newsletter,
  .gallery-section,
  .faq-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================================================================
   Client mockup refresh - black/gold Jeep Cape Xplorer layout
   ========================================================================= */
:root {
  --jcx-bg: #050505;
  --jcx-panel: #10100f;
  --jcx-panel-2: #151412;
  --jcx-gold: #c8922e;
  --jcx-gold-2: #f0bf55;
  --jcx-text: #f6f1e9;
  --jcx-muted: #d7d0c4;
  --jcx-line: rgba(200, 146, 46, 0.36);
  --jcx-white-line: rgba(255, 255, 255, 0.12);
  --jcx-font-display: 'Bebas Neue', 'League Gothic', 'Arial Narrow', Impact, sans-serif;
  --jcx-font-copy: 'Montserrat', Arial, Helvetica, sans-serif;
  --jcx-font-script: 'Italianno', 'Satisfy', 'Brush Script MT', cursive;
}

body.jcx-page {
  background: var(--jcx-bg);
  color: var(--jcx-text);
  font-family: var(--jcx-font-copy);
  line-height: 1.5;
}

body.jcx-page::before,
body.jcx-page::after,
body.jcx-page .grain,
body.jcx-page .site-loader,
body.jcx-page .scroll-mark,
body.jcx-page .hero-compass {
  display: none !important;
}

.jcx-page p {
  max-width: none;
  color: rgba(246, 241, 233, 0.9);
}

.jcx-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  min-height: auto;
  padding: 8px clamp(22px, 4vw, 64px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  border-bottom: 0;
  backdrop-filter: none;
  animation: none !important;
  transition: background-color 160ms ease;
}

.jcx-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 32px;
  padding: 6px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
  color: rgba(246, 241, 233, 0.76);
  font-family: var(--jcx-font-display);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.jcx-socials,
.jcx-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jcx-socials a {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--jcx-gold-2);
}

.jcx-socials svg {
  width: 15px;
  height: 15px;
}

.jcx-page .site-header.is-scrolled {
  min-height: auto;
  padding: 8px clamp(22px, 4vw, 64px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  border-bottom: 0;
  backdrop-filter: none;
}

.jcx-page .brand {
  display: none;
}

.jcx-page .brand img {
  width: 218px;
  height: 78px;
  object-fit: contain;
  filter: none;
}

.jcx-page .top-nav {
  grid-column: 2;
  justify-self: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.jcx-page .top-nav a,
.jcx-page .header-actions a,
.jcx-page .footer a,
.jcx-page .link-row a {
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.075em;
  color: var(--jcx-text);
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  text-transform: uppercase;
}

/* Gold underline slide animation on nav links */
.jcx-page .top-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--jcx-gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.jcx-page .top-nav a:hover::after,
.jcx-page .top-nav a.is-active::after {
  transform: scaleX(1);
}

.jcx-page .top-nav a.is-active,
.jcx-page .top-nav a:hover {
  color: var(--jcx-gold-2);
  transform: translateY(-1px);
}

.jcx-footer-col a:hover {
  color: var(--jcx-gold-2);
}

.jcx-page .header-actions {
  grid-column: 3;
  justify-self: end;
  gap: 18px;
}

.jcx-page .jcx-hero {
  min-height: clamp(420px, 58vh, 680px);
  align-items: center;
  padding-block: clamp(96px, 13vh, 160px) clamp(34px, 6vh, 72px);
  background-position: center 44%;
}

.jcx-page .jcx-hero-content {
  width: min(680px, 100%);
}

.jcx-page .jcx-hero p:not(.jcx-kicker) {
  max-width: 52ch;
  line-height: 1.52;
}

.jcx-page .shop-link,
.jcx-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid var(--jcx-gold);
  border-radius: 4px;
  color: var(--jcx-gold-2) !important;
  background: rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, transform 0.25s ease;
}

.jcx-page .shop-link:hover,
.jcx-cta-outline:hover {
  background: rgba(200, 146, 46, 0.14);
  border-color: var(--jcx-gold-2);
  box-shadow: 0 0 16px rgba(200, 146, 46, 0.25);
  transform: translateY(-1px);
}

.jcx-page .hamburger {
  border-color: var(--jcx-gold);
  border-radius: 4px;
  color: var(--jcx-gold-2);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.jcx-page .hamburger:hover {
  background: rgba(200, 146, 46, 0.12);
  border-color: var(--jcx-gold-2);
}

.jcx-info-card .jcx-ico,
.jcx-feature .jcx-ico,
.jcx-footer-col .jcx-ico {
  color: var(--jcx-gold-2);
}

.jcx-hero {
  position: relative;
  min-height: clamp(400px, 56vh, 620px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  /* Reserve left ~46% for the background photo; content lives in the right portion */
  padding: clamp(120px, 12vw, 160px) clamp(28px, 5vw, 80px) clamp(32px, 4vw, 60px) 46%;
  overflow: hidden;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.22) 38%, rgba(0,0,0,0.72) 58%, rgba(0,0,0,0.90) 100%),
    var(--hero-img, url("images/images2/guests/IMG-20260430-WA0060.jpg"));
  background-size: cover;
  background-position: center 40%;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-hero + .jcx-feature-row {
  margin-top: 0;
}

.jcx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, transparent 22%, transparent 74%, rgba(0,0,0,0.52) 100%);
}

/* Logo floated to top-left of hero (homepage only) */
.jcx-hero-logo {
  position: absolute;
  top: clamp(100px, 14vh, 160px);
  left: clamp(22px, 4vw, 64px);
  z-index: 3;
  width: min(180px, 28vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.55));
}

/* Desktop home hero logo scale-up */
@media (min-width: 681px) {
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    width: min(360px, 56vw);
    top: clamp(92px, 12vh, 148px);
    left: clamp(18px, 3vw, 52px);
  }
}

/* =========================================================================
   Speed + section animations (global)
   ========================================================================= */

/* Avoid continuous GPU work from always-on icon animations */
.jcx-page svg,
.jcx-ico svg,
.jcx-socials svg,
.jcx-footer-socials svg,
.jcx-chevron svg {
  animation: none !important;
}

/* Skip off-screen rendering for heavy sections */
.jcx-main > .jcx-wrap,
.jcx-main > section:not(.jcx-hero),
.jcx-main > .jcx-split-layout,
.jcx-footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* Unified reveal animation for all sections */
.jcx-reveal-target {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(5px);
  transition:
    opacity 460ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.jcx-reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .jcx-reveal-target {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =========================================================================
   Compact tour pages (overview + detail pages)
   ========================================================================= */

/* Keep tour pages on the same type system as the rest of the site */
.jcx-tour-detail-hero,
.jcx-detail-layout,
.jcx-detail-columns,
.jcx-itinerary,
.jcx-split-layout,
.jcx-split-content,
.jcx-split-text,
.jcx-split-stats,
.jcx-split-actions {
  font-family: var(--jcx-font-body);
}

.jcx-tour-detail-copy h1,
.jcx-detail-columns h2,
.jcx-itinerary h2,
.jcx-split-content h1,
.jcx-split-content h2,
.jcx-split-stats strong,
.jcx-tour-price {
  font-family: var(--jcx-font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tours overview page */
.jcx-tours-page .jcx-hero {
  min-height: clamp(420px, 52vh, 560px);
  padding-block: clamp(108px, 12vh, 148px) clamp(28px, 4.5vh, 52px);
}

.jcx-tours-page .jcx-tour-intro {
  padding: 20px 0 4px;
  gap: 8px;
}

.jcx-tours-page .jcx-tour-grid {
  gap: 14px;
  padding: 16px 0 28px;
}

.jcx-tours-page .jcx-tour-card {
  min-height: 300px;
  padding: 22px;
}

.jcx-tours-page .jcx-tour-card h2 {
  font-size: clamp(24px, 2.1vw, 32px);
}

.jcx-tours-page .jcx-tour-card p {
  font-size: 13px;
  line-height: 1.4;
}

/* Tour detail pages */
.jcx-tour-detail-hero {
  min-height: min(560px, 72vh);
  padding: clamp(108px, 12vh, 148px) clamp(18px, 3.2vw, 52px) clamp(18px, 3.8vh, 36px);
}

.jcx-tour-detail-copy h1 {
  font-size: clamp(3.1rem, 7.2vw, 6.2rem);
  line-height: 0.88;
}

.jcx-tour-detail-copy > p {
  margin-top: 12px;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.5;
}

.jcx-tour-price {
  margin-top: 14px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.jcx-detail-actions {
  margin-top: 16px;
  gap: 10px;
}

.jcx-detail-layout {
  gap: clamp(18px, 3.2vw, 36px);
  padding-block: clamp(20px, 3.5vw, 34px);
}

.jcx-detail-main {
  gap: 12px;
}

.jcx-detail-main p {
  font-size: clamp(0.96rem, 1.05vw, 1.03rem);
  line-height: 1.62;
}

.jcx-detail-summary {
  top: 96px;
  padding: 18px;
}

.jcx-detail-summary div {
  padding: 0 0 12px;
  margin-bottom: 12px;
}

.jcx-detail-gallery {
  grid-auto-rows: minmax(180px, 22vw);
  gap: 6px;
  padding-bottom: clamp(18px, 3.2vw, 28px);
}

.jcx-detail-columns,
.jcx-itinerary {
  gap: 10px;
  padding-bottom: clamp(18px, 3.2vw, 28px);
}

.jcx-detail-columns article,
.jcx-itinerary > div {
  padding: 18px;
}

.jcx-detail-columns h2,
.jcx-itinerary h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.jcx-detail-columns ul,
.jcx-itinerary ol {
  gap: 8px;
}

.jcx-itinerary dd {
  margin: 0 0 9px;
}

/* Split-layout tour pages */
.jcx-split-layout {
  min-height: calc(100vh - 64px);
}

.jcx-split-left {
  padding: 28px 3.2%;
}

.jcx-split-right {
  height: calc(100vh - 64px);
  top: 64px;
}

.jcx-split-stats {
  margin: 14px 0;
  padding: 14px;
  gap: 10px;
}

.jcx-split-stats strong {
  font-size: 19px;
}

.jcx-split-text {
  margin-bottom: 16px;
  max-height: 24vh;
  font-size: 14px;
  line-height: 1.5;
}

.jcx-split-thumbs img {
  width: 118px;
  height: 76px;
}

@media (max-width: 980px) {
  .jcx-tour-detail-hero {
    min-height: 78vh;
    padding-top: 120px;
  }

  .jcx-detail-layout,
  .jcx-detail-columns,
  .jcx-itinerary {
    gap: 10px;
  }

  .jcx-detail-gallery {
    grid-auto-rows: minmax(180px, 34vw);
  }

  .jcx-split-left {
    padding: 24px 5%;
  }

  .jcx-split-right {
    height: 42vh;
  }

  .jcx-split-text {
    max-height: none;
    margin-bottom: 18px;
  }
}

@media (max-width: 680px) {
  .jcx-tours-page .jcx-hero {
    min-height: 360px;
    padding: 108px 16px 24px;
  }

  .jcx-tours-page .jcx-tour-grid {
    gap: 10px;
    padding-bottom: 20px;
  }

  .jcx-tours-page .jcx-tour-card {
    padding: 14px;
  }

  .jcx-tour-detail-hero {
    min-height: 62vh;
    padding: 102px 16px 16px;
  }

  .jcx-tour-detail-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .jcx-tour-price {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .jcx-detail-gallery {
    grid-auto-rows: minmax(150px, 50vw);
  }

  .jcx-split-right {
    height: 38vh;
  }

  .jcx-split-thumbs img {
    width: 98px;
    height: 64px;
  }
}

/* Mobile first-fold hero visibility fix (all pages) */
@media (max-width: 430px) {
  .jcx-page .jcx-hero {
    min-height: 860px !important;
    padding-top: 124px !important;
    padding-bottom: 112px !important;
    background-position: center 22% !important;
  }

  .jcx-page .jcx-hero-logo {
    width: min(210px, 56vw) !important;
    top: 132px !important;
  }

  .jcx-page .jcx-hero-content {
    padding-top: 385px !important;
    gap: 8px !important;
  }

  .jcx-page .jcx-hero h1 {
    line-height: 0.9 !important;
  }

  .jcx-page .jcx-script {
    margin-top: -2px !important;
  }
}

@media (max-width: 390px) {
  .jcx-page .jcx-hero {
    min-height: 830px !important;
    padding-top: 118px !important;
  }

  .jcx-page .jcx-hero-logo {
    width: min(196px, 54vw) !important;
    top: 124px !important;
  }

  .jcx-page .jcx-hero-content {
    padding-top: 360px !important;
  }
}

/* Home mobile: larger logo and slightly higher position */
@media (max-width: 430px) {
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    width: min(360px, 90vw) !important;
    top: 34px !important;
    left: 16px !important;
  }
}

@media (max-width: 390px) {
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    width: min(324px, 88vw) !important;
    top: 30px !important;
    left: 14px !important;
  }
}

/* Final mobile home positioning fixes */
@media (max-width: 680px) {
  .jcx-page.jcx-projects-page .jcx-whatsapp-float {
    right: 16px !important;
    left: auto !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center 20% !important;
  }
}

/* Terms gate modal */
.jcx-terms-gate {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.jcx-terms-gate.is-open {
  display: flex;
}

.jcx-terms-dialog {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #0a0a0a;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.55);
  padding: 22px 20px;
}

.jcx-terms-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.jcx-terms-dialog h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.8vw, 40px);
}

.jcx-terms-dialog p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
}

.jcx-terms-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.jcx-terms-check input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.jcx-terms-check a {
  color: #d0a74f;
  text-decoration: underline;
}

.jcx-terms-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.jcx-terms-actions .jcx-button {
  min-width: 164px;
}

.jcx-terms-actions .jcx-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Mobile home refinements: hero image shift, remove bottom bar, float buttons on scroll only */
@media (max-width: 680px) {
  .jcx-page .jcx-hero {
    background-position: 64% 22% !important;
  }

  .jcx-mobile-bar {
    display: none !important;
  }

  .jcx-page .jcx-home-float,
  .jcx-page .jcx-whatsapp-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  body.jcx-mobile-floats-visible .jcx-home-float,
  body.jcx-mobile-floats-visible .jcx-whatsapp-float {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Contact page email wrapping/size fix */
.jcx-contact-page .jcx-info-card p a[href^="mailto:"] {
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.25;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.jcx-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.jcx-hero-content p {
  margin-left: auto;
}

/* Location tags row (index hero) */
.jcx-location-tags {
  margin: 4px 0 0;
  font-family: var(--jcx-font-display);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jcx-gold-2);
  opacity: 0.9;
  text-align: right;
  max-width: none !important;
}

/* Feature strip inside the homepage hero */
.jcx-hero-features {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 0;
  background: rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-right: clamp(22px, 5vw, 64px);
  min-height: 110px;
}

.jcx-hero-features .jcx-feature {
  flex: 0 1 170px;
  min-height: 0;
  padding: 16px 12px;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-bottom: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.jcx-hero-features .jcx-feature:last-child {
  border-right: 1px solid rgba(255,255,255,0.15);
}

.jcx-hero-features .jcx-feature h3 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.jcx-hero-features .jcx-feature p {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  color: rgba(246,241,233,0.7);
  margin: 0;
  max-width: none;
}

.jcx-hero-features .jcx-ico {
  width: 24px !important;
  height: 24px !important;
  color: var(--jcx-gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jcx-kicker,
.jcx-section-kicker {
  margin: 0 0 8px;
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.11em;
  color: var(--jcx-gold-2);
  text-transform: uppercase;
}

.jcx-hero h1,
.jcx-title {
  margin: 0;
  font-family: var(--jcx-font-display);
  font-size: clamp(62px, 8.7vw, 128px);
  line-height: 0.9;
  letter-spacing: 0.045em;
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 5px 24px rgba(0,0,0,0.55);
  text-wrap: balance;
  max-width: 11ch;
}

.jcx-script {
  display: block;
  margin: -6px 0 10px;
  font-family: var(--jcx-font-script);
  font-size: clamp(54px, 6.6vw, 94px);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: 0;
  color: #f2c24d;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  text-wrap: balance;
}

.jcx-hero p:not(.jcx-kicker) {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.5;
  color: rgba(246, 241, 233, 0.94);
}

/* Homepage hero — tall + has logo + features strip */
.jcx-projects-page .jcx-hero {
  min-height: clamp(560px, 90vh, 960px);
  /* Extra bottom padding to make room for the features strip */
  padding-bottom: clamp(168px, 22vh, 260px);
  background-position: center 28%;
}

.jcx-projects-page .jcx-hero-content {
  max-width: 560px;
  margin-bottom: 6px;
}

.jcx-projects-page .jcx-hero p:not(.jcx-kicker) {
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246,241,233,0.96);
}

@media (min-width: 681px) {
  .jcx-page.jcx-projects-page .jcx-hero .jcx-hero-blurb {
    text-transform: none !important;
    letter-spacing: 0.01em;
    font-weight: 500;
  }
}

.jcx-main {
  background:
    radial-gradient(circle at 20% 0%, rgba(200, 146, 46, 0.08), transparent 26%),
    var(--jcx-bg);
}

.jcx-wrap {
  width: min(1450px, calc(100% - 56px));
  margin: 0 auto;
}

.jcx-tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0 24px;
}

.jcx-tours-page {
  overflow-x: hidden;
}

.jcx-tours-page .jcx-hero {
  min-height: clamp(480px, 62vh, 680px);
  background-position: center 48%;
}

.jcx-tours-page .jcx-hero-content {
  width: min(640px, 100%);
  gap: 8px;
}

.jcx-tours-page .jcx-hero h1 {
  max-width: 10ch;
}

.jcx-tours-page .jcx-hero .jcx-script {
  max-width: 13ch;
  margin: 0 0 10px;
}

.jcx-tours-page .jcx-hero p:not(.jcx-kicker) {
  max-width: 50ch;
  line-height: 1.55;
  color: rgba(246, 241, 233, 0.97);
}

.jcx-tour-intro {
  display: grid;
  gap: 10px;
  padding: 34px 0 8px;
}

.jcx-tour-intro h2 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: var(--jcx-font-display);
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jcx-tour-intro p:not(.jcx-section-kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(246, 241, 233, 0.84);
  font-size: 16px;
  line-height: 1.55;
}

.jcx-tours-page .jcx-tour-intro h2 {
  max-width: 18ch;
  line-height: 0.98;
}

.jcx-tours-page .jcx-tour-intro p:not(.jcx-section-kicker) {
  max-width: 58ch;
}

.jcx-tours-page .jcx-tour-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 0 42px;
}

.jcx-tour-card {
  position: relative;
  min-height: 208px;
  display: grid;
  align-items: end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #111;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.jcx-tours-page .jcx-tour-card {
  min-height: 360px;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.jcx-tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  border-color: rgba(200, 146, 46, 0.4);
}

.jcx-tours-page .jcx-tour-card:hover {
  transform: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(200, 146, 46, 0.45);
}

.jcx-tour-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.28) 62%, rgba(0,0,0,0.1)),
    var(--card-img);
  background-position: center;
  background-size: cover;
  transition: transform 420ms ease, filter 420ms ease;
  filter: brightness(0.9) saturate(1.05);
}

.jcx-tours-page .jcx-tour-card::before {
  transition: filter 180ms ease;
}

.jcx-tour-card:hover::before {
  transform: scale(1.045);
  filter: brightness(1);
}

.jcx-tours-page .jcx-tour-card:hover::before {
  transform: none;
  filter: brightness(0.96) saturate(1.04);
}

.jcx-tours-page .jcx-tour-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 72%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.jcx-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--jcx-gold-2), var(--jcx-gold));
  color: #fff;
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.jcx-tour-card > div {
  position: relative;
  z-index: 2;
  width: min(290px, 100%);
  min-width: 0;
}

.jcx-tours-page .jcx-tour-card > div {
  width: min(390px, 100%);
}

.jcx-tour-card h2,
.jcx-card-title,
.jcx-panel h2,
.jcx-contact-form h2,
.jcx-footer h2,
.jcx-footer h3,
.jcx-stat strong {
  font-family: var(--jcx-font-display);
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #fff;
}

.jcx-tour-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.jcx-tours-page .jcx-tour-card h2 {
  max-width: 15ch;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.jcx-tours-page .jcx-tour-card p {
  max-width: 34ch;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.48;
}

.jcx-tour-card p,
.jcx-tour-card li {
  margin: 0;
  font-size: 13px;
  color: rgba(246, 241, 233, 0.9);
}

.jcx-tour-card ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.jcx-tour-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--jcx-gold-2);
}

.jcx-button,
.jcx-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 18px;
  border: 1px solid var(--jcx-gold);
  border-radius: 6px;
  background: transparent;
  color: var(--jcx-gold-2);
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.jcx-button:hover,
.jcx-page .button:hover {
  background: var(--jcx-gold);
  color: #050505;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 146, 46, 0.25);
}

.jcx-button.gold,
.jcx-page .button-gold,
.jcx-sticky-whatsapp {
  border-color: transparent;
  background: linear-gradient(135deg, #f2bd4a, #c98a18);
  color: #050505 !important;
  box-shadow: 0 4px 14px rgba(200, 146, 46, 0.15);
}

.jcx-button.gold:hover,
.jcx-page .button-gold:hover,
.jcx-sticky-whatsapp:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(200, 146, 46, 0.35);
  transform: translateY(-2px);
}

.jcx-button::after,
.jcx-cta-outline::after,
.jcx-page .button::after,
.jcx-sticky-whatsapp::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  vertical-align: -4px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.jcx-button:hover::after,
.jcx-cta-outline:hover::after,
.jcx-page .button:hover::after,
.jcx-sticky-whatsapp:hover::after {
  transform: translateX(6px);
}

.jcx-mobile-bar {
  display: none;
}

.jcx-panel-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr 0.76fr;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-panel {
  padding: 32px;
  background: linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--jcx-white-line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jcx-panel:hover:not(.is-plain) {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.jcx-panel.is-plain {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.jcx-panel.is-plain:hover {
  transform: none;
  box-shadow: none;
}

.jcx-panel h2 {
  margin: 4px 0 16px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.92;
}

.jcx-panel p {
  margin: 0 0 14px;
  font-size: 16px;
}

.jcx-framed-img,
.jcx-mosaic img,
.jcx-story-img img,
.jcx-footer-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jcx-framed-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jcx-framed-img {
  min-height: 300px;
  overflow: hidden;
  border: 2px solid var(--jcx-gold);
  border-radius: 6px;
  background: #111;
}

.jcx-drivers {
  display: grid;
  gap: 15px;
}

.jcx-driver {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-driver h3 {
  margin: 0 0 4px;
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jcx-driver p {
  margin: 0;
  font-size: 14px;
}

.jcx-ico {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: var(--jcx-gold-2);
  line-height: 1;
}

.jcx-ico svg {
  width: 36px;
  height: 36px;
  display: block;
  stroke: currentColor;
}

.jcx-founder {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.25fr;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-founder .jcx-story-img {
  min-height: 330px;
  overflow: hidden;
}

.jcx-founder-copy {
  padding: 34px;
}

.jcx-founder-copy h2 {
  margin: 4px 0 8px;
  font-size: 44px;
}

.jcx-signature {
  font-family: var(--jcx-font-script);
  color: var(--jcx-gold-2);
  font-size: 56px;
  line-height: 0.8;
  margin: 12px 0 0;
}

.jcx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  background:
    linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.78)),
    url("images/princess.webp") center 42%/cover;
}

.jcx-stat {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 190px;
  padding: 22px;
  text-align: center;
  border-left: 1px solid var(--jcx-white-line);
}

.jcx-stat strong {
  display: block;
  color: var(--jcx-gold-2);
  font-size: 42px;
  line-height: 0.9;
}

.jcx-stat span {
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jcx-mission {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(22px, 4vw, 64px);
  background: linear-gradient(135deg, #d29a35, #9a681f);
  color: #050505;
}

.jcx-mission p,
.jcx-mission h2 {
  color: #050505;
  margin: 0;
}

.jcx-about-page .jcx-hero {
  min-height: clamp(360px, 46vh, 520px);
  background-position: center 56%;
}

.jcx-about-page .jcx-hero-content {
  max-width: 620px;
}

.jcx-about-page .jcx-hero-content p {
  margin-left: auto;
}

.jcx-about-page .jcx-hero .jcx-script {
  max-width: 12ch;
}

.jcx-about-page .jcx-panel-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.05fr) minmax(270px, 0.85fr);
  align-items: stretch;
  gap: 22px;
  padding-block: 34px;
}

.jcx-about-page .jcx-panel {
  border-radius: 8px;
}

.jcx-about-page .jcx-panel.is-plain {
  display: grid;
  align-content: center;
  padding: 6px 0;
}

.jcx-about-page .jcx-panel.is-plain p {
  max-width: 54ch;
}

.jcx-about-page .jcx-framed-img {
  min-height: 420px;
  border-width: 1px;
  border-color: var(--jcx-line);
}

.jcx-about-page .jcx-drivers {
  gap: 12px;
}

.jcx-about-page .jcx-driver {
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding-bottom: 12px;
}

.jcx-about-page .jcx-driver .jcx-ico {
  width: 40px;
  height: 40px;
}

.jcx-about-page .jcx-driver .jcx-ico svg {
  width: 28px;
  height: 28px;
}

.jcx-about-page .jcx-founder {
  width: min(1450px, calc(100% - 56px));
  margin: 0 auto;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--jcx-white-line);
  border-radius: 8px;
  background: var(--jcx-panel);
}

.jcx-about-page .jcx-founder .jcx-story-img {
  min-height: 460px;
}

.jcx-about-page .jcx-founder-copy {
  display: grid;
  align-content: center;
  padding: clamp(26px, 4vw, 58px);
}

.jcx-about-page .jcx-founder-copy p {
  max-width: 58ch;
}

.jcx-about-page .jcx-founder-copy h2 {
  font-family: var(--jcx-font-display);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jcx-about-page .jcx-founder-copy .jcx-script {
  max-width: 11ch;
}

.jcx-about-page .jcx-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--jcx-white-line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.82)),
    url("images/images2/peninsula/IMG-20260430-WA0003.jpg") center/cover;
}

.jcx-about-page .jcx-stat {
  min-height: 150px;
  border-left: 1px solid var(--jcx-white-line);
}

.jcx-about-page .jcx-stat:first-child {
  border-left: 0;
}

.jcx-about-page .jcx-mission {
  margin-top: 0;
}

.jcx-about-page .jcx-mission h2 {
  font-family: var(--jcx-font-display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jcx-about-page .jcx-mission p {
  max-width: 820px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
}

.jcx-about-page p,
.jcx-about-page span,
.jcx-about-page a {
  overflow-wrap: anywhere;
}

.jcx-about-page h1,
.jcx-about-page h2,
.jcx-about-page h3 {
  overflow-wrap: normal;
  word-break: normal;
}

.jcx-gallery-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 18px 0 14px;
}

.jcx-gallery-tabs button {
  min-height: 42px;
  border: 1px solid var(--jcx-gold);
  border-radius: 6px;
  background: #070707;
  color: var(--jcx-text);
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.jcx-gallery-tabs button:hover:not(.is-active) {
  background: rgba(200, 146, 46, 0.15);
  border-color: var(--jcx-gold-2);
}

.jcx-gallery-tabs button.is-active {
  background: linear-gradient(135deg, #e5ab3e, #be7f19);
  color: #050505;
  border-color: transparent;
}

.jcx-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding-bottom: 18px;
}

.jcx-mosaic figure {
  margin: 0;
  min-height: 210px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 5px;
  background: #111;
}

.jcx-gallery-story {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid var(--jcx-white-line);
  border-radius: 6px;
  background: var(--jcx-panel);
}

.jcx-gallery-story h2 {
  margin: 0;
  font-size: 28px;
}

.jcx-thumbs {
  display: flex;
  gap: 8px;
}

.jcx-thumbs img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

@keyframes jcx-fade-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.jcx-mosaic figure.is-animating {
  animation: jcx-fade-in 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.jcx-contact-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(420px, 1.32fr) minmax(230px, 0.76fr);
  gap: 20px;
  align-items: start;
  padding: 28px 0 34px;
}

.jcx-contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.jcx-contact-page .jcx-hero-content {
  width: min(620px, 100%);
}

.jcx-contact-page .jcx-hero .jcx-script {
  max-width: 12ch;
}

.jcx-contact-list {
  display: grid;
  gap: 12px;
}

.jcx-info-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--jcx-white-line);
  border-radius: 8px;
  background: var(--jcx-panel);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.jcx-info-card.is-primary {
  border-color: rgba(240, 191, 85, 0.62);
  background:
    linear-gradient(135deg, rgba(240, 191, 85, 0.12), rgba(255, 255, 255, 0.025)),
    var(--jcx-panel);
}

.jcx-info-card:hover {
  transform: translateX(6px);
  border-color: rgba(200, 146, 46, 0.4);
}

.jcx-info-card h3,
.jcx-feature h3 {
  margin: 0 0 6px;
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #fff;
}

.jcx-chevron {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: var(--jcx-gold-2);
}

.jcx-chevron svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
}

.jcx-info-card p {
  margin: 0;
  color: rgba(246, 241, 233, 0.78);
  font-size: 14px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.jcx-info-card p a {
  color: #fff;
  font-weight: 600;
}

.jcx-contact-form {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--jcx-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--jcx-panel);
}

.jcx-contact-form h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 0.95;
}

.jcx-form-head {
  margin-bottom: 20px;
}

.jcx-form-head .jcx-kicker {
  margin-bottom: 6px;
}

.jcx-form-head p:not(.jcx-kicker) {
  max-width: 54ch;
  margin: 8px 0 0;
  color: rgba(246, 241, 233, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.jcx-contact-form form {
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.jcx-contact-form label {
  gap: 7px;
  color: var(--jcx-gold-2);
  font-family: var(--jcx-font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.jcx-contact-form input,
.jcx-contact-form select,
.jcx-contact-form textarea,
.jcx-newsletter input {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(200, 146, 46, 0.42);
  border-radius: 7px;
  background: rgba(255,255,255,0.03);
  color: var(--jcx-text);
  font-family: var(--jcx-font-copy);
  font-size: 16px;
  transition: all 0.3s ease;
}

.jcx-contact-form select {
  cursor: pointer;
}

.jcx-contact-form input::placeholder,
.jcx-contact-form textarea::placeholder {
  color: rgba(246, 241, 233, 0.46);
}

.jcx-contact-form input:focus,
.jcx-contact-form select:focus,
.jcx-contact-form textarea:focus,
.jcx-newsletter input:focus {
  outline: none;
  border-color: var(--jcx-gold-2);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 2px rgba(200, 146, 46, 0.2);
}

.jcx-contact-form textarea {
  padding-top: 14px;
  min-height: 132px;
  resize: vertical;
}

.jcx-contact-form .full,
.jcx-contact-form .form-status,
.jcx-contact-form button {
  grid-column: 1 / -1;
}

.jcx-contact-form button {
  width: 100%;
  min-height: 50px;
}

.jcx-contact-form .form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--jcx-gold-2);
  font-size: 14px;
  line-height: 1.45;
}

.jcx-contact-form .form-status.error {
  color: #ffb08f;
}

.jcx-contact-form form.is-submitting {
  opacity: 0.82;
}

.jcx-plan-card {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--jcx-line);
  border-radius: 8px;
  text-align: left;
  background:
    linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.78)),
    url("images/fast/dunes/IMG-20260430-WA0140.webp") center/cover;
}

.jcx-plan-card h2 {
  margin: 12px 0 14px;
  font-family: var(--jcx-font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jcx-plan-card .jcx-script {
  max-width: 10ch;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 0.92;
}

.jcx-contact-steps {
  display: grid;
  gap: 11px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.jcx-contact-steps li {
  position: relative;
  padding-left: 25px;
  color: rgba(246, 241, 233, 0.86);
  font-size: 14px;
  line-height: 1.45;
}

.jcx-contact-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--jcx-gold-2);
  box-shadow: 0 0 0 4px rgba(240, 191, 85, 0.16);
}

.jcx-feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--jcx-white-line);
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-feature {
  min-height: 104px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-left: 1px solid var(--jcx-white-line);
  transition: background 0.3s ease;
}

.jcx-feature > div {
  min-width: 0;
}

.jcx-feature:hover {
  background: rgba(255, 255, 255, 0.02);
}

.jcx-hero + .jcx-feature-row .jcx-feature {
  min-height: 92px;
  padding-block: 12px;
}

.jcx-hero + .jcx-feature-row .jcx-ico {
  width: 40px;
  height: 40px;
}

.jcx-hero + .jcx-feature-row .jcx-ico svg {
  width: 30px;
  height: 30px;
}

.jcx-hero + .jcx-feature-row h3 {
  font-size: 21px;
}

.jcx-hero + .jcx-feature-row p {
  font-size: 13px;
}

.jcx-feature:first-child {
  border-left: 0;
}

.jcx-feature p {
  margin: 0;
  font-size: 14px;
}

.jcx-footer {
  padding: 34px clamp(22px, 4vw, 64px) 30px;
  background:
    linear-gradient(180deg, #080808 0%, #050505 100%);
  border-top: 1px solid var(--jcx-white-line);
  overflow: hidden;
}

.jcx-footer * {
  min-width: 0;
}

.jcx-newsletter {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) minmax(280px, 0.58fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--jcx-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.jcx-newsletter h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.jcx-newsletter p {
  max-width: 54ch;
  margin: 4px 0 0;
  color: rgba(246, 241, 233, 0.74);
  font-size: 14px;
  line-height: 1.45;
}

.jcx-footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) minmax(130px, 0.62fr) minmax(170px, 0.78fr) minmax(220px, 0.95fr) minmax(220px, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-footer-logo-switcher {
  position: relative;
  display: block;
  width: 210px;
  max-width: 88%;
  height: 48px;
  margin-bottom: 14px;
}
.jcx-footer-logo-switcher img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0;
}
.jcx-footer-logo-1 {
  animation: logoSwap1 12s infinite;
}
.jcx-footer-logo-2 {
  animation: logoSwap2 12s infinite;
}
@keyframes logoSwap1 {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes logoSwap2 {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.jcx-footer-brand p {
  max-width: 34ch;
  margin: 0 0 12px;
  color: rgba(246, 241, 233, 0.76);
  font-size: 14px;
  line-height: 1.58;
}

.jcx-footer-brand .jcx-script {
  margin: 10px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.9;
}

.jcx-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.jcx-footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--jcx-white-line);
  border-radius: 6px;
  color: var(--jcx-text);
  transition: all 0.3s ease;
}

.jcx-footer-socials a:hover {
  background: var(--jcx-gold);
  color: #050505;
  border-color: var(--jcx-gold);
  transform: translateY(-2px);
}

.jcx-footer-socials svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
}

.jcx-footer-col h3 {
  margin: 0 0 14px;
  color: var(--jcx-gold-2);
  font-size: 22px;
  line-height: 1;
}

.jcx-footer-col a,
.jcx-footer-col p {
  display: block;
  margin: 0;
  color: var(--jcx-muted);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.jcx-footer-col a {
  width: fit-content;
  min-height: 32px;
  padding: 4px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.jcx-footer-col a:hover {
  transform: translateX(3px);
}

.jcx-footer-col p + p,
.jcx-footer-col p + .jcx-button {
  margin-top: 14px;
}

.jcx-footer-col .jcx-button {
  width: fit-content;
  margin-top: 16px;
  padding-inline: 14px;
  font-size: 16px;
}

.jcx-faq-item {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--jcx-white-line);
  cursor: pointer;
}

.jcx-faq-item strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
}

.jcx-faq-item p {
  color: rgba(246, 241, 233, 0.72);
  font-size: 13px;
  line-height: 1.45;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 0;
}

.jcx-faq-item:hover p,
.jcx-faq-item:focus-within p {
  max-height: 150px;
  opacity: 1;
  margin-top: 5px;
}

.jcx-footer-strip {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-footer-strip h2 {
  margin: 0 0 12px;
  color: var(--jcx-gold-2);
  font-size: 22px;
  line-height: 1;
}

.jcx-footer-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.jcx-footer-strip-grid img {
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  filter: saturate(0.92) brightness(0.9);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.jcx-footer-strip-grid img:hover {
  filter: saturate(1.05) brightness(1);
  transform: translateY(-2px);
}

.jcx-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: var(--jcx-muted);
  font-size: 13px;
  line-height: 1.45;
}

.jcx-footer-bottom span,
.jcx-footer-bottom nav {
  min-width: 0;
  overflow-wrap: anywhere;
}

.jcx-footer-bottom a {
  margin-left: 22px;
  color: var(--jcx-muted);
  font-size: 13px;
}

.jcx-sticky-whatsapp {
  display: none;
}

.jcx-whatsapp-float {
  position: fixed;
  right: 22px;
  left: auto;
  bottom: 90px;
  z-index: 70;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.jcx-whatsapp-float:hover,
.jcx-whatsapp-float:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.jcx-whatsapp-float span,
.jcx-whatsapp-float i {
  display: none !important;
}

.jcx-whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.jcx-home-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--jcx-gold-1, #d0a74f);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.jcx-home-float:hover,
.jcx-home-float:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.jcx-home-float svg {
  width: 28px;
  height: 28px;
  stroke: #000;
}

.jcx-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 7, 7, 0.72);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.jcx-social-link:hover,
.jcx-social-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.5);
}

.jcx-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.jcx-social-link.is-whatsapp { color: #25d366; }
.jcx-social-link.is-instagram { color: #e1306c; }
.jcx-social-link.is-tiktok { color: #ffffff; }

.jcx-social-link.is-tiktok::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0);
}

@media (max-width: 1120px) {
  .jcx-page .top-nav {
    display: none;
  }

  .jcx-page .site-header {
    grid-template-columns: 1fr auto;
    padding-block: 6px;
  }

  .jcx-page .brand img {
    width: 156px;
    height: 58px;
  }

  .jcx-page .shop-link {
    display: none !important;
  }

  /* Reduce the left push slightly on tablet */
  .jcx-hero {
    padding-left: 36%;
  }

  .jcx-hero-logo {
    width: min(140px, 22vw);
  }

  .jcx-panel-grid,
  .jcx-contact-layout,
  .jcx-footer-main {
    grid-template-columns: 1fr;
  }

  .jcx-tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jcx-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .jcx-founder,
  .jcx-stats,
  .jcx-feature-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .jcx-newsletter {
    grid-template-columns: auto 1fr;
  }

  .jcx-newsletter input,
  .jcx-newsletter .jcx-button {
    grid-column: 1 / -1;
  }

  .jcx-footer-main {
    grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(170px, 0.72fr));
  }

  .jcx-footer-brand {
    grid-row: span 2;
  }
}

@media (max-width: 680px) {

  .jcx-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 31;
    display: grid;
    gap: 8px;
    padding: 12px 14px 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .jcx-socials {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .jcx-socials a,
  .jcx-contact-row a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 240, 231, 0.95);
  }

  .jcx-socials svg,
  .jcx-contact-row svg {
    width: 19px;
    height: 19px;
    color: #d0a74f;
  }

  .jcx-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .jcx-contact-row .jcx-sep {
    color: rgba(245, 240, 231, 0.6);
  }

  .jcx-page .site-header {
    grid-template-columns: 1fr auto;
    min-height: 54px;
    top: 72px;
    padding: 4px 12px;
    background: transparent;
  }

  .jcx-page .brand img {
    display: none;
  }

  .jcx-page .shop-link {
    display: none !important;
  }

  .jcx-page .hamburger {
    width: 44px;
    height: 44px;
    display: inline-flex;
    margin-left: auto;
    color: #d0a74f;
  }

  .jcx-hero {
    min-height: 980px;
    padding: 140px 18px 150px 18px;
    align-items: flex-start;
    background-image:
      linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.16) 48%, rgba(0,0,0,0.92) 80%, rgba(0,0,0,0.97) 100%),
      var(--hero-img, url("images/images2/guests/IMG-20260430-WA0060.jpg"));
    background-position: center top;
  }

  .jcx-hero-logo {
    display: block;
    width: min(248px, 62vw);
    top: 148px;
    left: 50%;
    transform: translateX(-50%);
  }

  .jcx-hero-content {
    margin-left: 0;
    text-align: center;
    align-items: center;
    width: min(100%, 33ch);
    padding-top: 530px;
  }

  .jcx-hero-content p {
    margin-left: 0;
    margin-right: 0;
  }

  .jcx-location-tags {
    display: none;
  }

  .jcx-hero-features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 10px 0 12px;
    border-top: 1px solid rgba(255,255,255,0.12);
    background: rgba(7, 7, 7, 0.92);
    backdrop-filter: blur(6px);
  }

  .jcx-hero-features .jcx-feature {
    flex: 1 1 25%;
    padding: 9px 2px;
    gap: 4px;
    border-bottom: none;
  }

  .jcx-hero-features .jcx-feature h3 {
    font-size: 8px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .jcx-hero-features .jcx-feature p {
    font-size: 8px;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: rgba(246,241,233,0.7);
  }

  .jcx-hero-features .jcx-ico {
    width: 24px !important;
    height: 24px !important;
  }

  .jcx-hero h1,
  .jcx-title {
    font-size: clamp(70px, 18vw, 98px);
    line-height: 0.86;
  }

  .jcx-script {
    font-size: clamp(70px, 17vw, 94px);
    line-height: 0.74;
  }

  .jcx-hero p:not(.jcx-kicker) {
    font-size: 20px;
    line-height: 1.35;
  }

  .jcx-projects-page .jcx-hero {
    min-height: 980px;
    align-items: end;
    padding-bottom: 176px;
  }

  .jcx-projects-page .jcx-hero-content > img {
    width: min(118px, 28vw) !important;
    margin-bottom: 4px !important;
  }

  .jcx-projects-page .jcx-kicker {
    margin-bottom: 8px;
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .jcx-projects-page .jcx-hero p:not(.jcx-kicker) {
    max-width: 30ch;
    line-height: 1.4;
    text-align: center;
  }

  .jcx-projects-page .jcx-location-tags {
    text-align: center;
    max-width: 33ch;
  }

  .jcx-projects-page .jcx-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .jcx-projects-page .jcx-feature {
    grid-template-columns: 34px 1fr;
    min-height: 72px;
    padding: 10px 8px;
  }

  .jcx-projects-page .jcx-feature .jcx-ico {
    width: 28px;
    height: 28px;
  }

  .jcx-projects-page .jcx-feature .jcx-ico svg {
    width: 18px;
    height: 18px;
  }

  .jcx-projects-page .jcx-feature h3 {
    font-size: 15px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .jcx-projects-page .jcx-feature p {
    font-size: 10.5px;
    line-height: 1.35;
  }

  .jcx-tours-page .jcx-hero {
    min-height: 390px;
    padding: 26px 18px;
    background-position: center 44%;
  }

  .jcx-tours-page .jcx-hero-content {
    width: min(100%, 32ch);
  }

  .jcx-tours-page .jcx-hero h1 {
    max-width: 8ch;
    font-size: clamp(48px, 15vw, 62px);
    line-height: 0.88;
  }

  .jcx-tours-page .jcx-hero .jcx-script {
    max-width: 11ch;
    font-size: 34px;
    line-height: 0.86;
  }

  .jcx-tours-page .jcx-hero p:not(.jcx-kicker) {
    max-width: 30ch;
    line-height: 1.42;
  }

  .jcx-tour-intro {
    padding: 22px 0 4px;
  }

  .jcx-tour-intro h2 {
    max-width: 13ch;
    font-size: 38px;
    line-height: 0.96;
  }

  .jcx-tour-intro p:not(.jcx-section-kicker) {
    max-width: 31ch;
    font-size: 14px;
  }

  .jcx-wrap {
    width: calc(100% - 28px);
  }

  .jcx-tour-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
  }

  .jcx-tour-card {
    min-height: 132px;
    grid-template-columns: minmax(116px, 0.82fr) 1fr;
    align-items: stretch;
    padding: 0;
    background: var(--jcx-panel);
    border-radius: 12px;
  }

  .jcx-tour-card::before {
    position: relative;
    grid-column: 1;
    background-image: var(--card-img);
    transform: none !important;
    border-radius: 12px 0 0 12px;
  }

  .jcx-tour-card > div {
    grid-column: 2;
    width: auto;
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .jcx-num {
    top: 7px;
    left: 7px;
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .jcx-tour-card h2 {
    font-size: 19px;
    line-height: 1.04;
  }

  .jcx-tour-card p,
  .jcx-tour-card li {
    font-size: 12px;
  }

  .jcx-tours-page .jcx-tour-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0 34px;
  }

  .jcx-tours-page .jcx-tour-card {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 190px auto;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    transform: none !important;
  }

  .jcx-tours-page .jcx-tour-card::before {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-height: 190px;
    background-image: var(--card-img);
    border-radius: 8px 8px 0 0;
    filter: brightness(0.94) saturate(1.04);
    transform: none !important;
    transition: none;
  }

  .jcx-tours-page .jcx-tour-card::after {
    display: none;
  }

  .jcx-tours-page .jcx-tour-card > div {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  }

  .jcx-tours-page .jcx-tour-card h2 {
    max-width: 16ch;
    font-size: 28px;
    line-height: 1;
  }

  .jcx-tours-page .jcx-tour-card p {
    max-width: 31ch;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .jcx-tours-page .jcx-tour-card .jcx-button {
    width: 100%;
    min-height: 42px;
    margin-top: 14px;
  }

  .jcx-button {
    min-height: 32px;
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 16px;
  }

  .jcx-mobile-bar {
    position: sticky;
    bottom: 0;
    z-index: 45;
    display: block;
    padding: 8px 14px 12px;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(8px);
  }

  .jcx-mobile-bar .jcx-sticky-whatsapp {
    display: flex;
  }

  .jcx-sticky-whatsapp {
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    border-radius: 7px;
    font-family: var(--jcx-font-display);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.085em;
  }

  .jcx-whatsapp-float {
    display: flex !important;
    bottom: 90px; /* clear the mobile bar */
    right: 22px;
    left: auto;
  }
  
  .jcx-home-float {
    bottom: 22px;
    left: 22px;
  }

  .jcx-gallery-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .jcx-gallery-tabs button {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 15px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .jcx-mosaic {
    gap: 6px;
  }

  .jcx-mosaic figure {
    min-height: auto;
  }

  .jcx-gallery-story {
    grid-template-columns: 1fr;
  }

  .jcx-thumbs {
    overflow-x: auto;
  }

  .jcx-contact-layout,
  .jcx-panel-grid {
    padding-top: 16px;
  }

  .jcx-info-card,
  .jcx-feature {
    grid-template-columns: 44px 1fr auto;
    padding: 14px;
  }

  .jcx-contact-form {
    padding: 18px;
  }

  .jcx-contact-form form {
    grid-template-columns: 1fr;
  }

  .jcx-contact-quick {
    gap: 10px;
  }

  .jcx-contact-quick .jcx-button {
    flex: 1 1 150px;
  }

  .jcx-contact-page .jcx-hero .jcx-script {
    max-width: 11ch;
    font-size: 34px;
    line-height: 0.86;
  }

  .jcx-contact-page .jcx-hero p:not(.jcx-kicker) {
    max-width: 33ch;
  }

  .jcx-contact-list {
    gap: 10px;
  }

  .jcx-info-card {
    min-height: 82px;
    grid-template-columns: 36px 1fr;
  }

  .jcx-info-card .jcx-ico {
    width: 34px;
    height: 34px;
  }

  .jcx-info-card .jcx-ico svg {
    width: 24px;
    height: 24px;
  }

  .jcx-info-card .jcx-chevron {
    display: none;
  }

  .jcx-info-card h3 {
    font-size: 20px;
  }

  .jcx-info-card p {
    font-size: 13px;
  }

  .jcx-form-head {
    margin-bottom: 16px;
  }

  .jcx-form-head p:not(.jcx-kicker) {
    max-width: 31ch;
  }

  .jcx-contact-form label {
    font-size: 15px;
  }

  .jcx-contact-form input,
  .jcx-contact-form select,
  .jcx-contact-form textarea {
    min-height: 46px;
    font-size: 15px;
  }

  .jcx-contact-form textarea {
    min-height: 118px;
  }

  .jcx-plan-card {
    padding: 20px;
    min-height: auto;
  }

  .jcx-plan-card h2 {
    font-size: 30px;
  }

  .jcx-plan-card .jcx-script {
    max-width: 11ch;
    font-size: 31px;
    line-height: 0.9;
  }

  .jcx-contact-page .jcx-feature p {
    max-width: 26ch;
  }

  .jcx-page .jcx-hero {
    min-height: 390px;
    padding: 86px 18px 22px;
    background-position: center 38%;
  }

  .jcx-page .jcx-hero-content {
    width: min(100%, 34ch);
    gap: 6px;
  }

  .jcx-page .jcx-hero h1 {
    font-size: clamp(44px, 13vw, 60px);
    line-height: 0.9;
    max-width: 9.8ch;
  }

  .jcx-page .jcx-hero .jcx-script {
    font-size: 42px;
    line-height: 0.86;
    max-width: 9.5ch;
  }

  .jcx-page .jcx-hero p:not(.jcx-kicker) {
    max-width: 30ch;
    font-size: 14px;
    line-height: 1.45;
  }

  .jcx-about-page .jcx-hero {
    justify-items: start;
    padding-right: 18px;
  }

  .jcx-about-page .jcx-hero-content {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    width: min(100%, 31ch);
    margin: 0;
    text-align: left;
    justify-items: start;
  }

  .jcx-about-page .jcx-hero .jcx-script {
    max-width: 9.8ch;
    font-size: 32px;
  }

  .jcx-about-page .jcx-hero p:not(.jcx-kicker) {
    margin-left: 0;
  }

  .jcx-about-page .jcx-panel-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 18px;
    overflow: hidden;
  }

  .jcx-about-page .jcx-panel.is-plain {
    padding: 0;
  }

  .jcx-about-page .jcx-panel.is-plain p {
    max-width: 29ch;
  }

  .jcx-about-page .jcx-panel h2 {
    max-width: 15ch;
    font-size: clamp(32px, 9vw, 40px);
    overflow-wrap: normal;
    word-break: normal;
  }

  .jcx-about-page .jcx-panel.is-plain .jcx-button {
    width: 100%;
    max-width: 320px;
  }

  .jcx-about-page .jcx-framed-img {
    min-height: 260px;
  }

  .jcx-about-page .jcx-panel {
    padding: 20px;
  }

  .jcx-about-page .jcx-driver {
    grid-template-columns: 34px 1fr;
    gap: 10px;
  }

  .jcx-about-page .jcx-driver h3 {
    font-size: 20px;
  }

  .jcx-about-page .jcx-driver p {
    max-width: 27ch;
    font-size: 13.5px;
  }

  .jcx-about-page .jcx-founder {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .jcx-about-page .jcx-founder .jcx-story-img {
    min-height: 320px;
  }

  .jcx-about-page .jcx-founder-copy {
    padding: 22px;
  }

  .jcx-about-page .jcx-founder-copy h2 {
    font-size: 40px;
    max-width: 12ch;
  }

  .jcx-about-page .jcx-founder-copy .jcx-script {
    max-width: 10ch;
    font-size: 34px;
  }

  .jcx-about-page .jcx-founder-copy p:not(.jcx-section-kicker):not(.jcx-signature) {
    max-width: 29ch;
  }

  .jcx-about-page .jcx-signature {
    font-size: 42px;
  }

  .jcx-about-page .jcx-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 28px);
    margin-block: 18px;
    overflow: hidden;
  }

  .jcx-about-page .jcx-stat {
    min-height: 118px;
    padding: 16px 10px;
    border-top: 1px solid var(--jcx-white-line);
  }

  .jcx-about-page .jcx-stat:nth-child(1),
  .jcx-about-page .jcx-stat:nth-child(2) {
    border-top: 0;
  }

  .jcx-about-page .jcx-stat:nth-child(odd) {
    border-left: 0;
  }

  .jcx-about-page .jcx-stat strong {
    font-size: 34px;
  }

  .jcx-about-page .jcx-stat span {
    font-size: 15px;
  }

  .jcx-about-page .jcx-mission {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 20px;
  }

  .jcx-about-page .jcx-mission h2 {
    font-size: 38px;
  }

  .jcx-about-page .jcx-mission p {
    max-width: 31ch;
    font-size: 14px;
    line-height: 1.45;
  }

  .jcx-founder,
  .jcx-stats,
  .jcx-feature-row,
  .jcx-footer-strip-grid {
    grid-template-columns: 1fr;
  }

  .jcx-feature:first-child,
  .jcx-feature {
    border-left: 0;
    border-top: 1px solid var(--jcx-white-line);
    min-height: 96px;
  }

  .jcx-feature:first-child {
    border-top: 0;
  }

  .jcx-footer {
    padding: 18px 18px 86px;
    width: 100%;
    max-width: 100vw;
  }

  .jcx-footer p,
  .jcx-footer a,
  .jcx-footer span,
  .jcx-footer strong {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .jcx-newsletter {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .jcx-newsletter .jcx-ico {
    display: none;
  }

  .jcx-newsletter h2 {
    font-size: 24px;
  }

  .jcx-newsletter p {
    font-size: 13px;
    max-width: 30ch;
  }

  .jcx-newsletter input {
    min-height: 44px;
    font-size: 15px;
  }

  .jcx-newsletter .jcx-button {
    width: 100%;
    min-height: 44px;
  }

  .jcx-footer-brand {
    text-align: left;
  }

  .jcx-footer-logo-switcher {
    width: 336px;
    max-width: 96%;
    height: 96px;
    margin-inline: 0;
  }

  .jcx-footer-brand p {
    max-width: 30ch;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .jcx-footer-brand .jcx-script {
    font-size: 30px;
  }

  .jcx-footer-socials {
    justify-content: flex-start;
  }

  .jcx-footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 0 22px;
  }

  .jcx-footer-brand,
  .jcx-footer-main .jcx-footer-col:nth-child(4),
  .jcx-footer-main .jcx-footer-col:nth-child(5) {
    grid-column: auto;
  }

  .jcx-footer-col h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .jcx-footer-col a {
    min-height: 30px;
    font-size: 13px;
  }

  .jcx-footer-col p,
  .jcx-faq-item strong {
    font-size: 13px;
  }

  .jcx-footer-col .jcx-button {
    width: 100%;
    min-height: 42px;
  }

  .jcx-footer-col .jcx-button[href*="wa.me"] {
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border-color: transparent;
    background: linear-gradient(135deg, #f2bd4a, #c98a18);
    color: #050505 !important;
    box-shadow: 0 6px 18px rgba(200, 146, 46, 0.25);
  }

  .jcx-footer-strip {
    padding-block: 16px;
  }

  .jcx-footer-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .jcx-footer-strip-grid img {
    border-radius: 4px;
  }

  .jcx-footer-bottom,
  .jcx-footer-bottom nav {
    display: grid;
    justify-items: start;
    gap: 10px;
  }

  .jcx-footer-bottom nav {
    width: 100%;
  }

  .jcx-footer-bottom span {
    display: block;
    max-width: 34ch;
  }

  .jcx-footer-bottom a {
    margin: 0 18px 0 0;
  }
}

/* =========================================================================
   PHASE 0 — Cinematic + Speed quick wins
   Loader curtain · Fraunces display font · word-stagger H1 · film grain · marquee
   ========================================================================= */

/* ---------- Display font: Fraunces variable serif (h1/h2 only) ---------- */
h1,
h2,
.marquee-track,
.brand,
.section-number {
  font-feature-settings: "ss01" 1, "ss02" 1, "kern" 1, "liga" 1;
}
h1,
h2 {
  font-family: "Fraunces", "Big Caslon QR", Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-weight: 360;
}

/* ---------- Loader curtain ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  display: grid;
  place-items: center;
  transition: transform 950ms cubic-bezier(0.77, 0, 0.175, 1) 60ms,
              opacity 360ms ease;
  will-change: transform;
}
.site-loader.is-hidden {
  transform: translateY(-101%);
  pointer-events: none;
}
.site-loader-mark {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.site-loader-mark img {
  width: 88px;
  height: 88px;
  opacity: 0;
  transform: scale(0.9);
  animation: loader-mark-in 820ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}
.site-loader-word {
  font-family: "Fraunces", "Big Caslon QR", Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 320;
  font-style: italic;
  font-size: 18px;
  color: var(--cream);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  opacity: 0;
  animation: loader-mark-in 820ms cubic-bezier(0.22, 1, 0.36, 1) 320ms forwards;
}
.site-loader-bar {
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: loader-bar 1300ms cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
}
@keyframes loader-mark-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes loader-bar {
  from { width: 0; }
  to { width: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader {
    transition: opacity 200ms ease;
  }
  .site-loader.is-hidden { transform: none; opacity: 0; }
  .site-loader-mark img,
  .site-loader-word { animation: none; opacity: 1; filter: none; transform: none; }
  .site-loader-bar { animation: none; width: 90px; }
}

/* ---------- Word-stagger reveal for hero H1 ---------- */
.hero h1.hero-h1-words {
  /* override the previous full-h1 animation so words animate individually */
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
  display: block;
}
.hero h1.hero-h1-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1;
  padding-bottom: 0.12em;
}
.hero h1.hero-h1-words .word > span {
  display: inline-block;
  transform: translateY(112%) skewY(4deg);
  animation: hero-word-up 1150ms cubic-bezier(0.22, 1, 0.36, 1) calc(260ms + var(--i, 0) * 95ms) forwards;
}
@keyframes hero-word-up {
  to { transform: translateY(0) skewY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1.hero-h1-words .word > span {
    animation: none;
    transform: none;
  }
}

/* ---------- Film grain overlay (third layer; body::before/::after already used) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.055;
  mix-blend-mode: overlay;
}
@media (max-width: 640px) {
  .grain { opacity: 0.04; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
}

@media (max-width: 680px) {
  .jcx-projects-page .jcx-hero {
    min-height: 350px;
    padding-block: 18px;
    align-items: end;
  }

  .jcx-projects-page .jcx-hero-content > img {
    width: min(86px, 22vw) !important;
    margin-bottom: 3px !important;
  }

  .jcx-projects-page .jcx-hero h1 {
    max-width: 280px;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 0.9;
  }

  .jcx-projects-page .jcx-script {
    margin-block: 4px 8px;
    font-size: 30px;
  }

  .jcx-projects-page .jcx-hero p:not(.jcx-kicker) {
    font-size: 12px;
    line-height: 1.35;
  }

  .jcx-projects-page .jcx-button.gold {
    min-height: 34px;
    margin-top: 9px;
    padding: 7px 14px;
    font-size: 16px;
  }

  .jcx-projects-page .jcx-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jcx-projects-page .jcx-feature {
    grid-template-columns: 30px 1fr;
    min-height: 64px;
    padding: 9px 8px;
  }

  .jcx-projects-page .jcx-feature .jcx-ico {
    width: 26px;
    height: 26px;
  }

  .jcx-projects-page .jcx-feature h3 {
    font-size: 13.5px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .jcx-projects-page .jcx-feature p {
    font-size: 10.5px;
    line-height: 1.25;
  }
}

.legal-header {
  position: sticky;
  background: rgba(0,0,0,.92);
}

.jcx-legal-page {
  min-height: 100vh;
  padding: clamp(120px, 14vw, 170px) 0 80px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.7)),
    url("images/main.PNG") center / cover fixed;
}

.jcx-legal-page .jcx-wrap {
  max-width: 900px;
}

.jcx-legal-page h1,
.jcx-legal-page h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0;
}

.jcx-legal-page h1 {
  margin: 0 0 26px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.jcx-legal-page h2 {
  margin: 30px 0 8px;
  color: var(--gold);
}

.jcx-legal-page p {
  max-width: 720px;
  color: rgba(255,255,255,.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.jcx-legal-page ul {
  max-width: 720px;
  color: rgba(255,255,255,.86);
  font-size: 1.05rem;
  line-height: 1.65;
  padding-left: 20px;
  margin-bottom: 20px;
}

.jcx-legal-page li {
  margin-bottom: 6px;
}

.jcx-effective {
  color: var(--jcx-gold-1);
  font-weight: 600;
  margin-bottom: 20px !important;
}

.jcx-tour-detail-hero {
  min-height: min(760px, 100vh);
  display: grid;
  align-items: end;
  padding: clamp(150px, 18vh, 220px) clamp(22px, 4vw, 68px) clamp(34px, 7vh, 76px);
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.56) 42%, rgba(0,0,0,.16) 100%),
    var(--hero-img) center / cover;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-tour-detail-copy {
  max-width: 760px;
}

.jcx-tour-detail-copy h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: 0;
}

.jcx-tour-detail-copy > p {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.jcx-tour-price {
  margin-top: 22px;
  color: var(--jcx-gold-2);
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: .9;
}

.jcx-tour-price span {
  display: inline-block;
  color: rgba(255,255,255,.82);
  font-family: var(--body);
  font-size: 1rem;
  text-transform: uppercase;
}

.jcx-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.jcx-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(24px, 5vw, 70px);
  padding-block: clamp(42px, 7vw, 82px);
}

.jcx-detail-main {
  display: grid;
  gap: 16px;
}

.jcx-detail-main p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.jcx-detail-summary,
.jcx-detail-columns article,
.jcx-itinerary > div {
  border: 1px solid var(--jcx-white-line);
  border-radius: 6px;
  background: linear-gradient(140deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

.jcx-detail-summary {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 24px;
}

.jcx-detail-summary div {
  display: grid;
  gap: 4px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--jcx-white-line);
}

.jcx-detail-summary span,
.jcx-itinerary dt {
  color: var(--jcx-gold);
  font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.jcx-detail-summary strong {
  color: #fff;
  font-size: 1.3rem;
}

.jcx-detail-gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: minmax(220px, 30vw);
  gap: 8px;
  padding-bottom: clamp(42px, 7vw, 82px);
}

.jcx-detail-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.jcx-detail-gallery img:first-child,
.jcx-detail-gallery img:nth-child(4) {
  grid-row: span 2;
}

.jcx-detail-columns,
.jcx-itinerary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: clamp(42px, 7vw, 82px);
}

.jcx-itinerary {
  grid-template-columns: .9fr 1.1fr;
}

.jcx-detail-columns article,
.jcx-itinerary > div {
  padding: 26px;
}

.jcx-detail-columns h2,
.jcx-itinerary h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: .9;
  text-transform: uppercase;
}

.jcx-detail-columns ul,
.jcx-itinerary ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255,255,255,.86);
}

.jcx-itinerary dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.jcx-itinerary dd {
  margin: 0 0 12px;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .jcx-detail-layout,
  .jcx-detail-columns,
  .jcx-itinerary {
    grid-template-columns: 1fr;
  }

  .jcx-detail-summary {
    position: static;
  }

  .jcx-detail-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .jcx-tour-detail-hero {
    min-height: 100vh;
    padding-top: 132px;
    background:
      linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.46) 42%, rgba(0,0,0,.88) 100%),
      var(--hero-img) center / cover;
  }

  .jcx-detail-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(230px, 70vw);
  }

  .jcx-detail-gallery img:first-child,
  .jcx-detail-gallery img:nth-child(4) {
    grid-row: span 1;
  }
}

/* Continuous Icon Animations */
@keyframes jcx-float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.jcx-page svg,
.jcx-ico svg,
.jcx-socials svg,
.jcx-footer-socials svg,
.jcx-chevron svg {
  animation: jcx-float-icon 3.5s ease-in-out infinite;
  display: inline-block;
}

/* =========================================================================
   Tour Detail Split Layout (Plan A)
   ========================================================================= */
.jcx-split-layout {
  display: flex;
  min-height: calc(100vh - 82px);
  background: var(--jcx-bg);
  border-top: 1px solid var(--jcx-white-line);
}

.jcx-split-left {
  flex: 0 0 42%;
  padding: 60px 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jcx-split-right {
  flex: 0 0 58%;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 82px);
  position: sticky;
  top: 82px;
  background: #000;
  border-left: 1px solid var(--jcx-white-line);
}

.jcx-split-main-img {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
}

.jcx-split-main-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.jcx-split-thumbs {
  flex: 0 0 auto;
  display: flex;
  gap: 2px;
  background: #000;
  overflow-x: auto;
  scrollbar-width: none;
}
.jcx-split-thumbs::-webkit-scrollbar { display: none; }

.jcx-split-thumbs img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.jcx-split-thumbs img:hover,
.jcx-split-thumbs img.is-active {
  opacity: 1;
}

.jcx-split-content h1 {
  margin-bottom: 12px;
}

.jcx-split-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--jcx-line);
  border-radius: 8px;
}
.jcx-split-stats span {
  display: block;
  font-family: var(--jcx-font-display);
  font-size: 16px;
  color: var(--jcx-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.jcx-split-stats strong {
  font-family: var(--jcx-font-display);
  font-size: 22px;
  color: var(--jcx-gold-2);
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jcx-split-text {
  font-size: 15px;
  color: #d1d1d1;
  line-height: 1.7;
  margin-bottom: 36px;
  max-height: 35vh;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--jcx-gold) transparent;
}
.jcx-split-text p { margin-bottom: 16px; }

.jcx-split-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .jcx-split-layout {
    flex-direction: column;
  }
  .jcx-split-left {
    padding: 40px 5%;
    order: 2;
  }
  .jcx-split-right {
    position: static;
    height: 55vh;
    order: 1;
    border-left: none;
    border-bottom: 1px solid var(--jcx-white-line);
  }
  .jcx-split-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .jcx-split-text {
    max-height: none;
    overflow-y: visible;
  }
}
@media (max-width: 600px) {
  .jcx-split-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Homepage mobile lock: headline + blurb match mockup */
@media (max-width: 680px) {
  .jcx-page.jcx-projects-page .jcx-topbar {
    display: grid !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    gap: 8px;
    padding: 12px 16px 10px;
    background: linear-gradient(to bottom, rgba(4, 7, 14, 0.82), rgba(4, 7, 14, 0.15));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .jcx-page.jcx-projects-page .site-header {
    top: 74px !important;
    min-height: 50px !important;
    padding: 2px 12px !important;
    background: transparent !important;
    z-index: 41;
  }

  .jcx-page.jcx-projects-page .brand {
    display: none !important;
  }

  .jcx-page.jcx-projects-page .hamburger {
    margin-left: auto;
    color: #cfa64b;
  }

  .jcx-page.jcx-projects-page .jcx-hero {
    min-height: 930px !important;
    padding: 142px 16px 138px !important;
    align-items: flex-start !important;
    background-position: center top !important;
    background-image:
      linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.15) 46%, rgba(0,0,0,0.84) 74%, rgba(0,0,0,0.96) 100%),
      url("images/main.PNG") !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-logo {
    display: block !important;
    width: min(240px, 63vw) !important;
    top: 150px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .jcx-projects-page .jcx-hero-content {
    width: min(100%, 31ch) !important;
    padding-top: 470px !important;
    gap: 6px !important;
    margin: 0 auto !important;
    align-items: center !important;
    text-align: center !important;
  }

  .jcx-projects-page .jcx-kicker {
    font-size: clamp(12px, 3.4vw, 15px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0.09em !important;
    margin-bottom: 3px !important;
    text-transform: uppercase !important;
    color: #d0a74f !important;
  }

  .jcx-projects-page .jcx-hero h1 {
    font-size: clamp(52px, 14.2vw, 74px) !important;
    line-height: 0.84 !important;
    letter-spacing: 0.014em !important;
    max-width: none !important;
    margin-bottom: 0 !important;
  }

  .jcx-projects-page .jcx-script {
    font-size: clamp(50px, 13.5vw, 70px) !important;
    line-height: 0.74 !important;
    margin: -5px 0 6px !important;
    max-width: none !important;
    color: #d0a74f !important;
  }

  .jcx-projects-page .jcx-hero-blurb {
    max-width: 31ch !important;
    margin: 0 auto !important;
    font-size: clamp(12.5px, 3.35vw, 14.5px) !important;
    line-height: 1.38 !important;
    letter-spacing: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-transform: none !important;
    font-weight: 500 !important;
  }

  .jcx-projects-page .jcx-hero-blurb strong {
    color: #d0a74f !important;
    font-weight: 700 !important;
  }
}

/* Final homepage mobile match pass (reference-driven) */
@media (max-width: 430px) {
  html, body {
    overflow-x: hidden;
  }

  .jcx-page.jcx-projects-page .jcx-topbar {
    display: grid !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    gap: 8px;
    padding: 12px 16px 10px;
    background: linear-gradient(to bottom, rgba(4, 7, 14, 0.82), rgba(4, 7, 14, 0.15));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .jcx-page.jcx-projects-page .jcx-socials {
    display: flex !important;
    gap: 14px;
  }

  .jcx-page.jcx-projects-page .jcx-socials svg,
  .jcx-page.jcx-projects-page .jcx-contact-row svg {
    width: 20px;
    height: 20px;
    color: #cfa64b;
  }

  .jcx-page.jcx-projects-page .jcx-contact-row {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: clamp(10px, 2.8vw, 13px);
    line-height: 1;
    white-space: nowrap;
  }

  .jcx-page.jcx-projects-page .site-header {
    top: 74px;
    min-height: 50px;
    padding: 2px 12px;
    background: transparent;
    z-index: 41;
  }

  .jcx-page.jcx-projects-page .brand {
    display: none;
  }

  .jcx-page.jcx-projects-page .hamburger {
    margin-left: auto;
    color: #cfa64b;
  }

  .jcx-page.jcx-projects-page .jcx-hero {
    min-height: 930px;
    padding: 142px 16px 138px;
    align-items: flex-start;
    background-position: center top;
    background-image:
      linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.15) 46%, rgba(0,0,0,0.84) 74%, rgba(0,0,0,0.96) 100%),
      var(--hero-img, url("images/images2/guests/IMG-20260430-WA0060.jpg"));
  }

  .jcx-page.jcx-projects-page .jcx-hero-logo {
    display: block !important;
    width: min(240px, 63vw);
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
  }

  .jcx-page.jcx-projects-page .jcx-hero-content {
    width: min(100%, 31ch) !important;
    margin: 0 auto !important;
    align-items: center !important;
    text-align: center !important;
    padding-top: 505px !important;
    gap: 6px !important;
  }

  .jcx-page.jcx-projects-page .jcx-kicker {
    margin: 0 0 4px !important;
    font-size: clamp(12px, 3.4vw, 15px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0.085em !important;
    color: #cfa64b !important;
    text-transform: uppercase !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero h1 {
    font-size: clamp(52px, 14.8vw, 72px) !important;
    line-height: 0.84 !important;
    letter-spacing: 0.014em !important;
    margin: 0 !important;
    max-width: none !important;
  }

  .jcx-page.jcx-projects-page .jcx-script {
    font-size: clamp(50px, 13.8vw, 68px) !important;
    line-height: 0.74 !important;
    margin: -4px 0 6px !important;
    color: #cfa64b !important;
    max-width: none !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-blurb {
    margin: 0 auto !important;
    max-width: 31ch !important;
    font-size: clamp(12.5px, 3.35vw, 14.5px) !important;
    line-height: 1.38 !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.92) !important;
    text-transform: none !important;
  }

  .jcx-page.jcx-projects-page .jcx-location-tags {
    display: none !important;
  }

  .jcx-page.jcx-projects-page .jcx-button.gold {
    margin-top: 8px !important;
    min-height: 54px;
    width: min(100%, 520px);
    padding: 12px 18px;
    font-size: clamp(28px, 7vw, 36px);
  }

  .jcx-page.jcx-projects-page .jcx-button.gold svg {
    width: 22px;
    height: 22px;
  }

  .jcx-page.jcx-projects-page .jcx-hero-features {
    padding: 10px 0 12px;
    background: linear-gradient(to right, rgba(0,0,0,0.72), rgba(0,0,0,0.62));
  }

  .jcx-page.jcx-projects-page .jcx-hero-features .jcx-feature {
    padding: 8px 2px;
    gap: 4px;
    border-left-color: rgba(255,255,255,0.22);
  }

  .jcx-page.jcx-projects-page .jcx-hero-features .jcx-feature h3,
  .jcx-page.jcx-projects-page .jcx-hero-features .jcx-feature p {
    font-size: clamp(7px, 2vw, 9px);
    line-height: 1.2;
  }

  .jcx-page.jcx-projects-page .jcx-mobile-bar {
    display: none;
  }
}

/* =========================================================================
   Tour-page image UX + gallery lightbox + footer auto slider
   ========================================================================= */

/* Keep tour pages compact but ensure image visibility on mobile: content first, media second */
@media (max-width: 980px) {
  .jcx-split-layout {
    flex-direction: column;
  }
  .jcx-split-left {
    order: 1 !important;
    padding: 26px 5% 14px !important;
  }
  .jcx-split-right {
    order: 2 !important;
    position: static !important;
    height: 48vh !important;
    border-left: none !important;
    border-top: 1px solid var(--jcx-white-line);
  }
}

@media (max-width: 680px) {
  .jcx-split-right {
    height: 42vh !important;
  }
}

/* Footer strip carousel (all pages, desktop + mobile) */
.jcx-footer-strip-grid.jcx-carousel {
  position: relative;
  display: block;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.jcx-footer-strip-grid.jcx-carousel .jcx-carousel-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: jcx-footer-scroll 42s linear infinite;
}

.jcx-footer-strip-grid.jcx-carousel:hover .jcx-carousel-track {
  animation-play-state: paused;
}

.jcx-footer-strip-grid.jcx-carousel img {
  width: 220px;
  height: 150px;
  flex: 0 0 auto;
}

@keyframes jcx-footer-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 680px) {
  .jcx-footer-strip-grid.jcx-carousel img {
    width: 150px;
    height: 110px;
  }
}

/* Universal image lightbox with prev/next */
.jcx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.9);
}

.jcx-lightbox.is-open {
  display: flex;
}

.jcx-lightbox-img {
  max-width: min(95vw, 1300px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0,0,0,0.5);
}

.jcx-lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(7,7,7,0.72);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.jcx-lightbox-prev { left: 14px; }
.jcx-lightbox-next { right: 14px; }

.jcx-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(7,7,7,0.72);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.jcx-lightbox-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  text-align: center;
  color: rgba(245,240,231,0.92);
  font-size: 13px;
}

@media (max-width: 680px) {
  .jcx-lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Home desktop hero CTA polish */
@media (min-width: 681px) {
  .jcx-page.jcx-projects-page .jcx-hero .jcx-button.gold {
    min-height: 56px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: clamp(19px, 1.55vw, 26px);
    letter-spacing: 0.07em;
    gap: 10px;
    margin-top: 12px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  }

  .jcx-page.jcx-projects-page .jcx-hero .jcx-button.gold svg {
    width: 22px;
    height: 22px;
  }
}

/* Restore transparent header/top contact visibility */
.jcx-page .site-header,
.jcx-page .site-header.is-scrolled {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.jcx-topbar,
.jcx-page .jcx-topbar,
.jcx-page.jcx-projects-page .jcx-topbar {
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Header icon animations off (WhatsApp / email / socials) */
.jcx-topbar svg,
.jcx-socials svg,
.jcx-contact-row svg {
  animation: none !important;
  transform: none !important;
}

/* =========================================================================
   Global UX polish pass (desktop + mobile, non-destructive)
   ========================================================================= */

/* Consistent focus visibility + keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--jcx-gold-2, #d0a74f);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Reduce accidental horizontal overflow across pages */
html, body, .jcx-page, .jcx-main {
  max-width: 100%;
  overflow-x: clip;
}

/* More consistent section rhythm and readable measures */
.jcx-wrap {
  width: min(1320px, calc(100% - 64px));
}

.jcx-main > section,
.jcx-main > .jcx-wrap,
.jcx-main > .jcx-split-layout {
  scroll-margin-top: 112px;
}

.jcx-page p {
  max-width: 64ch;
}

/* Header polish */
.jcx-page .site-header {
  backdrop-filter: blur(8px);
}

.jcx-page .top-nav a,
.jcx-page .header-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

/* Button consistency */
.jcx-button,
.jcx-page .button,
.jcx-sticky-whatsapp {
  border-radius: 7px;
  min-height: 42px;
  padding: 10px 18px;
  letter-spacing: 0.07em;
}

.jcx-button.gold,
.jcx-page .button-gold {
  box-shadow: 0 6px 18px rgba(200, 146, 46, 0.22);
}

/* Card and panel consistency */
.jcx-tour-card,
.jcx-panel,
.jcx-info-card,
.jcx-plan-card,
.jcx-detail-summary,
.jcx-detail-columns article,
.jcx-itinerary > div {
  border-radius: 8px;
}

.jcx-tour-card,
.jcx-info-card,
.jcx-panel {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Contact form readability and tap targets */
.jcx-contact-form label span {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.jcx-contact-form input,
.jcx-contact-form select,
.jcx-contact-form textarea,
.jcx-newsletter input {
  min-height: 48px;
  border-radius: 6px;
  font-size: 15px;
}

.jcx-contact-form textarea {
  min-height: 132px;
}

/* Footer flow and alignment */
.jcx-footer-main {
  align-items: start;
}

.jcx-footer-col a,
.jcx-footer-col p {
  line-height: 1.45;
}

/* Mobile global consistency */
@media (max-width: 1120px) {
  .jcx-wrap {
    width: min(1200px, calc(100% - 40px));
  }

  .jcx-footer-main {
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .jcx-wrap {
    width: calc(100% - 28px);
  }

  .jcx-page {
    font-size: 15px;
  }

  .jcx-page p {
    max-width: 31ch;
  }

  .jcx-page .site-header {
    padding-inline: 14px;
  }

  .jcx-page .hamburger,
  .mobile-menu .hamburger {
    width: 46px;
    height: 46px;
  }

  .mobile-menu {
    width: min(390px, 100%);
    padding: 16px 14px 22px;
  }

  .mobile-nav a {
    min-height: 44px;
    border-radius: 6px;
  }

  .jcx-button,
  .jcx-page .button,
  .jcx-sticky-whatsapp {
    min-height: 44px;
    width: auto;
    font-size: 16px;
  }

  .jcx-tour-grid,
  .jcx-panel-grid,
  .jcx-contact-layout,
  .jcx-footer-main,
  .jcx-detail-layout,
  .jcx-detail-columns,
  .jcx-itinerary,
  .jcx-split-layout {
    gap: 14px;
  }

  .jcx-tour-card {
    border-radius: 7px;
  }

  .jcx-tour-card h2 {
    font-size: clamp(22px, 7.2vw, 30px);
  }

  .jcx-tour-card p {
    font-size: 13px;
    line-height: 1.42;
  }

  .jcx-contact-form input,
  .jcx-contact-form select,
  .jcx-contact-form textarea,
  .jcx-newsletter input {
    min-height: 46px;
    font-size: 15px;
  }

  .jcx-newsletter,
  .jcx-footer,
  .jcx-footer-main {
    overflow: hidden;
  }
}

@media (max-width: 430px) {
  .jcx-wrap {
    width: calc(100% - 24px);
  }

  .jcx-page p {
    max-width: 30ch;
  }

  .jcx-button,
  .jcx-page .button,
  .jcx-sticky-whatsapp {
    font-size: 15px;
    letter-spacing: 0.055em;
  }
}

/* Home header transparency parity with other pages */
.jcx-page.jcx-projects-page .site-header,
.jcx-page.jcx-projects-page .site-header.is-scrolled,
.jcx-page.jcx-projects-page .jcx-topbar {
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Mobile: hide top contact strip while scrolling down */
@media (max-width: 680px) {
  .jcx-topbar {
    display: flex !important;
    justify-content: center;
    padding: 8px 12px 0;
  }
  .jcx-socials,
  .jcx-contact-row .jcx-sep,
  .jcx-contact-row a[href^="mailto:"] {
    display: none !important;
  }
  .jcx-contact-row {
    font-size: 15px;
  }
  .jcx-contact-row a[href*="wa.me"] {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #fff;
  }

  .jcx-topbar.is-hidden-on-scroll {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
}

/* Header contact row polish (desktop) */
@media (min-width: 681px) {
  .jcx-topbar {
    padding: 10px clamp(18px, 3vw, 42px) 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .jcx-socials {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }

  .jcx-contact-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(16px, 1.15vw, 21px);
    line-height: 1;
    color: rgba(245, 240, 231, 0.96);
  }

  .jcx-contact-row a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .jcx-topbar svg,
  .jcx-socials svg,
  .jcx-contact-row svg {
    width: 20px;
    height: 20px;
    color: #d0a74f;
  }
}

/* Final mobile first-fold hero visibility fix (must stay last) */
@media (max-width: 430px) {
  .jcx-page .jcx-hero {
    min-height: 520px !important;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    background-position: center 30% !important;
  }
  
  .jcx-page.jcx-projects-page .jcx-hero {
    background-image: url("images/main.PNG") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .jcx-page .jcx-hero-logo {
    width: min(190px, 50vw) !important;
    top: 90px !important;
  }

  .jcx-page .jcx-hero-content {
    padding-top: 260px !important;
    gap: 8px !important;
  }

  .jcx-page .jcx-hero h1 {
    line-height: 0.9 !important;
  }

  .jcx-page .jcx-script {
    margin-top: -2px !important;
  }
}

@media (max-width: 390px) {
  .jcx-page .jcx-hero {
    min-height: 480px !important;
    padding-top: 90px !important;
  }

  .jcx-page .jcx-hero-logo {
    width: min(170px, 48vw) !important;
    top: 80px !important;
  }

  .jcx-page .jcx-hero-content {
    padding-top: 240px !important;
  }
}

/* =============================================================
   MOBILE UX POLISH — targeted fixes for 360 / 390 / 414 / 430px
   Does NOT change desktop layout.
   ============================================================= */

/* ── 1. Inner pages: fix wrong 72px header-top offset ────────
   Only the homepage (jcx-projects-page) has a topbar.
   All other pages have no topbar, so the header must sit at top:0.
   Without this fix the header floats 72px from the top with nothing above it. */
@media (max-width: 680px) {
  .jcx-page:not(.jcx-projects-page) .site-header {
    top: 0 !important;
    min-height: 56px !important;
    background: rgba(5, 5, 5, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  /* Hero on inner pages: clear only the header (not topbar) */
  .jcx-page:not(.jcx-projects-page) .jcx-hero {
    padding-top: 76px !important;
  }

  /* Split-layout pages (tour details): add padding so content clears header */
  .jcx-page:not(.jcx-projects-page) .jcx-split-layout {
    padding-top: 56px;
  }
}

/* ── 2. Split layout tour detail pages (atlantis, peninsula, etc.) ── */
@media (max-width: 980px) {
  .jcx-split-layout {
    padding-top: 56px;
  }
}

@media (max-width: 680px) {
  .jcx-split-left {
    padding: 22px 18px 20px !important;
  }

  .jcx-split-right {
    height: auto !important;
    min-height: 230px !important;
    max-height: 310px !important;
  }

  /* Content h1 on split pages */
  .jcx-split-content h1 {
    font-size: clamp(30px, 8.5vw, 44px) !important;
    line-height: 0.94 !important;
    margin-bottom: 6px;
  }

  /* Stats 3-col → 1 row on mobile */
  .jcx-split-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin: 14px 0 !important;
    padding: 12px 10px !important;
  }

  /* CTA buttons: full width, easy to tap */
  .jcx-split-actions {
    flex-direction: column;
    gap: 10px;
  }

  .jcx-split-actions .jcx-button {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    font-size: 17px;
  }

  /* Thumbnail strip */
  .jcx-split-thumbs {
    gap: 3px;
    padding-bottom: 2px;
  }

  .jcx-split-thumbs img {
    width: 82px !important;
    height: 56px !important;
    flex-shrink: 0;
  }
}

@media (max-width: 430px) {
  .jcx-split-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .jcx-split-right {
    min-height: 200px !important;
    max-height: 260px !important;
  }
}

/* ── 3. Homepage hero at 360px ─────────────────────────────── */
@media (max-width: 360px) {
  .jcx-page.jcx-projects-page .jcx-hero {
    min-height: 800px !important;
    padding-top: 136px !important;
    padding-bottom: 118px !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-logo {
    width: min(196px, 55vw) !important;
    top: 143px !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-content {
    padding-top: 445px !important;
  }

  .jcx-projects-page .jcx-hero h1 {
    font-size: clamp(42px, 12.5vw, 54px) !important;
  }

  .jcx-projects-page .jcx-script {
    font-size: clamp(40px, 12vw, 54px) !important;
  }
}

/* ── 4. Hero features strip — text too tiny on 360px ───────── */
@media (max-width: 390px) {
  .jcx-hero-features .jcx-feature h3 {
    font-size: clamp(7px, 2vw, 9px) !important;
  }

  .jcx-hero-features .jcx-feature p {
    font-size: clamp(6.5px, 1.8vw, 8px) !important;
  }

  .jcx-hero-features .jcx-feature {
    padding: 7px 1px !important;
    gap: 3px !important;
  }
}

/* ── 5. Contact page: email link overflow fix ───────────────── */
@media (max-width: 680px) {
  .jcx-contact-page .jcx-info-card p a[href^="mailto:"],
  .jcx-contact-page .jcx-info-card p {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  /* Contact layout: single column, clean stack */
  .jcx-contact-layout {
    grid-template-columns: 1fr !important;
    padding-top: 14px;
    padding-bottom: 22px;
    gap: 16px !important;
  }
}

/* ── 6. Feature row: 2-col grid, correct borders ───────────── */
@media (max-width: 680px) {
  .jcx-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .jcx-feature {
    grid-template-columns: 36px 1fr !important;
    min-height: 78px !important;
    padding: 12px 10px !important;
    gap: 10px !important;
    border-left: 0 !important;
    border-top: 1px solid var(--jcx-white-line) !important;
  }

  /* Top row: no top border */
  .jcx-feature:first-child,
  .jcx-feature:nth-child(2) {
    border-top: 0 !important;
  }

  /* Right column in each row: restore divider */
  .jcx-feature:nth-child(2),
  .jcx-feature:nth-child(4) {
    border-left: 1px solid var(--jcx-white-line) !important;
  }

  .jcx-feature h3 {
    font-size: 14px !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
  }

  .jcx-feature p {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  .jcx-feature .jcx-ico {
    width: 34px !important;
    height: 34px !important;
  }

  .jcx-feature .jcx-ico svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* ── 7. Footer: bottom nav overflow fix ─────────────────────── */
@media (max-width: 680px) {
  .jcx-footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }

  .jcx-footer-bottom nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 14px !important;
    width: 100% !important;
  }

  .jcx-footer-bottom a {
    margin-left: 0 !important;
    font-size: 12px !important;
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .jcx-footer-bottom span {
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

/* ── 8. Footer carousel: prevent overflow on 360px ─────────── */
@media (max-width: 430px) {
  .jcx-footer-strip-grid.jcx-carousel img {
    width: 130px !important;
    height: 94px !important;
  }
}

@media (max-width: 360px) {
  .jcx-footer-strip-grid.jcx-carousel img {
    width: 108px !important;
    height: 80px !important;
  }
}

/* ── 9. Tour cards: button tap area + layout ────────────────── */
@media (max-width: 680px) {
  .jcx-tour-card .jcx-button {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    font-size: 16px !important;
    margin-top: 10px !important;
  }

  .jcx-tours-page .jcx-tour-card .jcx-button {
    min-height: 48px !important;
    margin-top: 12px !important;
  }
}

/* ── 10. p max-width: allow containers to control width ─────── */
@media (max-width: 680px) {
  .jcx-page p {
    max-width: 100% !important;
  }

  .jcx-info-card p,
  .jcx-plan-card p,
  .jcx-contact-list p,
  .jcx-form-head p {
    max-width: 100% !important;
  }
}

/* ── 11. Detail columns and itinerary on mobile ─────────────── */
@media (max-width: 680px) {
  .jcx-detail-columns article {
    padding: 16px !important;
  }

  .jcx-detail-columns h2,
  .jcx-itinerary h2 {
    font-size: clamp(26px, 7.5vw, 34px) !important;
    margin-bottom: 10px !important;
    line-height: 0.96 !important;
  }

  .jcx-detail-columns ul li,
  .jcx-itinerary ol li {
    font-size: 14px !important;
    line-height: 1.52 !important;
  }

  .jcx-itinerary dd {
    font-size: 14px !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
  }

  .jcx-itinerary dt {
    font-size: 15px !important;
    overflow-wrap: anywhere !important;
  }

  .jcx-itinerary dl {
    overflow-wrap: anywhere !important;
  }
}

/* ── 12. Sticky booking bar: safe-area + sizing ─────────────── */
@media (max-width: 680px) {
  .jcx-mobile-bar {
    padding: 8px 16px max(14px, env(safe-area-inset-bottom)) !important;
  }

  .jcx-sticky-whatsapp {
    font-size: clamp(15px, 4.2vw, 20px) !important;
    min-height: 52px !important;
    border-radius: 8px !important;
  }
}

/* ── 13. Mobile nav: min touch target height ────────────────── */
.mobile-nav a {
  min-height: 52px;
}

.mobile-menu-head {
  flex-wrap: nowrap;
  min-height: 52px;
}

.mobile-brand span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: calc(100% - 60px);
}

/* Mobile channels: ensure 4-col fits on wider phones, 2-col on narrow */
@media (max-width: 680px) {
  .mobile-channels {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
  }
}

@media (max-width: 400px) {
  .mobile-channels {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px !important;
  }

  .mobile-channels a {
    min-height: 44px !important;
    font-size: 10.5px !important;
  }
}

/* ── 14. Gallery: tabs and mosaic on narrow phones ──────────── */
@media (max-width: 430px) {
  .jcx-gallery-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px !important;
  }

  .jcx-gallery-tabs button {
    min-height: 44px !important;
    font-size: 14px !important;
    padding-inline: 6px !important;
  }

  .jcx-mosaic {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 360px) {
  .jcx-mosaic {
    grid-template-columns: 1fr !important;
  }

  .jcx-mosaic figure {
    aspect-ratio: 4 / 3 !important;
  }
}

/* ── 15. About page: stats on very narrow phones ────────────── */
@media (max-width: 360px) {
  .jcx-about-page .jcx-stats {
    grid-template-columns: 1fr !important;
  }

  .jcx-about-page .jcx-stat {
    min-height: 100px !important;
    border-left: 0 !important;
    border-top: 1px solid var(--jcx-white-line) !important;
  }

  .jcx-about-page .jcx-stat:first-child {
    border-top: 0 !important;
  }

  .jcx-about-page .jcx-founder-copy h2 {
    font-size: 34px !important;
  }
}

/* ── 16. Kicker sizing on mobile ────────────────────────────── */
@media (max-width: 680px) {
  .jcx-kicker,
  .jcx-section-kicker {
    font-size: clamp(13px, 3.6vw, 18px) !important;
    letter-spacing: 0.08em !important;
  }
}

/* ── 17. Global horizontal overflow guard ───────────────────── */
@media (max-width: 680px) {
  .jcx-footer,
  .jcx-footer-main,
  .jcx-footer-col,
  .jcx-newsletter,
  .jcx-contact-layout,
  .jcx-contact-form {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Prevent any single element from causing scroll */
  .jcx-wrap,
  .jcx-main,
  .jcx-split-layout,
  .jcx-split-left {
    max-width: 100vw;
    overflow-x: clip;
  }
}

/* ── 18. Contact form: section title and input sizing ───────── */
@media (max-width: 430px) {
  .jcx-contact-form h2 {
    font-size: clamp(26px, 7.5vw, 34px) !important;
  }

  .jcx-tour-intro h2 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .jcx-form-head .jcx-kicker {
    font-size: 14px !important;
  }
}

/* ── 19. Tour overview page: wrap width ─────────────────────── */
@media (max-width: 360px) {
  .jcx-wrap {
    width: calc(100% - 20px) !important;
  }

  .jcx-tour-card h2 {
    font-size: 17px !important;
    line-height: 1.05 !important;
  }

  .jcx-tours-page .jcx-tour-card h2 {
    font-size: 24px !important;
  }
}

/* ── 20. Header: ensure hamburger always visible ────────────── */
@media (max-width: 680px) {
  .jcx-page .hamburger {
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Header grid: icon left, hamburger right — no middle column */
  .jcx-page:not(.jcx-projects-page) .site-header {
    grid-template-columns: auto 1fr !important;
    gap: 0 !important;
    align-items: center !important;
  }
}

/* ============================================================
   HOMEPAGE MOBILE: Everything visible in first viewport
   Photo shows at top ~45%, headline + CTA below — no scrolling.
   ============================================================ */
@media (max-width: 680px) {

  /* Hero: fill the full screen, flex-column pushing content down */
  .jcx-page.jcx-projects-page .jcx-hero {
    min-height: 100dvh !important;
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 0 !important;
    background-position: center 20% !important;
    background-image:
      linear-gradient(to bottom,
        rgba(0,0,0,0.04) 0%,
        rgba(0,0,0,0.06) 30%,
        rgba(0,0,0,0.65) 54%,
        rgba(0,0,0,0.90) 74%,
        rgba(0,0,0,0.97) 100%
      ),
      var(--hero-img, url("images/images2/guests/IMG-20260430-WA0060.jpg")) !important;
  }

  /* Hide circular logo — takes up the image area, blocks the photo */
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    display: none !important;
  }

  /* Content: sits at bottom of viewport, above features strip */
  .jcx-page.jcx-projects-page .jcx-hero-content {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    padding: 0 0 92px !important;
    padding-top: 0 !important;
    gap: 3px !important;
    margin: 0 auto !important;
    text-align: center !important;
    align-items: center !important;
  }

  /* Kicker */
  .jcx-page.jcx-projects-page .jcx-kicker {
    font-size: clamp(11px, 3vw, 14px) !important;
    margin: 0 0 3px !important;
    letter-spacing: 0.1em !important;
  }

  /* Headline */
  .jcx-page.jcx-projects-page .jcx-hero h1 {
    font-size: clamp(46px, 12.5vw, 64px) !important;
    line-height: 0.86 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  /* Script */
  .jcx-page.jcx-projects-page .jcx-script {
    font-size: clamp(42px, 11.5vw, 58px) !important;
    line-height: 0.76 !important;
    margin: 0 0 8px !important;
    color: #d0a74f !important;
    max-width: none !important;
  }

  /* Blurb */
  .jcx-page.jcx-projects-page .jcx-hero-blurb {
    max-width: 30ch !important;
    font-size: clamp(12px, 3.1vw, 14px) !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.90) !important;
    margin: 0 auto !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  /* Hide location tags — saves space */
  .jcx-page.jcx-projects-page .jcx-location-tags {
    display: none !important;
  }

  /* CTA: full width, big tap target */
  .jcx-page.jcx-projects-page .jcx-hero .jcx-button.gold {
    width: 100% !important;
    min-height: 52px !important;
    margin-top: 10px !important;
    font-size: clamp(17px, 4.6vw, 22px) !important;
    border-radius: 8px !important;
    letter-spacing: 0.07em !important;
    padding: 12px 16px !important;
  }

  /* Features strip: pinned to absolute bottom of hero */
  .jcx-page.jcx-projects-page .jcx-hero-features {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: 78px !important;
    padding: 8px 0 10px !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-features .jcx-feature {
    padding: 6px 4px !important;
    gap: 4px !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-features .jcx-feature h3 {
    font-size: clamp(7.5px, 2vw, 9.5px) !important;
    line-height: 1.15 !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-features .jcx-feature p {
    font-size: clamp(7px, 1.8vw, 8.5px) !important;
    line-height: 1.2 !important;
  }
}

/* Fine-tune for very small screens (360px) */
@media (max-width: 390px) {
  .jcx-page.jcx-projects-page .jcx-hero-content {
    padding-bottom: 100px !important;
    gap: 2px !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero h1 {
    font-size: clamp(42px, 11.5vw, 54px) !important;
  }

  .jcx-page.jcx-projects-page .jcx-script {
    font-size: clamp(38px, 10.5vw, 50px) !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-blurb {
    font-size: 12px !important;
    max-width: 28ch !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero .jcx-button.gold {
    min-height: 50px !important;
    font-size: 16px !important;
  }
}

/* ============================================================
   HOMEPAGE HERO FIXES: button clearance + logo restored
   ============================================================ */
@media (max-width: 680px) {
  /* Fix 1: Increase padding-bottom so CTA clears the features strip */
  .jcx-page.jcx-projects-page .jcx-hero-content {
    padding-bottom: 112px !important;
  }

  /* Fix 2: Restore logo — top-left, smaller, below fixed headers */
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    display: block !important;
    position: absolute !important;
    width: min(96px, 25vw) !important;
    top: 132px !important;
    left: 16px !important;
    transform: none !important;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6)) !important;
  }
}

@media (max-width: 390px) {
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    width: min(84px, 23vw) !important;
    top: 128px !important;
    left: 14px !important;
  }

  .jcx-page.jcx-projects-page .jcx-hero-content {
    padding-bottom: 104px !important;
  }
}

/* ============================================================
   ALL OTHER PAGES — same mobile hero UX:
   Photo visible at top, content at bottom in first viewport.
   ============================================================ */
@media (max-width: 680px) {
  .jcx-page:not(.jcx-projects-page) .jcx-hero {
    min-height: 100dvh !important;
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 0 !important;
    background-position: center 25% !important;
    background-image:
      linear-gradient(to bottom,
        rgba(0,0,0,0.04) 0%,
        rgba(0,0,0,0.06) 30%,
        rgba(0,0,0,0.65) 54%,
        rgba(0,0,0,0.90) 74%,
        rgba(0,0,0,0.97) 100%
      ),
      var(--hero-img) !important;
  }

  .jcx-page:not(.jcx-projects-page) .jcx-hero-content {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    padding: 0 0 28px !important;
    padding-top: 0 !important;
    gap: 5px !important;
    margin: 0 auto !important;
    text-align: center !important;
    align-items: center !important;
  }

  /* Kicker */
  .jcx-page:not(.jcx-projects-page) .jcx-hero .jcx-kicker {
    font-size: clamp(11px, 3vw, 14px) !important;
    margin: 0 0 4px !important;
    letter-spacing: 0.1em !important;
    color: #d0a74f !important;
  }

  /* Headline h1 */
  .jcx-page:not(.jcx-projects-page) .jcx-hero h1 {
    font-size: clamp(44px, 12vw, 62px) !important;
    line-height: 0.87 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  /* Script font */
  .jcx-page:not(.jcx-projects-page) .jcx-hero .jcx-script {
    font-size: clamp(38px, 10.5vw, 54px) !important;
    line-height: 0.78 !important;
    margin: 0 0 8px !important;
    color: #d0a74f !important;
    max-width: none !important;
  }

  /* Blurb paragraph */
  .jcx-page:not(.jcx-projects-page) .jcx-hero p:not(.jcx-kicker) {
    max-width: 32ch !important;
    font-size: clamp(12px, 3.2vw, 14px) !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.90) !important;
    margin: 0 auto !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  /* Quick contact buttons row (contact page) */
  .jcx-contact-quick {
    width: 100% !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  .jcx-contact-quick .jcx-button {
    flex: 1 1 140px !important;
    min-height: 50px !important;
    justify-content: center !important;
    font-size: clamp(15px, 4vw, 18px) !important;
  }

  /* Gold CTA on inner page heroes */
  .jcx-page:not(.jcx-projects-page) .jcx-hero .jcx-button.gold {
    width: 100% !important;
    min-height: 50px !important;
    margin-top: 10px !important;
    font-size: clamp(16px, 4.4vw, 20px) !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 390px) {
  .jcx-page:not(.jcx-projects-page) .jcx-hero h1 {
    font-size: clamp(40px, 11.2vw, 52px) !important;
  }

  .jcx-page:not(.jcx-projects-page) .jcx-hero .jcx-script {
    font-size: clamp(36px, 10vw, 48px) !important;
  }


  .jcx-page:not(.jcx-projects-page) .jcx-hero p:not(.jcx-kicker) {
    font-size: 12.5px !important;
    max-width: 30ch !important;
  }
}

/* =================================================================
   PASS 4 — Inner-page hero, header transparency & topbar UX
   ================================================================= */

/* ── A. Transparent header on ALL inner pages (matches homepage) ── */
@media (max-width: 680px) {
  .jcx-page:not(.jcx-projects-page) .site-header {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }
}

/* ── B. Inner-page hero: content centered & moved up ── */
@media (max-width: 680px) {
  /* Position content in the lower-center of the hero, not the very bottom */
  .jcx-page:not(.jcx-projects-page) .jcx-hero {
    justify-content: flex-end !important;
    /* Stronger gradient so text reads well in middle area */
    background-image:
      linear-gradient(to bottom,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.18) 28%,
        rgba(0,0,0,0.70) 52%,
        rgba(0,0,0,0.92) 72%,
        rgba(0,0,0,0.97) 100%
      ),
      var(--hero-img) !important;
  }

  /* Push content up from the very bottom with generous padding-bottom */
  .jcx-page:not(.jcx-projects-page) .jcx-hero-content {
    padding-bottom: clamp(48px, 10vh, 80px) !important;
    text-align: center !important;
    align-items: center !important;
  }

  /* All text centered */
  .jcx-page:not(.jcx-projects-page) .jcx-hero h1,
  .jcx-page:not(.jcx-projects-page) .jcx-hero .jcx-script,
  .jcx-page:not(.jcx-projects-page) .jcx-hero p,
  .jcx-page:not(.jcx-projects-page) .jcx-hero .jcx-kicker {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Contact page quick-action buttons: centered row */
  .jcx-contact-quick {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .jcx-contact-quick .jcx-button {
    flex: 1 1 130px !important;
    max-width: 180px !important;
    min-height: 50px !important;
    justify-content: center !important;
  }
}

/* ── C. Topbar: WhatsApp + email UX on mobile ─────────────────── */
@media (max-width: 680px) {
  /* Topbar layout: socials row | contact row stacked */
  .jcx-topbar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
    gap: 4px 0 !important;
    padding: 8px 14px !important;
    min-height: auto !important;
  }

  .jcx-socials {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    justify-content: flex-start !important;
  }

  .jcx-socials a {
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .jcx-socials svg {
    width: 18px !important;
    height: 18px !important;
    color: #d0a74f !important;
  }

  /* Contact row: phone + email, compact */
  .jcx-contact-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .jcx-contact-row .jcx-sep {
    display: none !important; /* hide the | separator */
  }

  /* Phone link: show icon + number */
  .jcx-contact-row a[href*="wa.me"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: rgba(245, 240, 231, 0.92) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  .jcx-contact-row a[href*="wa.me"] svg {
    width: 16px !important;
    height: 16px !important;
    color: #25d366 !important;
    flex-shrink: 0 !important;
  }

  /* Email link: icon only — text too long for narrow screens */
  .jcx-contact-row a[href^="mailto:"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    color: #d0a74f !important;
  }

  .jcx-contact-row a[href^="mailto:"] span {
    display: none !important; /* hide email text, keep icon */
  }

  .jcx-contact-row a[href^="mailto:"] svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* On very narrow (360px): shrink phone text */
@media (max-width: 380px) {
  .jcx-contact-row a[href*="wa.me"] span {
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }

  .jcx-socials {
    gap: 10px !important;
  }
}

/* =================================================================
   PASS 5 — Reviews & Partners Section (Homepage)
   ================================================================= */
.jcx-reviews-section {
  padding: 80px 16px;
  background: #050505;
  color: #f5f0e7;
  overflow: hidden;
}

.jcx-reviews-head {
  text-align: center;
  margin-bottom: 40px;
}

.jcx-reviews-head .jcx-kicker {
  color: #d0a74f;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.jcx-reviews-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 8vw, 52px);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.jcx-reviews-head p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto;
}

/* Review Cards Dual Layout (Carousel on Desktop, Stack on Mobile) */
.jcx-reviews-stack-container {
  max-width: 1200px;
  margin: 0 auto 48px;
  position: relative;
  padding: 0 16px;
}

@media (min-width: 681px) {
  /* Desktop Carousel Layout */
  .jcx-reviews-stack {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: #d0a74f #1a1a1a;
  }
  
  .jcx-reviews-stack::-webkit-scrollbar {
    height: 6px;
  }
  .jcx-reviews-stack::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
  }
  .jcx-reviews-stack::-webkit-scrollbar-thumb {
    background: #d0a74f;
    border-radius: 3px;
  }
  
  .jcx-review-card {
    min-width: 340px;
    width: 340px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .jcx-review-card:hover {
    border-color: rgba(208, 167, 79, 0.4);
    transform: translateY(-4px);
  }
  
  /* Hide stack controls on desktop because they use native scroll */
  .jcx-stack-controls {
    display: none;
  }
}

@media (max-width: 680px) {
  /* Mobile Stack Layout */
  .jcx-reviews-stack {
    position: relative;
    height: 320px;
    max-width: 480px;
    margin: 0 auto;
    perspective: 1200px;
  }

  .jcx-review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(60px) scale(0.85);
    z-index: 1;
  }

  .jcx-review-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    z-index: 4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(208, 167, 79, 0.3);
  }

  .jcx-review-card.next1 {
    opacity: 0.7;
    transform: translateY(20px) scale(0.95);
    z-index: 3;
  }

  .jcx-review-card.next2 {
    opacity: 0.3;
    transform: translateY(40px) scale(0.9);
    z-index: 2;
  }

  .jcx-review-card.prev {
    opacity: 0;
    transform: translateY(-40px) scale(1.05);
    z-index: 5;
  }
  
  .jcx-stack-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
  }

  .jcx-stack-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .jcx-stack-controls button:hover {
    border-color: #d0a74f;
    color: #d0a74f;
  }
}

.jcx-review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.jcx-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jcx-review-avatar {
  width: 40px;
  height: 40px;
  background: #d0a74f;
  color: #050505;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.jcx-review-author strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.jcx-review-author span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.jcx-review-stars {
  color: #fbbc05; /* Google Yellow */
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.jcx-review-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  flex-grow: 1;
}

/* Partner Buttons */
.jcx-partner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.jcx-partner-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 220px;
}

.jcx-btn-google {
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
}
.jcx-btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.jcx-btn-tripadvisor {
  background: #34E0A1;
  color: #000;
}
.jcx-btn-tripadvisor:hover {
  background: #2cb582;
}

.jcx-btn-gyg {
  background: #FF5533;
  color: #fff;
}
.jcx-btn-gyg::before {
  content: "GetYourGuide";
  font-family: Arial, sans-serif; /* Fallback mimicking their logo */
  font-weight: 800;
  letter-spacing: -0.5px;
}
.jcx-btn-gyg:hover {
  background: #e64a2b;
}

@media (max-width: 680px) {
  .jcx-reviews-section {
    padding: 60px 0; /* Full bleed on mobile */
  }
  
  .jcx-reviews-head {
    padding: 0 16px;
  }
  
  .jcx-partner-buttons {
    padding: 0 16px;
    flex-direction: column;
  }
  
  .jcx-partner-buttons a {
    width: 100%;
  }
}

/* Final mobile home logo override (must stay last) */
@media (max-width: 430px) {
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    display: block !important;
    width: min(220px, 58vw) !important;
    top: 34px !important;
    left: 16px !important;
    transform: scale(2) !important;
    transform-origin: top left !important;
  }
}

@media (max-width: 390px) {
  .jcx-page.jcx-projects-page .jcx-hero-logo {
    width: min(200px, 56vw) !important;
    top: 30px !important;
    left: 14px !important;
    transform: scale(2) !important;
    transform-origin: top left !important;
  }
}

/* Absolute final lock: mobile home logo size/position */
@media (max-width: 680px) {
  body.jcx-page.jcx-projects-page .jcx-hero {
    --hero-img: url("images/main.PNG") !important;
  }

  body.jcx-page.jcx-projects-page .jcx-hero > .jcx-hero-logo {
    display: block !important;
    position: absolute !important;
    width: 150px !important;
    max-width: none !important;
    top: 28px !important;
    left: 12px !important;
    transform: scale(1.35) !important;
    transform-origin: top left !important;
    z-index: 5 !important;
  }
}
