/* ═══════════════════════════════════════════════════
   ASIA TRIP 2026 — Design System
   ═══════════════════════════════════════════════════ */

/* ─── VARIABLES ────────────────────────────────────── */
:root {
  --bg: #0d1b2a;
  --bg-card: #111f2e;
  --bg-elevated: #152535;
  --border: rgba(255,255,255,0.08);
  --border-bright: rgba(255,255,255,0.16);
  --text: #e8edf2;
  --text-muted: #7a8fa6;
  --text-dim: #4a6070;
  --accent: #00b4d8;
  --accent-rgb: 0,180,216;
  --gold: #f5c842;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --city-accent: var(--accent);
  --city-accent-rgb: var(--accent-rgb);
  --shadow-card: 0 2px 24px rgba(0,0,0,0.4);
  --shadow-heavy: 0 8px 48px rgba(0,0,0,0.6);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ─── UTILITY ───────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── CITY NAV ──────────────────────────────────────── */
.city-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(13,27,42,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 8px 16px;
  box-shadow: var(--shadow-heavy);
  transition: opacity var(--transition), transform var(--transition);
}
.city-nav.is-hidden { opacity: 0; transform: translateX(-50%) translateY(80px); pointer-events: none; }
.city-nav__inner { display: flex; align-items: center; gap: 4px; }
.city-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: 100px;
  gap: 1px;
  transition: background var(--transition), color var(--transition);
  color: var(--text-muted);
}
.city-nav__item:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.city-nav__item.active { background: rgba(var(--city-accent-rgb),0.15); color: rgba(var(--city-accent-rgb),1); }
.city-nav__flag { font-size: 16px; line-height: 1; }
.city-nav__name { font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.city-nav__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-bright); margin: 0 2px; }

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 20px 120px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #0d2d4a 0%, var(--bg) 70%);
}
.hero__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 20%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 45%, rgba(255,255,255,0.3) 0%, transparent 100%);
}
.hero__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  width: 100%;
}
.hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  gap: 0;
}
.hero__title-line {
  font-family: var(--font-serif);
  font-size: clamp(52px, 12vw, 110px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--text);
  opacity: 0;
}
.hero__title-line--italic {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.hero__route {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 32px;
  opacity: 0;
}
.hero__route span:not(.hero__route-arrow) {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.hero__route-arrow { color: var(--text-dim); font-size: 9px; }
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  opacity: 0;
}
.hero__stat { padding: 0 28px; text-align: center; }
.hero__stat-num {
  display: block;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.hero__stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.hero__stat-divider { width: 1px; height: 40px; background: var(--border-bright); }
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(var(--city-accent-rgb),0.15);
  border: 1px solid rgba(var(--city-accent-rgb),0.4);
  border-radius: 100px;
  color: rgba(var(--city-accent-rgb),1);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
  opacity: 0;
}
.hero__cta:hover { background: rgba(var(--city-accent-rgb),0.25); transform: translateY(-2px); }
.hero__ticker {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0.35;
}
.hero__ticker-track {
  display: inline-flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: ticker 24s linear infinite;
}
.hero__ticker-track .sep { color: var(--text-dim); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTION HEADERS ───────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--city-accent-rgb),1);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 40px;
}
.section-header { margin-bottom: 48px; }

/* ─── FLIGHT BOARDING PASS ──────────────────────────── */
.flight-connector {
  padding: 20px 0;
  position: relative;
}
.boarding-pass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.boarding-pass:hover { transform: translateY(-4px); box-shadow: var(--shadow-heavy); }
.boarding-pass--train { border-left: 3px solid var(--gold); }
.flight-connector { padding: 32px 0 12px; }
/* ─── TRANSPORT ANIMATION MIDDLE ─────────────────────── */
.bp-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  position: relative;
}
.bp-mid__scene {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.bp-mid__duration {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.bp-mid__scene svg {
  display: block;
  width: 100%;
}

/* ── PLANE ───────────────────────────────────────────── */
.bp-mid--plane .bp-mid__scene {
  height: 52px;
  background: linear-gradient(180deg,
    rgba(var(--city-accent-rgb),0.07) 0%,
    rgba(var(--city-accent-rgb),0.02) 60%,
    transparent 100%);
}
.bp-mid__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bp-mid__cloud {
  position: absolute;
  color: rgba(255,255,255,0.18);
  font-style: normal;
  font-size: 11px;
  user-select: none;
}
.bp-mid__cloud--a { top: 28%; animation: cloudA  9s linear infinite; }
.bp-mid__cloud--b { top: 54%; font-size: 8px; animation: cloudB 13s linear infinite 3s; }
.bp-mid__cloud--c { top: 18%; font-size: 7px; animation: cloudA 11s linear infinite 6s; }
@keyframes cloudA {
  0%   { left: 102%; opacity: 0; }
  6%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: -8%;  opacity: 0; }
}
@keyframes cloudB {
  0%   { left: -8%;  opacity: 0; }
  6%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}
.bp-mid__vehicle--plane {
  position: absolute;
  font-size: 15px;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(var(--city-accent-rgb),0.9))
          drop-shadow(0 0 12px rgba(var(--city-accent-rgb),0.4));
  animation: planeArc 4s cubic-bezier(0.45,0,0.55,1) infinite;
}
@keyframes planeArc {
  0%   { left:  3%; top: 88%; transform: translate(-50%,-50%) rotate(-18deg); opacity:0; }
  4%   {                                                                        opacity:1; }
  20%  { left: 22%; top: 42%; transform: translate(-50%,-50%) rotate(-38deg); }
  50%  { left: 50%; top: 13%; transform: translate(-50%,-50%) rotate(0deg);   }
  80%  { left: 78%; top: 42%; transform: translate(-50%,-50%) rotate(38deg);  }
  96%  {                                                                        opacity:1; }
  100% { left: 97%; top: 88%; transform: translate(-50%,-50%) rotate(18deg);  opacity:0; }
}
.bp-mid__trail {
  position: absolute;
  height: 2px;
  width: 28px;
  border-radius: 2px;
  background: linear-gradient(to left, rgba(var(--city-accent-rgb),0.7), transparent);
  pointer-events: none;
  animation: trailArc 4s cubic-bezier(0.45,0,0.55,1) infinite;
  opacity: 0;
}
@keyframes trailArc {
  0%   { left:  0%; top: 88%; opacity:0; transform: translateY(-50%) rotate(-18deg); }
  6%   { opacity: 0.7; }
  20%  { left: 16%; top: 42%; transform: translateY(-50%) rotate(-38deg); }
  50%  { left: 44%; top: 13%; transform: translateY(-50%) rotate(0deg); opacity: 0.5; }
  80%  { left: 72%; top: 42%; transform: translateY(-50%) rotate(38deg); }
  94%  { opacity: 0.7; }
  100% { left: 91%; top: 88%; opacity:0; transform: translateY(-50%) rotate(18deg); }
}

/* ── TRAIN ───────────────────────────────────────────── */
.bp-mid--train .bp-mid__scene {
  height: 38px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--city-accent-rgb),0.05) 50%,
    transparent 100%);
}
.bp-mid__sparks {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.bp-mid__sparks span {
  display: block;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(var(--city-accent-rgb),0.5) 40%,
    rgba(var(--city-accent-rgb),0.7) 60%,
    transparent 100%);
  animation: spark 0.9s linear infinite;
}
.bp-mid__sparks span:nth-child(1) { animation-delay: 0s;     width: 55%; }
.bp-mid__sparks span:nth-child(2) { animation-delay: -0.3s;  width: 42%; }
.bp-mid__sparks span:nth-child(3) { animation-delay: -0.6s;  width: 65%; }
.bp-mid__sparks span:nth-child(4) { animation-delay: -0.15s; width: 35%; }
@keyframes spark {
  0%   { transform: translateX(-120%); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(220%);  opacity: 0; }
}
.bp-mid__vehicle--train {
  position: absolute;
  top: 50%;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 6px rgba(var(--city-accent-rgb),1))
          drop-shadow(0 0 14px rgba(var(--city-accent-rgb),0.5));
  animation: trainRun 2.8s linear infinite;
}
@keyframes trainRun {
  0%   { left: -15%; opacity: 0; }
  7%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 112%; opacity: 0; }
}
.boarding-pass__main {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.boarding-pass__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.boarding-pass__type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.boarding-pass__airline {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.boarding-pass__route {
  display: flex;
  align-items: center;
  gap: 12px;
}
.boarding-pass__airport {
  text-align: center;
}
.boarding-pass__code {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  font-family: var(--font-sans);
}
.boarding-pass__city {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.boarding-pass__middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.boarding-pass__icon { font-size: 18px; }
.boarding-pass__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-bright), transparent);
}
.boarding-pass__duration {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.boarding-pass__details {
  display: flex;
  gap: 20px;
}
.boarding-pass__detail-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.boarding-pass__detail-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.boarding-pass__stub {
  width: 80px;
  border-left: 1px dashed var(--border-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  flex-shrink: 0;
}
.boarding-pass__price {
  font-size: 15px;
  font-weight: 900;
  color: rgba(var(--city-accent-rgb),1);
  text-align: center;
}
.boarding-pass__buy {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 10px;
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  transition: color var(--transition), border-color var(--transition);
}
.boarding-pass__buy:hover { color: rgba(var(--city-accent-rgb),1); border-color: rgba(var(--city-accent-rgb),0.5); }

/* ─── DAY BLOCK (scrollable, no tabs) ───────────────── */
.days-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 32px 0 16px;
}
.day-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.day-block:hover { border-color: rgba(var(--city-accent-rgb),0.25); }
.day-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(var(--city-accent-rgb),0.05);
  gap: 12px;
}
.day-block__meta { display: flex; align-items: center; gap: 10px; }
.day-block__num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--city-accent-rgb),1);
  background: rgba(var(--city-accent-rgb),0.12);
  padding: 3px 10px;
  border-radius: 100px;
}
.day-block__label { font-size: 14px; font-weight: 700; color: var(--text); }
.day-block__date { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.day-block .schedule { padding: 8px 20px 16px; }
.day-block .schedule::before { left: 49px; }

/* ─── INLINE SCHED-CARD (inside schedule items) ────────── */
.schedule-item--rich { align-items: start; }
.schedule-item--rich .schedule-item__body { min-width: 0; }

.sched-card {
  margin-top: 12px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.sched-card:hover {
  border-color: rgba(var(--city-accent-rgb),0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.sched-card__img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.sched-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s;
  opacity: 0.55;
}
.sched-card__img.loaded { opacity: 1; }
.sched-card:hover .sched-card__img { transform: scale(1.05); }
.sched-card__img-tags {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sched-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.sched-card__desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.sched-card__insta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(var(--city-accent-rgb),0.75);
  transition: color var(--transition);
}
.sched-card__insta:hover { color: rgba(var(--city-accent-rgb),1); }

@media (max-width: 600px) {
  .sched-card { grid-template-columns: 1fr; }
  .sched-card__img-wrap { height: 180px; }
}

/* ─── ATTRACTION CARDS ───────────────────────────────── */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.attraction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.attraction-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--city-accent-rgb),0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.attraction-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.attraction-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s;
  opacity: 0.6;
}
.attraction-card__img.loaded { opacity: 1; }
.attraction-card:hover .attraction-card__img { transform: scale(1.04); }
.attraction-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,27,42,0.7) 100%);
}
.attraction-card__tags {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.attraction-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(13,27,42,0.75);
  color: rgba(var(--city-accent-rgb),1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(var(--city-accent-rgb),0.3);
}
.attraction-card__body { padding: 16px 18px 18px; }
.attraction-card__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}
.attraction-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.attraction-card__insta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(var(--city-accent-rgb),0.8);
  border-bottom: 1px solid rgba(var(--city-accent-rgb),0.25);
  padding-bottom: 1px;
  transition: color var(--transition);
}
.attraction-card__insta:hover { color: rgba(var(--city-accent-rgb),1); }

/* ─── CITY SECTION ──────────────────────────────────── */
.city-section {
  --city-accent: var(--accent);
  --city-accent-rgb: 0,180,216;
  padding: 80px 0 60px;
  position: relative;
}
.city-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(var(--city-accent-rgb),0.4), transparent);
}
.city-hero {
  height: 340px;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
  background: linear-gradient(135deg, rgba(var(--city-accent-rgb),0.2), var(--bg-elevated));
  display: flex;
  align-items: flex-end;
}
.city-hero__image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  transition: opacity 0.6s;
}
.city-hero__image.loaded { opacity: 0.55; }
.city-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.3) 60%, transparent 100%);
}
.city-hero__content {
  position: relative;
  z-index: 1;
  padding: 32px 32px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.city-hero__flag { font-size: 32px; line-height: 1; margin-bottom: 8px; }
.city-hero__name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.city-hero__meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.city-hero__dates { color: rgba(var(--city-accent-rgb),1); font-weight: 600; }
.city-hero__right { text-align: right; }
.city-hero__intro {
  max-width: 360px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  text-align: right;
}

/* ─── DAY TABS ──────────────────────────────────────── */
.day-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: transparent;
  white-space: nowrap;
  gap: 2px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
  color: var(--text-muted);
}
.day-tab:hover { background: rgba(255,255,255,0.04); border-color: var(--border-bright); }
.day-tab.active {
  background: rgba(var(--city-accent-rgb),0.12);
  border-color: rgba(var(--city-accent-rgb),0.4);
  color: rgba(var(--city-accent-rgb),1);
}
.day-tab__num { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.day-tab__label { font-size: 13px; font-weight: 600; }
.day-tab__date { font-size: 11px; opacity: 0.7; }

/* ─── SCHEDULE ──────────────────────────────────────── */
.schedule {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.schedule::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(var(--city-accent-rgb),0.3), transparent);
}
.schedule-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 14px 0;
  align-items: start;
}
.schedule-item__time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}
.schedule-item__clock {
  font-size: 10px;
  font-weight: 700;
  color: rgba(var(--city-accent-rgb),0.7);
  letter-spacing: 0.05em;
}
.schedule-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--city-accent-rgb),0.3);
  border: 1.5px solid rgba(var(--city-accent-rgb),0.6);
  flex-shrink: 0;
}
.schedule-item__place {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.schedule-item__emoji { font-size: 16px; }
.schedule-item__desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ─── HOTEL CARD ────────────────────────────────────── */
.hotel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 32px;
  transition: border-color var(--transition);
}
.hotel-card:hover { border-color: rgba(var(--city-accent-rgb),0.3); }
.hotel-card__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--city-accent-rgb),0.1);
  border-radius: var(--r-md);
}
.hotel-card__body { flex: 1; min-width: 0; }
.hotel-card__stars { color: var(--gold); font-size: 11px; margin-bottom: 4px; }
.hotel-card__name { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.hotel-card__area {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hotel-card__why {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.hotel-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hotel-card__price {
  font-size: 15px;
  font-weight: 700;
  color: rgba(var(--city-accent-rgb),1);
}
.hotel-card__link {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(var(--city-accent-rgb),0.4);
  border-radius: 100px;
  color: rgba(var(--city-accent-rgb),1);
  transition: background var(--transition);
}
.hotel-card__link:hover { background: rgba(var(--city-accent-rgb),0.1); }

/* ─── FOOD GRID ─────────────────────────────────────── */
.food-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 32px 0 16px;
}
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.food-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.food-card:hover {
  border-color: rgba(var(--city-accent-rgb),0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.food-card__img-wrap {
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}
.food-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s;
  opacity: 0.6;
}
.food-card__img.loaded { opacity: 1; }
.food-card:hover .food-card__img { transform: scale(1.05); }
.food-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.food-card__name { font-size: 14px; font-weight: 700; color: var(--text); }
.food-card__type { font-size: 11px; color: var(--text-muted); }
.food-card__desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 4px 0; flex: 1; }
.food-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0;
}
.food-card__price {
  font-size: 13px;
  font-weight: 700;
  color: rgba(var(--city-accent-rgb),1);
}
.food-card__insta {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition);
}
.food-card__insta:hover { color: rgba(var(--city-accent-rgb),1); }
.food-card__tags { display: flex; gap: 4px; flex-wrap: wrap; }
.food-card__tag {
  font-size: 10px;
  padding: 2px 8px;
  background: rgba(var(--city-accent-rgb),0.08);
  border-radius: 100px;
  color: rgba(var(--city-accent-rgb),0.8);
}

/* ─── TIPS CHIPS ─────────────────────────────────────── */
.city-tips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.city-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
}
.city-tip__icon { font-size: 14px; }

/* ─── BUDGET SECTION ─────────────────────────────────── */
.budget-section { padding: 80px 0; }
.budget-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.budget-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.budget-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.budget-card__icon { font-size: 28px; margin-bottom: 8px; }
.budget-card__label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.budget-card__amount { font-size: 32px; font-weight: 900; color: var(--text); line-height: 1; }
.budget-card__sub { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.budget-card--flights .budget-card__amount { color: #60c9e8; }
.budget-card--hotels .budget-card__amount { color: #f5c842; }
.budget-card--food .budget-card__amount { color: #7ed8a0; }
.budget-card--activities .budget-card__amount { color: #f78166; }

.budget-total {
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.1), rgba(var(--accent-rgb),0.04));
  border: 1px solid rgba(var(--accent-rgb),0.25);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.budget-total__label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.budget-total__amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.budget-total__per { font-size: 14px; color: var(--text-muted); }

.flights-table__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.flights-table__body { display: flex; flex-direction: column; gap: 8px; }
.flight-row {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  gap: 16px;
  transition: border-color var(--transition);
}
.flight-row:hover { border-color: var(--border-bright); }
.flight-row__type { font-size: 16px; flex-shrink: 0; }
.flight-row__route { flex: 1; }
.flight-row__codes { font-size: 14px; font-weight: 700; color: var(--text); }
.flight-row__meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.flight-row__date { font-size: 12px; color: var(--text-muted); text-align: right; white-space: nowrap; }
.flight-row__price { font-size: 14px; font-weight: 700; color: var(--accent); text-align: right; white-space: nowrap; }
.flight-row__link { font-size: 11px; color: var(--text-dim); text-decoration: underline; white-space: nowrap; }

/* ─── CHECKLIST ──────────────────────────────────────── */
.checklist-section { padding: 80px 0; }
.checklist-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.checklist-progress__bar {
  flex: 1;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 100px;
  overflow: hidden;
}
.checklist-progress__fill {
  height: 100%;
  background: rgba(var(--city-accent-rgb),1);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}
.checklist-progress__text { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.checklist-groups { display: flex; flex-direction: column; gap: 24px; }
.checklist-group__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.checklist-items { display: flex; flex-direction: column; gap: 6px; }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--transition), opacity var(--transition);
}
.checklist-item:hover { border-color: var(--border-bright); }
.checklist-item.checked { opacity: 0.5; }
.checklist-item.checked .checklist-item__text { text-decoration: line-through; }
.checklist-item--critical { border-left: 3px solid #f78166; }
.checklist-item__check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border-bright);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background var(--transition), border-color var(--transition);
}
.checklist-item.checked .checklist-item__check {
  background: var(--accent);
  border-color: var(--accent);
}
.checklist-item.checked .checklist-item__check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #0d1b2a;
  border-bottom: 2px solid #0d1b2a;
  transform: rotate(-45deg) translateY(-1px);
}
.checklist-item__text { font-size: 14px; color: var(--text); line-height: 1.4; }
.checklist-item__priority {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}
.priority-critical { background: rgba(247,129,102,0.15); color: #f78166; }
.priority-high { background: rgba(245,200,66,0.12); color: #f5c842; }

/* ─── TIPS SECTION ───────────────────────────────────── */
.tips-section { padding: 60px 0 80px; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition);
}
.tip-card:hover { transform: translateY(-3px); border-color: var(--border-bright); }
.tip-card--critical { border-left: 3px solid #f78166; }
.tip-card__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.tip-card__title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tip-card__text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.tip-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #f78166;
  border-bottom: 1px solid rgba(247,129,102,0.4);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 60px;
  text-align: center;
}
.footer__route {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer__dates { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.footer__bottom { font-size: 12px; color: var(--text-dim); }

/* ─── MODAL ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(8px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-xl);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition);
  padding: 32px;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  transition: background var(--transition);
}
.modal__close:hover { background: rgba(255,255,255,0.12); color: var(--text); }

/* ─── CITY COLOR THEMES ──────────────────────────────── */
.city-section[data-city="kul"] { --city-accent: #00897b; --city-accent-rgb: 0,137,123; }
.city-section[data-city="sin"] { --city-accent: #e53e3e; --city-accent-rgb: 229,62,62; }
.city-section[data-city="icn"] { --city-accent: #4a90d9; --city-accent-rgb: 74,144,217; }
.city-section[data-city="tyo"] { --city-accent: #e05c93; --city-accent-rgb: 224,92,147; }
.city-section[data-city="kyo"] { --city-accent: #b5651d; --city-accent-rgb: 181,101,29; }
.city-section[data-city="osa"] { --city-accent: #f97316; --city-accent-rgb: 249,115,22; }
.city-section[data-city="hkg"] { --city-accent: #a855f7; --city-accent-rgb: 168,85,247; }

/* ─── CITY NAV — override accent ─────────────────────── */
.city-nav__item[data-city="kul"].active { color: #00897b; }
.city-nav__item[data-city="sin"].active { color: #e53e3e; }
.city-nav__item[data-city="icn"].active { color: #4a90d9; }
.city-nav__item[data-city="tyo"].active { color: #e05c93; }
.city-nav__item[data-city="kyo"].active { color: #b5651d; }
.city-nav__item[data-city="osa"].active { color: #f97316; }
.city-nav__item[data-city="hkg"].active { color: #a855f7; }

/* ─── ANIMATIONS ─────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); }
.fade-in { opacity: 0; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .city-hero { height: 260px; }
  .city-hero__content { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .city-hero__intro { text-align: left; max-width: 100%; }
  .boarding-pass { flex-direction: column; }
  .boarding-pass__stub {
    width: 100%;
    border-left: none;
    border-top: 1px dashed var(--border-bright);
    flex-direction: row;
    padding: 12px 20px;
    justify-content: space-between;
  }
  .budget-cards { grid-template-columns: repeat(2, 1fr); }
  .budget-total { flex-direction: column; text-align: center; }
  .hero__stats { gap: 0; }
  .hero__stat { padding: 0 16px; }
  .food-grid { grid-template-columns: 1fr 1fr; }
  .city-nav { bottom: 12px; padding: 6px 10px; }
  .city-nav__item { padding: 5px 7px; }
  .city-nav__name { display: none; }
  .city-nav__flag { font-size: 18px; }
  .city-nav__dot { display: none; }
}

@media (max-width: 480px) {
  .budget-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .food-grid { grid-template-columns: 1fr; }
  .schedule::before { left: 26px; }
  .schedule-item { grid-template-columns: 52px 1fr; }
  .hero__title-line { font-size: clamp(48px, 13vw, 80px); }
}

@media (min-width: 1024px) {
  .city-section > .container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
  }
  .city-section > .container > .city-hero { grid-column: 1 / -1; }
  .city-section > .container > .city-main { grid-column: 1; }
  .city-section > .container > .city-sidebar { grid-column: 2; }
}
