/* Sklep Žádovice – main.css
   Mobile-first. Desktop mění jen rozvržení a velikost nadpisů (min-width: 64em = 1024 px).
   Obsah: 1 písma · 2 tokeny · 3 základ · 4 rozvržení · 5 typografie · 6 komponenty · 7 desktop */

/* 1 ─ Písma (lokální, variabilní, subset latin + latin-ext) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
/* Záložní písma s upravenou metrikou: menší posun obsahu při načtení webfontu (CLS) */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 106.08%;
  ascent-override: 91.32%;
  descent-override: 22.74%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold");
  font-weight: 500 700;
  size-adjust: 95.17%;
  ascent-override: 105.08%;
  descent-override: 27.32%;
  line-gap-override: 0%;
}

/* 2 ─ Design tokeny */
:root {
  --c-text: #2e1b10;
  --c-accent: #d9952b;
  --c-accent-hover: #c8851d;
  --c-bg: #fff;
  --c-bg-alt: #f7efe2;
  --c-link: #8a5a12;
  --c-text-muted: #6b5443;
  --c-text-soft: #4a3628;
  --c-border: #eadfcb;
  --c-border-strong: #e3d3b6;
  --c-border-subtle: #f0e6d6;
  --c-input-border: #c9b79e;
  --c-selection: #f2d9ae;
  --c-footer-muted: #c9b79e;
  --c-footer-line: #4a3628;
  --c-error: #a8361f;
  --c-error-bg: #fbeee9;

  --font-heading: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;

  --fs-body: 1.0625rem; /* 17 px */
  --fs-h1: 2.125rem; /* 34 px */
  --fs-h2: 1.875rem; /* 30 px */
  --fs-h2-sm: 1.625rem; /* 26 px */
  --fs-h3: 1.375rem; /* 22 px */
  --fs-slogan: 2.5rem; /* 40 px */

  --r-photo: 18px;
  --r-photo-sm: 12px;
  --r-card: 16px;
  --r-btn: 14px;
  --r-field: 12px;

  --gutter: 16px;
  --container: 1200px;
  --section-y: 64px;
  --quickbar-h: 76px;
  --header-h: 72px;

  --underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 12'%3E%3Cpath d='M2 7C30 2.5 70 1 110 2 80 4.5 40 7.5 6 10.5 3 10.8 1 8.6 2 7Z' fill='%23D9952B'/%3E%3C/svg%3E");
}

/* 3 ─ Základ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: var(--c-link);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--c-text);
}
:focus-visible {
  outline: 3px solid var(--c-text);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--c-selection);
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--c-text);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: currentColor;
}

/* 4 ─ Rozvržení */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-y);
}
.section--alt {
  background: var(--c-bg-alt);
}
.section--page {
  padding-block: 24px 48px;
}
.section--flush-top {
  padding-top: 8px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stack--sm {
  gap: 8px;
}
.stack--lg {
  gap: 24px;
}
.address {
  font-style: normal;
}
.stack--xl {
  gap: 48px;
}
.split {
  display: grid;
  gap: 16px;
}
/* Nadpis → médium → text na mobilu; na desktopu médium přes celou výšku vedle textu */
.media-split {
  display: grid;
  gap: 16px;
  grid-template-areas: "head" "media" "body";
}
.media-split__head {
  grid-area: head;
}
.media-split__media {
  grid-area: media;
}
.media-split__body {
  grid-area: body;
}
/* Mozaika 3 fotek: mobil velká + dvojice, desktop 2fr 1fr */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mosaic > picture {
  display: block;
  min-height: 0;
}
.mosaic > picture:first-child {
  grid-column: 1 / -1;
}
.mosaic .photo {
  height: 100%;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* 5 ─ Typografie */
h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-wrap: balance;
}
h1,
.h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h2,
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h2--sm {
  font-size: var(--fs-h2-sm);
  line-height: 1.15;
}
h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
}
/* Nadpis s okrovým podtržením (dekorace v CSS, bez SVG v HTML) */
.title::after {
  content: "";
  display: block;
  width: 110px;
  height: 10px;
  margin-top: 8px;
  background: var(--underline) no-repeat 0 0 / 100% 100%;
}
h1.title::after,
.title--lg::after {
  width: 130px;
  height: 12px;
}
.lead {
  font-size: var(--fs-body);
}
.muted {
  color: var(--c-text-muted);
}
.small {
  font-size: 0.875rem;
  line-height: 1.45;
}
.note {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--c-text-muted);
}
.note--center {
  text-align: center;
}
.fineprint {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--c-text-muted);
}
/* Interní otevřený bod – nesmí jít do produkce */
.todo {
  padding: 8px 12px;
  border: 1.5px dashed var(--c-accent);
  border-radius: var(--r-field);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--c-text-muted);
}

/* 6 ─ Komponenty */

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  text-decoration: none;
}
.logo:hover {
  color: var(--c-text);
}
.logo__mark {
  width: 50px;
  height: 45px;
}
.logo__mark .roof {
  stroke: currentColor;
}
.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.logo__tagline {
  font-size: 0.65625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--c-text-muted);
}

/* Hlavička */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--c-bg);
}
.site-header__bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__actions {
  display: none;
}
.menu-toggle {
  width: 48px;
  height: 48px;
  margin-right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}
.menu-toggle .icon {
  width: 28px;
  height: 28px;
}
.menu-toggle__close {
  display: none;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}
.nav__list {
  display: flex;
  flex-direction: column;
}
.nav__link {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--c-text);
  text-decoration: none;
}
.nav__link[aria-current="page"] {
  color: var(--c-link);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.nav__extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
/* Bez JS: menu je vidět pod hlavičkou. S JS: skryté, otevírá se tlačítkem. */
html:not(.js) .menu-toggle {
  display: none;
}
html:not(.js) .nav {
  padding-bottom: 16px;
}
html.js .nav {
  display: none;
}
html.js .nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0 var(--gutter) 24px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 16px 24px rgb(46 27 16 / 0.08);
}

/* Tlačítka */
.btn {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn .icon {
  width: 20px;
  height: 20px;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-text);
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  color: var(--c-text);
}
.btn--outline {
  background: var(--c-bg);
  border-color: var(--c-accent);
  color: var(--c-link);
}
.btn--outline:hover {
  background: var(--c-bg-alt);
  color: var(--c-text);
}
.btn--dark {
  border-color: var(--c-text);
  background: transparent;
  color: var(--c-text);
}
.btn--dark:hover {
  background: var(--c-bg-alt);
  color: var(--c-text);
}
.btn--ghost {
  border-color: var(--c-text-muted);
  background: transparent;
  color: #fff;
  font-weight: 600;
}
.btn--ghost:hover {
  border-color: var(--c-accent);
  color: #fff;
}
.btn--lg {
  min-height: 58px;
  font-size: var(--fs-body);
  gap: 12px;
}
.btn--lg .icon:first-child {
  width: 22px;
  height: 22px;
}
.btn--sm {
  min-height: 48px;
}
.btn--fit {
  align-self: flex-start;
  padding-inline: 24px;
}
.btn--block {
  display: flex;
  width: 100%;
}
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-arrow {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-weight: 700;
  font-size: 1rem;
}
.link-arrow .icon {
  width: 18px;
  height: 18px;
}
.link-back {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.link-back .icon {
  width: 18px;
  height: 18px;
}

/* Fotografie */
.photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-photo);
  background: var(--c-border);
}
.photo--hero {
  aspect-ratio: 358 / 200;
}
.photo--wide {
  aspect-ratio: 358 / 240;
}
.photo--md {
  aspect-ratio: 358 / 220;
}
.photo--sm {
  aspect-ratio: 358 / 200;
  border-radius: var(--r-btn);
}
.photo--thumb {
  aspect-ratio: 175 / 120;
  border-radius: var(--r-photo-sm);
}
.photo--arch {
  aspect-ratio: 358 / 400;
  border-radius: 50% 50% var(--r-photo) var(--r-photo) / 44.75% 44.75% var(--r-photo) var(--r-photo);
}
.illustration {
  width: 100%;
  max-width: 358px;
  height: auto;
}
.landscape img {
  width: 100%;
  height: 244px;
  object-fit: cover;
}
.route {
  width: 100%;
  max-width: 390px;
  height: auto;
}
.route__line {
  stroke: var(--c-accent);
}

/* Odznaky hodnocení */
.ratings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.rating {
  min-width: 0;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-field);
  color: var(--c-text);
  text-decoration: none;
}
.ratings--link {
  text-decoration: none;
  border-radius: var(--r-field);
}
.ratings--link:hover .rating,
a.rating:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
}
.rating__score {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 12px 12px 12px 3px;
  background: var(--c-text);
  color: #fff;
}
.rating--google .rating__score {
  border-radius: 50%;
  background: var(--c-bg-alt);
  color: var(--c-text);
}
.rating__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1875rem;
}
.rating__scale {
  margin-top: 3px;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--c-border);
}
.rating--google .rating__scale {
  color: var(--c-text-muted);
}
.rating__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rating__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.rating__count {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--c-text-muted);
  white-space: nowrap;
}

/* Hero (úvod) */
.hero {
  padding-top: 16px;
  padding-bottom: 24px;
}
.hero__kicker {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--c-text-muted);
}
.hero__slogan {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-slogan);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.hero__slogan.title::after {
  width: 140px;
  height: 12px;
}
.price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.price-tag__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
}
.price-tag__note {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* Výhody (4 ikony) */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.benefit {
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  border-color: var(--c-border-strong);
}
.benefit:nth-child(odd) {
  border-right: 1px solid var(--c-border-strong);
}
.benefit:nth-child(-n + 2) {
  border-bottom: 1px solid var(--c-border-strong);
}
.benefit .icon {
  width: 38px;
  height: 38px;
}
.benefit__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.2;
}
.benefit__text {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--c-text-muted);
}

/* Seznam s fajfkami */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checklist .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--c-link);
}

/* Seznam s ikonami (2 sloupce) */
.iconlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  font-size: 1rem;
  line-height: 1.35;
}
.iconlist li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.iconlist .icon {
  width: 26px;
  height: 26px;
}

/* Body s ikonou a nadpisem (Sklep, zahrada a kola) */
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature > .icon {
  width: 30px;
  height: 30px;
}
.feature__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.25;
}
.feature__text {
  margin-top: 4px;
  font-size: 1rem;
}

/* Fakta */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
.fact {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-color: var(--c-border);
}
.fact:nth-child(odd) {
  border-right: 1px solid var(--c-border);
}
.fact:nth-child(-n + 2) {
  border-bottom: 1px solid var(--c-border);
}
.fact__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
}
.fact__label {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* Patra */
.floors {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.floor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floor__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.floor__num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-text);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
}

/* Řádky s hodnotou vpravo (lůžka, ceny) */
.rows {
  border-top: 1px solid var(--c-border);
}
.rows__item {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--c-border);
}
.rows__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
}
.rows__note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--c-text-muted);
}
.rows__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}

/* Seznam definic */
.deflist {
  border-top: 1px solid var(--c-border);
}
.deflist > div {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--c-border);
}
.deflist dt {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-body);
}
.deflist dd {
  font-size: 1rem;
  color: var(--c-text-soft);
}

/* Cenovka (Ceník) */
.pricebox {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--r-card);
  background: var(--c-bg-alt);
}
.pricebox__label {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.pricebox__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.15;
}
.pricebox__note {
  font-size: 0.875rem;
  color: var(--c-text-soft);
}

/* Citace recenze */
.quotes {
  display: grid;
  gap: 20px;
}
.quote {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--c-border);
}
.quote:first-child::before {
  content: "";
  width: 30px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath d='M0 24V14C0 6 4 1.5 12 0l1.5 3.4C9 4.6 7 7.4 7 11h5v13ZM17 24V14C17 6 21 1.5 29 0l1 3.4C26 4.6 24 7.4 24 11h5v13Z' fill='%23D9952B'/%3E%3C/svg%3E") no-repeat;
}
.quote blockquote {
  font-size: 1.1875rem;
  line-height: 1.5;
}
.quote figcaption {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* Karta a vnořený box */
.card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-bg);
}
.card__part {
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
}
.inset {
  padding: 4px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--r-field);
  background: var(--c-bg-alt);
}

/* Kalendář */
.cal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal__month {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1875rem;
}
.icon-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--c-border-strong);
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-text);
}
.icon-btn:hover:not(:disabled) {
  border-color: var(--c-accent);
}
.icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.icon-btn .icon {
  width: 18px;
  height: 18px;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px 2px;
  text-align: center;
}
.cal__weekday {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-muted);
}
.cal__day {
  height: 44px;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}
button.cal__day:hover:not(:disabled) {
  border-color: var(--c-accent);
}
.cal__day--booked {
  border-color: transparent;
  background: transparent;
  color: var(--c-text-muted);
  font-weight: 400;
  text-decoration: line-through;
  cursor: default;
}
.cal__day--unknown {
  border: 1.5px dashed var(--c-input-border);
  background: transparent;
  color: var(--c-text-muted);
  font-weight: 400;
}
.cal__day--past {
  border-color: transparent;
  background: transparent;
  color: var(--c-input-border);
  font-weight: 400;
  cursor: default;
}
.cal__day--range {
  border-color: var(--c-selection);
  border-radius: 4px;
  background: var(--c-selection);
}
.cal__day--start,
.cal__day--end {
  border-color: var(--c-text);
  background: var(--c-text);
  color: #fff;
  font-weight: 700;
}
.cal__day--start {
  border-radius: 10px 4px 4px 10px;
}
.cal__day--end {
  border-radius: 4px 10px 10px 4px;
}
.cal__mark {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-border);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.875rem;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend__swatch {
  width: 18px;
  height: 18px;
  border: 1px solid var(--c-border-strong);
  border-radius: 5px;
  background: var(--c-bg);
}
.legend__swatch--selected {
  border-color: var(--c-text);
  background: var(--c-text);
}
.legend__swatch--unknown {
  border: 1.5px dashed var(--c-input-border);
  background: transparent;
}
.legend__booked {
  color: var(--c-text-muted);
}
.legend__booked s {
  font-size: 0.9375rem;
}

/* Stavové hlášení (kalendář, formulář) */
.alert {
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-left: 4px solid var(--c-accent);
  border-radius: 8px;
  background: var(--c-bg);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.alert__title {
  font-weight: 700;
}
.alert--error {
  border-left-color: var(--c-error);
  background: var(--c-error-bg);
}

/* Ukazatel kroků */
.progress__label {
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-muted);
}
.progress__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--c-text-muted);
}
.progress__steps li::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: var(--c-border);
}
.progress__steps .is-done::before,
.progress__steps [aria-current="step"]::before {
  background: var(--c-accent);
}
.progress__steps [aria-current="step"] {
  font-weight: 700;
  color: var(--c-text);
}

/* Počítadlo hostů (stepper) */
.counter {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--c-border);
}
.counter:last-child {
  border-bottom: 0;
}
.counter__label {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}
.counter__hint {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}
.counter__controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.counter__controls .icon-btn {
  width: 48px;
  height: 48px;
}
.counter__input {
  width: 64px;
  height: 48px;
  padding: 0 4px;
  border: 1.5px solid var(--c-input-border);
  border-radius: var(--r-field);
  background: var(--c-bg);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}
/* Po vylepšení JS: tlačítka − / + a číslo bez rámečku */
.counter.is-enhanced .counter__input {
  width: 36px;
  border-color: transparent;
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.counter.is-enhanced .counter__input::-webkit-inner-spin-button,
.counter.is-enhanced .counter__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.counter__title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1875rem;
}

/* Pole formuláře */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}
.field__hint {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}
.field__input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--c-input-border);
  border-radius: var(--r-field);
  background: var(--c-bg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--c-text);
}
textarea.field__input {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.field__input:hover {
  border-color: var(--c-text-muted);
}
.field__input:focus-visible {
  outline: 3px solid var(--c-selection);
  outline-offset: 0;
  border-color: var(--c-text);
}
.field__input[aria-invalid="true"] {
  border-color: var(--c-error);
  background: var(--c-error-bg);
}
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-error);
}
.field__error::before {
  content: "!";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-error);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
.fields-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.check {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.check input {
  width: 24px;
  height: 24px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--c-text);
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.status-line .icon {
  width: 18px;
  height: 18px;
  color: var(--c-link);
}

/* Shrnutí poptávky */
.summary {
  border-top: 1px solid var(--c-border);
}
.summary__row {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--c-border);
}
.summary dt {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.summary dd {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}
button.summary__edit {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-link);
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.summary__edit {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 700;
}

/* Časté dotazy */
.faq {
  border-bottom: 1px solid var(--c-border);
}
.faq details {
  border-top: 1px solid var(--c-border);
}
.faq summary {
  min-height: 60px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
/* Plus / mínus kreslené v CSS */
.faq summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background:
    linear-gradient(var(--c-link), var(--c-link)) center / 16px 1.5px no-repeat,
    linear-gradient(var(--c-link), var(--c-link)) center / 1.5px 16px no-repeat;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--c-link), var(--c-link)) center / 16px 1.5px no-repeat;
}
.faq__answer {
  padding-bottom: 16px;
  font-size: 1rem;
  color: var(--c-text-soft);
}

/* Galerie */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border-strong);
  border-radius: 22px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
}
.gallery {
  --cols: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.gallery__item {
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--r-photo-sm);
  overflow: hidden;
  background: var(--c-border);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery__item:hover img {
  transform: scale(1.03);
}
/* Mobil: první a případný osamocený poslední snímek přes celou šířku */
.gallery__item:first-child,
.gallery__item:last-child:nth-child(even) {
  grid-column: 1 / -1;
  border-radius: var(--r-card);
}
.gallery__item:first-child img {
  aspect-ratio: 358 / 240;
}
.gallery--3 {
  --cols: 3;
}
.gallery--4 {
  --cols: 4;
}
.gallery-group + .gallery-group {
  margin-top: 8px;
}
.placeholder {
  min-height: 130px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--c-accent);
  border-radius: var(--r-photo-sm);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(20 12 7 / 0.94);
  color: #fff;
}
.lightbox::backdrop {
  background: rgb(20 12 7 / 0.94);
}
.lightbox__inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lightbox__bar {
  padding: 8px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
}
.lightbox__figure {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 var(--gutter);
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  object-fit: contain;
  border-radius: var(--r-photo-sm);
}
.lightbox__figure figcaption {
  font-size: 0.9375rem;
  text-align: center;
}
.lightbox__nav {
  padding: 12px var(--gutter) 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.lightbox .icon-btn {
  border-color: rgb(255 255 255 / 0.3);
  background: transparent;
  color: #fff;
}

/* Mapa (statický obrázek s odkazem) */
.map {
  display: block;
  aspect-ratio: 358 / 240;
  overflow: hidden;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-photo);
  background: var(--c-border);
}
.map__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map picture {
  height: 100%;
}

/* CTA pás */
.cta-band {
  padding-block: 56px 64px;
  background: var(--c-bg-alt);
}
.cta-band__title {
  font-size: 1.75rem;
  line-height: 1.15;
}

/* Spodní lišta (mobil a tablet) */
.quickbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  min-height: var(--quickbar-h);
  padding: 10px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
  box-shadow: 0 -4px 16px rgb(46 27 16 / 0.06);
}
.quickbar .btn {
  padding-inline: 8px;
  border-radius: 12px;
  white-space: nowrap;
}
/* Nejužší telefony (320–359 px): podtitul loga na jeden řádek */
@media (max-width: 22.4375em) {
  .site-header .logo__name {
    font-size: 1.125rem;
  }
  .site-header .logo__tagline {
    font-size: 0.59375rem;
    letter-spacing: 0.06em;
  }
  .site-header .logo {
    gap: 8px;
  }
  .site-header .logo__mark {
    width: 44px;
    height: 40px;
  }
  .site-header__bar {
    gap: 8px;
  }
}
.logo__name,
.logo__tagline {
  white-space: nowrap;
}
/* Datumová pole na nejužších telefonech: nativní formát d.m.rrrr se musí vejít vedle ikony kalendáře */
@media (max-width: 22.4375em) {
  .fields-2 {
    gap: 8px;
  }
  .field__input[type="date"] {
    padding-inline: 8px;
    font-size: 0.9375rem;
  }
}
.has-quickbar {
  padding-bottom: calc(var(--quickbar-h) + env(safe-area-inset-bottom));
}

/* Patička */
.site-footer {
  padding-block: 56px 40px;
  background: var(--c-text);
  color: var(--c-bg-alt);
}
.site-footer :focus-visible {
  outline-color: var(--c-accent);
}
.site-footer .btn {
  padding-inline: 12px;
  white-space: nowrap;
}
.site-footer .logo,
.site-footer .logo:hover {
  color: #fff;
}
.site-footer .logo__tagline {
  color: var(--c-border);
}
.site-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Mobil: logo → tlačítka → adresa → menu → hodnocení; desktop: logo s adresou v 1. sloupci */
.site-footer__brand {
  display: contents;
}
.site-footer__grid > .btn-group {
  order: 1;
}
.site-footer__address {
  order: 2;
}
.site-footer__nav {
  order: 3;
}
.site-footer__ratings {
  order: 4;
}
.site-footer__address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--c-footer-line);
}
.site-footer__nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--c-bg-alt);
  text-decoration: none;
}
.site-footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__ratings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9375rem;
}
.site-footer__ratings p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-footer__ratings .icon {
  width: 16px;
  height: 16px;
  color: var(--c-accent);
}
.site-footer__ratings strong {
  color: #fff;
}
.site-footer__ratings a {
  color: var(--c-bg-alt);
}
.site-footer__legal {
  margin-top: 24px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--c-footer-muted);
}
.site-footer__legal a {
  color: var(--c-footer-muted);
}
.site-footer__legal a:hover {
  color: #fff;
}

/* Poptávkový formulář */
html:not(.js) .js-only,
html.js .no-js-only {
  display: none !important;
}
.section--form {
  padding-block: 32px 48px;
}
.step {
  min-width: 0;
}
.step[tabindex="-1"]:focus,
.step h2[tabindex="-1"]:focus {
  outline: none;
}
html:not(.js) .step + .step {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px dashed var(--c-border-strong);
}
.inquiry {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.inquiry__cols {
  margin-top: 16px;
}
.counters .counter:last-child,
.inset .counter {
  border-bottom: 0;
}
.cal__day {
  font-family: inherit;
  cursor: pointer;
}
.cal__day:focus-visible {
  outline: 3px solid var(--c-text);
  outline-offset: 1px;
  position: relative;
  z-index: 1;
}
.cal__day:disabled {
  cursor: default;
}
.cal__msg {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}
/* Hlášky kalendáře: červená = klik nelze provést, žlutá = výběr jsme upravili za vás */
.cal__msg--error,
.cal__msg--info {
  flex: 1 0 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid;
  border-left-width: 6px;
  border-radius: 10px;
  font-weight: 600;
}
.cal__msg p {
  margin: 0;
}
.cal__msg .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
.cal__msg--error {
  border-color: var(--c-error);
  background: var(--c-error-bg);
  color: #7d2412;
}
.cal__msg--info {
  border-color: var(--c-accent);
  background: #fdf3dc;
  color: var(--c-text);
}
.cal__msg--info .icon {
  color: #a86d0c;
}

/* Potvrzení přijetí */
.done__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-text);
}
.done__icon .icon {
  width: 36px;
  height: 36px;
}
.done .summary dd {
  word-break: break-word;
}

/* Omezení pohybu */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 7 ─ Širší displeje */
@media (min-width: 48em) {
  :root {
    --gutter: 32px;
  }
  .landscape img {
    height: auto;
    aspect-ratio: 1440 / 360;
  }
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
  .deflist--cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}

@media (min-width: 64em) {
  :root {
    --fs-h1: 3.25rem; /* 52 px */
    --fs-h2: 2.75rem; /* 44 px */
    --fs-h2-sm: 2rem;
    --fs-slogan: 4rem; /* 64 px */
    --section-y: 112px;
    --header-h: 88px;
  }
  h2,
  .h2 {
    line-height: 1.08;
    letter-spacing: -0.015em;
  }
  .title::after {
    width: 120px;
    height: 11px;
    margin-top: 10px;
  }

  /* Hlavička: menu v řádku, telefon, poptávka; spodní lišta pryč */
  .site-header {
    border-bottom: 1px solid var(--c-border-subtle);
  }
  .site-header__bar {
    gap: 24px;
  }
  .logo__mark {
    width: 56px;
    height: 50px;
  }
  .site-header .logo__name {
    font-size: 1.375rem;
  }
  .site-header .logo__tagline {
    font-size: 0.6875rem;
  }
  html .menu-toggle {
    display: none;
  }
  html .nav,
  html.js .nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .nav__list {
    flex-direction: row;
  }
  .nav__link {
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
  }
  .nav__link:hover {
    color: var(--c-link);
  }
  .nav__link[aria-current="page"] {
    color: var(--c-text);
  }
  .nav__extra {
    display: none;
  }
  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-phone {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--c-text);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .quickbar {
    display: none;
  }
  .has-quickbar {
    padding-bottom: 0;
  }

  /* Rozvržení ve sloupcích */
  .split {
    gap: 64px;
    align-items: center;
  }
  .split--top {
    align-items: start;
  }
  .split--stretch {
    align-items: stretch;
  }
  .split--stretch .map {
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
  }
  .split--6-5 {
    grid-template-columns: 6fr 5fr;
  }
  .split--5-6 {
    grid-template-columns: 5fr 6fr;
  }
  .split--6-5 {
    grid-template-columns: 6fr 5fr;
  }
  .split--4-6 {
    grid-template-columns: 4fr 6fr;
    gap: 80px;
  }
  .split--7-5 {
    grid-template-columns: 7fr 5fr;
  }
  .split--5-7 {
    grid-template-columns: 5fr 7fr;
  }
  .split--4-7 {
    grid-template-columns: 4fr 7fr;
    gap: 96px;
  }
  .split--4-8 {
    grid-template-columns: 4fr 8fr;
    gap: 96px;
  }

  .section--page {
    padding-block: 64px 96px;
  }
  .media-split {
    --cols: 5fr 6fr;
    grid-template-columns: var(--cols);
    grid-template-areas: "head media" "body media";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 22px;
    align-items: center;
  }
  .media-split__head {
    align-self: end;
  }
  .media-split__body {
    align-self: start;
  }
  .media-split--left {
    grid-template-areas: "media head" "media body";
  }
  .media-split--4-6 {
    --cols: 4fr 6fr;
    column-gap: 80px;
  }
  .media-split--6-4 {
    --cols: 6fr 4fr;
    column-gap: 80px;
  }
  .media-split--7-5 {
    --cols: 7fr 5fr;
  }
  .media-split--6-5 {
    --cols: 6fr 5fr;
    column-gap: 96px;
  }
  .mosaic {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 460px;
  }
  .mosaic > picture:first-child {
    grid-column: auto;
    grid-row: 1 / 3;
  }
  .mosaic .photo {
    aspect-ratio: auto;
  }
  .gallery {
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    gap: 16px;
  }
  .gallery__item:first-child,
  .gallery__item:last-child:nth-child(even) {
    grid-column: auto;
    border-radius: var(--r-photo-sm);
  }
  .gallery__item:first-child img {
    aspect-ratio: 4 / 3;
  }
  .hero {
    padding-block: 64px 56px;
  }
  .hero__slogan {
    line-height: 1.02;
    letter-spacing: -0.02em;
  }
  .hero .photo--hero {
    aspect-ratio: auto;
    height: 540px;
  }
  .ratings--narrow {
    max-width: 420px;
  }

  .benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .benefit {
    padding: 8px 24px;
    gap: 10px;
    border: 0;
  }
  .benefit:nth-child(odd),
  .benefit:nth-child(-n + 2) {
    border: 0;
  }
  .benefit:not(:last-child) {
    border-right: 1px solid var(--c-border-strong);
  }
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fact,
  .fact:nth-child(odd),
  .fact:nth-child(-n + 2) {
    border: 0;
  }
  .fact:not(:last-child) {
    border-right: 1px solid var(--c-border);
  }
  .floors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
  .photo--arch {
    aspect-ratio: auto;
    height: 460px;
    border-radius: 200px 200px var(--r-photo) var(--r-photo);
  }
  .illustration--lg {
    max-width: none;
    max-height: 400px;
    object-fit: contain;
  }
  .site-footer {
    padding-block: 72px 40px;
  }
  .site-footer__grid {
    display: grid;
    grid-template-columns: 4fr 3fr 4fr 4fr;
    gap: 40px;
    align-items: start;
  }
  .site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .site-footer__nav {
    padding-top: 0;
    border-top: 0;
  }
  .site-footer__legal {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--c-footer-line);
  }
  .narrow {
    max-width: 640px;
  }
  .section--form {
    padding-block: 40px 96px;
  }
  .inquiry__cols {
    gap: 48px;
  }
  .inquiry .step:not(#krok-1) {
    max-width: 640px;
  }
}

@media (min-width: 75em) {
  .nav__link {
    padding: 0 14px;
  }
  .header-phone {
    display: inline-flex;
  }
}

/* Kalendář: dny výměny hostů (půlka obsazená), zrušení výběru */
.cal__day--in {
  border-color: var(--c-border-strong);
  background: linear-gradient(135deg, var(--c-bg) calc(50% - 0.5px), var(--c-border-strong) calc(50% - 0.5px), var(--c-border-strong) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.cal__day--out {
  border-color: var(--c-border-strong);
  background: linear-gradient(135deg, transparent calc(50% - 0.5px), var(--c-border-strong) calc(50% - 0.5px), var(--c-border-strong) calc(50% + 0.5px), var(--c-bg) calc(50% + 0.5px));
}
.cal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}
.cal__foot .cal__msg:empty {
  display: none;
}
.cal__clear {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-link);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  margin-left: auto;
}
.legend__swatch--swap {
  border-color: var(--c-border-strong);
  background: linear-gradient(135deg, var(--c-bg) 50%, transparent 50%);
}

/* Desktopová hlavička: položky menu a tlačítko se nelámou na dva řádky */
@media (min-width: 64em) {
  .nav__link,
  .site-header__actions .btn {
    white-space: nowrap;
  }
}


/* Stránka 404: štítek, scéna s tandemem a bublinami */
.label {
  align-self: flex-start;
  min-height: 32px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 16px;
  background: var(--c-bg-alt);
  color: var(--c-text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}
.error-page__grid {
  display: grid;
  gap: 20px;
}
.error-page__route .route {
  display: block;
  margin-block: -4px -8px;
}
.error-page__actions {
  max-width: 390px;
}
.error-page__links .note,
.error-page__note {
  font-size: 0.9375rem;
}
.scene {
  padding: 104px 16px 16px;
  border-radius: var(--r-photo);
  background: var(--c-bg-alt);
}
.scene__stage {
  position: relative;
}
.scene__img {
  display: block;
  width: 100%;
  height: auto;
}
/* Bubliny: pozice v % šířky scény, ocásek míří nad hlavu (zadní jezdkyně ~34 %, přední jezdec ~60 %) */
.bubble {
  --tail: 50%;
  position: absolute;
  bottom: calc(100% + 12px);
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--c-bg);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: var(--tail);
  width: 16px;
  height: 10px;
  margin-left: -8px;
  background: var(--c-bg);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.bubble--rear {
  --tail: 72%;
  left: 0;
  width: 47%;
  bottom: calc(100% + 28px);
}
.bubble--front {
  --tail: 13%;
  right: 0;
  width: 46%;
  bottom: calc(100% + 16px);
}
@media (min-width: 64em) {
  .error-page__grid {
    grid-template-columns: 5fr 6fr;
    grid-template-areas:
      "intro scene"
      "route scene"
      "actions scene"
      "links scene"
      "note scene";
    column-gap: 64px;
    align-content: center;
    align-items: start;
    padding-block: 16px 48px;
  }
  .error-page__intro { grid-area: intro; }
  .error-page__route { grid-area: route; }
  .error-page__actions { grid-area: actions; }
  .error-page__links { grid-area: links; }
  .error-page__note { grid-area: note; }
  .error-page__scene {
    grid-area: scene;
    align-self: center;
  }
  .scene {
    padding: 104px 24px 24px;
  }
  .bubble {
    padding: 10px 14px;
    font-size: 1.0625rem;
  }
}

/* Souhlas s cookies (GA4) */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
  box-shadow: 0 -6px 20px rgb(46 27 16 / 0.12);
}
.consent[hidden] {
  display: none;
}
.consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.consent__inner p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.site-footer__legal .link-button {
  color: var(--c-footer-muted);
}
.site-footer__legal .link-button:hover {
  color: #fff;
}

/* Tabulka v textové stránce (ochrana osobních údajů) */
.table-wrap {
  overflow-x: auto;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.table-wrap th,
.table-wrap td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}
.table-wrap th {
  font-weight: 600;
}
.table-wrap code {
  font-size: 0.875rem;
  white-space: nowrap;
}
.section--page .stack > ul:not([class]) {
  padding-left: 1.25em;
}
.section--page .stack > ul:not([class]) li + li {
  margin-top: 6px;
}

/* Interaktivní kalendář na úvodu */
.home-cal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Den, na který uživatel klikl a nešlo to */
.cal__day--flash {
  border-color: var(--c-error);
  box-shadow: 0 0 0 2px var(--c-error);
  background-color: var(--c-error-bg);
  color: var(--c-error);
  text-decoration: none;
}
