/* ARCHAEA | Styl one-page */
:root {
  --blue: #0077b5;
  --map-background: #e8e8e8;
  --portal-accent: #414141;
  --portal-accent-hover: #292929;
  --blue-text: #07527c;
  --gutter: clamp(24px, 4.5vw, 88px);
  --font-body: "Noto Sans", Arial, sans-serif;
  --font-heading: "Noto Serif", Georgia, serif;
  --bs-body-font-family: var(--font-body);
  --bs-font-sans-serif: var(--font-body);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--blue);
  color: #ffffff;
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 2000;
  padding: 12px;
  color: #000000;
  background: #ffffff;
}
.skip-link:focus { top: 12px; }
.map-stage {
  position: relative;
  height: max(660px, calc(100svh - 42px));
  overflow: hidden;
  background: var(--map-background);
}
#mapa { position: absolute; inset: 0; z-index: 0; }
.leaflet-container { font-family: var(--font-body); }
.leaflet-tile-pane { filter: grayscale(1); opacity: .78; }
.leaflet-control-attribution { font-size: 10px !important; }
.hero-wrap {
  position: relative;
  z-index: 500;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 40px var(--gutter);
  pointer-events: none;
}
.hero-panel {
  width: 432px;
  padding: 28.8px;
  border: .9px solid #0077b535;
  border-radius: 11.7px;
  background: #ffffff;
  color: var(--blue-text);
  box-shadow: 0 16.2px 43.2px -14.4px #00000038, 0 2.7px 9px #0000000d;
  pointer-events: auto;
}
.banner-brand {
  display: inline-block;
  margin-bottom: 14.4px;
  font-size: 18.9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
  color: #000000;
}
.hero-panel h1 {
  margin: 0 0 14.4px;
  color: #000000;
  font-family: var(--font-heading);
  font-size: clamp(28.8px, 2.79vw, 39.6px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.hero-panel h1 em {
  color: var(--blue-text);
  font: inherit;
}
.map-stage .hero-panel h1 em { color: var(--blue); }
.hero-description {
  margin: 0 0 21.6px;
  color: var(--blue-text);
  font-size: 15px;
  line-height: 1.7;
}
.hero-description p { margin: 0 0 1em; }
.hero-description > :last-child { margin-bottom: 0; }
.btn.btn-portal {
  min-height: 43.2px;
  padding: 10.8px 18px;
  border: .9px solid var(--portal-accent);
  border-radius: 11.7px;
  background: var(--portal-accent);
  color: #ffffff;
  box-shadow: 0 2.7px 6.3px #00000014;
  font-family: var(--font-body);
  font-size: 12.6px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background-color .18s, border-color .18s;
}
.btn.btn-portal:is(:hover, :active) {
  border-color: var(--portal-accent-hover);
  background: var(--portal-accent-hover);
  color: #ffffff;
}
.btn.btn-portal:focus-visible {
  outline: 3px solid var(--portal-accent);
  outline-offset: 4px;
}
.btn.btn-portal.is-disabled { opacity: .6; cursor: default; }
.map-error {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 600;
  max-width: 290px;
  padding: 15px;
  border-radius: 13px;
  background: #ffffff;
  color: var(--blue-text);
  font-size: 13px;
}
.location-marker { border: 0; background: transparent; }
/* Špendlík má rozměry 25 × 41 px, shodné s nastavením v mapové formě. */
.location-pin {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(1px 2px 2px #00000045);
}
.location-pin::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--blue);
  clip-path: path("M12.5 0 C5.6 0 0 5.6 0 12.5 C0 20.1 7.5 32.5 12.5 41 C17.5 32.5 25 20.1 25 12.5 C25 5.6 19.4 0 12.5 0 Z");
}
.location-pin::after {
  position: absolute;
  top: 8.5px;
  left: 8.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}
.site-footer {
  padding: 12px var(--gutter);
  border-top: 1px solid #0077b524;
  background: var(--blue);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.7;
}
@media (min-width: 1600px) {
  .hero-panel { width: 468px; }
}
@media (max-width: 1000px) {
  .hero-panel { width: 387px; }
}
@media (max-width: 767px), (pointer: coarse) {
  html:has(> body > #obsah > .map-stage),
  body:has(> #obsah > .map-stage) {
    background-color: var(--map-background);
  }
}
@media (max-width: 767px) {
  /* Mapa vyplní výšku okna mezi horním okrajem a patičkou. */
  body:has(> #obsah > .map-stage) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
  }
  #obsah:has(> .map-stage) {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
  }
  .map-stage {
    display: grid;
    flex: 1 0 auto;
    height: auto;
  }
  .site-footer { flex: 0 0 auto; }
  .hero-wrap { height: auto; padding: 36px var(--gutter); }
  .hero-panel { width: 90%; max-width: 450px; margin: 0 auto; padding: clamp(18px, 4.95vw, 27px); }
  .banner-brand { margin-bottom: 12.6px; font-size: 18px; }
  .map-stage .banner-brand { font-size: 14px; letter-spacing: .04em; }
  .hero-panel h1 { font-size: clamp(23.4px, 6.3vw, 34.2px); line-height: 1.25; letter-spacing: -.03em; }
  .hero-description { margin-bottom: 18px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.btn-portal { transition: none; }
}
