/* ================================================================
   JOURNEY DETAIL PAGE — page-specific styles
   Uses tokens-brand.css as foundation + v5 shared components
   (header, footer, drawer, bottom tab bar)
   ================================================================ */

/* ── Layout ──────────────────────────────────────────────────── */
.jpage {
  padding-bottom: calc(var(--tabbar-h, 74px) + env(safe-area-inset-bottom, 0px) + 1.25rem);
}

@media (min-width:1024px) {
  .jpage {
    padding-bottom: 0;
  }
}

/* ── Journey Hero (mirrors v5-responsive .hero: layers + pass outline) ─ */
.jhero {
  display: flex;
  flex-direction: column;
  position: relative;
  /* abs. children: .jhero__back, .jbubble */
  overflow: hidden;
}

/* Photo frame — class names match v5 for future PHP partial reuse */
.jhero .hero__photo {
  position: relative;
  height: 200px;
  margin: 0.8rem 1.1rem 0;
  border-radius: var(--card-r, 22px);
  overflow: hidden;
  isolation: isolate;
}

/* Base brand gradient (always on; photo sits above at low opacity) */
.jhero .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(600px 320px at 70% 30%, rgba(255, 220, 180, 0.35), transparent 60%),
    radial-gradient(600px 320px at 20% 80%, rgba(50, 20, 15, 0.35), transparent 60%),
    linear-gradient(135deg, #c28668 0%, #8a3d2a 45%, #3b1812 100%);
}

/* `max-width:none` — tokens-brand `img{max-width:100%;height:auto}` can fight full-bleed cover */
.jhero .hero__dest-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
  pointer-events: none;
}

.jhero .hero__sun {
  display: none;
  position: absolute;
  right: 8%;
  top: 18%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe1b3 0%, #f5c795 40%, transparent 70%);
  z-index: 1;
  opacity: 0.65;
  pointer-events: none;
}

/* Unify photo into garnet read */
.jhero .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(30, 12, 8, 0.45) 0%,
      rgba(20, 8, 5, 0.78) 100%);
}

.jhero .hero__pass-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  display: block;
}

/* Boarding-pass notches (mobile / tablet) */
.jhero .hero__photo::before,
.jhero .hero__photo::after {
  content: '';
  position: absolute;
  left: 70%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.jhero .hero__photo::before {
  top: -11px;
}

.jhero .hero__photo::after {
  bottom: -11px;
}

/* ── Hero copy (below frame on small screens) ─ */
.jhero__inner {
  padding: 1.4rem 1.1rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 100%;
}

/* "All journeys" — insets match dashed path (viewBox: y=40/560, x=40–60/1000) */
.jhero .jhero__back {
  position: absolute;
  z-index: 4;
  /* % would be of full .jhero height — use rem+px from top so we stay inside the *photo* card */
  top: calc(0.8rem + 0.5rem + 12px);
  left: calc(1.1rem + 0.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.jhero .jhero__back:hover {
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jhero .jhero__back {
    /* Photo margin 1rem 2rem, ~7% of 340px ≈ 24px */
    top: calc(1rem + 0.75rem + 18px);
    left: calc(2rem + 0.5rem);
  }
}

.jhero__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--garnet-red);
}

.jhero__dest {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--garnet-red);
  margin: 0 0 0.45rem;
}

.jhero__h1 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 22ch;
}

.jhero__h1-accent {
  color: var(--garnet-red);
  font-style: italic;
  font-weight: 600;
}

.jhero__lede {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
}

.jhero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.jhero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.jhero__meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--garnet-red);
  flex-shrink: 0;
}

.jhero__meta-item b {
  color: var(--ink);
  font-weight: 600;
}

/* V5-style trust chips (compact) */
.jhero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.jchip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft, #3d3d3a);
  background: var(--surface-2, #f0f0ed);
  border: 1px solid var(--line);
}

.jchip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--garnet-red);
}

/* Price + CTAs (mobile / tablet) */
.jhero__price-strip {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  width: 100%;
  max-width: 32rem;
  padding: 1rem 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin: 0 0 1rem;
}

.jhero__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--garnet-red);
}

.jhero__price-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.jhero__cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
  max-width: 28rem;
}

.jhero__cta {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  border: none;
  transition: filter 0.2s, background 0.2s, color 0.2s;
}

.jhero__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.jhero__cta--primary {
  background: var(--garnet-red);
  color: #fff;
}

.jhero__cta--primary:hover {
  filter: brightness(0.92);
}

.jhero__cta--secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.jhero__cta--secondary:hover {
  background: var(--ink);
  color: #fff;
}

/* Tablet */
@media (min-width: 768px) {
  .jhero .hero__photo {
    height: 340px;
    margin: 1rem 2rem 0;
    border-radius: 28px;
  }

  .jhero__inner {
    padding: 2rem 2rem 0.5rem;
  }

  .jhero__h1 {
    font-size: 2rem;
    max-width: 24ch;
  }

  .jhero__lede {
    font-size: 0.95rem;
  }

  .jhero__cta-row {
    max-width: 420px;
  }
}

/* Desktop — full-bleed, matches v5 .hero@1024 */
@media (min-width: 1024px) {

  .jhero .hero__photo::before,
  .jhero .hero__photo::after {
    display: none;
  }

  .jhero {
    min-height: min(88vh, 820px);
    display: grid;
    place-items: center;
    isolation: isolate;
    color: #fff;
    padding: 4.5rem 2rem 5.5rem;
  }

  .jhero .hero__photo {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 100%;
    margin: 0;
    border-radius: 0;
    z-index: 0;
  }

  .jhero .hero__dest-img {
    opacity: 0.48;
  }

  .jhero .hero__overlay {
    display: block;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.42) 50%,
        rgba(0, 0, 0, 0.58) 100%);
  }

  .jhero .hero__sun {
    display: block;
  }

  .jhero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    padding: 1.75rem 1.5rem 0;
  }

  /* Desktop: tune inside dashed pass frame */
  .jhero .jhero__back {
    top: 9.5%;
    left: 5%;
    font-size: 0.9rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }

  .jhero__kicker {
    color: #ffb7b9;
  }

  .jhero__dest {
    color: #ffb7b9;
  }

  .jhero__h1 {
    color: #fff;
    max-width: 32ch;
    font-size: clamp(2.25rem, 3.6vw, 3rem);
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), 0 6px 24px rgba(0, 0, 0, 0.35);
  }

  .jhero__h1-accent {
    color: #ffb7b9;
  }

  .jhero .jhero__lede {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    max-width: 50ch;
    margin: 0 0 1.1rem;
    font-size: 1.05rem;
  }

  .jhero .jhero__meta {
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.85rem;
  }

  .jhero .jhero__meta-item svg {
    color: #ffb7b9;
  }

  .jhero .jhero__meta-item b {
    color: #fff;
  }

  .jhero .jhero__chips {
    justify-content: center;
    margin-bottom: 0.25rem;
  }

  .jhero .jchip {
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
  }

  .jhero .jchip::before {
    background: #ffb7b9;
  }

  /* Sticky price + primary actions move to sidebar on old .jhero layout */
  .jhero .jhero__price-strip,
  .jhero .jhero__cta-row {
    display: none;
  }
}

/* ── Journey hero elements inside hero-pass (boarding-card layout) ─ */
.hero-pass__text--journey {
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.hero-pass__text--journey .hero-pass__eyebrow {
  text-align: left;
}
.hero-pass__text--journey .jhero__lede {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0.75rem 0 0;
  text-shadow: none;
}
.hero-pass__text--journey .jhero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.hero-pass__text--journey .jhero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.hero-pass__text--journey .jhero__meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--garnet-red);
}
.hero-pass__text--journey .jhero__meta-item b {
  color: var(--ink);
  font-weight: 600;
}
.hero-pass__text--journey .jhero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.hero-pass__text--journey .jchip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(184, 28, 46, 0.08);
  color: var(--garnet-red);
  border: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-pass__text--journey .jchip::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--garnet-red);
}

@media (min-width: 1024px) {
  .hero-pass__text--journey .jhero__lede {
    font-size: 0.92rem;
  }
}

/* ── Consultant bubble (desktop; absolute on .jhero, inside dashed pass insets) ─ */
.jbubble {
  display: none;
}

@media (min-width: 1024px) {
  .jhero .jbubble {
    display: flex;
    position: absolute;
    bottom: 11%;
    right: 6.5%;
    z-index: 4;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    max-width: min(300px, 34vw);
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.5;
    animation: bubbleFadeIn 0.6s ease 0.5s both;
  }

  .jbubble__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--garnet-red-soft), var(--garnet-red));
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
  }

  .jbubble__name {
    display: block;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--garnet-red);
    margin-bottom: 0.15rem;
  }

  @keyframes bubbleFadeIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ── Content Body ────────────────────────────────────────────── */
.jbody {
  padding: 2rem 1.1rem 0;
}

@media (min-width:768px) {
  .jbody {
    padding: 2.5rem 2rem 0;
  }
}

@media (min-width:1024px) {
  .jbody {
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2.5rem 0;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: start;
  }
}

@media (min-width:1440px) {
  .jbody {
    grid-template-columns: 1fr 420px;
  }
}

/* ── Section headings inside body ────────────────────────────── */
.jsec {
  margin-bottom: 2.5rem;
}

.jsec__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--garnet-red);
  margin: 0 0 0.6rem;
}

.jsec__h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.25;
  text-transform: none;
}

.jsec__text {
  font-size: 0.92rem;
  color: var(--ink-soft, #3d3d3a);
  line-height: 1.65;
  margin: 0 0 1rem;
}

@media (min-width:1024px) {
  .jsec {
    margin-bottom: 3.5rem;
  }

  .jsec__eyebrow {
    letter-spacing: 0.14em;
  }

  .jsec__h2 {
    font-size: clamp(1.35rem, 1.5vw, 1.75rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}

/* ── Highlights Grid ─────────────────────────────────────────── */
.jhighlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.jhighlight {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.jhighlight__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--garnet-red-soft);
  color: var(--garnet-red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.jhighlight__icon svg {
  width: 14px;
  height: 14px;
}

@media (max-width:520px) {
  .jhighlights {
    grid-template-columns: 1fr;
  }
}

/* ── Itinerary (Journey Line) ────────────────────────────────── */
.jitinerary {
  position: relative;
}

.jday {
  position: relative;
  padding: 0 0 2rem 2.5rem;
}

.jday::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 0;
  width: 2px;
  border-left: 2px dashed rgba(0, 0, 0, 0.12);
}

.jday:last-child::before {
  display: none;
}

.jday__dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--garnet-red);
  display: grid;
  place-items: center;
}

.jday__dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.jday__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--garnet-red);
  margin: 0 0 0.3rem;
}

.jday__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

/* Optional per-day image (omit in PHP when ACF field empty) */
.jday__figure {
  margin: 0.15rem 0 0.75rem;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/10;
  max-width: 100%;
  background: var(--surface-2, #f4f4f2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

@media (min-width: 1024px) {
  .jday__figure {
    max-width: 440px;
  }
}

.jday__desc {
  font-size: 0.85rem;
  color: var(--ink-soft, #3d3d3a);
  line-height: 1.55;
  margin: 0;
}

/* ── Inclusions / Exclusions ─────────────────────────────────── */
.jincl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.jincl__col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.04);
}

@media (max-width:520px) {
  .jincl {
    grid-template-columns: 1fr;
  }
}

.jincl__col h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.jincl__col h3 svg {
  width: 16px;
  height: 16px;
}

.jincl__col--yes h3 {
  color: #16a34a;
}

.jincl__col--no h3 {
  color: var(--garnet-red);
}

.jincl__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft, #3d3d3a);
}

.jincl__col li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jincl__col li::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.75rem;
}

.jincl__col--yes li::before {
  color: #16a34a;
}

.jincl__col--no li::before {
  content: '✕';
  color: var(--garnet-red);
}

/* ── Gallery ─────────────────────────────────────────────────── */
.jgallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.jgallery__item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.jgallery__item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

.jgallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.jgallery__item:hover img {
  transform: scale(1.04);
}

@media (min-width:1024px) {
  .jgallery {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
  }

  .jgallery__item:first-child {
    grid-column: 1 / 3;
    aspect-ratio: 16/10;
  }
}

/* ── Sidebar (desktop) ───────────────────────────────────────── */
.jsidebar {
  display: none;
}

@media (min-width:1024px) {
  .jsidebar {
    display: block;
    position: sticky;
    top: calc(72px + 2rem);
  }
}

/* Sidebar price card */
.jprice-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.jprice-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--garnet-red);
}

.jprice-card__per {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.15rem 0 1.25rem;
}

.jprice-card__cta {
  display: block;
  width: 100%;
  padding: 0.95rem;
  border: none;
  border-radius: 14px;
  background: var(--garnet-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: filter 0.2s;
  text-decoration: none;
  margin-bottom: 0.6rem;
}

.jprice-card__cta:hover {
  filter: brightness(0.92);
}

.jprice-card__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.jprice-card__wa svg {
  width: 16px;
  height: 16px;
}

.jprice-card__wa:hover {
  background: var(--ink);
  color: #fff;
}

.jprice-card__details {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.jprice-card__detail {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.85rem;
}

.jprice-card__detail span:first-child {
  color: var(--muted);
}

.jprice-card__detail span:last-child {
  font-weight: 600;
}

/* Sidebar consultant card */
.jconsultant-card {
  background: linear-gradient(135deg, #1b1b1f, #2e1212);
  color: #fff;
  border-radius: 22px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.jconsultant-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 160px;
  height: 160px;
  background: radial-gradient(closest-side, rgba(169, 30, 34, 0.5), transparent 70%);
  pointer-events: none;
}

.jconsultant-card__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  margin-bottom: 0.85rem;
}

.jconsultant-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5d1c3, #c86853);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.jconsultant-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.jconsultant-card__role {
  font-size: 0.75rem;
  opacity: 0.65;
}

.jconsultant-card__bubble {
  position: relative;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
}

.jconsultant-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.jconsultant-card__btn {
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.jconsultant-card__btn svg {
  width: 14px;
  height: 14px;
}

.jconsultant-card__btn--call {
  background: #fff;
  color: var(--ink);
}

.jconsultant-card__btn--wa {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Trip cards (V5 home) — related rail ─────────────────────── */
.tripcard {
  background: #fff;
  border-radius: var(--card-r);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0.45rem 0.45rem 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.04);
  flex: 0 0 78%;
  max-width: 300px;
  min-width: 0;
}

.tripcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 14px 30px rgba(0, 0, 0, 0.09);
}

.tripcard__img {
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--card-r) - 6px);
}

.tripcard__img-bg {
  position: absolute;
  inset: 0;
}

.tripcard__img .media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

.tripcard__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--garnet-red);
  color: #fff;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.tripcard__body {
  padding: 0.85rem 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tripcard__days {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tripcard__name {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.tripcard__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.4rem;
  font-size: 0.82rem;
}

.tripcard__price {
  font-weight: 700;
}

.tripcard__price em {
  font-style: normal;
  color: var(--garnet-red);
}

@media (min-width: 1024px) {
  .tripcard {
    padding: 0.55rem 0.55rem 0;
  }

  .tripcard__body {
    padding: 1rem 0.7rem 0.9rem;
    gap: 0.4rem;
  }

  .tripcard__name {
    font-size: 1.05rem;
  }

  .tripcard__foot {
    font-size: 0.88rem;
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--line);
  }
}

/* ── Related Journeys (same side gutters as .jbody + v5 rails: 1.1rem → 2rem → 2.5rem) ─ */
.jrelated {
  --jrelated-pad: max(1.1rem, env(safe-area-inset-left, 0px));
  --jrelated-pad-r: max(1.1rem, env(safe-area-inset-right, 0px));
  padding: 2rem var(--jrelated-pad-r) 2.5rem var(--jrelated-pad);
  background: var(--paper);
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  box-sizing: border-box;
}

.jrelated__head {
  padding: 0 0 1rem;
  max-width: 1320px;
  margin: 0 auto;
}

.jrelated__rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0 0 0.5rem;
  max-width: 1320px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.jrelated__rail::-webkit-scrollbar {
  display: none;
}

.jrelated__rail .tripcard {
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .jrelated {
    --jrelated-pad: 2rem;
    --jrelated-pad-r: 2rem;
    padding: 2.5rem 2rem 3.5rem;
  }

  .jrelated__head {
    padding: 0 0 1.15rem;
  }
}

@media (min-width: 1024px) {
  .jrelated {
    margin-top: 0;
    --jrelated-pad: 2.5rem;
    --jrelated-pad-r: 2.5rem;
    padding: 3.5rem 2.5rem 5rem;
  }

  .jrelated__head {
    padding: 0 0 1.25rem;
  }

  .jrelated__rail {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    overflow: visible;
  }

  .jrelated__rail .tripcard {
    flex: none;
    max-width: none;
  }
}

/* ── Mobile sticky CTA ───────────────────────────────────────── */
.jsticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--tabbar-h, 74px) + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  padding: 0.65rem 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jsticky-cta__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--garnet-red);
}

.jsticky-cta__per {
  font-size: 0.72rem;
  color: var(--muted);
}

.jsticky-cta__btn {
  flex: 1;
  padding: 0.8rem 1rem;
  background: var(--garnet-red);
  color: #fff;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (min-width:1024px) {
  .jsticky-cta {
    display: none;
  }
}