/* Písmo Manrope (OFL) uložené přímo u webu. Statické řezy pro každou tloušťku –
   proměnný font vykresloval v některých prohlížečích (Comet) české znaky tence. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/manrope-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/manrope-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/manrope-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/manrope-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/manrope-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/manrope-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/manrope-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/manrope-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-alt: #0c0c0c;
  --surface: #111111;
  --text: #ffffff;
  --muted: #a3a3a3;
  --line: #262626;
  --line-strong: #4a4a4a;
  --accent: #e00000; /* tlačítka a plochy s bílým textem – kontrast 4,8 : 1 */
  --accent-ink: #ffffff;
  --secondary: #fd0000;
  --secondary-soft: rgba(253, 0, 0, .14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --radius: 12px;
  --gutter: 16px;
  --header-h: 60px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* místo pro mobilní lištu */
}

/* Stránka se zásadami */
.page-legal { padding-bottom: 0; }
.legal h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.125rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 8px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-underline-offset: 3px; }

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }
.muted { color: var(--muted); }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--small { min-height: 40px; padding: 0 16px; }
.btn--full { width: 100%; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* Hlavička */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0,0,0,.82);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
/* Vánoční proužek – po Vánocích smazat */
.promo {
  margin: 0; padding: 10px 16px; text-align: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: .875rem; font-weight: 500;
}
.promo a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.6); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.logo img { width: 44px; height: 44px; }

.menu-toggle {
  width: 44px; height: 44px; margin-right: -10px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 20px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s var(--ease-out), visibility 0s .2s;
}
.nav.is-open {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity .25s ease, transform .3s var(--ease-out), visibility 0s;
}
.nav a { opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s var(--ease-out); }
.nav.is-open a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 35ms + 60ms); }
.nav a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav .btn { margin-top: 16px; }

/* Sekce */
.section { padding: 64px 0; }
.section--alt { background: var(--bg); }
.section__head { margin-bottom: 32px; display: grid; gap: 10px; }
.section__head p { color: var(--muted); }
.section__cta { margin-top: 32px; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.25rem); }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero__inner { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.25rem); font-weight: 700; }
.hero__lead { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; width: 100%; }
@media (min-width: 960px) { .hero__media { max-width: 460px; justify-self: end; width: 100%; } }
.rating { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-decoration: none; }
.rating__avatars { display: flex; }
.rating__avatars img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; background: var(--surface);
  transition: transform .3s var(--ease-out);
}
.rating__avatars img + img { margin-left: -14px; }
.rating__text { display: grid; gap: 2px; }
.rating__stars { color: #f5b400; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.rating__text strong { font-weight: 600; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .rating:hover .rating__avatars img:nth-child(2) { transform: translateX(4px); }
  .rating:hover .rating__avatars img:nth-child(3) { transform: translateX(8px); }
}

/* Ceník */
.group-title { font-size: 1rem; font-weight: 600; margin: 32px 0 12px; }
.group-title:first-of-type { margin-top: 0; }
.cards { display: grid; gap: 12px; }
.card {
  position: relative;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.card p { color: var(--muted); font-size: .9375rem; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.card h4 { font-size: 1.0625rem; font-weight: 600; }
.card .price { color: var(--text); font-weight: 700; white-space: nowrap; font-size: 1rem; }
.card--featured { border-color: var(--secondary); }
.badge {
  display: inline-block; margin-bottom: 10px;
  font-size: .75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: var(--secondary-soft); color: #ff4545;
}

/* Galerie */

/* Průběh */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700;
  position: relative; z-index: 1;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 20px; top: 48px; bottom: -20px; width: 1px;
  background: var(--secondary); opacity: .35;
  transform-origin: top; transition: transform .8s var(--ease-out) .3s;
}
.steps h3 { font-size: 1.0625rem; font-weight: 600; align-self: center; }
.steps p { color: var(--muted); }

/* Recenze */
.section__head--center { text-align: center; justify-items: center; }
.reviews-layout { display: grid; gap: 16px; }
.review-summary { display: grid; gap: 12px; }
.summary-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); text-decoration: none;
}
.summary-card__icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center; background: #1a1a1a; border: 1px solid var(--line);
}
.summary-card__count { font-weight: 600; font-size: 1.0625rem; }
.summary-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.pill { padding: 1px 8px; border: 1px solid var(--line); border-radius: 6px; background: #1a1a1a; font-size: .875rem; }
.stars { color: #f5b400; letter-spacing: 2px; font-size: .9375rem; line-height: 1; }

.reviews-wall { display: grid; gap: 12px; }
.reviews-track { display: flex; flex-direction: column; gap: 12px; }
.review {
  padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  display: grid; gap: 12px;
}
.review__head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 0; }
.avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 600; font-size: 1.125rem;
}
.review__name { font-weight: 600; }
.review__src { font-size: .875rem; color: var(--muted); }
.review__src a, .quote__meta a { color: inherit; text-decoration: none; }
.review__src a:hover, .quote__meta a:hover { text-decoration: underline; }
.review__body { padding: 14px; border-radius: 10px; background: #1a1a1a; }
.review__body .stars { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.review blockquote { margin: 0; line-height: 1.55; }

/* Nekonečně jedoucí sloupce (sestaví script.js) */
.reviews-wall.is-marquee {
  grid-template-columns: repeat(var(--cols, 1), 1fr);
  height: 520px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.is-marquee .reviews-track { animation: marquee var(--dur, 40s) linear infinite; }
.is-marquee .reviews-track:nth-child(even) { animation-direction: reverse; }
@keyframes marquee { to { transform: translateY(calc(-50% - 6px)); } }
@media (hover: hover) and (pointer: fine) {
  .is-marquee:hover .reviews-track { animation-play-state: paused; }
}

@media (min-width: 640px) {
  .review-summary { grid-template-columns: 1fr 1fr; }
  .reviews-wall { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .reviews-layout { grid-template-columns: 320px 1fr; gap: 32px; align-items: center; }
  .review-summary { grid-template-columns: 1fr; gap: 24px; }
  .reviews-wall.is-marquee { height: 680px; }
}

/* Kontakt */
.contact { display: grid; gap: 24px; align-items: start; }
.contact__form h2 { margin-bottom: 8px; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.form__row { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.form .checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .checkbox input { width: 20px; min-height: 20px; height: 20px; margin: 2px 0 0; padding: 0; flex-shrink: 0; accent-color: var(--accent); }
.form__status { font-size: .9375rem; min-height: 1.5em; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #4ade80; }
.form__status.is-error { color: #ff6b6b; }

/* Výběr služeb ve formuláři */
.form__chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__chips legend { padding: 0; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
.form__chips legend .muted { font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chip {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); font-size: .9375rem; font-weight: 500; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.form .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.form__chips.is-invalid .chip { border-color: #ff6b6b; }

/* Kontaktní údaje */
.contact__info { display: grid; gap: 24px; }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .875rem; }
@media (min-width: 640px) {
  .contact-list div { grid-template-columns: 96px 1fr; gap: 16px; }
  .contact-list dt { font-size: inherit; }
}
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { text-underline-offset: 3px; }
.contact-list a[href^="tel"] { text-decoration: none; font-weight: 600; }

.map { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.map img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.map__open {
  position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.7); backdrop-filter: blur(6px); color: #fff; font-size: .8125rem; font-weight: 600;
}
.map__attr { position: absolute; right: 8px; bottom: 6px; font-size: .6875rem; color: rgba(255,255,255,.6); }
@media (hover: hover) and (pointer: fine) {
  .map:hover img { transform: scale(1.03); }
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover { border-color: var(--line-strong); }
  .chip:has(input:checked):hover { border-color: var(--text); }
  .contact-list a:hover { color: var(--secondary); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 32px 18px 0; position: relative; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  transition: transform .25s var(--ease-out);
  font-size: 1.375rem; font-weight: 400; color: var(--muted);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--text); }
.faq details > p { padding: 0 0 18px; color: var(--muted); }

/* Poukazy */
.gift { display: grid; gap: 32px; align-items: center; }
.gift__text { display: grid; gap: 16px; justify-items: start; }
.gift__text p { color: var(--muted); }
.gift img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* Patička */
.footer { border-top: 1px solid var(--line); font-size: .9375rem; }
.footer a { text-decoration: none; transition: color .2s ease; }
.footer__cta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-top: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer__cta-title { font-size: clamp(1.6rem, 4.5vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.footer__phone { display: inline-block; margin-top: 6px; font-size: 1.125rem; color: var(--muted); }
.footer__inner { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.footer .logo { margin-bottom: 24px; }
.footer .logo img { width: 48px; height: 48px; }
.footer__heading { margin-bottom: 12px; font-size: .875rem; color: var(--muted); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__list a { word-break: break-word; }
.footer__info { margin: 0; display: grid; gap: 6px; color: var(--muted); }
.footer__info div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.footer__info dt { color: var(--text); }
.footer__info dd { margin: 0; }
.footer__info div:first-child dd { color: var(--text); font-weight: 600; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--muted);
}
.footer__copy a { margin-left: 16px; }
.footer__bottom a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form .checkbox a { color: var(--text); text-underline-offset: 3px; }
.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; }
@media (hover: hover) and (pointer: fine) {
  .footer__list a:hover, .footer__phone:hover { color: var(--secondary); }
}
@media (min-width: 640px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .footer__cta { padding-top: 72px; padding-bottom: 56px; }
  .footer__inner { grid-template-columns: 2fr 1.5fr 1fr; padding-top: 56px; padding-bottom: 56px; }
}

/* Mobilní lišta */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,.88); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn--ghost { background: var(--bg); }
/* Lišta vyjede až po odjetí z úvodní části (bez JS je vidět hned) */
.js .mobile-bar { transform: translateY(100%); transition: transform .3s var(--ease-out); }
.js .mobile-bar.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .mobile-bar { transition: none; } }

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .header .logo img { width: 52px; height: 52px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .menu-toggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 24px;
    padding: 0; border: 0; background: none; box-shadow: none;
    opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: none;
  }
  .nav a, .nav.is-open a { opacity: 1; transform: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .16s var(--ease-out); }
  .nav a:not(.btn) { padding: 0; border: 0; font-size: .9375rem; color: var(--muted); }
  .nav a:not(.btn):hover { color: var(--text); }
  .nav .btn { margin-top: 0; }

  .section { padding: 96px 0; }
  .section__head { margin-bottom: 40px; }
  .hero { padding: 72px 0 96px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; row-gap: 12px; }
  .steps li::before { grid-row: auto; }
  .steps li:not(:last-child)::after { left: 52px; right: -20px; top: 20px; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .contact { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .gift { grid-template-columns: 1fr 1fr; gap: 64px; }
}


/* Interakce jen pro myš */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #fff; border-color: #fff; color: #000; }
  .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--line-strong); color: var(--text); }
  .card { transition: transform .3s var(--ease-out), border-color .2s ease, box-shadow .3s var(--ease-out); }
  .card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 32px rgba(0,0,0,.5); }
  .card--featured:hover { border-color: var(--secondary); }
}

/* Citát pod hero */
.quote-band { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote { margin: 0; }
.quote blockquote {
  margin: 0; max-width: 26em;
  font-size: clamp(1.375rem, 4.2vw, 2.25rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em;
  text-wrap: balance;
}
.quote blockquote::before { content: "„"; }
.quote blockquote::after { content: "“"; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; }
.quote__meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: .875rem; color: var(--muted); }
.quote__meta .stars { font-size: .8125rem; }
.quote__more { flex-basis: 100%; font-size: .9375rem; color: var(--muted); text-underline-offset: 4px; }
.quote__more:hover { color: var(--text); }
@media (min-width: 640px) { .quote__more { flex-basis: auto; margin-left: auto; } }
@media (min-width: 960px) { .quote-band { padding: 88px 0; } }

/* Tmavá sekce (poukazy) */
.section--dark { background: var(--bg); }

/* FAQ – plynulé rozbalení (kde to prohlížeč umí) */
:root { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .3s var(--ease-out), content-visibility .3s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* Animace při načtení a posunu – jen s JS */
.js .hero-in { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 50ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-in-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal-clip.is-visible { clip-path: inset(0 0 0 0); }

.js .steps li:not(:last-child)::after { transform: scaleY(0); }
.js .steps li.is-visible:not(:last-child)::after { transform: none; }
@media (min-width: 960px) {
  .js .steps li:not(:last-child)::after { transform: scaleX(0); }
  .js .steps li.is-visible:not(:last-child)::after { transform: none; }
}

/* Omezený pohyb: jen prolínání */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-in { animation-name: fade; }
  @keyframes fade { from { opacity: 0; } }
  .js .reveal { transform: none; }
  .js .reveal-clip { clip-path: none; opacity: 0; transition: opacity .6s ease; }
  .js .reveal-clip.is-visible { opacity: 1; }
  .js .steps li:not(:last-child)::after { animation: none; transform: none; transition: none; }
  .card, .card:hover, .btn:active, .nav, .nav a { transform: none !important; }
  .is-marquee .reviews-track { animation: none; }
}

/* Kalkulačka */
.calc { display: grid; gap: 24px; align-items: start; }
.calc__options { display: grid; gap: 32px; min-width: 0; }
.calc__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__group legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.calc__group legend .muted { font-weight: 400; }
.calc__group[hidden] { display: none; }
.calc__tiles, .calc__services, .calc__rows { display: grid; gap: 8px; }

.opt {
  position: relative; display: grid; gap: 4px 12px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.opt input[type="radio"], .opt input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--secondary); background: rgba(253, 0, 0, .06); }
.opt:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.opt__title { font-weight: 600; }
.opt__hint { display: block; font-size: .875rem; color: var(--muted); line-height: 1.4; }
.opt__price { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .2s ease; }
.opt:has(input:checked) .opt__price { color: var(--text); }

/* Vlastní přepínač a zaškrtávátko */
.opt__control {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  transition: border-color .2s ease, background-color .2s ease;
}
.opt__control::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  transform: scale(0); transition: transform .2s var(--ease-out);
}
.opt__control--check { border-radius: 6px; }
.opt__control--check::after {
  width: 10px; height: 6px; border-radius: 0; background: none;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg) scale(0);
}
.opt:has(input:checked) .opt__control { border-color: var(--secondary); background: var(--secondary); }
.opt:has(input:checked) .opt__control::after { transform: scale(1); }
.opt:has(input:checked) .opt__control--check::after { transform: translateY(-1px) rotate(-45deg) scale(1); }

/* Typ vozu – dlaždice */
.opt--tile { grid-template-columns: auto 1fr auto; align-items: center; }
.opt--tile .opt__hint { grid-column: 2 / -1; grid-row: 2; }
.opt--tile .opt__price { grid-column: 3; grid-row: 1; }

/* Řádky (znečištění, doplňky, domácnost) */
.opt--row { grid-template-columns: auto 1fr auto; align-items: center; }

/* Služby s rozbalovacím popisem */
.opt--service { padding: 0; cursor: default; }
.opt__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px 16px 8px; cursor: pointer; }
.opt__more { padding: 0 16px 12px 48px; }
.opt__more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; color: var(--muted);
}
.opt__more summary::-webkit-details-marker { display: none; }
.opt__more summary::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease-out);
}
.opt__more[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.opt__more summary:hover { color: var(--text); }
.opt__more p { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.opt__more::details-content { block-size: 0; overflow: hidden; transition: block-size .25s var(--ease-out), content-visibility .25s allow-discrete; }
.opt__more[open]::details-content { block-size: auto; }

/* Čištění domácnosti */
.calc__home { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.calc__home > summary {
  list-style: none; cursor: pointer; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.calc__home > summary::-webkit-details-marker { display: none; }
.calc__home > summary::after {
  content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease-out);
}
.calc__home[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.calc__home > .calc__rows { padding: 0 8px 8px; }
.calc__home .opt { background: #161616; }
.calc__home::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease-out), content-visibility .3s allow-discrete; }
.calc__home[open]::details-content { block-size: auto; }
.opt--qty { grid-template-columns: 1fr auto; cursor: default; }
.opt--qty:has(input:focus-visible) { outline: none; }
.opt--qty .opt__text { cursor: default; }
.qty { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.qty input {
  width: 76px; min-height: 44px; padding: 8px 10px; text-align: center;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  -moz-appearance: textfield;
}
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.opt--qty.is-active { border-color: var(--secondary); background: rgba(253, 0, 0, .06); }

/* Shrnutí */
.calc__summary {
  padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  display: grid; gap: 16px;
}
.calc__label { font-size: .875rem; color: var(--muted); }
.calc__total { font-size: clamp(2.25rem, 9vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc__total.is-empty { color: var(--muted); font-size: 1.125rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.calc__lines { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .9375rem; }
.calc__lines:empty { display: none; }
.calc__lines li { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.calc__lines li span:last-child { color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__note { font-size: .875rem; color: var(--muted); }
.calc__actions { display: grid; gap: 8px; }
.calc__actions .btn[disabled], .calc__actions .btn.is-disabled { opacity: .4; pointer-events: none; }
.calc__call { font-size: .9375rem; color: var(--muted); text-align: center; }
.calc__call a { color: var(--text); font-weight: 600; text-decoration: none; }

/* Plovoucí cena na mobilu */
.calc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 31;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(12,12,12,.92); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .3s var(--ease-out);
}
.calc-bar.is-visible { transform: none; }
.calc-bar__label { display: block; font-size: .75rem; color: var(--muted); }
.calc-bar__total { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (min-width: 640px) {
  .calc__tiles { grid-template-columns: repeat(3, 1fr); }
  .opt--tile { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px 16px; gap: 6px; }
  .opt--tile .opt__control { order: -1; margin-bottom: 4px; }
  .opt--tile .opt__hint, .opt--tile .opt__price { grid-column: auto; grid-row: auto; }
  .opt--tile .opt__price { margin-top: 6px; }
  .calc__services { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 960px) {
  .calc { grid-template-columns: 1fr 360px; gap: 32px; }
  .calc__summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; }
  .calc-bar { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .opt:hover, .calc__home:has(> summary:hover) { border-color: var(--line-strong); }
  .opt:has(input:checked):hover { border-color: var(--secondary); }
  .opt--service:hover { border-color: var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .calc-bar { transition: none; }
}

/* Před / po */
.works { display: grid; gap: 16px; grid-template-areas: "head" "ba" "thumbs" "count"; }
.works__text { display: contents; }
.works .section__head { grid-area: head; margin-bottom: 8px; }
.ba { grid-area: ba; }
.ba-thumbs { grid-area: thumbs; }
.ba-count { grid-area: count; }

.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: 16px;
  aspect-ratio: 3 / 4; background: var(--surface);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .3s ease; }
.ba.is-loading .ba__img { opacity: .4; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .16s var(--ease-out);
}
.ba__knob::before, .ba__knob::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px;
  border: 5px solid transparent;
}
.ba__knob::before { left: 9px; border-right: 6px solid #000; border-left: 0; }
.ba__knob::after { right: 9px; border-left: 6px solid #000; border-right: 0; }
.ba.is-dragging .ba__knob { transform: scale(.92); }
.ba__tag {
  position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px); color: #fff; font-size: .8125rem; font-weight: 600;
  pointer-events: none;
}
.ba__tag--pred { left: 12px; }
.ba__tag--po { right: 12px; }
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--text); outline-offset: 3px; }

.ba-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px;
  overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
}
.ba-thumbs::-webkit-scrollbar { display: none; }
.ba-thumb {
  padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--surface);
  outline: 2px solid transparent; outline-offset: 2px; opacity: .55;
  transition: opacity .2s ease, outline-color .2s ease, transform .16s var(--ease-out);
}
.ba-thumb img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-thumb[aria-current="true"] { opacity: 1; outline-color: var(--secondary); }
.ba-thumb:active { transform: scale(.96); }
.ba-thumb:focus-visible { outline-color: var(--text); }
.ba-count { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (hover: hover) and (pointer: fine) {
  .ba-thumb:hover { opacity: 1; }
}
@media (min-width: 640px) {
  .ba { max-width: 520px; width: 100%; justify-self: center; }
}
@media (min-width: 960px) {
  .works {
    grid-template-columns: 1fr 480px; column-gap: 64px; row-gap: 16px;
    grid-template-areas: ". ba" "head ba" "thumbs ba" "count ba" ". ba";
    grid-template-rows: 1fr auto auto auto 1fr;
  }
  .works .section__head { margin-bottom: 16px; }
  .ba { max-width: none; }
  .ba-thumbs { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; max-width: 360px; }
}

/* ===== Mobil: přehlednější rozložení ===== */

/* Popis v ceníku – na mobilu sbalený, od tabletu vždy vidět */
.card__more > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; color: var(--muted);
}
.card__more > summary::-webkit-details-marker { display: none; }
.card__more > summary::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease-out);
}
.card__more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.card__more p { margin-top: 8px; }
.card__more::details-content { block-size: 0; overflow: hidden; transition: block-size .25s var(--ease-out), content-visibility .25s allow-discrete; }
.card__more[open]::details-content { block-size: auto; }

@media (max-width: 639px) {
  .section { padding: 48px 0; }
  .quote-band { padding: 40px 0; }
  .section__head { margin-bottom: 24px; }

  .hero { padding: 28px 0 40px; }
  .hero__inner { gap: 24px; }
  .hero__media img { aspect-ratio: 1 / 1; object-position: center 15%; }

  .card { padding: 14px 16px; }
  .card__head { margin-bottom: 2px; }
  .badge { margin-bottom: 6px; }
  .group-title { margin: 24px 0 10px; }

  .calc__options { gap: 24px; }
  .opt { padding: 12px 14px; }
  .opt__main { padding: 12px 14px 4px; }
  .opt__more { padding: 0 14px 10px 46px; }
  .calc__home > summary { padding: 12px 14px; }

  /* Recenze do strany */
  .reviews-layout { gap: 12px; }
  .review-summary { grid-template-columns: 1fr 1fr; gap: 8px; }
  .summary-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .summary-card__icon { width: 40px; height: 40px; border-radius: 10px; }
  .summary-card__count { font-size: .9375rem; line-height: 1.3; }
  .summary-card__meta { gap: 6px; }
  .reviews-wall {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .reviews-wall::-webkit-scrollbar { display: none; }
  .reviews-wall .review { flex: 0 0 82%; }
}
@media (min-width: 640px) {
  .card__more > summary { display: none; }
  .card__more p { margin-top: 0; }
}

/* Exteriér – fotky hotových aut pod posuvníkem */
.exterior { margin-top: 56px; }
.exterior__title { margin: 0 0 16px; }
.exterior__list {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.exterior__list::-webkit-scrollbar { display: none; }
.exterior__list li { scroll-snap-align: start; }
.exterior__list img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
@media (min-width: 640px) {
  .exterior__list { grid-auto-columns: 30%; }
}
@media (min-width: 960px) {
  .exterior { margin-top: 80px; }
  .exterior__list { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; gap: 12px; overflow: visible; margin: 0; padding: 0; }
}
