/* ============================================================
   KHIIMORI JOURNEYS — JOURNEY.CSS
   Single journey page: hero, route, phases, cards,
   signatures, quick-facts, final-cta
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.journey-hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 100px 60px 80px;
  position: relative;
  overflow: hidden;
}

/* Watermark text */
.journey-hero::before {
  content: 'хийморь';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 120px;
  color: rgba(200, 154, 79, 0.04);
  letter-spacing: 20px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--parchment);
  letter-spacing: -1.5px;
  margin-bottom: 40px;
}

.hero-title br {
  display: block;
  margin-bottom: 0.2em;
}

/* Strip WP paragraph wrap from rich_text field */
.hero-title p { display: inline; }

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 16px;
  color: rgba(245, 239, 224, 0.5);
  letter-spacing: 1px;
  margin-bottom: 56px;
  font-style: italic;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Lora', Georgia, serif;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.4);
}

.hero-cta-row {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── ROUTE SECTION ──────────────────────────────────────────── */
.route-section {
  background: var(--dark);
  border-top: 1px solid rgba(200, 154, 79, 0.15);
  padding: 60px 0 70px;
  overflow-x: auto;
}

.route-section-inner {
  min-width: 720px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.route-title {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(200, 154, 79, 0.6);
  margin-bottom: 40px;
  text-align: center;
}

/* Desktop: horizontal flex */
.route-map {
  display: flex;
  align-items: stretch;
}

.route-stop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

/* Fixed-height top label area — keeps dot row aligned */
.stop-label-top {
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 4px;
}

/* Dot row + connecting line */
.stop-node {
  display: flex;
  align-items: center;
  width: 100%;
  height: 16px;
  justify-content: center;
  position: relative;
}

/* Line extends from dot center to right edge */
.stop-node.has-line::after {
  content: '';
  position: absolute;
  left: 50%;
  right: -50%;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: rgba(200, 154, 79, 0.35);
  z-index: 0;
}

/* Normal dot — r=6 warm, one ring */
.stop-dot {
  width: 12px;
  height: 12px;
  background: #7A5C3A;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(122, 92, 58, 0.3);
}

/* Highlight dot — r=7 gold, one ring */
.stop-dot.highlight {
  width: 14px;
  height: 14px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(200, 154, 79, 0.3);
}

/* Peak dot — r=8 gold, two rings */
.stop-dot.peak {
  width: 16px;
  height: 16px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(200, 154, 79, 0.4), 0 0 0 12px rgba(200, 154, 79, 0.15);
}

/* Fixed-height bottom label area */
.stop-label-bottom {
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 15px 4px 0;
}

.stop-top-label {
  font-size: 12px;
  font-style: italic;
  color: rgba(245, 239, 224, 0.5);
  display: block;
  line-height: 1.3;
  text-align: center;
  padding-bottom: 15px;
}

.stop-top-label.is-peak {
  color: var(--gold);
  font-style: italic;
}

.stop-name {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.7);
  display: block;
  line-height: 1.3;
}

.stop-sub {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-top: 3px;
}

/* Mobile: vertical, center line, labels left/right */
/* Mobile: vertical line, top-label RIGHT, name+sub LEFT */
@media (max-width: 768px) {
  .route-section { overflow-x: visible; }
  .route-section-inner { min-width: 0; padding: 0 24px; }

  .route-map {
    flex-direction: column;
    position: relative;
    align-items: stretch;
  }

  .route-map::before {
    content: '';
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: rgba(200, 154, 79, 0.35);
    z-index: 0;
  }

  .route-stop {
    flex-direction: row;
    align-items: center;
    min-height: 64px;
    flex: none;
  }

  .stop-node {
    width: 24px;
    height: 100%;
    flex-shrink: 0;
    order: 2;
    justify-content: center;
  }

  .stop-node.has-line::after { display: none; }

  /* name + sub → LEFT */
  .stop-label-bottom {
    flex: 1;
    height: auto;
    padding: 0 12px 0 0;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    order: 1;
  }

  /* top-label → RIGHT */
  .stop-label-top {
    flex: 1;
    height: auto;
    padding: 0 0 0 12px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    order: 3;
  }

  .stop-top-label { padding-bottom: 0; text-align: left; }
  .stop-name { text-align: right; }
  .stop-sub  { text-align: right; }
}

/* ── PHASES ─────────────────────────────────────────────────── */
.phases-wrap { background: var(--section-bg); }

.phase-block {
  padding: 72px 60px 0;
  /* start hidden for JS scroll animation */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.phase-block:last-child { padding-bottom: 80px; }

.phase-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.phase-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--divider);
  flex-wrap: wrap;
}

.phase-num {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

.phase-name {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--dark);
  font-weight: 400;
  letter-spacing: -0.3px;
}

.phase-days-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-left: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-items: start;
}

/* ── DAY CARD ───────────────────────────────────────────────── */
.card-slot {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

/* Gold bottom accent line */
.card-slot::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.card-slot:hover {
  border-color: rgba(200, 154, 79, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(44, 36, 22, 0.1);
}

.card-slot:hover::after { transform: scaleX(1); }
.card-slot.open { border-color: var(--gold); }
.card-slot.open::after { transform: scaleX(1); }

.day-card {
  display: flex;
  flex-direction: column;
}

.card-top {
  padding: 22px 22px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-day-num {
  font-family: Georgia, serif;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}

.card-day-range {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.card-badge {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--gold);
  color: var(--dark);
  align-self: flex-start;
  flex-shrink: 0;
}

.card-badge.rare  { background: var(--dark); color: var(--gold); }
.card-badge.peak  { background: var(--warm); color: var(--parchment); }

.card-location {
  padding: 0 22px 12px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--warm);
}

.card-divider {
  height: 1px;
  background: var(--divider);
  margin: 0 22px 16px;
}

.card-activities {
  list-style: none;
  padding: 0 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-activities li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.card-activities li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.6;
}

.card-tags {
  padding: 0 22px 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--divider);
  color: var(--muted);
}

/* Collapsible detail */
.card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.card-slot.open .card-detail {
  max-height: 400px;
}

.card-detail-inner {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--divider);
  background: rgba(200, 154, 79, 0.04);
}

.card-voice {
  font-style: italic;
  font-size: 14px;
  color: var(--warm);
  margin-bottom: 12px;
  line-height: 1.55;
}

.card-voice::before { content: ''; }
.card-voice::after  { content: ''; }

.card-overnight {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.card-footer {
  border-top: 1px solid var(--divider);
  min-height: 42px;
  margin-top: auto;
}

/* Toggle button */
.card-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 11px 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  transition: color 0.2s;
  text-align: left;
}

.card-toggle:hover { color: var(--gold); }

.toggle-icon {
  font-size: 19px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s ease;
}

.card-slot.open .toggle-icon {
  transform: rotate(180deg);
}

/* ── SIGNATURE MOMENTS ──────────────────────────────────────── */
.signatures {
  background: var(--dark);
  padding: 80px 60px;
  border-top: 1px solid rgba(200, 154, 79, 0.1);
}

.sig-header {
  text-align: center;
  margin-bottom: 56px;
}

.sig-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 16px;
}

.sig-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--parchment);
  font-weight: 400;
  letter-spacing: -0.5px;
}

.sig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.sig-card {
  background: rgba(245, 239, 224, 0.03);
  border: 1px solid rgba(200, 154, 79, 0.12);
  padding: 20px 30px;
  transition: background 0.2s;
  /* scroll animation start state */
  opacity: 0;
  transform: translateY(20px);
  transition: background 0.2s, opacity 0.45s ease, transform 0.45s ease;
}

.sig-card:hover { background: rgba(200, 154, 79, 0.06); }

.sig-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.sig-icon {
  font-size: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.sig-day {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(200, 154, 79, 0.6);
  margin-bottom: 16px;
}

.sig-name {
  font-size: 22px;
  color: var(--parchment);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 400;
}

.sig-desc {
  font-size: 14px;
  color: rgba(245, 239, 224, 0.55);
  line-height: 1.75;
  margin-bottom: 24px;
}

.sig-flag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 154, 79, 0.15);
}

/* ── QUICK FACTS ────────────────────────────────────────────── */
.quick-facts {
  background: var(--section-bg);
  padding: 30px 60px;
  border-top: 1px solid var(--divider);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  max-width: 900px;
  margin: 0 auto 60px;
}

.fact-cell {
  background: var(--section-bg);
  padding: 32px 28px;
  text-align: center;
}

.fact-icon {
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.fact-icon svg {
  width: 32px;
  height: auto;
}

.fact-val {
  font-size: 26px;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.fact-key {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.incl-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.incl-col h3 {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--divider);
}

.incl-col.yes h3 { color: var(--dark); }
.incl-col.no h3  { color: var(--muted); }

.incl-col ul {
  list-style: none;
}

.incl-col ul li {
  font-size: 14px;
  color: var(--ink);
  padding: 7px 0;
  border-bottom: 1px solid var(--divider);
  display: flex;
  gap: 12px;
}

.incl-col.yes li::before {
  content: '✓';
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}

.incl-col.no li::before {
  content: '×';
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}

/* ── FINAL CTA ──────────────────────────────────────────────── */
/* ── PRICE BAND ──────────────────────────────────────────── */
.price-band {
  background: var(--section-bg);
  padding: 80px 60px;
  text-align: center;
}

.price-band .fact-val {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 10px;
}

.price-band .fact-key {
  font-size: 11px;
  letter-spacing: 2.5px;
}

.final-cta {
  background: var(--dark);
  padding: 100px 60px;
  text-align: center;
  border-top: 1px solid rgba(200, 154, 79, 0.15);
}

.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.final-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 24px;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--parchment);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 16px;
  color: rgba(245, 239, 224, 0.5);
  line-height: 1.7;
  margin-bottom: 40px;
  font-style: italic;
}

.final-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.policy-form {
  color: var(--warm) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .journey-hero {
    padding: 120px 24px 60px;
    align-items: flex-start;
  }

  .hero-title { line-height: 1.35; }

  .journey-hero::before { display: none; }

  .hero-eyebrow { margin-bottom: 50px; }

  .hero-title { margin-bottom: 50px; }

  .hero-sub {
    margin-bottom: 50px;
    font-size: 14px;
  }

  .hero-stats {
    gap: 20px;
    margin-bottom: 50px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .btn-gold { margin-bottom: 20px; }

  .phase-block { padding: 48px 24px 0; }
  .phase-block:last-child { padding-bottom: 48px; }
  .phase-days-label { margin-left: 0; width: 100%; }

  .signatures { padding: 60px 24px; }
  .sig-grid   { grid-template-columns: 1fr; }

  .quick-facts { padding: 30px 15px; }
  .price-band   { padding: 40px 24px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .incl-grid   { grid-template-columns: 1fr; gap: 32px; }

  .final-cta { padding: 72px 24px; }
}
