/* ═══════════════════════════════════════════════════════════════════
   Voyage Smart Travel — Premium Design System v3
   Cormorant Garamond · DM Sans · DM Mono  |  Dark Luxury
   ═══════════════════════════════════════════════════════════════════ */

/* Fonts loaded via <link> in HTML for optimal performance */

/* ── Design tokens ──────────────────────────────────────────────── */
:root {
  --bg:           #0a0f1a;
  --surface:      #111827;
  --surface-2:    #182030;
  --gold:         #c9a84c;
  --gold-dim:     rgba(201,168,76,0.12);
  --gold-glow:    rgba(201,168,76,0.32);
  --gold-bright:  #d4b56a;
  --teal:         #00d4aa;
  --teal-dim:     rgba(0,212,170,0.10);
  --cream:        #f0e6cc;
  --eco-amber:    #f59e0b;
  --eco-red:      #ef4444;
  --text:         #e8edf5;
  --text-muted:   #8899b0;
  --text-subtle:  #6b7d94;
  --border:       rgba(255,255,255,0.07);
  --border-gold:  rgba(201,168,76,0.28);
  --max-w:        1240px;
  --nav-h:        72px;
  --radius:       14px;
  --radius-lg:    24px;
  --ease-out:     cubic-bezier(0.22,1,0.36,1);
}

/* ── Reset ──────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea { font-family: inherit; }

/* ── Focus visible ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Film grain overlay ─────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Page entry animations ──────────────────────────────────────── */
@keyframes blur-slide-up {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.page-enter         { animation: blur-slide-up 0.7s var(--ease-out) both; }
.page-enter-d1      { animation-delay: 90ms; }
.page-enter-d2      { animation-delay: 180ms; }
.page-enter-d3      { animation-delay: 270ms; }
.page-enter-d4      { animation-delay: 360ms; }

/* ── Scroll-reveal items (toggled by IntersectionObserver) ──────── */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition: opacity 0.65s var(--ease-out),
              transform 0.65s var(--ease-out),
              filter 0.65s var(--ease-out);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Reduced motion fallback ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .page-enter,
  .page-enter-d1,
  .page-enter-d2,
  .page-enter-d3,
  .page-enter-d4 {
    animation: fade-in 0.4s ease both;
  }
  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ══════════════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════════════ */
.vst-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
  background: rgba(10,15,26,0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.vst-nav.scrolled {
  background: rgba(10,15,26,0.92);
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
}
.nav-brand-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.nav-link.active { color: var(--gold); }

.nav-cta {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--gold-glow);
}
.nav-cta:active { transform: scale(0.97); }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.05); }
@media (min-width: 900px) { .nav-hamburger { display: none; } }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,15,26,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease-out);
  z-index: 499;
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile-link:hover { color: var(--text); background: var(--surface); }
.nav-mobile-cta {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  border-radius: 10px;
}
.nav-mobile-cta:hover { background: var(--gold-bright); color: var(--bg); }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -15%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,15,26,0.38) 0%,
    rgba(10,15,26,0.22) 35%,
    rgba(10,15,26,0.65) 68%,
    var(--bg)           100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(5rem,12vw,9rem) clamp(1.25rem,5vw,2.5rem) clamp(4rem,8vw,7rem);
  max-width: 860px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.95rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  background: var(--gold-dim);
  backdrop-filter: blur(8px);
}
.hero-eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.75); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.75rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.175rem);
  font-weight: 300;
  color: rgba(232,237,245,0.72);
  max-width: 520px;
  margin: 0 auto 2.75rem;
  line-height: 1.68;
}

/* ── AVA search bar ─────────────────────────────────────────────── */
.ava-search {
  position: relative;
  max-width: 620px;
  margin: 0 auto 1.25rem;
}
.ava-search-input {
  width: 100%;
  background: rgba(17,24,39,0.82);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 100px;
  padding: 1.15rem 4.5rem 1.15rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ava-search-input::placeholder { color: var(--text-muted); }
.ava-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow), 0 8px 40px rgba(201,168,76,0.18);
}
.ava-search-btn {
  position: absolute;
  right: 7px; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.ava-search-btn:hover {
  background: var(--gold-bright);
  transform: translateY(-50%) scale(1.06);
}
.ava-search-btn:active { transform: translateY(-50%) scale(0.94); }
.ava-search-btn svg { width: 18px; height: 18px; stroke-width: 2; }

.ava-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.ava-chip {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.32rem 0.85rem;
  border-radius: 100px;
  cursor: pointer;
  background: rgba(17,24,39,0.5);
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}
.ava-chip:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-dim);
}
.ava-chip:active { transform: scale(0.97); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: bob 2.8s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════════════
   SECTION BASE
   ══════════════════════════════════════════════════════════════════ */
.section {
  padding: clamp(4.5rem,9vw,7.5rem) clamp(1.25rem,4vw,2.5rem);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.section-sub {
  font-size: 1.025rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.68;
}
.section-head {
  margin-bottom: 3rem;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   DESTINATION CAROUSEL
   ══════════════════════════════════════════════════════════════════ */
.carousel-section {
  padding: 0 0 clamp(4.5rem,9vw,7.5rem);
  overflow: hidden;
}
.carousel-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.carousel-nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}
.carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.carousel-btn:active { transform: scale(0.94); }
.carousel-btn svg { width: 16px; height: 16px; }

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.75rem clamp(1.25rem,4vw,2.5rem) 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* Destination card */
.dest-card {
  flex: 0 0 clamp(240px, 30vw, 320px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.dest-card:hover {
  transform: translateY(-7px) scale(1.018);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.dest-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.dest-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.dest-card:hover .dest-card-img { transform: scale(1.06); }

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,15,26,0.93) 0%,
    rgba(10,15,26,0.15) 50%,
    transparent 100%
  );
}

.dest-card-eco {
  position: absolute;
  top: 1rem; right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(10,15,26,0.72);
  border: 1px solid rgba(0,212,170,0.35);
  border-radius: 100px;
  padding: 0.28rem 0.65rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--teal);
  backdrop-filter: blur(10px);
}
.dest-card-eco svg { width: 11px; height: 11px; fill: currentColor; }

.dest-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
}
.dest-card-country {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.dest-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 0.6rem;
}
.dest-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dest-card-from { font-size: 0.72rem; color: var(--text-muted); }
.dest-card-price {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════════════
   TRIP / FLIGHT CARDS WITH ECO SCORE
   ══════════════════════════════════════════════════════════════════ */
.trips-section { background: var(--surface); }

.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.trip-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.trip-card:hover {
  transform: translateY(-7px) scale(1.018);
  border-color: var(--border-gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.trip-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.trip-card-body { padding: 1.25rem 1.25rem 1rem; }

.trip-route {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.trip-city {
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  color: var(--text);
  letter-spacing: 0.05em;
}
.trip-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent 40%, var(--border));
  position: relative;
}
.trip-line::after {
  content: '›';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.eco-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.eco-score {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
}
.eco-bar {
  width: 52px; height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.eco-fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 1.2s var(--ease-out);
}
.eco-fill.high { background: var(--teal); }
.eco-fill.mid  { background: var(--eco-amber); }
.eco-fill.low  { background: var(--eco-red); }
.eco-score.high { color: var(--teal); }
.eco-score.mid  { color: var(--eco-amber); }
.eco-score.low  { color: var(--eco-red); }

.trip-price-wrap { text-align: right; }
.trip-price-label { font-size: 0.68rem; color: var(--text-muted); }
.trip-price {
  font-family: 'DM Mono', monospace;
  font-size: 1.05rem;
  color: var(--text);
}

.trip-card-footer {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trip-date { font-size: 0.78rem; color: var(--text-muted); }
.trip-book {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.trip-book:hover { gap: 0.55rem; }

/* ══════════════════════════════════════════════════════════════════
   FEATURE GRID (asymmetric)
   ══════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .feat-wide { grid-column: span 2; }
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem,3.5vw,2.75rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.feat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-7px) scale(1.018);
  box-shadow: 0 20px 56px rgba(0,0,0,0.3);
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  transform: translate(40%,-40%);
  pointer-events: none;
}
.feat-card.accent-teal::before {
  background: radial-gradient(circle, var(--teal-dim) 0%, transparent 70%);
}

.feat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.feat-card.accent-teal .feat-icon { color: var(--teal); }
.feat-icon svg { width: 22px; height: 22px; }

.feat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.feat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.68;
}
.feat-stat {
  margin-top: 1.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem,5vw,3rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.feat-stat-label {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem clamp(1.25rem,4vw,2.5rem);
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2.5rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem,6vw,3.75rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════════ */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,168,76,0.07) 0%, transparent 70%);
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.75rem,7vw,5.5rem);
  font-weight: 300;
  line-height: 1.04;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub {
  font-size: 1.025rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 2.75rem;
  line-height: 1.68;
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary svg { width: 18px; height: 18px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.22); transform: scale(1.03); }
.btn-ghost:active { transform: scale(0.97); }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.vst-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(3.5rem,7vw,6rem) clamp(1.25rem,4vw,2.5rem) 2.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2.2fr 1fr 1fr 1fr; }
}

.footer-brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.7rem;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.62;
  max-width: 230px;
  margin-bottom: 1.75rem;
}
.footer-socials {
  display: flex;
  gap: 0.65rem;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col-head {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-lnk {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}
.footer-lnk:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* ══════════════════════════════════════════════════════════════════
   PLANNER PAGE
   ══════════════════════════════════════════════════════════════════ */
.planner-hero {
  padding: calc(var(--nav-h) + 5rem) clamp(1.25rem,4vw,2.5rem) 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.planner-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.planner-hero::after {
  content: '';
  position: absolute;
  top: 30%; left: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,170,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.planner-ava-bar {
  max-width: 680px;
  margin: 2.5rem auto 0;
  position: relative;
}
.planner-ava-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 5rem 1.1rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.planner-ava-input::placeholder { color: var(--text-muted); }
.planner-ava-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.planner-ava-send {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.planner-ava-send:hover { background: var(--gold-bright); transform: translateY(-50%) scale(1.06); }
.planner-ava-send:active { transform: translateY(-50%) scale(0.94); }
.planner-ava-send svg { width: 18px; height: 18px; }

.chat-wrap {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 0 clamp(1.25rem,4vw,2.5rem) 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  animation: blur-slide-up 0.4s var(--ease-out) both;
}
.chat-msg.ava { align-items: flex-start; }
.chat-msg.user { align-items: flex-end; }

.chat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  padding-left: 0.25rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  font-size: 0.925rem;
  line-height: 1.65;
}
.chat-bubble.ava {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-bubble.user {
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-bottom-right-radius: 4px;
  color: var(--text);
}

.ava-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  max-width: 720px;
  margin: 0.75rem auto 0;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
}
.ava-sug-chip {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}
.ava-sug-chip:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.ava-sug-chip:active { transform: scale(0.97); }

/* ══════════════════════════════════════════════════════════════════
   DESTINATIONS PAGE
   ══════════════════════════════════════════════════════════════════ */
.destinations-hero {
  padding: calc(var(--nav-h) + 5rem) clamp(1.25rem,4vw,2.5rem) 3.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.filter-bar {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.filter-btn:active { transform: scale(0.97); }

.destinations-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,2.5rem) 7rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.dgrid-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}
.dgrid-card:hover {
  transform: translateY(-7px) scale(1.018);
  border-color: var(--border-gold);
  box-shadow: 0 20px 56px rgba(0,0,0,0.35);
}

.dgrid-img-wrap { position: relative; overflow: hidden; }
.dgrid-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.dgrid-card:hover .dgrid-img { transform: scale(1.06); }

.dgrid-eco {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(10,15,26,0.78);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: 100px;
  padding: 0.25rem 0.65rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--teal);
  backdrop-filter: blur(8px);
}
.dgrid-eco svg { width: 10px; height: 10px; fill: currentColor; }

.dgrid-body { padding: 1.25rem; }
.dgrid-region {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.dgrid-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 0.55rem;
}
.dgrid-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 1rem;
}
.dgrid-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dgrid-tag {
  font-size: 0.7rem;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg);
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════════ */
.about-hero {
  padding: calc(var(--nav-h) + 5rem) clamp(1.25rem,4vw,2.5rem) 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-split {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}
@media (min-width: 768px) {
  .about-split { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
  .about-split.flip .about-visual { order: -1; }
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.65rem,3.5vw,2.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.about-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--teal));
}
.about-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.values-grid {
  max-width: var(--max-w);
  margin: 0 auto 7rem;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.value-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.value-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}
.value-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.55rem;
  font-weight: 400;
}
.value-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.62; }

/* ── Utility ─────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   PLANNER v2 — Sidebar + AI Chat + Itinerary Cards
   ══════════════════════════════════════════════════════════════════ */

/* ── Two-panel layout ────────────────────────────────────────────── */
.planner-v2-layout {
  display: flex;
  height: calc(100dvh - var(--nav-h));
  margin-top: var(--nav-h);
  overflow: hidden;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.planner-sidebar {
  width: 264px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: rgba(17,24,39,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out);
}
@media (max-width: 768px) {
  .planner-sidebar {
    position: fixed;
    top: var(--nav-h); left: 0; bottom: 0;
    z-index: 300;
    transform: translateX(-100%);
    width: 280px;
  }
  .planner-sidebar.open { transform: translateX(0); }
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.sidebar-new-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  transition: background 0.2s, color 0.2s;
}
.sidebar-new-btn:hover { background: rgba(201,168,76,0.22); }

.sessions-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sessions-list::-webkit-scrollbar { width: 3px; }
.sessions-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.session-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  border-radius: 0;
  border-left: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.session-item:hover { background: rgba(255,255,255,0.04); }
.session-item.active {
  background: var(--gold-dim);
  border-left-color: var(--gold);
}
.session-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-subtle);
  flex-shrink: 0;
}
.session-item.active .session-dot { background: var(--gold); }
.session-info { min-width: 0; flex: 1; }
.session-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.session-item.active .session-name { color: var(--gold); }
.session-date {
  font-size: 0.7rem;
  color: var(--text-subtle);
  margin-top: 0.1rem;
  font-family: 'DM Mono', monospace;
}
.session-del {
  opacity: 0;
  font-size: 0.7rem;
  color: var(--text-subtle);
  padding: 2px 4px;
  border-radius: 4px;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.session-item:hover .session-del { opacity: 1; }
.session-del:hover { color: var(--eco-red); background: rgba(239,68,68,0.1); }

.sidebar-empty {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

/* ── Sidebar overlay (mobile) ────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,26,0.6);
  backdrop-filter: blur(4px);
  z-index: 299;
}
@media (max-width: 768px) {
  .sidebar-overlay.visible { display: block; }
}

/* ── Main chat pane ──────────────────────────────────────────────── */
.planner-chat-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

/* Mobile sidebar toggle */
.sidebar-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s;
}
.sidebar-toggle:hover { color: var(--text); }
.sidebar-toggle svg { width: 16px; height: 16px; }
@media (max-width: 768px) { .sidebar-toggle { display: flex; } }

/* ── Chat scroll area ────────────────────────────────────────────── */
.chat-scroll-v2 {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.chat-scroll-v2::-webkit-scrollbar { width: 4px; }
.chat-scroll-v2::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem clamp(1rem,3vw,2rem) 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Welcome screen (no active session) ─────────────────────────── */
.planner-welcome-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  padding: 3rem 2rem;
}
.welcome-ava-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.welcome-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.welcome-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.welcome-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 600px;
}

/* ── Chat message timestamp ──────────────────────────────────────── */
.chat-timestamp {
  font-size: 0.65rem;
  color: var(--text-subtle);
  font-family: 'DM Mono', monospace;
  margin-top: 0.3rem;
  padding: 0 0.25rem;
}
.chat-msg.user .chat-timestamp { text-align: right; }

/* ── Typing indicator ────────────────────────────────────────────── */
.typing-v2 {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 0.85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.typing-v2.visible { display: flex; }
.typing-v2-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-v2-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-v2-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%          { transform: translateY(-6px); opacity: 1; }
}

/* ── Sticky input area ───────────────────────────────────────────── */
.planner-input-wrap {
  border-top: 1px solid var(--border);
  background: linear-gradient(to top, var(--bg) 60%, transparent);
  padding: 1.25rem clamp(1rem,3vw,2rem) clamp(1.25rem,3vw,1.75rem);
  flex-shrink: 0;
}
.planner-input-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.planner-input-v2 {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 5.5rem 1rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  line-height: 1.5;
  max-height: 160px;
  overflow-y: auto;
}
.planner-input-v2::placeholder { color: var(--text-muted); }
.planner-input-v2:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.planner-send-v2 {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  flex-shrink: 0;
}
.planner-send-v2:hover {
  background: var(--gold-bright);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 14px var(--gold-glow);
}
.planner-send-v2:active { transform: translateY(-50%) scale(0.94); }
.planner-send-v2:disabled {
  background: var(--surface-2);
  color: var(--text-subtle);
  cursor: not-allowed;
  box-shadow: none;
  transform: translateY(-50%);
}
.planner-send-v2 svg { width: 17px; height: 17px; }
.input-hint {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-subtle);
  margin-top: 0.6rem;
}

/* ── Itinerary card (rendered inline in chat) ────────────────────── */
.itin-card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 680px;
  animation: blur-slide-up 0.5s var(--ease-out) both;
}
.itin-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.itin-dest {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-family: 'DM Mono', monospace;
}
.itin-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.itin-summary { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.itin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.itin-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.itin-badge.eco { border-color: rgba(0,212,170,0.3); color: var(--teal); background: rgba(0,212,170,0.06); }
.itin-badge.budget { border-color: var(--border-gold); color: var(--gold); background: var(--gold-dim); }

.itin-days { padding: 0.5rem 0; }
.itin-day {
  border-bottom: 1px solid var(--border);
}
.itin-day:last-child { border-bottom: none; }
.itin-day-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.itin-day-toggle:hover { background: rgba(255,255,255,0.03); }
.itin-day-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  flex-shrink: 0;
  margin-right: 0.75rem;
}
.itin-day-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.itin-day-chevron {
  width: 16px; height: 16px;
  color: var(--text-subtle);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.itin-day.open .itin-day-chevron { transform: rotate(180deg); }

.itin-day-body {
  display: none;
  padding: 0 1.5rem 1rem;
  flex-direction: column;
  gap: 0.6rem;
}
.itin-day.open .itin-day-body { display: flex; }

.itin-activity {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
}
.itin-activity:first-child { border-top: none; }
.itin-time {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-subtle);
  font-family: 'DM Mono', monospace;
  min-width: 68px;
  padding-top: 0.15rem;
}
.itin-activity-info { flex: 1; min-width: 0; }
.itin-activity-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}
.itin-eco-note {
  font-size: 0.75rem;
  color: var(--teal);
  margin-top: 0.25rem;
  opacity: 0.85;
}
.itin-type-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4rem;
}
.itin-type-transport    { background: #60a5fa; }
.itin-type-sightseeing  { background: var(--gold); }
.itin-type-dining       { background: #f97316; }
.itin-type-accommodation { background: var(--teal); }
.itin-type-culture      { background: #a78bfa; }
.itin-type-nature       { background: #4ade80; }
.itin-type-leisure      { background: var(--text-subtle); }
.itin-type-shopping     { background: #f472b6; }

.itin-highlights {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(201,168,76,0.03);
}
.itin-highlights-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.6rem;
}
.itin-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
}
.itin-highlight-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.itin-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}
.itin-save-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--bg);
  text-align: center;
  transition: background 0.2s, transform 0.15s;
}
.itin-save-btn:hover { background: var(--gold-bright); transform: translateY(-1px); }
.itin-save-btn:active { transform: scale(0.97); }
.itin-book-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: transparent;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
}
.itin-book-btn:hover { background: var(--gold-dim); transform: translateY(-1px); }

/* ── Error / status messages ─────────────────────────────────────── */
.chat-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  font-size: 0.8rem;
  color: #fca5a5;
  width: fit-content;
  max-width: 85%;
}
.chat-error svg { width: 14px; height: 14px; flex-shrink: 0; }
