/* =====================================================================
   style.css — jeden CSS soubor pro celý web (boilerplate GreatLeaders)
   Pravidla: design-kvalita (tokeny, typografie, rytmus, animace)
   Na WordPressu se enqueuuje beze změny. Tokeny měň jen v :root.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENY — jediné místo, kde se mění vzhled webu
   Barvy z loga zákazníka a firemního manuálu, potvrzené prototypem
   z Claude Design. Nikdy vymyšlená paleta.
   --------------------------------------------------------------------- */
:root {
  /* barvy — DOPLNIT z loga (design-kvalita, část Barvy) */
  --color-brand:       #1f4e79;   /* DOPLNIT: hlavní barva z loga */
  --color-brand-dark:  #163a5a;   /* DOPLNIT: hover / tmavší odstín */
  --color-accent:      #e07b00;   /* DOPLNIT: jen CTA, max. 1 akcent */
  --color-accent-dark: #b86300;
  --color-text:        #1a1a1a;   /* nikdy #000 */
  --color-text-muted:  #5f6368;
  --color-text-inverse:#ffffff;
  --color-bg:          #ffffff;
  --color-bg-alt:      #f4f6f8;
  --color-bg-dark:     #14202b;   /* patička, tmavé sekce */
  --color-border:      #e0e4e8;
  --color-error:       #b3261e;
  --color-success:     #1b7f3b;

  /* typografie — max. 2 rodiny, max. 3 váhy; fonty lokálně ve /fonts */
  --font-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font-base);
  --text-xs: 0.8rem;   --text-sm: 0.9rem;    --text-base: 1rem;    --text-lg: 1.25rem;
  --text-xl: 1.563rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem; --text-4xl: 3.052rem;
  --leading-tight: 1.15;
  --leading-body: 1.65;

  /* prostor — všechno ze škály, nic mimo ni */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 1rem;  --space-4: 1.5rem;
  --space-5: 2rem;    --space-6: 3rem;   --space-7: 4rem;  --space-8: 6rem;
  --section-y: clamp(3rem, 8vw, 6rem);   /* mezera mezi sekcemi: mobil 3 rem, desktop 6 rem */
  --container: 1200px;
  --container-narrow: 65ch;

  /* rohy a stíny — dvě úrovně, nikdy víc */
  --radius-sm: 6px;  --radius-md: 12px;  --radius-full: 999px;
  --shadow-1: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow-2: 0 12px 32px rgba(16,24,40,.08);

  /* pohyb — jednotné easingy a časy (design-kvalita, část Animace) */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 500ms;

  --header-h: 72px;
}

/* ---------------------------------------------------------------------
   2. FONTY — lokálně, nikdy z Google serverů. Ověř diakritiku (ď ť ů ě).
   Soubory do /fonts, názvy níže uprav. Když projekt font nemá, smaž
   @font-face a nech systémový stack.
   --------------------------------------------------------------------- */
/*
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/inter-700.woff2") format("woff2");
}
*/

/* ---------------------------------------------------------------------
   3. RESET A ZÁKLAD
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }   /* zavřené mobilní menu (translateX) nesmí rozšířit stránku do strany */
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--text-base);          /* nikdy pod 16 px */
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--color-bg-alt); }   /* rezervovaná plocha, žádný skok */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: var(--leading-tight); margin: 0 0 var(--space-3); text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw + 0.5rem, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw + 0.4rem, 2.4rem); }
h3 { font-size: var(--text-lg); }
p, ul, ol { margin: 0 0 var(--space-3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--color-brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; transition: text-decoration-thickness var(--dur-fast); }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); vertical-align: top; }
th { font-weight: 600; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
.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; }
.skip-link { position: absolute; left: var(--space-3); top: -100px; z-index: 1000; padding: var(--space-2) var(--space-3); background: var(--color-bg); color: var(--color-text); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); }
.skip-link:focus { top: var(--space-3); }

/* zástupný obsah — [DOPLNIT] musí být vidět, aby nezůstal na webu */
.placeholder { background: #fff3cd; color: #7a5c00; border: 1px dashed #d4a800; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }

/* ---------------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--space-4), var(--container)); margin-inline: auto; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-inverse); }
.section--dark a { color: inherit; }
.section__head { max-width: 40rem; margin-bottom: var(--space-6); }
.section__head p { color: var(--color-text-muted); font-size: var(--text-lg); }
.section--dark .section__head p { color: rgba(255,255,255,.8); }
.grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.prose { max-width: var(--container-narrow); }
.prose h2 { margin-top: var(--space-6); }
.prose h3 { margin-top: var(--space-5); }
.prose ul { padding-left: 1.2em; }
.eyebrow { display: inline-block; font-size: var(--text-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-2); }

/* ---------------------------------------------------------------------
   5. HLAVIČKA A NAVIGACE
   --------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--color-bg); border-bottom: 1px solid var(--color-border); transition: transform var(--dur-base) var(--ease-in-out); }
.header.is-hidden { transform: translateY(-100%); }        /* Standard: schová se při scrollu dolů */
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-h); }
.header__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-text); font-weight: 700; font-size: var(--text-lg); }
.header__logo img { height: 40px; width: auto; background: none; }
.nav__list { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__link { text-decoration: none; color: var(--color-text); font-weight: 600; padding: var(--space-2) 0; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header__contact { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; transition: transform var(--dur-base) var(--ease-in-out), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 960px) {
  .header__contact { display: inline-flex; }
}
@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--color-bg); padding: var(--space-5) var(--space-4); transform: translateX(100%); transition: transform var(--dur-base) var(--ease-in-out); overflow-y: auto; }
  .nav.is-open { transform: none; }
  html:not(.js) .nav { position: static; transform: none; padding: 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--color-border); }
  .nav__link { display: block; padding: var(--space-3) 0; font-size: var(--text-lg); }
  html.js .nav.is-open .nav__list li { animation: nav-in var(--dur-slow) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------------
   6. TLAČÍTKA
   --------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), background var(--dur-fast), color var(--dur-fast); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-dark); }
.btn--secondary { background: var(--color-brand); color: #fff; }
.btn--secondary:hover { background: var(--color-brand-dark); }
.btn--outline { background: transparent; color: var(--color-brand); border-color: currentColor; }
.btn--outline:hover { background: var(--color-brand); color: #fff; }
.section--dark .btn--outline { color: #fff; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   7. HERO — H1 statický (LCP), text nikdy na neupravenou fotku
   --------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 10vw, 7rem); background: var(--color-bg-alt); overflow: hidden; }
.hero--image { color: var(--color-text-inverse); background: var(--color-bg-dark); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: none; }
.hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.65), rgba(0,0,0,.15)); z-index: 1; }
.hero__inner { position: relative; z-index: 2; max-width: 44rem; }
.hero__lead { font-size: var(--text-lg); max-width: 36rem; margin-bottom: var(--space-5); }
.hero--image .hero__lead { color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.hero--image .hero__proof { color: rgba(255,255,255,.8); }

/* ---------------------------------------------------------------------
   8. KARTY, ČÍSLA, REFERENCE, GALERIE
   --------------------------------------------------------------------- */
.card { display: flex; flex-direction: column; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; color: inherit; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card__img { transform: scale(1.03); }
.card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card__title { margin: 0; font-size: var(--text-lg); }
.card__text { color: var(--color-text-muted); margin: 0; }
.card__link { margin-top: auto; font-weight: 600; }

.stats { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); text-align: center; }
.stat__value { font-size: var(--text-3xl); font-weight: 700; line-height: 1; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.section--dark .stat__value { color: #fff; }
.stat__label { color: var(--color-text-muted); margin-top: var(--space-2); }
.section--dark .stat__label { color: rgba(255,255,255,.8); }

.testimonial { padding: var(--space-4); background: var(--color-bg); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); }
.testimonial p { font-size: var(--text-lg); }
.testimonial cite { font-style: normal; font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); }

.gallery { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-md); filter: saturate(.95) contrast(1.02); }

.portrait { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius-md); }

/* ---------------------------------------------------------------------
   9. FAQ — <details>, obsah viditelný pro AI i bez JS
   --------------------------------------------------------------------- */
.faq { max-width: var(--container-narrow); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; cursor: pointer; font-weight: 600; font-size: var(--text-lg); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--dur-base) var(--ease-out); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding-bottom: var(--space-4); color: var(--color-text-muted); }

/* ---------------------------------------------------------------------
   10. FORMULÁŘE — label nad polem, chyba pod polem, stav odesílání
   --------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: var(--space-1); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field input, .field select, .field textarea { font: inherit; padding: var(--space-2) var(--space-3); min-height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); color: var(--color-text); width: 100%; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand) 20%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--color-error); }
.field__error { color: var(--color-error); font-size: var(--text-sm); display: none; }
.field.is-invalid .field__error { display: block; animation: fade-in var(--dur-base) var(--ease-out); }
.field__hint { color: var(--color-text-muted); font-size: var(--text-sm); }
.form-note { font-size: var(--text-sm); color: var(--color-text-muted); }
.form__check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); }
.form__check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form__status { display: none; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); }
.form__status.is-success { display: block; background: #e6f4ea; color: var(--color-success); }
.form__status.is-error { display: block; background: #fdecea; color: var(--color-error); }
.honeypot { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------------
   11. INTERAKTIVNÍ APLIKACE (kalkulačka) — sekce #kalkulacka
   --------------------------------------------------------------------- */
.app { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.app__panel { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); }
.app__steps { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }
.app__steps span { flex: 1; height: 4px; border-radius: var(--radius-full); background: var(--color-border); }
.app__steps span.is-done { background: var(--color-brand); }
.app__result { background: var(--color-brand); color: #fff; border-radius: var(--radius-md); padding: var(--space-5); }
.app__result-value { font-size: var(--text-4xl); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.app__result-range { font-size: var(--text-lg); opacity: .9; margin-top: var(--space-2); }
.app__result-note { margin-top: var(--space-3); opacity: .85; font-size: var(--text-sm); }
.app__result .btn { margin-top: var(--space-4); }
html.js .app__result { opacity: 0; transform: scale(.96); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
html.js .app__result.is-visible { opacity: 1; transform: none; }
.app__nojs { color: var(--color-text-muted); }
html.js .app__nojs { display: none; }

/* ---------------------------------------------------------------------
   12. KONTAKT A PATIČKA — identifikační údaje čitelné i na mobilu
   --------------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.contact-list a { font-weight: 600; }
.footer { background: var(--color-bg-dark); color: rgba(255,255,255,.85); padding-block: var(--space-7) var(--space-5); font-size: var(--text-sm); }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: var(--space-6); }
.footer h2, .footer h3 { color: #fff; font-size: var(--text-base); margin-bottom: var(--space-3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; }
.footer__legal button { background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
address { font-style: normal; }

/* ---------------------------------------------------------------------
   13. COOKIE LIŠTA — opt-in, obě tlačítka stejně nápadná, neblokuje
   Vykresluje js/consent.js; třídy nepřejmenovávat (MIGRACE-WP).
   --------------------------------------------------------------------- */
.cookie-bar { position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 900; max-width: 560px; margin-inline: auto; background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-2); padding: var(--space-4); transform: translateY(calc(100% + var(--space-4))); opacity: 0; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow); }
.cookie-bar.is-visible { transform: none; opacity: 1; }
.cookie-bar h2 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.cookie-bar p { font-size: var(--text-sm); color: var(--color-text-muted); }
.cookie-bar__actions { display: grid; gap: var(--space-2); grid-template-columns: 1fr 1fr; margin-top: var(--space-3); }
.cookie-bar__actions .btn { min-height: 44px; padding-inline: var(--space-3); }
.cookie-bar__actions .btn--settings { grid-column: 1 / -1; }
.cookie-bar__options { display: none; margin-top: var(--space-3); border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.cookie-bar.is-expanded .cookie-bar__options { display: grid; gap: var(--space-2); }
.cookie-bar__option { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); }
.cookie-bar__option input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.cookie-bar__option strong { display: block; }
.cookie-bar__option span { color: var(--color-text-muted); }

/* mobil: lišta nesmí zabrat víc než třetinu obrazovky (legislativa-cz) */
@media (max-width: 600px) {
  .cookie-bar { padding: var(--space-3); left: var(--space-2); right: var(--space-2); bottom: var(--space-2); }
  .cookie-bar h2 { font-size: var(--text-base); margin-bottom: 2px; }
  .cookie-bar p { font-size: var(--text-xs); line-height: 1.35; }
  .cookie-bar__actions { margin-top: var(--space-2); gap: 6px; }
  .cookie-bar__actions .btn { min-height: 42px; padding-inline: var(--space-2); font-size: var(--text-xs); white-space: nowrap; }
  .cookie-bar__actions { grid-template-columns: 1fr 1fr; }
  .cookie-bar__actions .btn--settings { grid-column: 1 / -1; min-height: 32px; padding: .2em .6em; font-size: var(--text-xs); background: none; border: 0; color: var(--color-text-muted); text-decoration: underline; }
}


/* ---------------------------------------------------------------------
   14. VLOŽENÉ PRVKY PO SOUHLASU (mapa, video) — bez souhlasu náhled
   --------------------------------------------------------------------- */
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--color-bg-alt); border-radius: var(--radius-md); overflow: hidden; display: grid; place-items: center; }
.embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed__consent { position: relative; z-index: 1; text-align: center; padding: var(--space-4); background: rgba(255,255,255,.92); border-radius: var(--radius-md); max-width: 24rem; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------------
   15. /* motion */ — odhalení sekcí, jen transform + opacity
   Třídy .reveal / .reveal-group nikdy na hero H1, navigaci ani patičku.
   Bez JS (chybí html.js) je vše viditelné.
   --------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-group > * { transition-delay: calc(var(--i, 0) * 90ms); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.toast { position: fixed; top: var(--space-3); left: 50%; transform: translate(-50%, -150%); z-index: 950; background: var(--color-text); color: #fff; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); transition: transform var(--dur-base) var(--ease-out); display: flex; gap: var(--space-3); align-items: center; }
.toast.is-visible { transform: translate(-50%, 0); }
.toast button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { transition: opacity 200ms; transform: none; }
  html.js .reveal-group > * { transition-delay: 0ms; }
  .card:hover, .btn:hover { transform: none; }
  .card:hover .card__img { transform: none; }
  .header, .nav, .cookie-bar, .toast, html.js .app__result { transition: none; }
  html.js .nav.is-open .nav__list li { animation: none; }
}

/* ---------------------------------------------------------------------
   16. TISK — „Uložit jako PDF" u výsledku kalkulačky
   --------------------------------------------------------------------- */
@media print {
  .header, .footer, .cookie-bar, .nav-toggle, .toast, .hero__actions, .btn { display: none !important; }
  body { color: #000; background: #fff; }
  html.js .reveal, html.js .app__result { opacity: 1; transform: none; }
  a { text-decoration: none; color: inherit; }
}

.cookie-bar:focus { outline: none; }   /* lišta dostane fokus kvůli čtečkám, bez rámečku */
@font-face { font-family: "Montserrat"; font-weight: 400 800; font-display: swap; src: url("/fonts/montserrat-latin-ext.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: "Montserrat"; font-weight: 400 800; font-display: swap; src: url("/fonts/montserrat-latin.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; }

/* =====================================================================
   VaK PRAHA — vzhled (barvy z loga a bannerů V4–V5: tmavě modrá #001F2E, modrá #0A8CB8; písmo Montserrat jako v bannerech)
   Podpisový prvek: VLNA z písmene A v logu a ze spodního pruhu bannerů — vlna na spodní hraně hero a patičky, malá vlnka u nadtitulků.
   ===================================================================== */
:root {
  --color-brand: #0A8CB8; --color-brand-dark: #076f93; --color-accent: #0A8CB8; --color-accent-dark: #076f93;
  --navy: #001F2E; --color-text: #1d2a33; --color-text-muted: #55636c; --color-bg-alt: #eef6f9; --color-border: #d7e3e8;
  --font-base: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --header-h: 76px;
}
body.vak { font-family: var(--font-base); color: var(--color-text); background: #fff; font-size: 1.02rem; }
.vak h1, .vak h2, .vak h3 { color: var(--navy); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; hyphens: manual; }
.vak h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; margin: 0 0 .6rem; }
.vak h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.vak p { text-wrap: pretty; }
.nad { display: flex; align-items: center; gap: .55rem; margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--color-brand); }
.nad::before { content: ""; width: 1.8em; height: .7em; flex: none; background: currentColor; -webkit-mask: url(/img/vak/vlnka.svg) center / contain no-repeat; mask: url(/img/vak/vlnka.svg) center / contain no-repeat; }
.drobne { font-size: .85rem; color: var(--color-text-muted); }
.btn--primary { background: var(--color-brand); color: #fff; }
.btn--primary:hover { background: var(--color-brand-dark); color: #fff; }
.btn--obrys { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--obrys:hover { background: var(--navy); color: #fff; }
.btn--velke { min-height: 54px; padding-inline: 1.5rem; font-size: 1.02rem; }
.section { padding-block: clamp(2.8rem, 6vw, 5rem); }
.section--sedá { background: var(--color-bg-alt); }
.sekce__hlava { max-width: 46rem; margin-bottom: 1.8rem; } .sekce__hlava p { color: var(--color-text-muted); }

/* hlavička */
.vak .header { background: #fff; }
.vak .header__logo img { height: 34px; width: auto; }
.header__akce { display: flex; align-items: center; gap: .8rem; }
.header__tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header__tel-ikona { width: 1.1em; height: 1.1em; background: var(--color-brand); -webkit-mask: url(/img/vak/telefon.svg) center / contain no-repeat; mask: url(/img/vak/telefon.svg) center / contain no-repeat; }
.vak .nav__list { gap: 1.3rem; }
.vak .nav__link { font-weight: 700; color: var(--navy); }
.vak .nav__link[aria-current] { color: var(--color-brand); }
.nav__item { position: relative; }
.nav__nad { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 .4rem; }
.nav__mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.nav__mega a { display: block; padding: .5rem .7rem; border-radius: var(--radius-sm); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__mega a:hover { background: var(--color-bg-alt); color: var(--color-brand-dark); }
.nav__mega .nav__vse { margin-top: .3rem; border-top: 1px solid var(--color-border); border-radius: 0; padding-top: .7rem; color: var(--color-brand-dark); font-weight: 700; }
.nav__hlavni small { display: block; font-weight: 500; font-size: .8rem; color: var(--color-text-muted); }
@media (min-width: 1081px) {
  .nav__mega { position: absolute; top: 100%; left: -1rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; width: 620px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-2); padding: 1rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); z-index: 120; }
  .nav__mega--uzke { grid-template-columns: 1fr; width: 300px; }
  .nav__mega--uzke:has(.nav__hlavni) { width: 360px; }
  .nav__item--sub:hover .nav__mega, .nav__item--sub:focus-within .nav__mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__item--sub > .nav__link::after { content: ""; position: static; display: inline-block; width: .38em; height: .38em; margin-left: .4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; background: none; transform: translateY(-3px) rotate(45deg) !important; opacity: .6; }
  .vak .nav-toggle { display: none; }
}
@media (max-width: 1080px) {
  .vak .nav-toggle { display: block; }
  .vak .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1.5rem 1rem 3rem; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--dur-base), transform var(--dur-base), visibility 0s linear var(--dur-base); overflow-y: auto; z-index: 110; }
  .vak .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .vak .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .vak .nav__list > li { border-bottom: 1px solid var(--color-border); }
  .vak .nav__link { display: block; padding: .9rem 0; font-size: 1.15rem; }
  .nav__mega { padding: 0 0 .8rem .6rem; display: grid; gap: .6rem; }
  .header__cta { display: none; }
  .vak .header__logo img { height: 28px; }
}
@media (max-width: 480px) { .header__tel span:last-child { font-size: .9rem; } }

/* hero */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--color-bg-alt) 100%); padding-top: clamp(1.4rem, 3vw, 2.4rem); }
.hero__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero__in > * { min-width: 0; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; margin: 0 0 1rem; }
.hero__perex { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 40rem; color: var(--color-text); }
.hero__body { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.hero__body li { padding-left: 1.6rem; position: relative; font-weight: 600; }
.hero__body li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: .55rem; background: var(--color-brand); -webkit-mask: url(/img/vak/vlnka.svg) center / contain no-repeat; mask: url(/img/vak/vlnka.svg) center / contain no-repeat; }
.hero__akce { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero__foto { margin: 0; }
.hero__foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-2); background: var(--color-bg-alt); }
.hero__foto--ilu img { aspect-ratio: 1; object-fit: contain; box-shadow: none; background: none; }
.hero--uvod .hero__foto--ilu img { max-width: 560px; margin-inline: auto; display: block; }
.vlna { display: block; width: 100%; height: clamp(24px, 4vw, 54px); fill: var(--color-brand); }
.hero .vlna { position: absolute; left: 0; bottom: -1px; fill: #fff; }
.drobky { font-size: .85rem; color: var(--color-text-muted); margin-bottom: 1rem; } .drobky a { color: var(--color-text-muted); }
/* upozornění „nejsme PVK“ — v barvách webu, ne výstražná žlutá; ikona „i“ jako informace */
.pvk { position: relative; background: #EAF6FB; border: 1px solid #CBE7F2; padding: .75rem 1rem .75rem 2.9rem; border-radius: var(--radius-md); font-size: .9rem; line-height: 1.5; color: var(--navy); margin: 1rem 0; }
.pvk::before { content: "i"; position: absolute; left: .9rem; top: .78rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--color-brand); color: #fff; font: 800 .8rem/1.35rem Montserrat, sans-serif; text-align: center; }
.pvk a { color: var(--color-brand-dark); font-weight: 600; }
.pvk--uvod { margin: -1.5rem 0 3.5rem; z-index: 1; max-width: 52rem; }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; } .hero--uvod .hero__foto--ilu { max-width: 420px; } }

/* bloky */
.kdy { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.kdy li { background: var(--color-bg-alt); border-radius: var(--radius-md); padding: 1rem 1.1rem 1rem 3rem; position: relative; font-weight: 600; }
.kdy li::before { content: "!"; position: absolute; left: 1rem; top: .95rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--color-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.karty { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.karty--4 { grid-template-columns: repeat(4, 1fr); }
.karta { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-top: 4px solid var(--color-brand); border-radius: var(--radius-md); padding: 1.3rem; color: var(--color-text); text-decoration: none; transition: box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out); }
.karta:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.karta--staticka:hover { transform: none; box-shadow: none; }
.karta p { flex: 1; color: var(--color-text-muted); margin: 0 0 .6rem; }
.karta__cta { font-weight: 800; color: var(--color-brand-dark); }
.karta__mzda { font-weight: 700; color: var(--navy) !important; }
.karta--velka h3 { font-size: 1.3rem; }
.dalsi { margin-top: 1.6rem; } .dalsi ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.dalsi a { display: inline-block; padding: .55rem 1rem; border: 2px solid var(--color-border); border-radius: 99px; color: var(--navy); font-weight: 700; text-decoration: none; }
.dalsi a:hover { border-color: var(--color-brand); color: var(--color-brand-dark); }
.segmenty { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.segmenty a { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--color-border); color: var(--color-text); text-decoration: none; height: 100%; }
.segmenty a:hover { border-color: var(--color-brand); }
.segmenty b { color: var(--navy); } .segmenty span { color: var(--color-text-muted); font-size: .92rem; }
.kroky { list-style: none; counter-reset: k; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.kroky li { counter-increment: k; color: var(--color-text-muted); font-size: .95rem; }
.kroky li::before { content: counter(k); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.kroky b { display: block; color: var(--navy); margin-bottom: .2rem; }
.proc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.proc li { border-top: 3px solid var(--color-brand); padding-top: .8rem; color: var(--color-text-muted); }
.proc b { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: .2rem; }
.reference { margin: 0 0 1rem; } .reference blockquote { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 800; color: var(--navy); line-height: 1.3; }
.reference figcaption { margin-top: .5rem; color: var(--color-text-muted); }
.reference__pribeh { max-width: 52rem; }
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq__q { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; }
.faq__q summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--navy); }
.faq__q summary::-webkit-details-marker { display: none; }
.faq__q summary::after { content: "+"; color: var(--color-brand); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.faq__q[open] summary::after { content: "–"; }
.faq__q > div { padding: 0 1.2rem 1rem; } .faq__q p { margin: 0; }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.galerie--3 { grid-template-columns: repeat(3, 1fr); }
.galerie figure { margin: 0; } .galerie img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.galerie figcaption { font-size: .85rem; color: var(--color-text-muted); margin-top: .3rem; }
.seznam { padding-left: 1.2rem; display: grid; gap: .4rem; max-width: 52rem; }
.text { max-width: 46rem; }
.kontakt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.kontakt-grid .velky { font-size: 1.4rem; font-weight: 800; color: var(--navy); text-decoration: none; }

/* poptávka */
.poptavka { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.poptavka > * { min-width: 0; }
.poptavka__tel a { font-size: 1.35rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.poptavka .form { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-2); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: .9rem; }
.form__radek { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; } .form__radek--3 { grid-template-columns: 1fr 1fr 1fr; }
.vak .field label, .vak .field legend { font-weight: 700; font-size: .92rem; color: var(--navy); display: block; margin-bottom: .3rem; }
.vak .field input, .vak .field select, .vak .field textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #b9c8cf; border-radius: var(--radius-sm); min-height: 46px; background: #fff; }
.volby { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.volby legend { width: 100%; }
.volby label { display: inline-flex !important; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 2px solid var(--color-border); border-radius: 99px; font-weight: 600 !important; cursor: pointer; min-height: 44px; }
.volby label:has(input:checked) { border-color: var(--color-brand); background: #e6f4f9; }
.volby input { width: auto !important; min-height: 0 !important; accent-color: var(--color-brand); }

/* test lapolu */
.lapol { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.lapol > * { min-width: 0; }
.lapol__karta { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-2); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.lapol fieldset { border: 0; padding: 0 0 .9rem; margin: 0; border-bottom: 1px solid var(--color-border); display: flex; flex-wrap: wrap; gap: .4rem; }
.lapol legend { width: 100%; font-weight: 700; color: var(--navy); margin-bottom: .5rem; padding: 0; }
.lapol label { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 2px solid var(--color-border); border-radius: 99px; cursor: pointer; font-weight: 600; min-height: 44px; }
.lapol label:has(input:checked) { border-color: var(--color-brand); background: #e6f4f9; }
.lapol input { accent-color: var(--color-brand); }
.lapol__vysledek[hidden] { display: none; }
.lapol__vysledek { border-top: 3px solid var(--color-brand); padding-top: 1rem; }
.lapol__skore { margin: 0; } .lapol__skore b { font-size: 2.6rem; font-weight: 800; color: var(--color-brand-dark); }
.lapol__titulek { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin: .2rem 0 .8rem; }
.lapol__seznam { padding-left: 1.2rem; display: grid; gap: .5rem; margin: 0 0 1rem; } .lapol__seznam b { display: block; }
.je-nove { animation: vyjed .45s var(--ease-out) both; }
@keyframes vyjed { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* patička */
.vak .footer { background: none; color: #fff; padding: 0; }
.footer .vlna { fill: var(--navy); margin-bottom: -1px; }
.footer__in { background: var(--navy); padding: 2.5rem 0 1.5rem; }
.footer__logo { height: 30px; width: auto; filter: brightness(0) invert(1); background: none; margin-bottom: 1rem; }
.vak .footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.vak .footer h2 { color: #fff; font-size: 1rem; }
.vak .footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.vak .footer a { color: #fff; } .vak .footer address { font-style: normal; opacity: .9; }
.footer__tel { font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.vak .footer__legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; opacity: .9; }
.vak .footer__legal ul { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.vak .footer__legal button { background: none; border: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }

/* animace */
html.js .vak .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.js .vak .reveal.is-visible { opacity: 1; transform: none; }
html.js .vak .reveal .reveal-group > * { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html.js .vak .reveal.is-visible .reveal-group > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .vak .reveal, html.js .vak .reveal .reveal-group > * { transform: none; transition: opacity 200ms; transition-delay: 0s; } .karta:hover { transform: none; } .je-nove { animation: none; } }

@media (max-width: 1080px) { .karty--4 { grid-template-columns: 1fr 1fr; } .kroky { grid-template-columns: repeat(3, 1fr); } .proc { grid-template-columns: 1fr 1fr; } .vak .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .poptavka, .lapol, .kontakt-grid { grid-template-columns: 1fr; } .form__radek, .form__radek--3 { grid-template-columns: 1fr; } .galerie, .galerie--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .karty--4, .kroky, .proc, .vak .footer__grid { grid-template-columns: 1fr; } }

/* ===== 6 kategorií služeb, vyhledávání, ceník (27. 10. 2026, podle Veroniky) ===== */
.header__hledat { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 99px; color: var(--navy); }
.header__hledat:hover, .header__hledat:focus-visible { background: var(--color-bg-alt); color: var(--color-brand-dark); }
.nav__kategorie { list-style: none; margin: 0; padding: 0; }
.nav__mega .nav__kat-odkaz { font-weight: 800; }
.nav__mega .nav__pod { list-style: none; margin: 0 0 .3rem; padding: 0; display: grid; gap: 0; }
.nav__mega .nav__pod a { font-weight: 500; font-size: .88rem; padding: .28rem .7rem .28rem 1.5rem; color: var(--color-text-muted); position: relative; }
.nav__mega .nav__pod a::before { content: ""; position: absolute; left: .75rem; top: 50%; width: .4rem; height: 2px; background: var(--color-brand); }
@media (min-width: 1081px) {
  .nav__mega--sluzby { width: 680px; grid-template-columns: 1fr; }
  .nav__kategorie { columns: 2; column-gap: 1.2rem; }
  .nav__kat { break-inside: avoid; margin-bottom: .3rem; }
}
@media (max-width: 1080px) { .header__hledat { width: 38px; height: 38px; } }
.karty--3 { grid-template-columns: repeat(3, 1fr); }
.karta--kat { display: flex; flex-direction: column; }
.karta--kat h3 a { color: inherit; text-decoration: none; }
.karta--kat h3 a:hover { color: var(--color-brand-dark); }
.karta--kat > p { margin-bottom: .6rem; }
.karta__pod { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .2rem; }
.karta__pod a { color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none; padding-left: 1.4rem; position: relative; display: inline-block; }
.karta__pod a::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; background: var(--color-brand); -webkit-mask: url(/img/vak/vlnka.svg) center / contain no-repeat; mask: url(/img/vak/vlnka.svg) center / contain no-repeat; }
.karta__pod a:hover { color: var(--color-brand-dark); text-decoration: underline; }
.karta--kat .karta__cta { margin-top: auto; text-decoration: none; }
.dva-seznamy { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.dva-seznamy h3 { margin-top: 0; }
.hledani__form label { display: block; font-weight: 700; margin-bottom: .4rem; }
.hledani__radek { display: flex; gap: .6rem; max-width: 40rem; }
.hledani__radek input { flex: 1; min-width: 0; font: inherit; padding: .75rem 1rem; border: 2px solid var(--color-border); border-radius: var(--radius-sm); }
.hledani__radek input:focus { outline: none; border-color: var(--color-brand); }
.hledani__vysledky { margin-top: 1.5rem; max-width: 46rem; }
.hledani__seznam { padding-left: 1.4rem; display: grid; gap: 1rem; }
.hledani__seznam a { font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.hledani__seznam p { margin: .2rem 0 0; color: var(--color-text-muted); }
.hledani__pocet { color: var(--color-text-muted); font-size: .9rem; }
.cenik { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cenik table { min-width: 560px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.cenik caption { text-align: left; font-weight: 700; padding: 0 0 .6rem; color: var(--color-text-muted); }
.cenik th, .cenik td { padding: .6rem .9rem; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.cenik thead th { background: var(--navy); color: #fff; font-size: .9rem; }
.cenik td { white-space: nowrap; }
.cenik td:nth-child(3), .cenik td:nth-child(4) { font-weight: 700; color: var(--navy); }
.cenik tbody th { font-weight: 600; }
.cenik tbody th a { color: var(--navy); }
.cenik__skupina th { background: var(--color-bg-alt); color: var(--color-brand-dark); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
@media (max-width: 1080px) { .karty--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .karty--3, .dva-seznamy { grid-template-columns: 1fr; } }
.vak .header__logo { flex-shrink: 0; }
.vak .header__logo img { width: auto; }
.vak .nav__link, .header__cta, .header__tel { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1440px) {
  .vak .nav__list { gap: .95rem; }
  .vak .nav__link { font-size: .95rem; }
  .header__akce { gap: .4rem; }
  .header__cta { padding-inline: 1rem; }
}
@media (min-width: 1081px) and (max-width: 1260px), (max-width: 560px) {
  .header__tel span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header__tel { width: 42px; height: 42px; justify-content: center; border-radius: 99px; background: var(--color-bg-alt); }
  .header__tel-ikona { width: 1.25em; height: 1.25em; }
}

/* ===== úvod podle banneru „Voda a ČOV pod kontrolou“ ===== */
.hero__h1 { margin-bottom: 1.2rem; }
.hero__claim { display: block; font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.02em; }
.hero__claim em { font-style: normal; color: var(--color-brand); display: block; }
.hero__h1-text { display: block; margin-top: .9rem; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.35; font-weight: 700; color: var(--color-text); letter-spacing: 0; max-width: 34rem; }
.pilire { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 40rem; }
.pilire li + li { border-left: 1px solid var(--color-border); }
.pilire a, .pilire span { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: .3rem .4rem; text-align: center; text-decoration: none; color: var(--navy); border-radius: var(--radius-sm); }
.pilire svg { width: 54px; height: 54px; padding: 12px; border: 2px solid var(--color-brand); border-radius: 50%; fill: none; stroke: var(--color-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: background var(--dur-base), stroke var(--dur-base); }
.pilire b { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; }
.pilire a:hover svg, .pilire a:focus-visible svg { background: var(--color-brand); stroke: #fff; }
@media (max-width: 520px) { .pilire { grid-template-columns: 1fr 1fr; row-gap: 1rem; } .pilire li:nth-child(3) { border-left: 0; } }

/* ===== kalkulačka výjezdu ===== */
.vyjezd { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.vyjezd__karta { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-1); padding: clamp(1rem, 3vw, 1.8rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; }
.vyjezd__typy { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.vyjezd__typy legend { font-weight: 800; margin-bottom: .5rem; }
.vyjezd__typy label { position: relative; cursor: pointer; }
.vyjezd__typy input { position: absolute; opacity: 0; }
.vyjezd__typy span { display: block; height: 100%; padding: .7rem .8rem; border: 2px solid var(--color-border); border-radius: var(--radius-sm); font-size: .85rem; color: var(--color-text-muted); transition: border-color var(--dur-base), background var(--dur-base); }
.vyjezd__typy b { display: block; color: var(--navy); font-size: .95rem; }
.vyjezd__typy input:checked + span { border-color: var(--color-brand); background: #EAF6FB; }
.vyjezd__typy input:focus-visible + span { outline: 3px solid var(--color-brand); outline-offset: 2px; }
.vyjezd__pole { display: grid; gap: .9rem; align-content: start; }
.vyjezd__pole .field label { font-weight: 700; display: block; margin-bottom: .3rem; }
.vyjezd__pole select, .vyjezd__pole input[type=number] { width: 100%; font: inherit; padding: .6rem .8rem; border: 2px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; }
.vyjezd__pole input[type=range] { width: 100%; accent-color: var(--color-brand); }
.vyjezd__check label { font-weight: 600 !important; display: flex !important; gap: .5rem; align-items: center; }
.vyjezd__check input { width: 1.15rem; height: 1.15rem; accent-color: var(--color-brand); }
[data-pro][hidden] { display: none !important; }
.vyjezd__vysledek { background: var(--navy); color: #fff; border-radius: var(--radius-md); padding: 1.3rem; align-self: start; }
.vyjezd__nad { margin: 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.vyjezd__celkem { margin: .1rem 0 .8rem; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.vyjezd__radky { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .35rem; font-size: .88rem; }
.vyjezd__radky li { display: flex; justify-content: space-between; gap: .8rem; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: .35rem; }
.vyjezd__radky b { white-space: nowrap; }
.vyjezd__tip { background: rgba(41,169,214,.18); border-left: 3px solid #29A9D6; padding: .6rem .8rem; border-radius: 4px; font-size: .9rem; }
.vyjezd__pozn { font-size: .8rem; opacity: .8; }
.vyjezd__vysledek .btn { width: 100%; justify-content: center; }
@media (max-width: 1080px) { .vyjezd { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .vyjezd__karta { grid-template-columns: 1fr; } .vyjezd__typy { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .vyjezd__typy span, .pilire svg { transition: none; } }
.vyjezd .vyjezd__check input[type=checkbox] { width: 1.2rem; height: 1.2rem; min-height: 0; padding: 0; margin: 0; flex: none; border: 0; box-shadow: none; accent-color: var(--color-brand); }
.vyjezd .vyjezd__check label { justify-content: flex-start; text-align: left; line-height: 1.35; }

/* ===== hledání v hlavičce (píše se rovnou, výsledky během psaní) ===== */
.hledani-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-2); padding: 1rem 0 1.2rem; z-index: 130; }
.hledani-panel[hidden] { display: none; }
.hledani-panel .hledani__radek { max-width: none; }
.hledani-panel input { font-size: 1.1rem; }
.hledani-panel__zavrit { flex: none; width: 48px; border: 0; background: var(--color-bg-alt); border-radius: var(--radius-sm); font-size: 1.2rem; color: var(--navy); cursor: pointer; }
.hledani-panel__zavrit:hover { background: var(--color-border); }
.hledani-panel .hledani__vysledky { margin-top: .8rem; max-width: none; max-height: min(60vh, 32rem); overflow-y: auto; }
.hledani-panel .hledani__seznam { list-style: none; padding: 0; gap: 0; }
.hledani-panel .hledani__seznam li { border-bottom: 1px solid var(--color-border); }
.hledani-panel .hledani__seznam a { display: block; padding: .6rem .4rem .1rem; font-size: 1rem; text-decoration: none; }
.hledani-panel .hledani__seznam a:hover, .hledani-panel .hledani__seznam a:focus-visible { color: var(--color-brand-dark); text-decoration: underline; }
.hledani-panel .hledani__seznam p { padding: 0 .4rem .6rem; font-size: .88rem; margin: 0; }
.hledani-otevreno .header__hledat { background: var(--color-bg-alt); color: var(--color-brand-dark); }
@media (max-width: 560px) { .hledani-panel .btn { display: none; } }
.form__upresnit { border: 1px dashed #b9c8cf; border-radius: var(--radius-sm); padding: .2rem 1rem; }
.form__upresnit > summary { cursor: pointer; font-weight: 700; color: var(--color-brand-dark); padding: .6rem 0; }
.form__upresnit[open] { padding-bottom: 1rem; }
.form__upresnit[open] > summary { margin-bottom: .4rem; }
