/* Rozcestník kdesedemonstruje.cz – stejné barvy a písma jako přehled pro Prahu (style.css) */
:root {
  --bg: #ffffff;
  --soft: #f4f4f5;
  --text: #18181b;
  --text-2: #3f3f46;
  --muted: #71717a;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --accent: #c2410c;
  --accent-ink: #9a3412;
  --accent-light: #fdba74;
  --card-dark: #18181b;
  --card-dark-text: #ffffff;
  --card-dark-muted: #d4d4d8;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --soft: #1f1f23;
    --text: #f4f4f5;
    --text-2: #d4d4d8;
    --muted: #a1a1aa;
    --line: #2e2e33;
    --line-2: #3f3f46;
    --accent: #fb923c;
    --accent-ink: #fdba74;
    --card-dark: #f4f4f5;
    --card-dark-text: #18181b;
    --card-dark-muted: #3f3f46;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand b { color: var(--accent); }
.link-btn {
  border: 0; background: transparent; padding: 0; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px;
}
.link-btn:hover { text-decoration-color: currentColor; }

/* okno „O webu“ (stejné jako na přehledu pro Prahu) */
.about {
  width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 32px 32px 28px;
  border: 0; border-radius: 20px; background: var(--bg); color: var(--text);
  box-shadow: 0 24px 64px rgba(0,0,0,.25); font-size: 15px; line-height: 1.6;
}
.about::backdrop { background: rgba(24,24,27,.45); }
.about h2 { margin: 0 40px 12px 0; font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.about h3 { margin: 20px 0 4px; font-size: 15px; font-weight: 700; }
.about p, .about ul { margin: 0 0 8px; color: var(--text-2); }
.about ul { padding-left: 20px; }
.about-src { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.about-close { position: absolute; top: 16px; right: 16px; margin: 0; }
.about-close button {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  border: 0; border-radius: 999px; background: var(--soft); color: var(--text);
}
.about-close button:hover { background: var(--line); }
@media (max-width: 560px) { .about { padding: 24px 20px 20px; } }

.hero { padding: 56px 0 8px; text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.hero h1 { margin: 0 auto; max-width: 820px; font-family: var(--display); font-size: clamp(38px, 6vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.lead { margin: 18px auto 0; max-width: 620px; font-size: 18px; color: var(--muted); }

/* mapa: obrys ČR (Natural Earth), Praha na souřadnicích 349 × 221 z 1000 × 569 */
.map { position: relative; margin: 40px auto 0; max-width: 1000px; }
.map svg { display: block; width: 100%; height: auto; }
.land { fill: var(--soft); stroke: var(--line-2); stroke-width: 2.5; stroke-linejoin: round; }
.halo1 { fill: var(--accent); fill-opacity: .10; }
.halo2 { fill: var(--accent); fill-opacity: .18; }
.dot { fill: var(--bg); stroke: var(--accent); stroke-width: 6; }
@media (prefers-reduced-motion: no-preference) {
  .halo1 { animation: pulse 2.6s ease-out infinite; transform-origin: 349px 221px; transform-box: view-box; }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

.pin-label {
  /* Praha (349, 221) ve viewBoxu -12 -12 1024 593 → (349+12)/1024, (221+12)/593 */
  position: absolute; left: 35.25%; top: 39.3%; transform: translate(26px, -50%);
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 16px;
  border-radius: 16px; background: var(--bg); color: var(--text); text-decoration: none;
  box-shadow: 0 8px 28px rgba(24,24,27,.14), 0 0 0 1px var(--line);
}
.pin-label:hover { box-shadow: 0 10px 32px rgba(24,24,27,.2), 0 0 0 1.5px var(--accent); }
.pin-text { display: flex; flex-direction: column; }
.pin-city { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.15; }
.pin-count { font-size: 13px; color: var(--muted); }
.pin-go { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--text); color: var(--bg); }
@media (max-width: 640px) {
  .pin-label { padding: 10px 12px; gap: 10px; transform: translate(14px, -50%); }
  .pin-city { font-size: 18px; }
  .pin-count { font-size: 12px; }
  .pin-go { width: 30px; height: 30px; }
}

.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 48px 0 0; }
.city { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; border-radius: 20px; }
.city-on { background: var(--card-dark); color: var(--card-dark-text); text-decoration: none; }
.city-on:hover { box-shadow: 0 0 0 3px var(--accent); }
.city-soon { border: 2px dashed var(--line-2); }
.city-state { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.city-on .city-state { color: var(--accent-light); }
.city-soon .city-state { color: var(--muted); }
.city-name { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.city-soon .city-name { color: var(--text-2); }
.city-meta { font-size: 14px; }
.city-on .city-meta { color: var(--card-dark-muted); }
.city-soon .city-meta { color: var(--muted); }
.city-go {
  margin-top: 10px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; background: var(--card-dark-text); color: var(--card-dark);
  font-size: 14px; font-weight: 600;
}

.foot { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 32px; margin-top: 64px; padding: 24px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot p { margin: 0; flex: 1 1 420px; max-width: 760px; }
.foot strong { color: var(--text-2); font-weight: 600; }
.foot .link-btn { font-size: 13px; color: var(--text-2); }
