/* =============================================
   Gotovo — Vienna · Budapest · Split 2027
   Warm Mediterranean / sunset palette, light & airy
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --terracotta:  #C8643B;
  --terracotta2: #A44E2B;
  --gold:        #E3A33B;
  --gold-lt:     #F6D58E;
  --blue:        #6C8EAD;
  --blue2:       #47657F;
  --seaglass:    #8FC1A9;
  --seaglass2:   #4E8B73;
  --sand:        #FBF6EE;
  --cream:       #FFFDF8;
  --line:        #EADFCF;
  --ink:         #3B2F2A;
  --muted:       #7D6E64;
  --radius:      16px;
  --shadow:      0 4px 24px rgba(120, 72, 40, 0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--sand);
}

a { color: var(--terracotta2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Lora', serif; line-height: 1.2; }


/* ---- NAV ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo .sun { font-size: 1.4rem; }

.nav-links { display: flex; gap: 1.6rem; list-style: none; }

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--terracotta);
  text-decoration: none;
  border-bottom-color: var(--terracotta);
}


/* ---- SUNSET HERO ---- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1rem 7rem;
  background: linear-gradient(180deg, #FDF1DC 0%, #FBE1C4 45%, #F6CBAE 75%, #EFD9CC 100%);
}

.hero-sun {
  position: absolute;
  left: 50%;
  bottom: -150px;
  width: 420px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 213, 142, 0.95) 0%, rgba(227, 163, 59, 0.55) 45%, rgba(227, 163, 59, 0) 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta2);
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0.4rem 0 0.2rem;
}

.hero-route {
  font-family: 'Lora', serif;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  color: var(--blue2);
}
.hero-route .arrow { color: var(--terracotta); margin: 0 0.4rem; }

.hero-tagline {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--muted);
  font-style: italic;
  margin: 1rem 0 1.6rem;
}

.crew-chips { display: inline-flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }

.chip {
  background: rgba(255, 253, 248, 0.75);
  border: 1.5px solid rgba(200, 100, 59, 0.3);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.chip.dashed { border-style: dashed; color: var(--muted); }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }


/* ---- COUNTDOWN ---- */

.countdown-section {
  background: var(--cream);
  text-align: center;
  padding: 2.5rem 1rem 3rem;
}

.countdown-label {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  color: var(--terracotta2);
  margin-bottom: 1.4rem;
}

.countdown-clock { display: inline-flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }

.clock-unit {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  min-width: 96px;
  box-shadow: var(--shadow);
}

.clock-num {
  display: block;
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.clock-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 0.35rem;
}

.countdown-sub { margin-top: 1.3rem; font-size: 1rem; color: var(--muted); }

.in-trip-banner {
  background: linear-gradient(135deg, rgba(227, 163, 59, 0.15), rgba(143, 193, 169, 0.2));
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.8rem;
  display: inline-block;
  font-size: 1.15rem;
}
.in-trip-banner strong { color: var(--terracotta2); }
.trip-over-note { color: var(--muted); font-style: italic; }


/* ---- SECTIONS ---- */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1rem;
}

.section-heading { font-size: 2rem; color: var(--ink); margin-bottom: 0.3rem; }
.section-sub { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }

.band-cream { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }


/* ---- CITY CARDS (the sketch) ---- */

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.city-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.city-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(120, 72, 40, 0.16); text-decoration: none; }

.city-card-top {
  position: relative;
  aspect-ratio: 16 / 9;
}

.city-num {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.city-card-body { padding: 1.2rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.city-dates { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.city-card h3 { font-size: 1.55rem; margin: 0.2rem 0 0.5rem; color: var(--ink); }
.city-card p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; flex: 1; }
.city-go { margin-top: 1rem; font-weight: 700; font-size: 0.95rem; color: var(--terracotta); }

.city-card.vienna   .city-card-top { background: linear-gradient(135deg, #DCE6EF, #A9BFD3); }
.city-card.vienna   .city-dates    { color: var(--blue2); }
.city-card.budapest .city-card-top { background: linear-gradient(135deg, #FBEACB, #F0C87E); }
.city-card.budapest .city-dates    { color: #B07A1E; }
.city-card.split    .city-card-top { background: linear-gradient(135deg, #DDEFE6, #A7D2BE); }
.city-card.split    .city-dates    { color: var(--seaglass2); }

.leg-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}


/* ---- PHOTO PLACEHOLDERS ---- */

.photo-slot {
  border: 2px dashed rgba(200, 100, 59, 0.3);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.75rem;
}
.photo-slot .cam { font-size: 1.8rem; opacity: 0.7; }
.city-card-top .photo-slot { position: absolute; inset: 0.8rem; background: rgba(255, 255, 255, 0.35); border-color: rgba(255, 255, 255, 0.9); color: var(--ink); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.photo-grid .photo-slot { aspect-ratio: 4 / 3; }


/* ---- KEY THINGS ---- */

.key-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.key-col {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
  border-top: 5px solid var(--c, var(--terracotta));
}
.key-col h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.key-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.key-col li { display: flex; gap: 0.7rem; line-height: 1.5; font-size: 1rem; }
.key-col li .ic { flex-shrink: 0; font-size: 1.2rem; }
.key-col li strong { display: block; color: var(--ink); }
.key-col li span.d { color: var(--muted); font-size: 0.93rem; }


/* ---- THINK-IT-THROUGH LIST ---- */

.think-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }

.think {
  background: white;
  border-left: 4px solid var(--seaglass);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}
.think h4 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.think p { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.think.open { border-left-color: var(--gold); }
.think .q { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #B07A1E; margin-bottom: 0.2rem; }


/* ---- MAP ---- */

.map-wrap {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.6rem;
}
.map { height: 520px; border-radius: 12px; z-index: 1; }
.map-hint { font-size: 0.88rem; color: var(--muted); margin-top: 0.7rem; text-align: center; }

.leaflet-tile-pane { filter: sepia(0.18) saturate(0.8) brightness(1.03); }
.pin { background: none; border: none; }
.pin-dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.pin-base { font-size: 1.25rem; }
.pin-small { font-size: 0.8rem; border-width: 2px; opacity: 0.92; }
.pin-num { color: white; font-family: 'Lora', serif; font-weight: 700; font-size: 1.3rem; }

.leaflet-tooltip.city-label {
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid var(--line);
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.leaflet-tooltip.leg-label {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  padding: 0.7rem 0.6rem 0.2rem;
  font-size: 0.85rem;
  color: var(--ink);
}
.map-legend div { display: flex; align-items: center; gap: 0.45rem; }
.lg-dots { display: inline-block; width: 28px; height: 0; border-top: 3px dotted var(--blue); }
.lg-faint { border-top-color: #B5AAA2; }
.lg-solid, .lg-dash { display: inline-block; width: 28px; height: 0; }
.lg-solid { border-top: 4px solid var(--terracotta); }
.lg-dash  { border-top: 3px dashed var(--blue2); }
.lg-dot { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; border: 2px solid white; }

.popup { font-family: 'Open Sans', Arial, sans-serif; }
.popup h4 { font-size: 1.15rem; margin: 0.15rem 0 0.35rem; color: var(--ink); }
.popup p { margin: 0 0 0.5rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink); }
.popup-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta2); }
.popup-time { font-size: 0.85rem; font-weight: 600; color: var(--blue2); }
.popup-link { font-weight: 700; font-size: 0.9rem; }
.popup-photo {
  height: 110px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.popup-img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; margin-bottom: 0.6rem; display: block; }
.popup-photo span { font-size: 0.75rem; color: var(--muted); }
.leaflet-popup-content-wrapper { border-radius: 12px; }


/* ---- FOOTER ---- */

.site-footer {
  background: var(--cream);
  border-top: 3px solid var(--gold-lt);
  color: var(--muted);
  text-align: center;
  padding: 2.2rem 1rem;
  font-size: 0.95rem;
  line-height: 1.9;
}
.site-footer strong { color: var(--terracotta); }


/* ---- PLACEHOLDER PAGES ---- */

.stub { max-width: 700px; margin: 0 auto; padding: 5rem 1rem; text-align: center; }
.stub h1 { font-size: 2.4rem; margin-bottom: 0.6rem; }
.stub p { color: var(--muted); }


/* ---- RESPONSIVE ---- */

@media (max-width: 640px) {
  .nav-logo .word { display: none; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.9rem; }
  .hero { padding: 3.5rem 1rem 5.5rem; }
  .hero-sun { width: 300px; height: 300px; bottom: -110px; }
  .countdown-clock { gap: 0.5rem; }
  .clock-unit { padding: 0.7rem 0.6rem; min-width: 68px; }
  .clock-num { font-size: 2.2rem; }
  .map { height: 420px; }
  .section-heading { font-size: 1.65rem; }
}


/* =============================================
   CITY PAGES
   ============================================= */

.city-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem 6rem;
  text-align: center;
  background: linear-gradient(180deg, var(--h1) 0%, var(--h2) 100%);
}
.city-hero .hero-content { max-width: 780px; }
.city-hero h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); color: var(--ink); margin: 0.3rem 0; }
.city-hero .hero-tagline { margin: 0.8rem 0 1.4rem; }
.vienna-hero   { --h1: #EEF3F8; --h2: #D3E0EC; }
.budapest-hero { --h1: #FDF4E1; --h2: #F6DEAE; }
.split-hero    { --h1: #EEF8F3; --h2: #CDE7DA; }

.glance { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.glance span {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(71, 101, 127, 0.2);
  border-radius: 50px;
  padding: 0.3rem 0.95rem;
  font-size: 0.92rem;
}

.subnav {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: rgba(251, 246, 238, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav a {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue2);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
}
.subnav a:hover { border-color: var(--terracotta); color: var(--terracotta); text-decoration: none; }

section[id], .trip[id], .opt[id] { scroll-margin-top: 130px; }

/* Where to stay */
.base-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }
.base-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
  border: 2px solid transparent;
  position: relative;
}
.base-card.pick { border-color: var(--terracotta); }
.base-card .badge {
  position: absolute;
  top: -0.8rem;
  left: 1.2rem;
  background: var(--terracotta);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.7rem;
  border-radius: 50px;
}
.base-card h3 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.base-card .sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.7rem; }
.base-card p { font-size: 0.97rem; line-height: 1.6; margin-bottom: 0.7rem; }
.pros { list-style: none; font-size: 0.93rem; line-height: 1.55; display: flex; flex-direction: column; gap: 0.3rem; }
.pros li::before { content: '✓ '; color: var(--seaglass2); font-weight: 700; }
.pros li.con::before { content: '– '; color: var(--terracotta); }

/* Sights */
.sight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.sight {
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sight .photo-slot { aspect-ratio: 16 / 10; border-radius: 0; border-width: 0 0 2px 0; }
.sight-body { padding: 0.9rem 1.1rem 1.1rem; }
.sight h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.sight p { font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
.sight .tag { display: inline-block; margin-top: 0.5rem; font-size: 0.75rem; font-weight: 700; color: var(--blue2); background: #EEF3F8; border-radius: 50px; padding: 0.1rem 0.6rem; }
.sight .tag.must { color: var(--terracotta2); background: #FBEADF; }

/* Day trips */
.trip {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  margin-bottom: 1.6rem;
}
.trip-side { background: var(--sand); padding: 1rem; display: flex; flex-direction: column; gap: 0.8rem; }
.trip-side .photo-slot { aspect-ratio: 4 / 3; }
.facts { list-style: none; font-size: 0.9rem; display: flex; flex-direction: column; gap: 0.45rem; }
.facts li { display: flex; gap: 0.5rem; line-height: 1.4; }
.facts b { color: var(--ink); }
.trip-main { padding: 1.4rem 1.6rem 1.6rem; }
.trip-type { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta2); }
.trip-main h3 { font-size: 1.65rem; margin: 0.15rem 0 0.4rem; }
.trip-why { font-size: 1.05rem; font-style: italic; color: var(--blue2); margin-bottom: 1rem; line-height: 1.55; }
.trip-main h5 { font-family: 'Open Sans', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 0.4rem; }
.trip-main p { font-size: 0.98rem; line-height: 1.6; }
.flow { list-style: none; border-left: 2px dashed var(--line); margin-left: 0.4rem; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.flow li { position: relative; font-size: 0.96rem; line-height: 1.5; }
.flow li::before { content: ''; position: absolute; left: -1.53rem; top: 0.45rem; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); border: 2px solid white; }
.flow li b { color: var(--ink); }
.tips { background: #FDF6E8; border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.93rem; line-height: 1.55; margin-top: 1rem; }
.effort { display: inline-block; font-size: 0.78rem; font-weight: 700; border-radius: 50px; padding: 0.12rem 0.65rem; }
.effort.easy { background: #E3F2EA; color: var(--seaglass2); }
.effort.full { background: #FBF0D9; color: #9A6B14; }
.effort.long { background: #FBE3D6; color: var(--terracotta2); }

.mini-trips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 0.5rem; }
.mini { background: white; border-radius: 12px; box-shadow: var(--shadow); padding: 1rem 1.2rem; }
.mini h4 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.mini p { font-size: 0.93rem; color: var(--muted); line-height: 1.5; }

/* Transport */
.move-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.move {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.5rem;
}
.move h3 { font-size: 1.2rem; margin-bottom: 0.6rem; display: flex; gap: 0.5rem; align-items: center; }
.move p, .move li { font-size: 0.96rem; line-height: 1.6; }
.move ul { padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }

/* Sample week */
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; }
.wday { background: white; border-radius: 12px; box-shadow: var(--shadow); padding: 0.85rem 1rem; border-top: 4px solid var(--line); }
.wday.trip-day { border-top-color: var(--gold); }
.wday.rest { border-top-color: var(--seaglass); }
.wday .n { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.wday b { display: block; font-family: 'Lora', serif; font-size: 1.02rem; margin: 0.15rem 0; }
.wday span { font-size: 0.86rem; color: var(--muted); line-height: 1.45; display: block; }
.week-key { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
.week-key i { display: inline-block; width: 18px; height: 4px; vertical-align: middle; margin-right: 0.35rem; }

/* Prev / next */
.page-nav { max-width: 1100px; margin: 0 auto; padding: 1rem 1rem 3.5rem; display: flex; gap: 1rem; }
.page-nav a {
  flex: 1;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.3rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.page-nav a small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.page-nav a.next { text-align: right; }
.page-nav a:hover { border-color: var(--terracotta); text-decoration: none; }

@media (max-width: 760px) {
  .trip { grid-template-columns: 1fr; }
  .trip-main { padding: 1.2rem 1.2rem 1.4rem; }
  .page-nav { flex-direction: column; }
}


/* =============================================
   PHOTOS
   ============================================= */

.photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* City hero with a photo behind a soft cream veil */
.city-hero.has-photo {
  background: var(--photo) center / cover no-repeat;
  padding: 9rem 1rem 6.5rem;
}
.city-hero.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 246, 238, 0) 0%, rgba(251, 246, 238, 0) 65%, rgba(251, 246, 238, 0.7) 100%);
}
.city-hero.has-photo .hero-content {
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 8px 30px rgba(59, 47, 42, 0.12);
}

.city-card-top img { position: absolute; inset: 0; }

.base-card.with-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.base-card.with-photo .base-img { height: 170px; }
.base-card.with-photo .base-body { padding: 1.2rem 1.4rem 1.4rem; }
.base-card.with-photo .badge { top: 0.8rem; left: 0.8rem; z-index: 2; }
.base-card .best { font-size: 0.85rem; font-weight: 700; color: var(--blue2); margin-top: 0.7rem; }

.sight img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; display: block; }

.trip-photos { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
@media (max-width: 760px) { .trip-photos { grid-template-columns: 1fr 1fr; } .trip-photos img, .trip-photos img + img { aspect-ratio: 4 / 3; } }
.trip-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.trip-photos img + img { aspect-ratio: 16 / 9; }

/* Other options */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.opt {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.opt img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; }
.opt-body { padding: 1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.opt-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; align-items: center; font-size: 0.84rem; color: var(--blue2); font-weight: 600; margin-bottom: 0.3rem; }
.opt h4 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.opt p { font-size: 0.94rem; line-height: 1.55; color: var(--ink); }
.opt .how { font-size: 0.88rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.5; }
.opt .best { font-size: 0.85rem; font-weight: 700; color: var(--seaglass2); margin-top: auto; padding-top: 0.7rem; }

/* Compare table */
.compare-wrap { overflow-x: auto; background: white; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 2.2rem; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
.compare th { text-align: left; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.8rem 1rem; border-bottom: 2px solid var(--line); background: var(--cream); }
.compare td { padding: 0.65rem 1rem; border-bottom: 1px solid #F3ECE1; vertical-align: middle; line-height: 1.4; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; white-space: nowrap; }
.compare td:first-child a { color: var(--ink); }
.compare td:first-child img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; display: inline-block; vertical-align: middle; margin-right: 0.6rem; }
.compare tr.top td:first-child::after { content: 'Top pick'; margin-left: 0.5rem; font-size: 0.68rem; font-weight: 700; color: var(--terracotta2); background: #FBEADF; border-radius: 50px; padding: 0.05rem 0.5rem; vertical-align: middle; }

.credit-note { font-size: 0.78rem; color: var(--muted); }
.credit-note a { color: var(--muted); text-decoration: underline; }

/* Credits page */
.credits-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.8rem; }
.credits-list li { display: flex; gap: 0.8rem; align-items: center; background: white; border-radius: 10px; padding: 0.5rem; box-shadow: var(--shadow); font-size: 0.8rem; line-height: 1.4; }
.credits-list img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.credits-list a { word-break: break-word; }


/* =============================================
   ROUTE OPTIONS & STATUS
   ============================================= */

.lg-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 0.35rem; vertical-align: -1px; }
.map-legend .lg-route { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.4rem; }
.lg-line { display: inline-block; width: 30px; height: 0; border-top: 5px solid; border-radius: 3px; margin-right: 0.3rem; }
.lg-detail { color: var(--muted); margin-left: 0.4rem; }
.map-legend .lg-modes { width: 100%; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.45rem; margin-top: 0.2rem; }
.map-legend .lg-modes > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.lg-solid { border-top-color: var(--ink) !important; }
.lg-dash  { border-top-color: var(--ink) !important; }
.leaflet-control-layers { font-family: 'Open Sans', Arial, sans-serif; font-size: 0.82rem; border-radius: 10px !important; }
.leaflet-control-layers-expanded { padding: 0.45rem 0.7rem 0.45rem 0.5rem; background: rgba(255, 253, 248, 0.96); }
.leaflet-control-layers label { margin: 0.15rem 0; }

.popup-route { font-size: 0.8rem; color: var(--ink); margin: 0.15rem 0; display: flex; align-items: center; }

/* Status labels */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 0.6rem;
}
.status-badge.plan        { background: #E3F2EA; color: var(--seaglass2); border: 1.5px solid #B9DCC9; }
.status-badge.considering { background: #FBF0D9; color: #9A6B14; border: 1.5px dashed #E3C27E; }

.considering-note {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.3rem;
  background: #FFF8E8;
  border: 1.5px dashed #E3C27E;
  border-radius: var(--radius);
  font-size: 0.97rem;
  line-height: 1.6;
}
.considering-note h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.considering-note ul { padding-left: 1.2rem; margin-top: 0.4rem; }
.considering-wrap { padding: 0 1rem; }

/* Nav: scrolls sideways on phones; "option" cities look tentative */
.nav-links { overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.nav-links a.nav-option { font-style: italic; border-bottom-style: dashed; }
.nav-links a.nav-option small { font-size: 0.68rem; font-style: normal; font-weight: 700; color: #9A6B14; background: #FBF0D9; border-radius: 50px; padding: 0.02rem 0.4rem; margin-left: 0.25rem; vertical-align: 1px; }

/* City cards: considering */
.city-card.considering { opacity: 0.88; border: 2px dashed #E3C27E; box-shadow: none; }
.city-card .status-badge { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2; margin: 0; }
.city-card.munich .city-dates { color: var(--terracotta2); }
.city-card.prague .city-dates { color: #6E5285; }
.city-card.vienna .city-dates { color: var(--blue2); }

@media (max-width: 640px) {
  .nav-links { gap: 0.9rem; }
  .nav-links a.nav-option small { display: none; }
}
.map-legend .lg-title { width: 100%; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.map-legend label.lg-route { cursor: pointer; padding: 0.15rem 0; }
.map-legend label.lg-route input { width: 17px; height: 17px; accent-color: var(--terracotta); margin-right: 0.35rem; cursor: pointer; }

/* Route map text labels (icon-only markers) */
.map-text { background: none; border: none; width: 0 !important; height: 0 !important; }
.map-text span { position: absolute; white-space: nowrap; border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
.map-text .city-label { left: 24px; top: 0; transform: translateY(-50%); background: rgba(255, 253, 248, 0.95); border: 1px solid var(--line); padding: 1px 7px; font-family: 'Lora', serif; font-weight: 700; font-size: 1rem; color: var(--ink); }
.map-text .city-label.left { left: auto; right: 24px; }
.map-text .leg-label { left: 0; top: 0; transform: translate(-50%, -50%); background: var(--cream); border: 1px solid var(--line); padding: 1px 6px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
