/* ==========================================================================
   WIPED: úvodní stránka a /firmy (sdílené styly)
   Hero s fotkou interiéru 993. Zbytek stránky střídá espresso
   a světlou kost. Písmo Archivo, akcent světlá kůže, prošití jako motiv.
   Rozvržení jen ve flexu a gridu, aby šlo přenést do Frameru.
   ========================================================================== */

:root {
  --bg:          #17110D;   /* espresso */
  --bg-2:        #231A14;
  --fg:          #F1E8DC;   /* kontrast na --bg 15.43:1, na --bg-2 14.09:1 */
  --fg-muted:    rgba(241, 232, 220, 0.68);   /* 7.52:1 na --bg, 7.12:1 na --bg-2 */
  --fg-faint:    rgba(241, 232, 220, 0.62);   /* 6.42:1 na --bg, 6.17:1 na --bg-2 */
  --tan:         #D8BF9F;   /* světlá kůže, 10.58:1 na --bg, tmavý text na ní taky 10.58:1 */
  --accent:      #D8BF9F;
  --accent-text: #D8BF9F;
  --line:        rgba(241, 232, 220, 0.12);
  --line-strong: rgba(241, 232, 220, 0.30);
  --font-sans:   'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --section-y:   clamp(80px, 10vw, 160px);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h, 96px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Světlá sekce: kost. Tan je na ní moc světlý, akcent je tmavší kůže. */
.tone-light {
  --bg:          #F2EEE7;
  --bg-2:        #E8E1D5;
  --fg:          #17110D;   /* 16.18:1 */
  --fg-muted:    rgba(23, 17, 13, 0.72);   /* 7.00:1 na --bg, 6.59:1 na --bg-2 */
  --fg-faint:    rgba(23, 17, 13, 0.64);   /* 5.30:1 na --bg */
  --accent:      #7A4C2F;
  --accent-text: #7A4C2F;   /* 6.26:1 na --bg, 5.57:1 na --bg-2 */
  --line:        rgba(23, 17, 13, 0.14);
  --line-strong: rgba(23, 17, 13, 0.30);
  background: var(--bg);
  color: var(--fg);
}

/* Hlubší hnědá pro kontaktní sekci, aby se oddělila od FAQ. */
.tone-deep { --bg: #231A14; --bg-2: #17110D; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--bar-h, 96px);
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.9) brightness(0.9);
  animation: breath 36s var(--ease) infinite alternate;
}
@keyframes breath {
  from { transform: scale(1.03); }
  to   { transform: scale(1.10); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(23,17,13,0.95) 0%, rgba(23,17,13,0.84) 34%, rgba(23,17,13,0.22) 68%, rgba(23,17,13,0.30) 100%),
    linear-gradient(180deg, rgba(23,17,13,0.72) 0%, rgba(23,17,13,0) 26%, rgba(23,17,13,0.16) 70%, rgba(23,17,13,0.90) 100%);
}
.grid-lines {
  position: absolute;
  inset: 0 var(--gutter);
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}
.grid-lines span + span { border-left: 1px solid var(--line); }

/* Logo: DOČASNÁ SAZBA. Až bude originální SVG, nahraď obsah .logo__mark:
   <img src="assets/img/logo-wiped-svetle.svg" alt="WIPED" width="220" height="44"> */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  line-height: 1;
}
.logo__mark {
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-size: clamp(30px, 2.9vw, 44px);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.logo__tag {
  margin-top: 6px;
  font-weight: 600;
  font-stretch: 100%;
  /* Nápis „Důkladné čištění interiérů" má být široký zhruba jako značka nad ním. */
  font-size: clamp(7.5px, 0.7vw, 10.5px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  text-align: center;
  color: var(--tan);
}

/* Hlavička s menu */
/* Fixní, ne sticky: .hero má overflow: hidden a sticky by platil jen v něm. */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.4vw, 32px) var(--gutter);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.bar.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  /* Bez backdrop-filter: ten by z lišty udělal containing block pro fixní .nav a rozbil mobilní menu. */
  background: rgba(23, 17, 13, 0.96);
}
.bar__right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  font-size: 13px;
  font-weight: 500;
}
.nav ul {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav ul a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.nav ul a:hover { color: var(--fg); }
.bar__cta {
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.bar__cta:hover { background: var(--tan); border-color: var(--tan); color: var(--bg); }
/* Občasné poskočení, ať si CTA všimne i ten, kdo jen scrolluje. */
.bar__cta { display: inline-block; animation: cta-hop 7s var(--ease) 3s infinite; }
.bar__cta:hover, .bar__cta:focus-visible { animation-play-state: paused; }
@keyframes cta-hop {
  0%, 12%, 100% { transform: none; }
  3%  { transform: translateY(-7px); }
  6%  { transform: none; }
  9%  { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .bar__cta { animation: none; } }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  background: none;
  border: 0;
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle__icon { display: grid; gap: 5px; width: 20px; }
.nav-toggle__icon i { height: 1px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child  { transform: translateY(-6px) rotate(-45deg); }
.nav__foot { display: none; }

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  margin: 0 var(--gutter);
  padding: clamp(36px, 5vw, 80px) 0 clamp(28px, 3.6vw, 56px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  margin-bottom: clamp(18px, 2.2vw, 28px);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

h1 {
  font-weight: 800;
  font-stretch: 116%;
  font-size: clamp(42px, 6.4vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 13ch;
  text-wrap: balance;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent-text);
}

.lede {
  margin-top: clamp(20px, 2.4vw, 30px);
  max-width: 46ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--fg-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 40px);
}

/* Tlačítka ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--tan);
  color: #17110D;
  border: 1px solid var(--tan);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn::after { content: "\2192"; font-weight: 400; }
/* Kožené CTA: zrno ze SVG šumu, lesk shora a prošití po obvodu. */
.btn--leather {
  position: relative;
  isolation: isolate;
  background-color: var(--tan);
  background-image:
    linear-gradient(180deg, rgba(255,248,236,0.22) 0%, rgba(255,248,236,0) 45%, rgba(23,17,13,0.10) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='1.1'%3E%3CfeDistantLight azimuth='235' elevation='72'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: auto, 180px 180px;
  background-blend-mode: normal, multiply;
  border-color: #C4A57F;
  box-shadow: inset 0 1px 0 rgba(255,248,236,0.35), inset 0 -2px 6px rgba(23,17,13,0.18), 0 10px 24px -14px rgba(0,0,0,0.7);
  transition: filter var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn--leather::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border: 1px dashed rgba(23,17,13,0.34);
  border-radius: max(0px, calc(var(--radius) - 3px));
  pointer-events: none;
}
.btn--leather:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,248,236,0.45), inset 0 -2px 6px rgba(23,17,13,0.14), 0 14px 28px -14px rgba(0,0,0,0.8);
}
.btn--line {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--line::after { content: none; }
.btn--line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0 var(--gutter);
  padding: 14px 0 clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-muted);
}

.rise { animation: rise 0.9s var(--ease) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.26s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   SPOLEČNÉ PRVKY SEKCÍ
   ========================================================================== */
.section {
  padding: var(--section-y) var(--gutter);
  background: var(--bg);
  color: var(--fg);
}
.section--tight-top { padding-top: 0; }

/* Hlavička sekce: štítek vlevo, nadpis a úvod vpravo. */
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 20px;
  align-items: end;
  margin-bottom: clamp(44px, 5.5vw, 84px);
}
.sec-label {
  grid-column: 1 / span 3;
  align-self: start;
  display: flex;
  gap: 12px;
  padding-top: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-muted);
}
.sec-label b { font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.sec-head h2 { grid-column: 4 / span 6; }
.sec-head .sec-intro { grid-column: 10 / span 3; }

h2 {
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
h3 {
  margin: 0;
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.sec-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* Prošití jako oddělovač */
.stitch {
  height: 0;
  border: 0;
  border-top: 1px dashed var(--line-strong);
  margin: 0;
}

/* Odhalování: skryté jen když běží JS */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   02 PROČ MY
   ========================================================================== */
.why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.why li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px clamp(16px, 2vw, 32px) 8px;
}
.why li:first-child { padding-left: 0; }
.why li + li { border-left: 1px solid var(--line); }
.why__no {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.why p { font-size: 15px; line-height: 1.6; color: var(--fg-muted); }

.why-photo {
  position: relative;
  margin-top: clamp(56px, 7vw, 110px);
  height: clamp(260px, 38vw, 560px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(0.9); }
.why-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 60px clamp(18px, 2vw, 28px) 18px;
  background: linear-gradient(180deg, rgba(23,17,13,0) 0%, rgba(23,17,13,0.85) 100%);
  font-size: 12.5px;
  color: #F1E8DC;
}

/* ==========================================================================
   03 SLUŽBY
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 20px);
  margin-inline: auto;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 2vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
}
.plan__top { display: flex; flex-direction: column; gap: 10px; min-height: 7.2em; }
.plan__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-text);
}
.plan__desc { font-size: 14.5px; line-height: 1.55; color: var(--fg-muted); }
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-strong);
  font-size: 14.5px;
}
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 10px; height: 1px; background: var(--accent); transform: translateY(-4px); }
/* Co vyřeší / pro koho */
.plan__fit { display: grid; gap: 10px; margin: 0; font-size: 14px; line-height: 1.5; }
.plan__fit dt { font-size: 12px; font-weight: 600; color: var(--accent-text); }
.plan__fit dd { margin: 2px 0 0; color: var(--fg-muted); }

/* Cena vlevo, čas vpravo. */
.plan__price {
  margin: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.plan__price dt { font-size: 12px; color: var(--fg-muted); }
.plan__price dd { margin: 2px 0 0; }
.plan__amount dt { font-weight: 600; color: var(--accent-text); }
.plan__amount dd { font-size: clamp(26px, 2.2vw, 34px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.025em; line-height: 1.1; }
.plan__time { text-align: right; }
.plan__time dd { font-size: 16px; font-weight: 700; font-stretch: 108%; }

/* Přepínač typu vozu nad ceníkem. Přepíná se jen v CSS (:has), funguje i bez JS. */
.vehicle { display: grid; gap: 12px; max-width: 720px; margin: 0 auto clamp(28px, 3vw, 44px); text-align: center; }
.switch.switch--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.switch--3 label { min-height: 44px; display: grid; place-items: center; }
.vehicle__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-muted); }
.t-suv, .t-dodavka, .van { display: none; }
#sluzby:has(#vuz-suv:checked) .t-osobni,
#sluzby:has(#vuz-dodavka:checked) .t-osobni,
#sluzby:has(#vuz-dodavka:checked) .plans--car { display: none; }
.plans--car { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
#sluzby:has(#vuz-suv:checked) .t-suv,
#sluzby:has(#vuz-dodavka:checked) .t-dodavka { display: inline; }
#sluzby:has(#vuz-dodavka:checked) .van { display: block; }

/* Dodávka: dvě kabinové karty a pod nimi položky jako seznam, bez tabulky. */
.van .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.van__list { margin: clamp(28px, 3vw, 44px) auto 0; max-width: 820px; }
.van__list li { flex-wrap: wrap; }
.van__list li > div { flex: 1 1 260px; display: grid; gap: 4px; }
.van__list small { font-size: 13.5px; line-height: 1.45; color: var(--fg-muted); }
.van__list .van__meta { flex: none; display: grid; justify-items: end; gap: 2px; text-align: right; }
.van__list .van__meta em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--fg-muted); }
.van__note { max-width: 820px; margin: 16px auto 0; font-size: 14px; color: var(--fg-muted); }

/* Přepínač Textil / Kůže u Hloubkového restartu */
.switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  min-inline-size: 0;
}
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch label {
  padding: 10px 12px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.switch label:hover { color: var(--fg); }
.switch input:checked + label { background: var(--fg); color: var(--bg); }
.switch input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan--variants .v-kuze { display: none; }
.plan--variants:has(#restart-kuze:checked) .v-kuze { display: flex; }
.plan--variants:has(#restart-kuze:checked) .plan__price.v-kuze { display: flex; }
.plan--variants:has(#restart-kuze:checked) .plan__fit.v-kuze { display: grid; }
.plan--variants:has(#restart-kuze:checked) .v-textil { display: none; }
.plan__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.plan__link::after { content: "\2192"; font-weight: 400; }
.plan__link:not(.btn--leather):hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Zvýrazněný balíček: tmavý kus v kostové sekci, kožený odkaz. */
.plan--featured {
  --bg:          #17110D;
  --fg:          #F1E8DC;
  --fg-muted:    rgba(241, 232, 220, 0.68);
  --accent:      #D8BF9F;
  --accent-text: #D8BF9F;
  --line:        rgba(241, 232, 220, 0.12);
  --line-strong: rgba(241, 232, 220, 0.30);
  color: var(--fg);
  border-color: #17110D;
}
.plan--featured .plan__link { border-color: #C4A57F; color: #17110D; }

/* Přídavky a příplatky pod balíčky */
.extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 72px);
  margin-top: clamp(44px, 5vw, 72px);
  scroll-margin-top: 24px;
}
.extras h3 { margin-bottom: 14px; font-size: clamp(17px, 1.3vw, 20px); }
.extras__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  font-size: 15px;
}
.extras__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.extras__list span { flex: none; font-weight: 700; font-stretch: 108%; color: var(--accent-text); }
.extras__note { grid-column: 1 / -1; font-size: 14px; color: var(--fg-muted); }

/* ==========================================================================
   04 PŘED A PO
   ========================================================================== */
.ba-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
/* V úzkém sloupci menší nadpis, aby se vešel. */
.ba-layout h2, .faq-layout h2, .contact h2 { font-size: clamp(34px, 3.5vw, 56px); }
.ba-layout .sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin: 0; }
.ba-points {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.ba-points li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.ba-points span { color: var(--fg-muted); }

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  user-select: none;
}
.ba__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 2vw, 28px);
}
/* Obě fotky jsou předem srovnané na stejný záběr, proto stejný výřez. */
.ba__layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  pointer-events: none;
}
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: rgba(23,17,13,0.72);
  font-size: 12px;
  font-weight: 600;
  color: #F1E8DC;
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 0;
  border-left: 1px solid var(--tan);
  pointer-events: none;
}
.ba__handle::after {
  content: "\2190 \2192";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--tan);
  color: #17110D;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
}
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--tan); outline-offset: 4px; }
.ba-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--fg-muted);
}


/* ==========================================================================
   05 POSTUP
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li { display: flex; flex-direction: column; gap: 14px; }
.steps__mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.steps__mark b {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--tan);
  font-variant-numeric: tabular-nums;
}
.steps__mark::after { content: ""; flex: 1; border-top: 1px dashed var(--line-strong); }
.steps li:last-child .steps__mark::after { border-top-color: transparent; }
.steps p { font-size: 15px; line-height: 1.6; color: var(--fg-muted); max-width: 32ch; }
.steps__time { font-size: 12.5px; font-weight: 600; color: var(--tan); }

/* ==========================================================================
   06 RECENZE
   ========================================================================== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 20px);
}
.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  margin: 0;
  padding: clamp(24px, 2.4vw, 36px);
  border-top: 2px solid var(--fg);
  background: var(--bg-2);
  border-radius: 0 0 var(--radius) var(--radius);
}
/* Čtyři recenze vedle sebe po dvou, ať jedna nezůstane v řádku sama. */
@media (min-width: 761px) {
  .reviews:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.review__body { display: flex; flex-direction: column; gap: 16px; }
.review__stars {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--accent-text);
}
.review__stars span { color: var(--line-strong); }
.review blockquote {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
}
/* Dlouhé recenze zkrátíme, celé jsou na Google. */
.review blockquote p {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
  white-space: pre-line;   /* odstavce z Google */
}
.review figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--fg-muted); }
.review figcaption b { font-weight: 600; color: var(--fg); }
.review figcaption a { color: inherit; text-decoration: none; }
.review figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.review figcaption span { white-space: nowrap; }
.reviews-summary strong { font-weight: 700; color: var(--fg); }
/* .actions a .btn mají vlastní display, atribut hidden by jinak nezabral. */
.reviews-actions[hidden], .reviews-actions [hidden] { display: none; }
.reviews-note { margin-top: 20px; font-size: 13px; color: var(--fg-faint); max-width: 72ch; }

/* ==========================================================================
   07 FAQ
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.faq-layout .sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin: 0; position: sticky; top: 32px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 400;
  color: var(--tan);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.faq details[open] summary::after { content: "\2212"; background: var(--tan); border-color: var(--tan); color: #17110D; }
.faq summary:hover { color: var(--tan); }
.faq details p { max-width: 62ch; padding: 0 56px 26px 0; font-size: 15.5px; line-height: 1.65; color: var(--fg-muted); }

/* ==========================================================================
   08 BRNO A OKOLÍ + REZERVACE
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.contact .sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin: 0; }
.cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: stretch;
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.city { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--bg); }
.city b { font-size: 22px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; }
.city span { font-size: 14px; color: var(--fg-muted); }
.contact-list { align-self: stretch; display: flex; flex-direction: column; gap: 0; margin: 28px 0 0; }
.contact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list dt { color: var(--fg-muted); }
.contact-list dd { margin: 0; font-weight: 600; text-align: right; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--tan); }

.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  padding: clamp(22px, 3vw, 44px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.booking__title {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line-strong);
}
.booking__title span { font-size: 13px; color: var(--fg-muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label, .field legend { font-size: 13px; font-weight: 500; color: var(--fg-muted); }
/* legend není flex položka a mezeru gap nedostane, proto ji doplní margin. */
.field > legend { padding: 0; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  color-scheme: dark;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(241,232,220,0.5); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--tan); outline-offset: 1px; border-color: var(--tan); }
.consent { grid-column: 1 / -1; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--tan); }
.booking__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.booking__submit .btn { min-width: 260px; }
.booking__status { font-size: 14px; color: var(--tan); }
.booking__status.is-error { color: #F0A58C; }
.consent a, .booking__note a { color: var(--tan); }
.booking__note { flex: 1 1 100%; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); }
.booking__note strong { color: var(--fg); font-weight: 600; }
.booking__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booking button[disabled] { opacity: 0.6; cursor: progress; }

/* Výběr termínu: dny a bloky jako přepínače (radio), stylované jako dlaždice. */
.slots { border: 0; margin: 0; padding: 0; min-width: 0; }
.slots__state { margin: 0; font-size: 14px; color: var(--fg-muted); }
.slots__state.is-error { color: #F0A58C; }
.slots__state a { color: var(--accent-text); }
.slots__days { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.slots__blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.slots__blocks:empty, .slots__days:empty { display: none; }
.slot { position: relative; display: block; cursor: pointer; }
.slot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.slot span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 48px; padding: 8px 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 600; text-align: center;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.slot small { font-size: 12px; font-weight: 500; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.slot:hover span { border-color: rgba(241,232,220,0.5); }
.slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.slot input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.slot input:checked + span small { color: inherit; }
.booking__more { grid-column: 1 / -1; }
.booking__more[open] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.booking__more summary { grid-column: 1 / -1; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--accent-text); cursor: pointer; }
.booking__more .field:last-child { grid-column: 1 / -1; }
.booking__more .field { margin-top: 16px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips--one { grid-template-columns: minmax(0, 1fr); }

/* Pro firmy: tři výhody a slevy pod nimi. */
.perks { align-self: stretch; list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.perks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.perks b { flex: none; font-size: 12.5px; font-weight: 600; line-height: 1.9; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.perks__prices { align-self: stretch; margin-top: -8px; }

.dock { display: none; }
.slots__more {
  grid-column: 1 / -1; justify-self: start; padding: 6px 0; border: 0; background: none;
  color: var(--accent-text); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer;
}

/* ==========================================================================
   09 PATIČKA
   ========================================================================== */
.site-foot {
  padding: clamp(56px, 7vw, 100px) var(--gutter) 28px;
  background: #110C09;
  border-top: 1px solid var(--line);
}
.site-foot__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 32px;
  padding-bottom: clamp(40px, 5vw, 72px);
}
.site-foot .logo__mark { font-size: clamp(44px, 5vw, 80px); }
.site-foot .logo__tag { font-size: clamp(9px, 0.9vw, 13px); }
.site-foot h2 {
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--tan);
}
.site-foot ul { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.site-foot ul a { text-decoration: none; color: var(--fg-muted); }
.site-foot ul a:hover { color: var(--fg); }
.site-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--fg-faint);
}
.site-foot__legal { font-style: normal; line-height: 1.6; }
.site-foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot__links a { color: var(--fg-muted); text-decoration: none; }
.site-foot__links a:hover { color: var(--fg); text-decoration: underline; }

/* ==========================================================================
   ODEZVA
   ========================================================================== */
@media (max-width: 1180px) {
  .sec-head h2 { grid-column: 4 / -1; }
  .sec-head .sec-intro { grid-column: 4 / span 7; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why li:nth-child(3) { padding-left: 0; border-left: 0; }
  .why li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps li:nth-child(2) .steps__mark::after { border-top-color: transparent; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  /* Menu přes celou šířku od spodku lišty dolů. Horní hranu (top) nastaví
     home.js podle skutečné výšky lišty, stránka pod menu se neposouvá. */
  .menu-open { overflow: hidden; }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #17110D;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; animation: menu-in 0.45s var(--ease) both; }
  .nav ul { flex-direction: column; gap: 0; counter-reset: menu; }
  .nav li { counter-increment: menu; }
  .nav ul a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(24px, 7vw, 30px);
    font-weight: 700;
    font-stretch: 112%;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--fg);
  }
  .nav ul a::before {
    content: counter(menu, decimal-leading-zero);
    min-width: 22px;
    font-size: 12.5px;
    font-weight: 600;
    font-stretch: 100%;
    letter-spacing: 0;
    color: var(--tan);
    font-variant-numeric: tabular-nums;
  }
  .nav ul a::after { content: "\2192"; margin-left: auto; font-size: 18px; font-weight: 400; color: var(--tan); }
  .nav ul a:hover { color: var(--tan); }
  .nav__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 32px; }
  .nav__foot .btn { width: 100%; }
  .nav__phone {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 16px;
    border-top: 1px dashed var(--line-strong);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    color: var(--fg);
  }
  .nav__phone span { font-size: 13px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--fg-muted); }
  .no-js .nav { position: static; display: flex; padding: 0; background: none; }
  .no-js .nav__foot { display: none; }

  .plans, .van .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan__top { min-height: 0; }
  .ba-layout, .faq-layout, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .sec-head { position: static; }
  .site-foot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .grid-lines { grid-template-columns: repeat(2, 1fr); }
  .grid-lines span:nth-child(3) { display: none; }
  .bar__cta { padding: 9px 14px; font-size: 12px; }
  .logo__mark { font-size: 30px; }

  .hero__media img { object-position: 57% 40%; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(23,17,13,0.82) 0%, rgba(23,17,13,0.52) 30%, rgba(23,17,13,0.86) 58%, rgba(23,17,13,0.97) 100%);
  }
  .hero__body { padding-top: 22px; padding-bottom: 28px; }
  h1 { font-size: clamp(38px, 11vw, 56px); letter-spacing: -0.035em; }
  .lede { font-size: 15px; }
  .actions { margin-top: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .hero__foot { flex-direction: column; }

  .sec-head { display: flex; flex-direction: column; align-items: flex-start; }
  .sec-label { padding-top: 0; }
  h2 { font-size: clamp(32px, 9vw, 44px); }

  .why, .plans, .reviews, .steps, .extras { grid-template-columns: 1fr; }
  .why li, .why li:first-child, .why li:nth-child(3) { padding: 22px 0; border-left: 0; }
  .why li + li { border-top: 1px solid var(--line); }
  .steps .steps__mark::after { border-top-color: transparent; }
  .ba { aspect-ratio: 4 / 5; }
  .ba-caption { flex-direction: column; }
  .faq details p { padding-right: 0; }
  .cities { grid-template-columns: 1fr; }
  .booking, .booking__more[open] { grid-template-columns: minmax(0, 1fr); }
  .slots__days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .slots__blocks { grid-template-columns: minmax(0, 1fr); }
  .switch.switch--3 label { padding: 8px 6px; font-size: 13px; }
  .van__list .van__meta { justify-items: start; text-align: left; }

  /* Plovoucí lišta dole: Zavolat a Rezervovat. Místo pro ni drží padding těla. */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(23, 17, 13, 0.96);
    border-top: 1px solid var(--line);
  }
  .dock .btn { justify-content: center; min-height: 52px; padding: 14px 16px; }
  .menu-open .dock { display: none; }
  .booking__submit .btn { min-width: 0; flex: 1 1 100%; }
  .booking__title { flex-direction: column; gap: 4px; }
  .site-foot__top { grid-template-columns: 1fr 1fr; }
  .site-foot__bottom { flex-direction: column; }
}

/* ==========================================================================
   STRÁNKA /FIRMY: bez hero, obsah začíná pod fixní lištou
   ========================================================================== */
.section--page { padding-top: calc(var(--bar-h, 96px) + clamp(40px, 6vw, 96px)); }
.section--page h1 { font-size: clamp(38px, 4.6vw, 72px); }
.section--page .sec-intro a { color: var(--accent-text); }
.nav ul a[aria-current="page"] { color: var(--fg); }
