/* Deponka, Záryby 451 | statický web bez JavaScriptu a bez externích zdrojů */

/* Písma jsou vlastní kopie (SIL Open Font License), viz assets/fonts */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Barvy vychází z loga (námořnická modrá, červená, krémová) a z fotek (dřevo). */
  --plaster: #f2f3f0;
  --paper: #fffdf6;
  --ink: #0a1b33;
  --ink-soft: #3b4a6b;
  --wood: #a8672a;
  --red: #f91a18;
  --red-dark: #c8100f;
  --cream: #f8e5c2;
  --rule: rgba(10, 27, 51, 0.22);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  padding-bottom: 4.75rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--wood);
  text-decoration-thickness: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 30;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1rem;
  max-width: 100ch;
}

strong {
  font-weight: 600;
}

/* ---------- Záhlaví ---------- */

.site-header {
  border-bottom: 3px solid var(--wood);
  background: var(--ink);
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: block;
  line-height: 0;
  margin-right: auto;
}

.brand img {
  width: 56px;
  height: 56px;
  outline: 2px solid #f8e6c3;
  outline-offset: -2px;
}

.nav {
  order: 3;
  width: 100%;
  overflow-x: auto;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.4rem;
  white-space: nowrap;
}

.nav a {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  color: #f8e6c3;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-color: #f8e6c3;
  text-decoration-thickness: 0.2em;
}

.lang {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  padding: 0.3rem 0.75rem;
}

.lang:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (min-width: 62rem) {
  .nav {
    order: 0;
    width: auto;
    overflow: visible;
  }

  .nav ul {
    padding: 0;
  }

  .brand {
    margin-right: 0;
  }

  .head-row {
    justify-content: space-between;
    flex-wrap: nowrap;
  }
}

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-line {
  background: transparent;
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-cream {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn-cream:hover {
  background: #fff;
  border-color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem;
  background: var(--plaster);
  border-top: 2px solid var(--ink);
}

@media (min-width: 48rem) {
  .callbar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* ---------- Úvod ---------- */

.hero {
  padding-block: clamp(2rem, 5vw, 4.5rem);
  background: #f8e6c3;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 56rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.lead {
  font-size: 1.3rem;
  line-height: 1.55;
  margin-top: 1.5rem;
  max-width: 34rem;
}

.avail {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  border-left: 6px solid var(--wood);
  max-width: 34rem;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 44rem;
  object-fit: cover;
}

.keyfacts {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
}

.keyfacts li {
  border-left: 6px solid var(--wood);
  padding-left: 0.6rem;
}

/* ---------- Sekce ---------- */

.section {
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.section-paper {
  background: var(--paper);
  border-block: 1px solid var(--rule);
}

.section h2 {
  margin-bottom: 1.25rem;
}

.sub {
  margin-bottom: 2rem;
}

/* ---------- Tabulka jednotek ---------- */

.spec {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.spec caption {
  text-align: left;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-bottom: 0.75rem;
}

.spec th {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: left;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 3px solid var(--ink);
}

.spec td,
.spec tbody th {
  padding: 1.1rem 0.75rem 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.spec tbody th {
  font-size: 1.1rem;
  font-weight: 800;
}

.spec .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  white-space: nowrap;
}

.spec .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}

.note {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 1.25rem;
}

@media (max-width: 47.99rem) {
  .spec thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .spec,
  .spec caption,
  .spec tbody,
  .spec tr,
  .spec td,
  .spec tbody th {
    display: block;
  }

  .spec tr {
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
    border-top: 0;
  }

  .spec tbody tr:first-child {
    border-top: 3px solid var(--ink);
  }

  .spec td,
  .spec tbody th {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    border: 0;
    padding: 0.2rem 0;
  }

  .spec td::before {
    content: attr(data-label);
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.95rem;
    flex: none;
  }

  .spec td {
    text-align: right;
  }
}

/* ---------- Vybavení ---------- */

.facts {
  display: grid;
  gap: 2.25rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 2rem;
}

.facts > div {
  border-top: 3px solid var(--ink);
  padding-top: 0.9rem;
}

.facts h3 {
  margin-bottom: 0.5rem;
}

.facts p {
  margin: 0;
}

.ticks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.ticks + p {
  margin-top: 1.5rem;
}

@media (min-width: 40rem) {
  .ticks {
    column-count: 2;
    column-gap: 2.5rem;
  }
}

.ticks li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  break-inside: avoid;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--wood);
}

.two {
  display: grid;
  gap: 2.5rem 4rem;
}

@media (min-width: 56rem) {
  .two {
    grid-template-columns: 1fr 1fr;
  }
}

.uses {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.uses li {
  border: 2px solid var(--ink);
  padding: 0.2rem 0.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 56rem) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery figcaption {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

/* ---------- Vstupenka (QR kód) ---------- */

.ticket {
  position: relative;
  display: grid;
  background: var(--ink);
  color: var(--cream);
  max-width: 48rem;
  margin-top: 2rem;
}

.ticket-main {
  padding: 2rem 1.75rem;
}

.ticket h2,
.ticket h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.ticket p {
  color: var(--cream);
}

.ticket-qr {
  background: var(--cream);
  padding: 1.25rem;
  border-top: 3px dashed var(--ink);
  display: flex;
  justify-content: center;
}

.ticket-qr .qr-btn img {
  width: 13rem;
  height: 13rem;
  display: block;
}

@media (min-width: 40rem) {
  .ticket {
    grid-template-columns: 1fr 18rem;
  }

  .ticket-qr {
    border-top: 0;
    border-left: 3px dashed var(--ink);
    align-items: center;
  }

  .ticket::before,
  .ticket::after {
    content: "";
    position: absolute;
    left: calc(100% - 18rem - 0.9rem);
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: var(--plaster);
  }

  .ticket::before {
    top: -0.9rem;
  }

  .ticket::after {
    bottom: -0.9rem;
  }

  .section-paper .ticket::before,
  .section-paper .ticket::after {
    background: var(--paper);
  }
}

/* ---------- Časté otázky ---------- */

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq details:first-child {
  border-top: 3px solid var(--ink);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 1.1rem;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after {
    transition: none;
  }
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.who {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-list a {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
}

.small-link {
  font-size: 1rem;
}

/* ---------- Podstránky ---------- */

.crumbs {
  font-size: 0.95rem;
  padding-block: 1.25rem 0;
  color: var(--ink-soft);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.6rem;
}

.unit-facts {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  border-top: 3px solid var(--ink);
}

.unit-facts div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 40rem) {
  .unit-facts div {
    grid-template-columns: 13rem 1fr;
  }
}

.unit-facts dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.98rem;
}

.unit-facts dd {
  margin: 0;
}

.unit-facts .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.2;
}

.other-units {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 0.75rem;
}

/* ---------- Patička ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 2.5rem;
  font-size: 1rem;
}

.site-footer a {
  color: var(--cream);
}

.site-footer a:hover {
  text-decoration-color: #fff;
}

.foot-grid {
  display: grid;
  gap: 1.75rem 3rem;
}

@media (min-width: 48rem) {
  .foot-grid {
    grid-template-columns: auto 1fr 1fr;
    align-items: start;
  }
}

.foot-grid p {
  margin: 0 0 0.35rem;
}

.foot-grid img {
  width: 96px;
  height: 96px;
}

.foot-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

@media print {
  .callbar,
  .nav,
  .lang {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* ---------- Stav kanceláře v tabulce ---------- */

.stav {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.15rem 0.6rem;
  border: 2px solid var(--ink);
}

.stav-taken {
  color: var(--ink-soft);
  border-color: var(--rule);
}

.stav-free {
  background: var(--ink);
  color: var(--cream);
}

.spec tr.st-taken th,
.spec tr.st-taken td {
  color: var(--ink-soft);
}

/* ---------- Seznamy v jednom sloupci ---------- */

.ticks.one {
  columns: 1;
}

#lokalita h3,
#location h3 {
  margin-top: 1.5rem;
}

/* ---------- QR kód: malý k naskenování a velký v okně ---------- */

.qr-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  line-height: 0;
}

.qr-btn:focus-visible {
  outline: 3px solid var(--wood);
  outline-offset: 4px;
}

.qr-pop {
  border: 4px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  padding: 1.25rem;
  width: min(92vw, 32rem);
  text-align: center;
}

.qr-pop::backdrop {
  background: rgba(18, 35, 74, 0.72);
}

.qr-pop:popover-open {
  display: block;
}

.qr-pop img {
  width: 100%;
  height: auto;
  display: block;
}

.qr-pop-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.qr-pop p {
  color: var(--ink);
}

.qr-close {
  margin-top: 0.75rem;
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  cursor: pointer;
}

.qr-pop p:not(.qr-pop-title) {
  margin: 0.9rem 0 0;
}

/* ---------- Logo v úvodu ---------- */

.hero-logo {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

/* ---------- Galerie kanceláře (fotky na šířku) ---------- */

.unit-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.unit-gallery li:first-child {
  grid-column: 1 / -1;
}

.unit-gallery figure {
  margin: 0;
}

.unit-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.unit-gallery figcaption {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

@media (min-width: 56rem) {
  .unit-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .unit-gallery li:first-child img {
    aspect-ratio: 16 / 9;
  }
}


/* ---------- Jméno nájemce v tabulce ---------- */

.spec .price.tenant {
  font-size: 1.05rem;
  white-space: normal;
}

/* ---------- Galerie úvodní strany: čtverce ---------- */

.gallery-sq img {
  aspect-ratio: 1 / 1;
}

@media (min-width: 56rem) {
  .gallery-sq {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Texty přes celou šířku obsahu ---------- */

.note,
.about p,
.ticket {
  max-width: none;
}

/* ---------- Americký styl: tlačítka, štítky, odrážky (NÁVRH) ---------- */

.btn {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}
.btn-red {
  border-color: var(--ink);
}
.btn-red:hover {
  border-color: var(--ink);
}
.btn-cream {
  border-color: var(--cream);
  box-shadow: 4px 4px 0 var(--red);
}
.btn-cream:hover {
  border-color: var(--cream);
  box-shadow: 2px 2px 0 var(--red);
}
.btn-cream:active {
  box-shadow: 0 0 0 var(--red);
}

.stav {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
}
.stav-free {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--red);
}
.stav-free::before {
  content: "★ ";
  color: var(--cream);
}
.stav-taken {
  color: var(--red-dark);
  border: 2px solid var(--red-dark);
  outline: 1px solid var(--red-dark);
  outline-offset: 2px;
  transform: rotate(-3deg);
  opacity: 0.85;
}

.ticks li::before {
  top: 0.4em;
  width: 0.95rem;
  height: 0.95rem;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.9 7.4.8-5.5 5 1.6 7.4L12 17.9 5.4 21.6 7 14.2 1.5 9.2l7.4-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.9 7.4.8-5.5 5 1.6 7.4L12 17.9 5.4 21.6 7 14.2 1.5 9.2l7.4-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks li {
  padding-left: 1.7rem;
}

/* ---------- Barvy loga: odrážky v hlavičce červeně ---------- */

.keyfacts li {
  border-left-color: var(--red);
}

/* ---------- Menu pevně nahoře, při posouvání dolů se schová ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: transform 0.25s ease;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
html {
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

@media (min-width: 40rem) {
  .ticket-qr .qr-btn img {
    width: 15rem;
    height: 15rem;
  }
}

/* Odkazy v přehledu kanceláří */
.spec tbody th a {
  color: var(--red-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.spec tbody th a::after {
  content: " \2192";
  text-decoration: none;
  display: inline-block;
}
.spec tbody th a:hover {
  color: var(--ink);
}
a.stav-free {
  display: inline-block;
  text-decoration: none;
  color: var(--cream);
}
a.stav-free:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--red);
}
a.stav-free::after {
  content: " \2192";
}
@media (max-width: 47.99rem) {
  .spec tr.st-free {
    position: relative;
  }
  .spec td a.stav-free::after {
    content: "";
    position: absolute;
    inset: 0;
  }
}

/* Okno s fotkou */
.lightbox {
  border: 0;
  padding: 0;
  background: var(--cream);
  max-width: min(92vw, 60rem);
  max-height: 92vh;
  box-shadow: 8px 8px 0 var(--red);
  overflow: auto;
}
.lightbox::backdrop {
  background: rgba(10, 27, 51, 0.8);
}
.lightbox img {
  display: block;
  width: 100%;
  height: auto;
}
.lb-cap {
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--ink);
}
.lb-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--ink);
  cursor: pointer;
}
.lb-close:hover {
  background: var(--red);
  color: var(--cream);
}

/* Textový odkaz s fotkou */
.txt-link {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.txt-link:hover {
  color: var(--ink);
}

.lightbox.portrait {
  width: fit-content;
}
.lightbox.portrait img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
}
