﻿:root{
  --bg:#eef7fc;
  --bg-soft:#f8fcff;
  --line:rgba(52,107,143,.16);
  --text:#1d3142;
  --muted:#63798a;
  --accent:#1677b7;
  --accent-soft:#d9effb;
  --accent-soft-2:#ecf8ff;
  --accent-deep:#0d4f7c;
  --shadow:0 18px 40px rgba(20,58,86,.09);
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:linear-gradient(180deg,#f8fcff 0%,var(--bg) 100%);color:var(--text)}
body{overflow:hidden}
button,input,select,textarea{font:inherit}
.hidden,.is-hidden{display:none!important}

.landingView{height:100%;overflow:auto;padding:32px 20px;background:linear-gradient(180deg,#f8fcff 0%,var(--bg) 100%)}
.landingShell{max-width:1100px;margin:0 auto;display:grid;gap:22px}
.cardLike,.dayCard,.card{background:rgba(255,255,255,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(52,107,143,.12);box-shadow:var(--shadow)}
.landingHero{border-radius:28px;padding:32px}
.eyebrow,.legendEyebrow,.dayCardKicker{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:700}
.landingHero h1{font-size:clamp(34px,5vw,58px);line-height:.98;margin:10px 0 14px;letter-spacing:-.03em;max-width:11ch}
.landingLead{max-width:700px;color:var(--muted);font-size:18px;line-height:1.6;margin:0}
.landingDays{display:grid;grid-template-columns:1fr;gap:20px}
.dayCard{border-radius:26px;overflow:hidden}
.dayCardHeader{width:100%;border:0;background:transparent;padding:24px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;text-align:left;cursor:pointer}
.dayCardHeader h2{margin:8px 0 8px;font-size:28px;letter-spacing:-.02em}
.dayCardHeader p{margin:0;color:var(--muted);line-height:1.55}
.dayCardChevron{width:38px;height:38px;border-radius:999px;background:var(--accent-soft);color:var(--accent-deep);display:grid;place-items:center;font-size:24px;flex:0 0 auto}
.dayCard.is-open .dayCardChevron{transform:rotate(45deg)}
.dayCardBody{padding:0 24px 24px}
.landingPlan,.checkList{display:grid;gap:12px}
.landingPlanItem,.checkItem{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:flex-start}
.planDot{width:12px;height:12px;border-radius:999px;background:var(--accent);margin-top:6px}
.planDot.transfer{background:#6aa5e8}
.planDot.optional{background:#f4b860}
.planLabel,.checkTitle{font-weight:700}
.planMeta,.checkMeta{font-size:13px;color:var(--muted);margin-top:3px;line-height:1.45}
.openMapBtn,.pillBtn,.ghostBtn,.galleryItem,.fabBtn{cursor:pointer}
.openMapBtn{margin-top:18px;border:0;border-radius:999px;background:var(--text);color:#fff;padding:14px 18px;font-weight:700}

.mapView,.layout,#map{height:100%}
.layout{position:relative}
#map{position:absolute;inset:0;z-index:1}
.mobileBackdrop{display:none}

.floatingControls,.menuFab{position:absolute;z-index:1000}
.floatingControls{top:22px;right:22px;display:flex;gap:10px;align-items:center}
.pillBtn,.ghostBtn,.fabBtn{border:1px solid rgba(22,119,183,.16);background:rgba(255,255,255,.88);color:var(--text);border-radius:999px;box-shadow:0 6px 22px rgba(24,39,75,.07);transition:all .18s ease}
.pillBtn{padding:13px 18px;white-space:nowrap}
.pillBtn.active{background:var(--accent-soft);border-color:rgba(22,119,183,.28);color:var(--accent-deep);box-shadow:0 0 0 3px rgba(22,119,183,.08)}
.pillBtn:hover,.ghostBtn:hover,.fabBtn:hover{transform:translateY(-1px)}
.fabBtn{width:56px;height:56px;display:grid;place-items:center;font-size:26px}
.menuFab{left:22px;top:106px}
.legendFilters{display:flex;flex-wrap:wrap;gap:10px}
.ghostBtn{padding:10px 14px;background:#fff}
.ghostBtn.small{font-size:13px;padding:9px 12px}
.badge{display:inline-flex;padding:8px 12px;border-radius:999px;color:#fff;font-weight:700;font-size:12px}
.muted{color:var(--muted)}
.card{border-radius:22px;padding:18px;margin-bottom:14px;background:rgba(255,255,255,.9);border:1px solid rgba(120,135,158,.1)}
.card h3{margin:0 0 12px;font-size:17px;letter-spacing:-.01em}
.card p{margin:0;line-height:1.6}
.cardHeadInline{display:flex;justify-content:space-between;align-items:center}
.audioGuideTabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.audioGuideTab{
  border:1px solid rgba(22,119,183,.16);
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}
.audioGuideTab.active{
  background:var(--accent-soft);
  border-color:rgba(22,119,183,.24);
  color:var(--accent-deep);
}
.audioGuideMeta{font-size:.9rem;line-height:1.5;color:var(--muted);margin-bottom:12px}
.audioGuidePlayer{
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(120,135,158,.12);
  background:var(--accent-soft-2);
}
.audioGuidePlayer audio{width:100%}
.list{margin:0;padding-left:18px;color:var(--text)}
.list li{margin:0 0 10px;line-height:1.5}
.sdgNote{margin:12px 0 0;line-height:1.55}
.sdgNote.hidden{display:none}
.checkItem{grid-template-columns:18px 1fr}
.checkItem input{margin-top:3px;accent-color:var(--accent)}
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}
.galleryItem{
  padding:0;
  border:0;
  background:#f4f3ec;
  border-radius:18px;
  overflow:hidden;
  aspect-ratio:4 / 5;
  min-height:260px;
  display:block;
}
.galleryItem img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  background:#f4f3ec;
}
.panoramaList{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.panoramaChip{
  border:1px solid rgba(22,119,183,.18);
  background:var(--accent-soft-2);
  color:var(--accent-deep);
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}

.tooltipCard{width:220px;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 14px 28px rgba(24,39,75,.14)}
.tooltipImg{width:100%;height:110px;object-fit:cover;display:block}
.tooltipBody{padding:12px}
.tooltipTitle{font-weight:800;font-size:14px;margin-bottom:6px}
.tooltipFootprint{font-size:12px;color:var(--muted);line-height:1.45}
.customTooltip .leaflet-tooltip{background:transparent;border:0;box-shadow:none;padding:0}
.customTooltip.leaflet-tooltip-top:before{display:none}

.sheetHandle{width:54px;height:6px;border-radius:999px;background:#d7dee6;margin:10px auto 6px}
.mobileCloseBtn{min-width:62px;width:auto;height:auto;padding:9px 12px;border-radius:999px;border:0;background:#eef2f5;box-shadow:0 8px 26px rgba(24,39,75,.10);font-size:.8rem;font-weight:700;color:var(--text);line-height:1;white-space:nowrap}

.lightbox{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  background:rgba(16,24,32,.78);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.lightbox.is-open{display:block}
body.lightbox-open{overflow:hidden}
.panoramaViewer{
  position:fixed;
  inset:0;
  z-index:3050;
  display:none;
  background:rgba(16,24,32,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  --panorama-stage-top:104px;
}
.panoramaViewer.is-open{display:block}
body.panorama-open{overflow:hidden}
.panoramaChrome{
  position:absolute;
  top:18px;
  left:18px;
  right:18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  z-index:2;
}
.panoramaMeta{
  padding:12px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}
.panoramaTitle{font-size:15px;font-weight:700}
.panoramaCounter{font-size:13px;opacity:.82;margin-top:2px}
.panoramaStage{
  position:absolute;
  inset:var(--panorama-stage-top) 88px 32px 88px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.panoramaCanvas{
  width:100%;
  height:100%;
  border-radius:24px;
  background-color:#1a232d;
  background-repeat:repeat-x;
  background-position:center center;
  background-size:auto 100%;
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  cursor:grab;
}
.panoramaCanvas.is-dragging{cursor:grabbing}
.panoramaHint{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  padding:10px 14px;
  border-radius:999px;
  background:rgba(16,24,32,.56);
  color:#fff;
  font-size:.82rem;
  letter-spacing:.02em;
}
.lightboxChrome{
  position:absolute;
  top:18px;
  left:18px;
  right:18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  z-index:2;
}
.lightboxMeta{
  padding:12px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}
.lightboxTitle{font-size:15px;font-weight:700}
.lightboxCounter{font-size:13px;opacity:.82;margin-top:2px}
.lightboxIconBtn,.lightboxNav{
  border:none;
  color:#fff;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}
.lightboxIconBtn{
  min-width:88px;
  height:auto;
  padding:14px 18px;
  border-radius:999px;
  font-size:1rem;
  font-weight:700;
  display:grid;
  place-items:center;
  cursor:pointer;
  line-height:1;
}
.lightboxStage{
  position:absolute;
  inset:88px 88px 32px 88px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightboxImage{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  background:#fff;
  display:block;
}
.lightboxNav{
  position:absolute;
  top:50%;
  bottom:auto;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border-radius:50%;
  font-size:30px;
  font-weight:800;
  line-height:1;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:3;
}
.lightboxNav span{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  line-height:1;
}
.lightboxPrev{left:20px}
.lightboxNext{right:20px}
.lightboxNav:disabled{opacity:.45;cursor:default}

.leaflet-control-zoom{margin-top:22px!important;margin-right:22px!important}
.leaflet-top.leaflet-left .leaflet-control-zoom{margin-left:22px!important;margin-top:182px!important}

@media (max-width: 900px){
  .landingDays{grid-template-columns:1fr}
  .floatingControls{right:14px;top:14px;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:calc(100vw - 92px)}
  .menuFab{left:14px;top:88px}
  .lightboxChrome{top:12px;left:12px;right:12px}
  .lightboxMeta{padding:10px 12px;border-radius:16px;max-width:calc(100% - 60px)}
  .lightboxTitle{font-size:14px}
  .lightboxCounter{font-size:12px}
  .lightboxIconBtn{min-width:72px;padding:11px 14px;font-size:14px}
  .lightboxStage{inset:76px 12px 18px 12px}
  .lightboxImage{border-radius:18px}
  .panoramaChrome{top:12px;left:12px;right:12px}
  .panoramaMeta{padding:10px 12px;border-radius:16px;max-width:calc(100% - 60px)}
  .panoramaTitle{font-size:14px}
  .panoramaCounter{font-size:12px}
  .panoramaStage{inset:var(--panorama-stage-top) 12px 18px 12px}
  .panoramaCanvas{border-radius:18px}
  .panoramaHint{bottom:12px;font-size:.76rem;padding:9px 12px}
  .lightboxNav{width:42px;height:42px;font-size:24px;top:50%;bottom:auto;transform:translateY(-50%)}
  .lightboxPrev{left:12px}
  .lightboxNext{right:12px}
}

@media (max-width: 768px){
  body{overflow:hidden}
  .desktopOnly,.menuFab{display:none}
  .floatingControls{top:12px;left:12px;right:12px;display:flex;gap:8px;max-width:none}
  .pillBtn{min-width:62px;padding:9px 12px;font-size:12px}
  .mobileBackdrop{display:block;position:absolute;inset:0;background:rgba(20,29,38,.18);z-index:998;opacity:0;pointer-events:none;transition:opacity .24s ease}
  .mobileBackdrop.is-open{opacity:1;pointer-events:auto}
  .gallery{
    grid-template-columns:1fr;
    gap:12px;
  }
  .galleryItem{
    aspect-ratio:4 / 5;
    min-height:340px;
  }
  .leaflet-top.leaflet-left .leaflet-control-zoom{margin-top:68px!important}
}

/* ===== UI redesign overrides ===== */
.mapOnlyLayout{position:relative;height:100vh;width:100vw;overflow:hidden}
#map{height:100%;width:100%}
.mobileOnly{display:none}
.desktopOnly{display:block}
.fabBtn{position:absolute;z-index:1200;min-width:74px;height:48px;padding:0 16px;border-radius:999px;border:1px solid rgba(120,135,158,.18);background:rgba(255,255,255,.94);box-shadow:0 14px 36px rgba(24,39,75,.14);display:grid;place-items:center;font-size:.9rem;font-weight:800;color:var(--text);cursor:pointer;white-space:nowrap;line-height:1}
.menuFab{top:24px;left:24px}
.todoFab{top:24px;left:110px}
.suggestedFab{top:24px;left:196px}
.floatingControls{position:absolute;top:16px;right:16px;z-index:1200;display:flex;gap:12px;padding:0}
.pillBtn{min-width:88px;padding:14px 18px;border-radius:999px;border:1px solid rgba(22,119,183,.18);background:rgba(255,255,255,.94);font-size:1rem;font-weight:700;box-shadow:0 8px 26px rgba(24,39,75,.10);white-space:nowrap;text-align:center}
.pillBtn.active{background:var(--accent-soft);border-color:rgba(22,119,183,.28);color:var(--accent-deep)}
.overlayDrawer{position:absolute;z-index:1190;background:rgba(255,255,255,.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(120,135,158,.16);border-radius:28px;box-shadow:0 22px 55px rgba(24,39,75,.16);padding:20px 18px;overflow:auto}
.legendDrawer{left:24px;top:94px;width:380px;max-height:calc(100vh - 118px)}
.todoDrawer{right:24px;bottom:24px;width:360px;max-height:min(56vh,520px)}
.suggestedDrawer{right:24px;bottom:24px;width:380px;max-height:min(62vh,560px)}
.drawerHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.drawerHead h3{margin:2px 0 0;font-size:1.5rem;line-height:1.1}
.drawerSectionTitle{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:14px 0 10px;font-weight:700}
.legendStaticList{display:grid;gap:10px;padding:10px 10px 12px;border:1px dashed rgba(52,107,143,.18);border-radius:20px;background:#fafbf7}
.legendStaticList.compact{margin-bottom:14px}
.legendBulkActions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 4px}
.legendBulkActions.compact{margin:0 0 12px}
.legendBulkActions .ghostBtn.small{background:#f7fbff}
.todoBulkActions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.todoBulkActions.compact{margin:0 0 12px}
.todoBulkActions .ghostBtn.small{background:#f7fbff}
.legendStaticItem,.legendFilterRow{display:flex;align-items:center;gap:12px;border-radius:14px}
.legendStaticItem img,.legendFilterRow img{width:24px;height:24px;object-fit:contain;flex:0 0 24px}
.legendStaticItem span,.legendFilterRow span{font-size:1.02rem;line-height:1.25}
.legendFiltersList{display:grid;gap:10px}
.legendFilterRow{width:100%;padding:10px 12px;border:1px solid rgba(120,135,158,.16);background:#fff;cursor:pointer;justify-content:flex-start;text-align:left}
.legendFilterRow.active{border-color:rgba(22,119,183,.24);background:var(--accent-soft-2)}
.legendFilterRow.inactive{opacity:.48}
.legendFilterRow .filterStatus{margin-left:auto;font-size:.84rem;color:#6b7d8f}
.checkList{display:grid;gap:12px}
.checkItem{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:flex-start;padding:12px 12px;border:1px solid rgba(120,135,158,.14);border-radius:18px;background:#fff}
.checkItem input{margin-top:6px;accent-color:var(--accent)}
.checkOrder{width:34px;height:34px;border-radius:999px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-deep);font-weight:800;font-size:.95rem;box-shadow:inset 0 0 0 1px rgba(22,119,183,.16)}
.suggestedOrder{background:#eaf6fd}
.suggestedItem{grid-template-columns:auto 1fr auto}
.suggestedType{align-self:center;padding:8px 10px;border-radius:999px;background:var(--accent-soft-2);color:var(--accent-deep);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.suggestedType-transfer{background:#eef4ff;color:#5275a0}
.suggestedType-optional{background:#e4f3fb;color:var(--accent-deep)}
.suggestedType-stay{background:#edf5fa;color:var(--muted)}
.checkEmpty{padding:14px 16px;border:1px dashed rgba(120,135,158,.24);border-radius:18px;background:rgba(255,255,255,.74);color:var(--muted);line-height:1.6}
.stopTodoBtn{margin-top:14px;border:1px solid rgba(22,119,183,.18);background:rgba(255,255,255,.84);color:var(--accent-deep);border-radius:999px;padding:12px 16px;font-weight:800;box-shadow:0 8px 20px rgba(22,119,183,.10)}
.stopTodoBtn.is-added{background:var(--accent-soft);border-color:rgba(22,119,183,.24);color:var(--accent-deep)}
.stopPage{
  position:absolute;
  inset:0;
  z-index:1300;
  background:rgba(244,246,239,.9);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  overflow:auto;
  opacity:0;
  transform:translateY(22px);
  transition:opacity .26s ease, transform .32s cubic-bezier(.22,.9,.24,1);
}
.stopPage.is-open{
  opacity:1;
  transform:translateY(0);
}
.stopPage.is-closing{
  opacity:0;
  transform:translateY(18px);
}
.stopPageShell{
  max-width:1500px;
  margin:0 auto;
  padding:20px 20px 40px;
  opacity:0;
  transform:translateY(24px) scale(.985);
  transition:opacity .28s ease .04s, transform .34s cubic-bezier(.22,.9,.24,1) .04s;
}
.stopPage.is-open .stopPageShell{
  opacity:1;
  transform:translateY(0) scale(1);
}
.stopPageTopbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px;position:sticky;top:0;padding-top:6px;background:linear-gradient(180deg,rgba(244,246,239,.94) 72%, rgba(244,246,239,0));z-index:2}
.stopPageGrid{display:grid;grid-template-columns:minmax(0,1.92fr) minmax(320px,.62fr);gap:20px;align-items:start}
.stopPageHero h1{font-size:clamp(2rem,3.3vw,4rem);line-height:.98;margin:16px 0 8px;max-width:14ch}
.stopPageMain,.stopPageSide{display:grid;gap:18px}
.stopPageWide{grid-column:1 / -1}
.stopFacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0 0}
.stopFacts.hidden{display:none}
.stopFact{padding:12px 14px;border-radius:16px;background:#eef7fc;border:1px solid rgba(22,119,183,.10)}
.stopFactLabel{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-deep);font-weight:800;margin-bottom:5px}
.stopFactValue{display:block;font-size:.98rem;line-height:1.35;color:#2a3642;font-weight:700}
.routeSteps{margin:14px 0 0;padding-left:18px;display:grid;gap:10px}
.routeSteps li{line-height:1.55;color:#314457}
.tooltipCard{width:280px;max-width:280px;white-space:normal;overflow:visible}
.tooltipImg{display:block;width:100%;height:124px;object-fit:cover;border-radius:14px;margin-bottom:10px}
.tooltipBody{display:grid;gap:8px}
.tooltipTitle{font-weight:800;font-size:1rem;line-height:1.2;white-space:normal;word-break:break-word}
.tooltipSubtitle{font-size:.88rem;line-height:1.35;color:#6a7a89}
.tooltipFootprint{font-size:.9rem;line-height:1.35;color:#4e6172;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.tooltipInfoCard{width:300px;max-width:300px}
.tooltipLine{font-size:.88rem;line-height:1.4;color:#33485b}
.tooltipLinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.tooltipLink{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  background:#eaf6fd;
  color:var(--accent-deep);
  font-size:.78rem;
  font-weight:700;
  text-decoration:none;
}
.tooltipTodoBtn{
  width:100%;
  margin-top:4px;
  border:1px solid rgba(22,119,183,.18);
  background:rgba(247,250,243,.96);
  color:var(--accent-deep);
  border-radius:16px;
  padding:11px 12px;
  font-size:.84rem;
  font-weight:800;
  line-height:1.3;
  text-align:center;
  box-shadow:0 10px 22px rgba(22,119,183,.10);
  cursor:pointer;
}
.tooltipTodoBtn.is-added{background:var(--accent-soft);border-color:rgba(22,119,183,.24);color:var(--accent-deep)}
.customTooltip .leaflet-tooltip{white-space:normal!important;max-width:300px!important;width:max-content;padding:12px 12px 10px;border-radius:18px;border:1px solid rgba(120,135,158,.16);box-shadow:0 16px 36px rgba(24,39,75,.18)}
.customTooltip.leaflet-tooltip{white-space:normal!important;max-width:300px!important;width:max-content;padding:12px 12px 10px;border-radius:18px;border:1px solid rgba(120,135,158,.16);box-shadow:0 16px 36px rgba(24,39,75,.18)}
.infoPopup .leaflet-popup-content-wrapper{border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 18px 42px rgba(24,39,75,.18);padding:0}
.infoPopup .leaflet-popup-content{margin:0;width:min(320px,calc(100vw - 44px))!important}
.infoPopup .leaflet-popup-tip{background:rgba(255,255,255,.98)}
.infoPopup .tooltipInfoCard{width:100%;max-width:none;border-radius:22px;overflow:hidden;box-shadow:none}
.utilityFab{display:none}
.utilitySheet{display:none}

@media (min-width: 861px){
  .stopPageMain .gallery{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:16px;
  }

  .stopPageMain .galleryItem{
    min-height:340px;
  }
}

@media (max-width: 860px){
  .desktopOnly{display:none!important}
  .mobileOnly{display:block}
  .menuFab{display:none}
  .todoFab{display:none}
  .suggestedFab{display:none}
  .utilityFab{display:grid;position:absolute;z-index:1200;bottom:22px;right:84px;min-width:62px;width:auto;height:auto;padding:9px 12px;border-radius:999px;border:1px solid rgba(22,119,183,.18);background:rgba(255,255,255,.94);box-shadow:0 8px 26px rgba(24,39,75,.10);font-size:.8rem;font-weight:700;color:var(--text);line-height:1;white-space:nowrap}
  .utilityFab.secondary{right:18px}
  .utilityFab.tertiary{right:150px}
  .floatingControls{top:14px;right:12px;gap:8px;max-width:calc(100vw - 24px)}
  .pillBtn{min-width:62px;padding:9px 12px;font-size:.8rem}
  .utilitySheet{display:block;position:absolute;left:0;right:0;bottom:0;z-index:1250;background:rgba(255,255,255,.98);border-radius:24px 24px 0 0;box-shadow:0 -20px 55px rgba(24,39,75,.2);padding:10px 14px calc(18px + env(safe-area-inset-bottom));max-height:75vh;overflow:auto;transform:translateY(0);transition:transform .24s cubic-bezier(.22,.9,.24,1);will-change:transform;touch-action:pan-y}
  .utilitySheet.hidden{display:none!important}
  .utilitySheetHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px}
  .utilitySheetHeader h3{margin:2px 0 0;font-size:1.3rem}
  .utilityTabs{display:flex;gap:8px;margin-bottom:12px}
  .utilityTab{flex:1;padding:12px 14px;border-radius:999px;border:1px solid rgba(120,135,158,.14);background:#fff}
  .utilityTab.active{background:var(--accent-soft);border-color:rgba(22,119,183,.24);color:var(--accent-deep)}
  .suggestedType{font-size:.68rem;padding:7px 9px}
  .stopPageShell{padding:14px 14px 30px}
  .stopPageGrid{grid-template-columns:1fr}
  .stopPageTopbar{padding-top:0}
  .stopPageHero h1{max-width:none;font-size:2.25rem}
  .tooltipCard,.customTooltip{display:none!important}
  .infoPopup .leaflet-popup-content-wrapper,
  .infoPopup .leaflet-popup-content,
  .infoPopup .tooltipInfoCard{display:block!important}
  .infoPopup .leaflet-popup-content{width:min(280px,calc(100vw - 32px))!important}
  .infoPopup .tooltipBody{padding:14px}
  .infoPopup .tooltipTitle{font-size:1rem}
  .infoPopup .tooltipSubtitle,.infoPopup .tooltipLine{font-size:.84rem}
}

/* ===== Landing page redesign ===== */
html,body{font-family:"Manrope",Inter,"Segoe UI",Arial,sans-serif}
.landingView{
  position:relative;
  padding:28px 20px 56px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.94), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(92,175,224,.10), transparent 22%),
    linear-gradient(180deg, #f8fcff 0%, #eef7fc 100%);
}
.landingShell{
  max-width:1180px;
  gap:24px;
}
.siteHeader,
.heroSection,
.featureListCard,
.imageScrollerCard,
.explainCard,
.mapShowcaseCard,
.dayCard,
.itinerarySection{
  border:1px solid rgba(52,107,143,.12);
  box-shadow:0 22px 46px rgba(20,58,86,.07);
}
.siteHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 14px;
  border-radius:20px;
}
.brandLockup{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brandMark{display:none}
.brandLogo{
  width:min(116px,16vw);
  height:auto;
  display:block;
  object-fit:contain;
}
.brandText{display:grid;gap:2px}
.brandText strong,
.heroSection h1,
.heroSection h2,
.sectionHead h2,
.featureListCard h2,
.explainCard h3,
.mapShowcaseContent h2,
.dayCardHeader h2{
  font-family:"Space Grotesk","Trebuchet MS",sans-serif;
}
.brandText strong{
  font-family:"Kalam","Trebuchet MS",cursive;
  font-size:.98rem;
}
.brandText span{font-size:.82rem;color:var(--muted)}
.siteNavLinks{
  display:flex;
  gap:18px;
  flex:1;
  justify-content:center;
}
.siteNavLinks a{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  opacity:.74;
}
.siteNavLinks a:hover{opacity:1}
.primaryBtn,
.heroGhostBtn,
.navDayPill,
.openMapBtn{
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primaryBtn,
.openMapBtn{
  border:0;
  border-radius:999px;
  padding:12px 18px;
  background:var(--accent);
  color:#fff;
  font-weight:800;
  box-shadow:0 14px 32px rgba(22,119,183,.18);
}
.primaryBtn:hover,
.openMapBtn:hover,
.heroGhostBtn:hover,
.navDayPill:hover{
  transform:translateY(-1px);
}
.heroSection{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
  gap:22px;
  padding:28px;
  border-radius:34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(247,250,243,.92)),
    radial-gradient(circle at top right, rgba(92,175,224,.10), transparent 28%);
}
.heroCopy{display:flex;flex-direction:column;justify-content:center;min-height:340px}
.heroCopy h1{
  margin:10px 0 16px;
  font-size:clamp(2.2rem,4.3vw,4rem);
  line-height:.98;
  letter-spacing:-.05em;
  max-width:11ch;
}
.landingLead{
  max-width:560px;
  margin:0;
  font-size:1rem;
  line-height:1.7;
  color:var(--muted);
}
.heroActions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}
.heroGhostBtn{
  border:1px solid rgba(22,119,183,.16);
  background:var(--accent-soft-2);
  padding:14px 18px;
  border-radius:999px;
  color:var(--text);
  font-weight:700;
}
.heroDaySwitch{
  display:flex;
  gap:10px;
  padding:6px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(52,107,143,.12);
}
.navDayPill{
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--text);
  padding:10px 16px;
  font-weight:800;
}
.navDayPill.active{
  background:var(--accent);
  color:#fff;
  box-shadow:0 10px 24px rgba(22,119,183,.16);
}
.heroStats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:26px;
}
.heroStatCard{
  padding:18px 16px;
  border-radius:22px;
  background:rgba(255,255,255,.8);
  border:1px solid rgba(52,107,143,.10);
}
.heroStatCard strong{
  display:block;
  font-size:1.15rem;
  margin-bottom:6px;
}
.heroStatCard span{
  display:block;
  font-size:.92rem;
  line-height:1.55;
  color:var(--muted);
}
.heroVisual{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(220px,.95fr);
  gap:16px;
  min-width:0;
}
.heroImageCard,
.heroRouteCard,
.featureListCard,
.imageScrollerCard,
.explainCard,
.mapShowcaseCard,
.itinerarySection{
  overflow:hidden;
  border-radius:30px;
  background:rgba(255,255,255,.92);
}
.heroImageCard{
  position:relative;
  min-height:100%;
}
.heroImageCard img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  display:block;
}
.heroImageOverlay{
  position:absolute;
  inset:auto 18px 18px 18px;
  padding:16px 18px;
  border-radius:22px;
  color:#fff;
  background:rgba(13,79,124,.78);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.heroImageTag{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.heroImageOverlay strong{
  display:block;
  margin-top:10px;
  font-size:1.05rem;
  line-height:1.4;
  color:#f8fcff;
  text-shadow:none;
}
.heroRouteCard{
  display:grid;
  align-content:start;
  gap:10px;
  padding:22px;
  background:linear-gradient(180deg,#f8fcff 0%, #e4f3fb 100%);
}
.heroRouteLogo{
  width:100%;
  max-width:240px;
  height:auto;
  display:block;
  margin-bottom:8px;
}
.sectionKicker,
.metricLabel{
  font-size:.76rem;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:800;
  font-family:"Kalam","Trebuchet MS",cursive;
}
.heroRouteCard h2{
  margin:0;
  font-size:1.55rem;
  line-height:1.06;
}
.heroRouteCard p{
  margin:0;
  line-height:1.6;
  color:var(--muted);
}
.highlightsSection{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.featureListCard,
.imageScrollerCard,
.explainCard{
  padding:24px;
}
.featureListCard h2,
.sectionHead h2,
.mapShowcaseContent h2{
  margin:8px 0 12px;
  font-size:clamp(1.35rem,1.9vw,1.95rem);
  line-height:1.1;
}
.featureBullets{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:12px;
  color:var(--muted);
  line-height:1.75;
}
.sectionHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
}
.sectionHead p{
  margin:0;
  max-width:280px;
  color:var(--muted);
  line-height:1.55;
}
.landingPhotoRailViewport{
  overflow:hidden;
  margin-top:6px;
}
.landingPhotoRail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:260px;
  gap:14px;
  width:max-content;
  will-change:transform;
}
.landingPhotoTile{
  display:grid;
  gap:10px;
  padding:12px;
  border-radius:22px;
  background:#f8fcff;
  border:1px solid rgba(52,107,143,.10);
}
.landingPhotoTile img{
  width:100%;
  height:210px;
  object-fit:cover;
  border-radius:18px;
  display:block;
}
.landingPhotoTile strong{
  display:block;
  font-size:1rem;
}
.landingPhotoTile span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.5;
}
.websiteToolsSection{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.explainCard h3{
  margin:8px 0 10px;
  font-size:1.16rem;
}
.explainCard p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
.mapShowcaseCard{
  grid-column:1 / -1;
  position:relative;
  min-height:280px;
  background:
    linear-gradient(135deg, rgba(251,253,249,.92), rgba(244,248,240,.46)),
    url("./assets/map-day1.png") center/cover no-repeat;
}
.mapShowcaseBackdrop{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(244,248,240,.08));
}
.mapShowcaseContent{
  position:relative;
  z-index:1;
  max-width:620px;
  padding:26px;
}
.mapShowcaseContent p{
  margin:0 0 18px;
  max-width:520px;
  color:#42586b;
  line-height:1.65;
}
.featureChips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.featureChips span{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(22,119,183,.12);
  background:#eaf6fd;
  font-weight:700;
  color:var(--accent-deep);
}
.itinerarySection{
  padding:26px;
}
.itineraryHead{margin-bottom:18px}
.landingDays{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.dayCard{
  background:rgba(255,255,255,.94);
}
.dayCardHeader{
  padding:24px;
}
.dayCardHeader h2{
  margin:8px 0 8px;
  font-size:1.42rem;
  letter-spacing:-.03em;
}
.dayCardHeader p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}
.dayCardChevron{
  background:linear-gradient(135deg,#e4f3fb,#cceafa);
}
.dayCard.is-open{
  outline:2px solid rgba(22,119,183,.14);
}
.dayCardBody{
  padding:0 24px 24px;
}
.landingPlan{
  gap:10px;
}
.landingPlanItem{
  padding:12px 14px;
  border-radius:18px;
  background:#f8fcff;
  border:1px solid rgba(52,107,143,.10);
}
.openMapBtn{
  margin-top:18px;
  width:100%;
}

@media (max-width: 1080px){
  .heroSection,
  .highlightsSection,
  .websiteToolsSection,
  .landingDays{
    grid-template-columns:1fr;
  }
  .heroVisual{
    grid-template-columns:1fr;
  }
  .heroStats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .siteHeader{
    flex-wrap:wrap;
  }
  .brandLogo{
    width:min(112px,28vw);
  }
  .siteNavLinks{
    order:3;
    justify-content:flex-start;
    width:100%;
  }
}

@media (max-width: 720px){
  .landingView{
    padding:16px 14px 30px;
  }
  .siteHeader,
  .heroSection,
  .featureListCard,
  .imageScrollerCard,
  .explainCard,
  .mapShowcaseContent,
  .itinerarySection{
    padding:20px;
  }
  .siteNavLinks{
    display:none;
  }
  .siteHeader{
    align-items:center;
    text-align:center;
  }
  .brandLockup{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    gap:10px;
  }
  .brandLogo{
    width:min(132px,44vw);
  }
  .brandText{
    padding-left:0;
    align-items:center;
    text-align:center;
  }
  .heroCopy{
    min-height:auto;
  }
  .heroCopy h1{
    font-size:clamp(2rem,11vw,3.2rem);
  }
  .heroStats{
    grid-template-columns:1fr;
  }
  .heroActions{
    flex-direction:column;
    align-items:stretch;
  }
  .heroDaySwitch{
    width:100%;
    justify-content:space-between;
  }
  .primaryBtn,
  .heroGhostBtn,
  .navDayPill{
    width:100%;
  }
  .heroImageCard img{
    min-height:280px;
  }
  .heroRouteCard{
    justify-items:center;
    text-align:center;
  }
  .heroRouteLogo{
    max-width:200px;
    margin-inline:auto;
  }
  .sectionHead{
    flex-direction:column;
    align-items:flex-start;
  }
  .sectionHead p{
    max-width:none;
  }
  .landingPhotoRail{
    grid-auto-columns:78vw;
  }
}

