/* ==========================================================================
   Zahrádka v Podhradí – návrh webu
   Barvy: krémový papír, mechově zelená zahrada, terakota červených dveří chalupy
   ========================================================================== */

:root {
  --paper: #f5efe3;
  --paper-2: #ece3d1;
  --card: #fbf8f1;
  --ink: #1e2a1f;
  --ink-soft: #4b5547;
  --moss: #34513a;
  --moss-deep: #1d2e21;
  --sage: #c9d3bc;
  --clay: #a3402b;
  --clay-dark: #85331f;
  --honey: #e2b157;
  --open: #2f7a45;
  --line: rgb(30 42 31 / 0.14);
  --on-dark: #f3ecdd;
  --on-dark-soft: #c8cdbd;
  --line-dark: rgb(243 236 221 / 0.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow: 0 1px 2px rgb(30 42 31 / 0.06), 0 18px 40px -20px rgb(30 42 31 / 0.35);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --- Základ ------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  background: var(--paper-2);
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
}

h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--moss);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--clay);
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark :focus-visible {
  outline-color: var(--honey);
}

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.muted {
  color: var(--ink-soft);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--clay);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credit {
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

/* --- Přeskočit na obsah ------------------------------------------------- */

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
  color: var(--paper);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--clay);
  color: #fff;
}

.btn-primary:hover {
  background: var(--clay-dark);
  color: #fff;
}

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

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

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

.btn-light:hover {
  background: var(--honey);
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Poznámka o návrhu -------------------------------------------------- */

.draft-note {
  background: var(--moss-deep);
  color: var(--on-dark-soft);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.draft-note p {
  margin: 0;
  padding: 7px var(--gutter);
}

/* --- Hlavička ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(245 239 227 / 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-height: var(--header-h);
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  margin-right: auto;
  padding-block: 2px;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1;
  text-decoration: none;
}

.brand-main {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-sub {
  margin-top: 2px;
  color: var(--moss);
  font-size: 0.95rem;
  font-style: italic;
}

.brand:hover {
  color: var(--ink);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.header-phone:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.header-phone .icon {
  color: var(--clay);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav {
  width: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgb(52 81 58 / 0.1);
  color: var(--moss);
}

/* Mobil: bez JS je menu vidět stále, s JS se rozbaluje tlačítkem */
@media (max-width: 899.98px) {
  .header-phone {
    padding: 0;
    width: 44px;
  }

  .header-phone-number {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-nav a {
    padding-left: 0;
    padding-right: 16px;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgb(30 42 31 / 0.35);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
  }

  .js .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .js .site-nav a {
    display: flex;
    min-height: 52px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    border-radius: 0;
  }

  .js .site-nav a:hover {
    background: transparent;
  }
}

@media (min-width: 560px) and (max-width: 899.98px) {
  .header-phone {
    width: auto;
    padding: 0 14px;
  }

  .header-phone-number {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
}

@media (min-width: 900px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 16px;
  }

  .brand {
    margin-right: 0;
  }

  .site-nav {
    order: 1;
    width: auto;
    margin-left: auto;
  }

  .header-phone {
    order: 2;
    padding: 0 16px;
  }
}

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

.hero {
  padding: clamp(20px, 4vw, 56px) 0 clamp(56px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero-text {
  min-width: 0;
}

.hero h1 {
  margin-bottom: 0.35em;
  font-size: clamp(2.75rem, 1.4rem + 5.8vw, 5.9rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.hero h1 span {
  display: block;
  color: var(--moss);
  font-style: italic;
  font-weight: 400;
}

.hero-lede {
  max-width: 34ch;
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.35rem);
  line-height: 1.5;
}

.hero-facts {
  display: grid;
  gap: 6px;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

.hero-facts .icon {
  color: var(--moss);
}

.hero-facts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
}

.hero-media {
  position: relative;
  order: -1;
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 120px 18px 18px 18px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  left: 12px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.25;
}

.hero-badge-score {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-badge-score [aria-hidden] {
  color: var(--clay);
}

.hero-badge small {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.hero-media .credit {
  margin-top: 8px;
  text-align: right;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 56px;
  }

  .hero-media {
    order: 0;
  }

  .hero-media img {
    border-radius: 220px 24px 24px 24px;
  }

  .hero-badge {
    left: -28px;
    bottom: 48px;
  }
}

/* --- Živý stav otevření ------------------------------------------------- */

.status {
  margin: 0 0 1.25rem;
}

.status a,
.status--large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.status a:hover {
  border-color: var(--moss);
  color: var(--ink);
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--moss);
  transition: transform 0.2s var(--ease);
}

.status.is-open .status-dot {
  background: var(--open);
  box-shadow: 0 0 0 4px rgb(47 122 69 / 0.2);
}

.status.is-closed .status-dot {
  background: var(--clay);
}

@media (prefers-reduced-motion: no-preference) {
  .status.is-open .status-dot {
    animation: pulse 2.4s var(--ease) infinite;
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgb(47 122 69 / 0.06);
  }
}

/* --- Motto a hodnocení -------------------------------------------------- */

.motto {
  padding: clamp(56px, 8vw, 104px) 0;
  border-block: 1px solid var(--line);
  background: var(--card);
  text-align: center;
}

.motto-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.motto-leaf {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--moss);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.motto blockquote {
  width: 100%;
  margin: 0;
}

/* Šířka v ch se počítá z písma samotné citace, ne z menšího písma bloku. */
.motto blockquote p {
  max-width: 30ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.motto-source {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ratings {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 820px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.ratings li {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 18px 12px;
}

.ratings li + li {
  border-top: 1px solid var(--line);
}

.rating-score {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.rating-score [aria-hidden] {
  color: var(--clay);
}

.rating-source {
  font-weight: 700;
}

.rating-count {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.ratings-date {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .ratings {
    grid-template-columns: repeat(3, 1fr);
  }

  .ratings li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* --- Sekce obecně ------------------------------------------------------- */

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}

.section--alt {
  background: var(--paper-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* --- Nabídka ------------------------------------------------------------ */

.menu-feature {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.menu-feature-text {
  min-width: 0;
}

.menu-feature-text > h3 {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.menu-item + .menu-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}

.menu-item h4 {
  margin-bottom: 0.35em;
}

.menu-item p {
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  margin: 4px 0 0;
  padding: 7px 14px;
  border: 1.5px solid var(--clay);
  border-radius: 12px;
  color: var(--clay) !important;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.menu-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.menu-list li {
  padding: 10px 0;
  border-bottom: 1px dotted rgb(30 42 31 / 0.28);
  font-weight: 600;
}

.menu-list li span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 400;
}

.menu-list--compact li {
  padding: 7px 0;
}

.menu-note {
  display: inline-flex;
  margin: 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgb(52 81 58 / 0.1);
  color: var(--moss);
  font-weight: 700;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.photo-pair figure {
  margin: 0;
}

.photo-pair figure:nth-child(2) {
  margin-top: 40px;
}

.photo-pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-m);
}

.photo-pair .credit,
.place-photos .credit,
.trip-feature .credit,
.trip-card .credit {
  margin-top: 6px;
}

@media (min-width: 900px) {
  .menu-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
  }

  .menu-feature--flip .menu-feature-text {
    order: 2;
  }
}

.boards {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

@media (min-width: 720px) {
  .boards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.board {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--card);
}

.board h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
}

.board h3 .icon {
  color: var(--clay);
}

.board > p {
  color: var(--ink-soft);
}

.board .menu-list {
  margin: 0;
}

.board .menu-list li:last-child {
  border-bottom: 0;
}

.menu-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-l);
  background: var(--moss);
  color: var(--on-dark);
}

.menu-cta h3 {
  margin-bottom: 0.25em;
}

.menu-cta p {
  margin: 0;
  color: var(--on-dark-soft);
}

.menu-cta :focus-visible {
  outline-color: var(--honey);
}

/* --- Místo -------------------------------------------------------------- */

.place-grid {
  display: grid;
  gap: 40px;
}

.place-text > p {
  max-width: 60ch;
}

.owner-quote {
  margin: 0 0 1.5rem;
  padding-left: 20px;
  border-left: 3px solid var(--clay);
}

.owner-quote p {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
}

.owner-quote footer {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.amenities-title {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.amenities {
  display: grid;
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenities li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.amenities .icon {
  color: var(--moss);
}

@media (min-width: 560px) {
  .amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.place-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.place-photos figure {
  margin: 0;
}

.place-photos figure:nth-child(2) {
  margin-top: 40px;
}

.place-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-m);
}

@media (min-width: 960px) {
  .place-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: start;
  }

  .place-photos {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* --- Otevírací doba (tmavá sekce) --------------------------------------- */

.on-dark {
  background: var(--moss-deep);
  color: var(--on-dark);
}

.on-dark a:not(.btn) {
  color: var(--on-dark);
}

.on-dark a:not(.btn):hover {
  color: var(--honey);
}

.on-dark .eyebrow {
  color: var(--honey);
}

.hours-grid {
  display: grid;
  gap: 40px;
}

.hours-live h3 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.status--large {
  margin: 0;
  padding: 12px 22px 12px 18px;
  border-color: var(--line-dark);
  background: rgb(243 236 221 / 0.08);
  color: var(--on-dark);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
}

.status--large.is-open .status-dot {
  background: #6fcf8a;
  box-shadow: 0 0 0 4px rgb(111 207 138 / 0.2);
}

.status--large.is-closed .status-dot {
  background: #f08d72;
}

.upcoming {
  margin: 0;
  padding: 0;
  list-style: none;
}

.upcoming li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}

.upcoming .upcoming-day {
  font-weight: 700;
}

.upcoming .upcoming-rel {
  margin-left: 4px;
  color: var(--honey);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: lowercase;
}

.upcoming .upcoming-time {
  color: var(--on-dark-soft);
  font-variant-numeric: tabular-nums;
}

.hours-table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
}

.hours-table thead th {
  padding-top: 0;
  color: var(--on-dark-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hours-table tbody th {
  width: 42%;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
}

.hours-table td span {
  display: block;
  font-variant-numeric: tabular-nums;
}

.hours-table .muted {
  color: var(--on-dark-soft);
}

.hours-table tr.is-current th,
.hours-table tr.is-current td {
  background: rgb(226 177 87 / 0.12);
}

.hours-table tr.is-current th {
  padding-left: 14px;
  box-shadow: inset 3px 0 0 var(--honey);
}

.hours-table tr.is-current th::after {
  content: "teď";
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

.hours-note {
  color: var(--on-dark-soft);
}

@media (min-width: 960px) {
  .hours-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 7vw, 104px);
  }
}

/* --- Cesta a okolí ------------------------------------------------------ */

.transport {
  display: grid;
  gap: 16px;
  margin: 0 0 clamp(56px, 8vw, 96px);
  padding: 0;
  list-style: none;
}

.transport li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--card);
}

.transport h3 {
  margin-bottom: 0.35em;
  font-size: 1.35rem;
}

.transport p {
  margin-bottom: 0.5em;
  color: var(--ink-soft);
}

.transport-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgb(52 81 58 / 0.12);
  color: var(--moss);
}

.notice {
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgb(163 64 43 / 0.1);
  color: var(--clay-dark) !important;
  font-size: 0.9375rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .transport {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .transport {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trip-title {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
}

.trip-feature {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
}

.trip-feature figure,
.trip-card figure {
  margin: 0;
}

.trip-feature img {
  width: 100%;
  aspect-ratio: 1920 / 1079;
  object-fit: cover;
  border-radius: var(--radius-l);
}

.trip-feature-text p {
  color: var(--ink-soft);
}

.trip-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trip-feature h4,
.trip-card h4 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
}

@media (min-width: 900px) {
  .trip-feature {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 64px);
    margin-bottom: 32px;
  }
}

.trip-cards {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .trip-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.trip-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--card);
}

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

.trip-card .credit {
  padding: 0 24px;
}

.trip-card-body {
  padding: 20px 24px 28px;
}

.trip-card-body p {
  color: var(--ink-soft);
}

.trip-card--dark {
  border-color: transparent;
  background: var(--moss);
  color: var(--on-dark);
}

.trip-card--dark .credit {
  color: var(--on-dark-soft);
}

.trip-card--dark .trip-card-body {
  padding: clamp(24px, 4vw, 40px);
}

.trip-card--dark p {
  color: var(--on-dark-soft);
}

.trip-card--dark .trip-icon {
  stroke: var(--honey);
}

.trail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: var(--on-dark) !important;
  font-weight: 700;
}

/* Turistická značka: žlutý pruh mezi bílými */
.trail-mark {
  flex: none;
  width: 30px;
  height: 20px;
  margin-top: 2px;
  border-radius: 2px;
  background: linear-gradient(#fff 0 30%, #f2c21b 30% 70%, #fff 70%);
}

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

.gallery-grid {
  columns: 1;
  column-gap: 18px;
}

.gallery-grid figure {
  margin: 0 0 18px;
  break-inside: avoid;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius-m);
}

.gallery-grid figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  margin-top: 8px;
  font-weight: 600;
}

@media (min-width: 640px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    columns: 3;
  }
}

/* --- Kontakt a mapa ----------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-list > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list dt .icon {
  color: var(--clay);
}

.contact-list dd {
  margin: 0;
  font-size: 1.125rem;
}

.contact-list dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-list dd a:hover {
  color: var(--clay);
}

.contact-list .muted {
  font-size: 1rem;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--sage);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-frame iframe:focus {
  outline: 3px solid var(--clay);
  outline-offset: -3px;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: start;
  }
}

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

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 28px;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.brand--footer {
  display: block;
  margin-bottom: 16px;
  color: var(--on-dark);
}

.brand--footer .brand-main {
  font-size: 1.75rem;
}

.brand--footer .brand-sub {
  color: var(--honey);
  font-size: 1.25rem;
}

.site-footer p {
  color: var(--on-dark-soft);
}

.footer-brand a,
.site-footer p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-links h2 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey);
}

.footer-links ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
}

/* --- Podstránky (zdroje, lístek) --------------------------------------- */

.back-link {
  margin-left: auto;
  min-height: 44px;
  padding-block: 0.4rem;
  font-size: 0.9375rem;
}

.subpage h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}

.credits-block {
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.credits-block h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.credits-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.credits-list li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.credits-list span {
  color: var(--ink-soft);
}

.credits-list--plain li {
  padding: 8px 0;
}

/* Lístek */

/* Bloky se skládají do sloupců bez prázdných mezer (masonry). */
.listek {
  columns: 1;
  column-gap: 20px;
}

@media (min-width: 900px) {
  .listek {
    columns: 2;
  }
}

.listek-block {
  break-inside: avoid;
  margin-bottom: 20px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--card);
}

.listek-block h2 {
  margin-bottom: 0.4em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem);
}

.listek-block h2:not(:first-child) {
  margin-top: 1.6em;
}

.listek-head,
.listek-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
}

.listek-sub {
  margin: 1.2em 0 0.2em;
  font-size: 1.25rem;
}

.listek-sub > span:first-of-type {
  flex: 1;
  min-width: 0;
}

.listek-head .price,
.listek-sub .price {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dotted rgb(30 42 31 / 0.28);
}

.price-list li:last-child {
  border-bottom: 0;
}

.price-list .item {
  flex: 1;
  min-width: 0;
}

.price-list em {
  color: var(--ink-soft);
}

.price-list .price {
  flex: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-list--desc li {
  padding: 7px 0;
}

.alg {
  margin-left: 2px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  white-space: nowrap;
}

.listek-intro,
.listek-note {
  margin: 0.4em 0 0.6em;
  color: var(--ink-soft);
  font-style: italic;
}

.listek-motto {
  margin: clamp(40px, 6vw, 64px) auto;
  text-align: center;
}

.listek-motto p {
  max-width: 30ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  font-style: italic;
  line-height: 1.25;
  text-wrap: balance;
}

.allergens {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.allergens h2 {
  font-size: 1.25rem;
  color: var(--ink);
}

/* Fotky položek: na dotykových zařízeních miniatura, s myší náhled po najetí */
.item-thumb {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}

[data-photo] {
  position: relative;
}

@media (hover: none), (pointer: coarse) {
  .item-thumb {
    display: block;
  }

  .listek-sub[data-photo] {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }

  .price-list li[data-photo] {
    align-items: center;
  }
}

@media (hover: hover) and (pointer: fine) {
  [data-photo] {
    cursor: zoom-in;
  }

  .price-list li[data-photo] .item,
  .listek-sub[data-photo] > span:first-of-type {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s var(--ease), color 0.2s var(--ease);
  }

  .price-list li[data-photo]:hover .item,
  .listek-sub[data-photo]:hover > span:first-of-type {
    background-size: 100% 1px;
    color: var(--clay);
  }

  .price-list li[data-photo] .item::after,
  .listek-sub[data-photo] > span:first-of-type::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--sage);
    vertical-align: middle;
  }
}

.photo-peek {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 220px;
  padding: 6px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 24px 50px -18px rgb(30 42 31 / 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(0.92) rotate(-2deg);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}

.photo-peek.is-visible {
  opacity: 1;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(-2deg);
}

.photo-peek img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 11px;
}

/* --- Animace a hover efekty -------------------------------------------- */

.site-header {
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgb(30 42 31 / 0.45);
}

.brand-main,
.brand-sub {
  transition: color 0.25s var(--ease), letter-spacing 0.35s var(--ease);
}

.btn .icon,
.header-phone .icon {
  transition: transform 0.3s var(--ease);
}

.board,
.transport li,
.trip-card,
.listek-block,
.ratings li,
.amenities li {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.photo-pair img,
.place-photos img,
.gallery-grid img,
.trip-feature img,
.hero-media img {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), filter 0.5s var(--ease);
}

.transport-icon {
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}

/* Menu: podtržení vyroste zleva (jen vodorovné menu na širokém displeji) */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .site-nav a {
    position: relative;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 9px;
    height: 2px;
    border-radius: 2px;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .site-nav a:hover {
    background: transparent;
  }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-sub {
    color: var(--clay);
    letter-spacing: 0.02em;
  }

  .header-phone:hover .icon {
    animation: ring 0.6s var(--ease);
  }

  .header-phone:hover {
    background: var(--card);
    transform: translateY(-1px);
  }

  .btn:hover .icon {
    transform: translate(2px, -2px);
  }

  .btn-primary:hover,
  .btn-light:hover {
    box-shadow: 0 10px 24px -12px rgb(30 42 31 / 0.55);
    transform: translateY(-2px);
  }

  .btn-primary:active,
  .btn-light:active {
    box-shadow: none;
    transform: translateY(1px);
  }

  .board:hover,
  .transport li:hover,
  .trip-card:hover,
  .listek-block:hover {
    transform: translateY(-4px);
    border-color: rgb(30 42 31 / 0.22);
    box-shadow: var(--shadow);
  }

  .transport li:hover .transport-icon {
    background: var(--moss);
    color: var(--on-dark);
    transform: rotate(-8deg) scale(1.06);
  }

  .amenities li:hover {
    background: rgb(52 81 58 / 0.06);
  }

  .photo-pair figure:hover img,
  .place-photos figure:hover img,
  .gallery-grid figure:hover img,
  .trip-feature figure:hover img {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    filter: saturate(1.12);
  }

  .hero-media:hover img {
    transform: scale(1.01);
  }

  .status a:hover .status-dot {
    transform: scale(1.3);
  }
}

@keyframes ring {
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Úvod: postupný nástup textu a odhalení fotky */
  .hero-text > * {
    animation: rise 0.8s var(--ease) both;
  }

  .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-text > :nth-child(3) { animation-delay: 0.16s; }
  .hero-text > :nth-child(4) { animation-delay: 0.24s; }
  .hero-text > :nth-child(5) { animation-delay: 0.32s; }
  .hero-text > :nth-child(6) { animation-delay: 0.4s; }

  .hero-media img {
    animation: unveil 1.2s var(--ease) both;
  }

  .hero-badge {
    animation: rise 0.7s var(--ease) 0.7s both;
  }

  .subpage .section-head > * {
    animation: rise 0.7s var(--ease) both;
  }

  .subpage .section-head > :nth-child(2) { animation-delay: 0.08s; }
  .subpage .section-head > :nth-child(3) { animation-delay: 0.16s; }

  .motto-leaf {
    animation: sway 6s ease-in-out infinite;
    transform-origin: 50% 100%;
  }

  .nav-toggle[aria-expanded="true"] + .site-nav.is-open,
  .js .site-nav.is-open {
    animation: drop 0.25s var(--ease) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes unveil {
  from {
    opacity: 0;
    transform: scale(1.05);
    clip-path: inset(6% 6% 6% 6% round 24px);
  }
}

@keyframes sway {
  50% { transform: rotate(6deg); }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* --- Jemné odhalení při rolování (jen s JS a bez omezení pohybu) -------- */

@media screen and (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease) var(--delay, 0ms), transform 0.7s var(--ease) var(--delay, 0ms);
  }

  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Tisk --------------------------------------------------------------- */

@media print {
  .site-header,
  .skip-link,
  .contact-map,
  .hero .actions {
    display: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .on-dark {
    background: #fff;
    color: #000;
  }
}
