/*
Theme Name: 4Blue Lineva U19
Theme URI: https://4blue-led.eu/
Author: 4Blue-LED
Description: Blokove tema postavene z overene staticke dodavky Lineva U19 (CS/SK/EN).
             Designovy system je prenesen beze zmeny; WordPress adapter je na konci souboru.
Version: 1.1.1
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fourblue
Tags: block-theme, full-site-editing
*/

/* ==========================================================================
   4Blue-LED — Variant 03 "Numbers"
   Evidence-first marketing direction. White ground, deep-blue full-bleed
   bands, large tabular figures, every number carries its basis.
   Mobile-first: base 360px, then 600 / 900 / 1200.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* ------------------------------------------------------------------
     Klientuv gradient ramp, verbatim z 4Blue_Logo_Transition_Color_Palette.png
     PRAVIDLO: --ramp-0 a --ramp-20 (3.24:1 / 4.07:1 na bile) NIKDY nenesou
     text ani hranici ovladaciho prvku. Jen dekorativni akcenty a gradienty.
     ------------------------------------------------------------------ */
  --ramp-0:   #3692EC;
  --ramp-20:  #357EDB;
  --ramp-40:  #346ACA;
  --ramp-60:  #3452B1;
  --ramp-80:  #333590;
  --ramp-100: #32186E;

  --ramp:        linear-gradient(180deg, var(--ramp-0) 0%, var(--ramp-20) 20%, var(--ramp-40) 40%,
                                        var(--ramp-60) 60%, var(--ramp-80) 80%, var(--ramp-100) 100%);
  --ramp-hero:   linear-gradient(180deg, var(--ramp-60) 0%, var(--ramp-100) 100%);
  --ramp-bridge: linear-gradient(180deg, var(--ramp-100) 0%, var(--purple) 100%);

  /* grounds */
  --bg:            #FFFFFF;
  --surface:       #F4F6FC;
  --surface-2:     #E9EEFA;
  --plate-a:       #F5F8FD;
  --plate-b:       #E6ECF7;
  --plate-deep-a:  #EDF1FA;
  --plate-deep-b:  #D2DCEF;

  /* deep band */
  --band:          #333590;
  --band-deep:     #32186E;
  --band-line:     #8387D4;
  --band-panel:    #3C40A6;

  /* firemni identita, vzorkovano z logo-horizontal-color.svg (DM 5.2) */
  --purple:        #4E3C62;
  --purple-deep:   #3A2C4A;
  --purple-light:  #9274C1;

  /* type on light */
  --heading:       #3452B1;
  --text:          #333B4D;
  --text-quiet:    #525A72;

  /* type on band */
  --band-heading:  #B3D4FA;
  --band-text:     #EDF1FC;
  --band-quiet:    #CED5F1;

  /* blue role split — binding */
  --blue-display:  #346ACA;
  --blue-action:   #333590;
  --blue-action-hover: #32186E;

  /* savings figures */
  --green:         #15794E;
  --green-band:    #6FE0AE;

  /* rules */
  --line:          #D9DFF0;
  --line-strong:   #AAB4D8;
  --control-line:  #7684B9;

  /* focus */
  --focus:         #32186E;
  --focus-band:    #7FD0F5;

  /* tonovane pruhledne vrstvy (drive natvrdo modrozelene) */
  --shadow-tint:   rgba(50,24,110,.16);
  --scrim:         rgba(50,24,110,.55);

  /* spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-6: 24px; --sp-8: 32px; --sp-12: 48px; --sp-16: 64px; --sp-24: 96px;

  --radius: 12px;
  --wrap: 1140px;
  --wrap-read: 68ch;

  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --header-h: 64px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 1.5rem + 2.6vw, 3.25rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.125rem; line-height: 1.3; }
h4 { font-size: 1.0625rem; line-height: 1.35; }

p { margin: 0; max-width: var(--wrap-read); }

a { color: var(--blue-action); }
a:hover { color: var(--blue-action-hover); }

ul, ol { margin: 0; padding: 0; list-style: none; }

strong, b { font-weight: 800; }

table { border-collapse: collapse; }

/* tabular figures tam, kde na sobe cisla stoji ve sloupci */
.num, table, .spec-list, .doc__meta {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
/* velke displejove cislice naopak proporcionalne: v tabulkovem rezu dostane
   desetinna carka plnou sirku cislice a "42,1 %" se cte jako "42, 1 %" */
.stat__figure {
  font-variant-numeric: proportional-nums;
  font-feature-settings: 'pnum' 1;
}

/* --------------------------------------------------------------------------
   3. Focus — visible on every ground
   -------------------------------------------------------------------------- */
:focus { outline: none; }

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

.band :focus-visible,
.identity-bridge :focus-visible,
.site-footer :focus-visible,
.drawer :focus-visible {
  outline-color: var(--focus-band);
}

/* outline-offset 3px zvedne prstenec mimo vypln, halo box-shadow neni potreba */
.band .btn:focus-visible,
.identity-bridge .btn:focus-visible,
.site-footer .btn:focus-visible {
  outline-color: var(--focus-band);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue-action);
  color: #FFFFFF;
  padding: var(--sp-3) var(--sp-6);
  font-weight: 800;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus {
  left: 0;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section {
  padding-block: var(--sp-16);
}
.section--tight { padding-block: var(--sp-12); }
.section--alt { background: var(--surface); }

.band {
  background: var(--band);
  color: var(--band-text);
  padding-block: var(--sp-16);
}
.band--deep { background: var(--band-deep); }
.band h1, .band h2, .band h3, .band h4 { color: var(--band-heading); }
.band a { color: var(--band-heading); }
.band a:hover { color: #FFFFFF; }
.band .eyebrow { color: var(--band-quiet); }
.band .eyebrow::before { background: var(--band-heading); }
.band .lede { color: var(--band-text); }
.band .basis,
.band .disclaimer,
.band .quiet { color: var(--band-quiet); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-6 > * + * { margin-top: var(--sp-6); }
.stack-8 > * + * { margin-top: var(--sp-8); }

.read { max-width: var(--wrap-read); }

/* --------------------------------------------------------------------------
   5. Section headers, eyebrows, section index
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-quiet);
  margin: 0 0 var(--sp-3);
  max-width: none;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 3px;
  flex: none;
  background: var(--blue-display);
}

/* Produktovy wordmark misto textoveho eyebrow v heru index a lineva.
   Zamerne BEZ modre pomlcky .eyebrow::before - ta je znackou sekce,
   kdezto tohle je znacka produktu a ma stat samostatne. */
.hero-brandmark { margin: 0 0 var(--sp-4); }
.hero-brandmark img { height: 26px; width: auto; display: block; }
@media (min-width: 900px) { .hero-brandmark img { height: 30px; } }

.sec-head { margin-bottom: var(--sp-8); }
.sec-head .lede { margin-top: var(--sp-4); }

.sec-num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue-action);   /* 13px text — never --blue-display */
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
}
.band .sec-num { color: var(--band-heading); }

.lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
}

.quiet { color: var(--text-quiet); }

.small { font-size: 0.875rem; line-height: 1.55; }

/* spacing utilities (kept deliberately few) */
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

.footer-tag {
  margin-top: var(--sp-4);
  max-width: 34ch;
  color: var(--band-quiet);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-8);
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn--primary {
  background: var(--blue-action);
  border-color: var(--blue-action);
  color: #FFFFFF;
}
.btn--primary:hover {
  background: var(--blue-action-hover);
  border-color: var(--blue-action-hover);
  color: #FFFFFF;
}

.btn--ghost {
  background: transparent;
  border-color: var(--control-line);
  color: var(--blue-action);
}
.btn--ghost:hover {
  border-color: var(--blue-action);
  background: var(--surface-2);
  color: var(--blue-action-hover);
}

/* on the deep band a solid light fill beats a blue fill for contrast */
.band .btn--primary,
.site-footer .btn--primary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--blue-action);
}
.band .btn--primary:hover,
.site-footer .btn--primary:hover {
  background: var(--band-heading);
  border-color: var(--band-heading);
  color: var(--band-deep);
}
.band .btn--ghost {
  border-color: var(--band-heading);
  color: var(--band-text);
}
.band .btn--ghost:hover {
  background: var(--band-panel);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* the dark hero is the same ground as a band and inherits its on-dark rules */
.hero--band .btn--primary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--blue-action);
}
.hero--band .btn--primary:hover {
  background: var(--band-heading);
  border-color: var(--band-heading);
  color: var(--band-deep);
}
.hero--band .btn--ghost {
  border-color: var(--band-heading);
  color: var(--band-text);
}
.hero--band .btn--ghost:hover {
  background: var(--band-panel);
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.hero--band a { color: var(--band-heading); }
.hero--band a:hover { color: #FFFFFF; }
.hero--band :focus-visible { outline-color: var(--focus-band); }
.hero--band .btn:focus-visible { outline-color: var(--focus-band); }
.hero--band .plate {
  background: linear-gradient(155deg, var(--plate-a) 0%, var(--plate-b) 100%);
  border-color: var(--band-line);
}
.hero--band figcaption { color: var(--band-quiet); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.btn-row .btn { flex: 1 1 auto; }

@media (min-width: 600px) {
  .btn-row .btn { flex: 0 0 auto; }
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-block: var(--sp-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) 0;
  text-decoration: none;
}
.brand img { height: 42px; width: auto; }

.nav-desktop { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--control-line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-action);
  border-radius: 2px;
}
.burger[aria-expanded="true"] { background: var(--surface-2); }

/* ---- desktop nav ---- */
@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .burger { display: none; }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
  }

  .nav-list > li { position: relative; }

  .nav-list a,
  .nav-parent {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    min-height: 44px;
    padding: var(--sp-2) var(--sp-3);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
  }
  .nav-list a:hover,
  .nav-parent:hover { color: var(--blue-action); }

  .nav-list a[aria-current="page"] {
    font-weight: 800;
    color: var(--blue-action);
    border-bottom-color: var(--blue-action);
  }
  .nav-parent.is-section {
    font-weight: 800;
    color: var(--blue-action);
    border-bottom-color: var(--blue-action);
  }

  .nav-parent .chev { transition: transform .18s ease; }
  .nav-parent[aria-expanded="true"] .chev { transform: rotate(180deg); }

  .submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 250px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue-display);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px var(--shadow-tint);
    padding: var(--sp-2);
    z-index: 95;
  }
  .submenu a {
    display: flex;
    width: 100%;
    border-bottom: 0;
    border-radius: 8px;
    padding: var(--sp-3);
  }
  .submenu a:hover { background: var(--surface-2); }
  .submenu a[aria-current="page"] {
    background: var(--surface-2);
    border-bottom: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
  }
}

/* ---- language switcher ---- */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--control-line);
  border-radius: 999px;
  padding: 3px;
}
.lang__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-quiet);
  border-radius: 999px;
}
.lang__item.is-current {
  font-weight: 800;
  color: var(--blue-action);
  background: var(--surface-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
   8. Mobile drawer
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: 98;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 380px);
  height: 100%;
  z-index: 99;
  background: var(--band);
  color: var(--band-text);
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-4) var(--sp-16);
  -webkit-overflow-scrolling: touch;
}
.drawer[hidden] { display: none; }

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--band-line);
}

/* colour logo never inverted — light plate on dark ground */
.logo-plate {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 6px 10px;
}
.logo-plate img { height: 30px; width: auto; }

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--band-line);
  border-radius: 10px;
  background: transparent;
  color: var(--band-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.drawer__close:hover { background: var(--band-panel); }

.drawer__nav { margin-top: var(--sp-4); }

.drawer__nav a,
.drawer__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  min-height: 52px;
  padding: var(--sp-3) var(--sp-2);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--band-text);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--band-line);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.drawer__nav a[aria-current="page"] {
  font-weight: 800;
  color: var(--band-heading);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.drawer__parent .chev { transition: transform .18s ease; flex: none; }
.drawer__parent[aria-expanded="true"] .chev { transform: rotate(180deg); }

.drawer__sub { padding-left: var(--sp-4); }
.drawer__sub[hidden] { display: none; }
.drawer__sub a { font-size: 1rem; color: var(--band-quiet); }
.drawer__sub a[aria-current="page"] { color: var(--band-heading); }
.drawer__parent.is-section { font-weight: 800; color: var(--band-heading); }

.drawer .lang {
  margin-top: var(--sp-8);
  border-color: var(--band-line);
  width: fit-content;
}
.drawer .lang__item { color: var(--band-quiet); min-height: 40px; }
.drawer .lang__item.is-current {
  color: var(--band-deep);
  background: var(--band-heading);
}

@media (min-width: 1000px) {
  .drawer, .drawer-backdrop { display: none !important; }
}

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: var(--sp-12) var(--sp-16);
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; gap: var(--sp-8); }
.hero h1 { margin-top: var(--sp-3); }
.hero .lede { margin-top: var(--sp-6); font-size: 1.125rem; }

.hero--band {
  background: var(--ramp-hero);
  color: var(--band-text);
  border-bottom: 0;
}
.hero--band h1 { color: #FFFFFF; }
.hero--band .lede { color: var(--band-text); }
.hero--band .eyebrow { color: var(--band-quiet); }
.hero--band .eyebrow::before { background: var(--band-heading); }

@media (min-width: 900px) {
  .hero { padding-block: var(--sp-16) var(--sp-24); }
  .hero__grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: var(--sp-16);
  }
  /* V pasovem heru je predmetem stranky sam produkt, ne text vedle nej.
     Pomer 1,15:0,85 nechaval fotku 445 px sirokou v pasu vysokem 822 px. */
  .hero--band .hero__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
  /* Domovsky hero. POZOR: DM par.9 radek Home rika "Accepted as-is. Preserve
     the current hero, imagery, copy hierarchy and button treatment." Zvetseni
     obrazoveho sloupce je vedome vybočeni na pokyn zadavatele, ne oprava vady;
     prebiti par.9 SEO Masterem se tyka prekladu, ne rozvrzeni. */
  .hero--wide-media .hero__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
  .hero--wide-media .plate--tall img { max-width: 100%; }
}

/* tinted plate — transparent panel PNGs must never sit on bare white */
.plate {
  background: linear-gradient(160deg, var(--plate-a) 0%, var(--plate-b) 100%);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: block;
}
/* vyska plate se ridi obrazkem - zadny prazdny pas nad a pod produktem.
   overflow zustava viditelny, jinak by se orizl stin. */
.plate img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  /* Zaobleni patri na OBRAZEK, ne jen na plotnu: u pruhledneho PNG se neprojevi
     (rohy uz pruhledne jsou), ale u nepruhledne fotografie je to jedina cesta,
     jak neskoncit s ostrym obdelnikem - zvlast v hero pasu, kde
     .hero--band .plate rusi podklad i odsazeni a fotka lezi primo na gradientu. */
  border-radius: var(--radius);
  filter: drop-shadow(0 18px 28px rgba(50, 24, 110, .18));
}
.plate--tall img { max-width: 92%; margin-inline: auto; }
/* Nepruhledna fotografie v plotne. Odsazeni plotny a 92% sirka .plate--tall jsou
   delane pro produktove rendery s alfou, kde zadny okraj videt neni; u fotografie
   z nich vznikne mensi obdelnik plovouci uvnitr zaobleneho ramecku. Fotka proto
   plotnu vyplni a zaobleni si vezme z ni. */
.plate--photo { padding: 0; overflow: hidden; }
.plate--photo img,
.plate--tall.plate--photo img { width: 100%; max-width: 100%; border-radius: 0; filter: none; }
.plate--center { max-width: 560px; margin-inline: auto; }
.band .plate {
  background: linear-gradient(160deg, #FFFFFF 0%, var(--plate-a) 100%);
}
/* v hero pasu produkt stoji na gradientu rampy - stin musi byt vyraznejsi */
.hero--band .plate { background: none; padding: 0; }
.hero--band .plate img { filter: drop-shadow(0 22px 36px rgba(16, 8, 40, .38)); }

figure { margin: 0; }
figcaption {
  margin-top: var(--sp-3);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-quiet);
}
.band figcaption { color: var(--band-quiet); }

/* --------------------------------------------------------------------------
   10. Stat blocks — the signature of this variant
   -------------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}

.stat {
  border-top: 3px solid var(--blue-display);
  padding-top: var(--sp-4);
}
.band .stat { border-top-color: var(--band-heading); }

.stat__figure {
  display: block;
  font-size: clamp(2.75rem, 2rem + 3.4vw, 4rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.035em;
  color: var(--heading);
}
.band .stat__figure { color: #FFFFFF; }

/* --green is 3.45:1 on white: large text only, never below 40px */
.stat__figure--save { color: var(--green); }
.band .stat__figure--save { color: var(--green-band); }

.stat__label {
  display: block;
  margin-top: var(--sp-3);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  max-width: 30ch;
}
.band .stat__label { color: var(--band-text); }

.basis {
  margin-top: var(--sp-3);
  padding-left: var(--sp-3);
  border-left: 2px solid var(--line-strong);
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--text-quiet);
  max-width: 42ch;
}
.band .basis { border-left-color: var(--band-line); }
.basis--full { max-width: 72ch; }

.basis__key {
  display: block;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: var(--blue-action);
  margin-bottom: 2px;
}
.band .basis__key { color: var(--band-heading); }

.disclaimer {
  margin-top: var(--sp-8);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-quiet);
  max-width: 72ch;
}
.disclaimer--boxed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
}
.band .disclaimer--boxed {
  background: var(--band-panel);
  border-color: var(--band-line);
}

@media (min-width: 600px) {
  .stat-grid--2, .stat-grid--3, .stat-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .stat-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .stat-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   11. Tables
   -------------------------------------------------------------------------- */
.scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.scroller:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.scroll-hint {
  margin-top: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--text-quiet);
}
.band .scroll-hint { color: var(--band-quiet); }

.data-table {
  width: 100%;
  min-width: 640px;
  font-size: 0.9375rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-quiet);
  padding-bottom: var(--sp-3);
}
.data-table th,
.data-table td {
  padding: var(--sp-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  background: var(--band);
  color: var(--band-text);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: .02em;
  border-bottom: 0;
}
.data-table thead th.is-key { color: var(--band-heading); }
.data-table tbody th {
  font-weight: 800;
  color: var(--text);
  background: var(--surface);
  white-space: normal;
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td.figure {
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--heading);
  white-space: normal;
}
.data-table td.figure--save { color: var(--blue-action); }
.data-table td.muted { color: var(--text-quiet); }

.band .data-table {
  background: var(--band-panel);
  border-color: var(--band-line);
  color: var(--band-text);
}
.band .data-table caption { color: var(--band-quiet); }
.band .data-table th,
.band .data-table td { border-bottom-color: var(--band-line); }
.band .data-table thead th { background: var(--band-deep); }
.band .data-table tbody th { background: rgba(255,255,255,.06); color: var(--band-text); }
.band .data-table td.figure { color: #FFFFFF; }
.band .data-table td.figure--save { color: var(--green-band); }

.table-note {
  margin-top: var(--sp-4);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-quiet);
  max-width: 72ch;
}
.band .table-note { color: var(--band-quiet); }

/* --------------------------------------------------------------------------
   12. Cards, lists, steps
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
@media (min-width: 600px) { .card-grid--2, .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
}
.card > * + * { margin-top: var(--sp-3); }
/* cards keep one visual weight whatever heading level the copy structure needs */
.card h2, .card h3, .media-card h2, .media-card h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.section--alt .card { background: var(--bg); }
.band .card {
  background: var(--band-panel);
  border-color: var(--band-line);
}

.card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-action);
  margin: 0;
}
.band .card__tag { color: var(--band-heading); }

/* bullet list */
.ticks { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
.ticks li {
  position: relative;
  padding-left: var(--sp-8);
  line-height: 1.6;
  max-width: var(--wrap-read);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 3px;
  background: var(--blue-display);
}
.band .ticks li::before { background: var(--band-heading); }

@media (min-width: 900px) {
  .ticks--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--sp-12);
  }
  .ticks--2col li { max-width: 46ch; }
}

/* spec list — key/value pairs */
.spec-list {
  margin-top: var(--sp-8);
  border-top: 2px solid var(--blue-display);
}
.spec-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--text);
}
.spec-list li::before {
  content: counter(spec, decimal-leading-zero);
  counter-increment: spec;
  flex: none;
  width: 2.25em;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--blue-action);
}
.spec-list { counter-reset: spec; }

/* numbered steps */
.steps { counter-reset: step; margin-top: var(--sp-8); display: grid; gap: var(--sp-6); }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
  min-height: 44px;
  line-height: 1.6;
  max-width: 62ch;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--band);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.band .steps li::before { background: #FFFFFF; color: var(--band-deep); }
.step-lead {
  display: block;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 2px;
}
.band .step-lead { color: var(--band-heading); }

/* warning / safety note */
.notice {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--surface-2);
  border-left: 4px solid var(--blue-action);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-4);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 72ch;
}
.notice strong { color: var(--heading); }
.band .notice {
  background: var(--band-panel);
  border-left-color: var(--band-heading);
  color: var(--band-text);
}
.band .notice strong { color: var(--band-heading); }

/* --------------------------------------------------------------------------
   13. Product / media strips
   -------------------------------------------------------------------------- */
.media-grid { display: grid; gap: var(--sp-6); margin-top: var(--sp-8); }
/* --2 melo pravidlo chybet: bez nej se obe karty roztahly na celou sirku kontejneru
   (1140x240 = pomer 4,75) a object-fit: cover z fotky nechal jen uzky pruh. */
@media (min-width: 600px) { .media-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 600px) { .media-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .media-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.media-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.media-card__img {
  background: linear-gradient(160deg, var(--plate-a) 0%, var(--plate-b) 100%);
  padding: var(--sp-6);
  display: grid;
  place-items: center;
  /* pevna vyska, aby obrazova cast vsech karet v rade koncila na stejne lince */
  height: 240px;
}
/* procentni max-height se ve vycentrovane grid polozce neresolvuje - proto px.
   240 px kontejner minus 2x 24 px padding = 192 px pro obrazek. */
.media-card__img img {
  max-width: 100%;
  max-height: 192px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(50, 24, 110, .16));
}
/* neprusvitna fotografie vyplni cely kontejner, zadny okraj kolem */
.media-card__img--photo { padding: 0; }
.media-card__img--photo img {
  width: 100%;
  height: 240px;
  max-height: 240px;
  object-fit: cover;
  filter: none;
  display: block;
}
/* Drive se jmenovala --white a nesla bily podklad, aby obesla zapecene bile
   pozadi u cable-2m.png. Ten uz ma alfu, podklad je proto stejny gradient jako
   u ostatnich karet a varianta ridi jen vysku produktoveho renderu. */
.media-card__img--product img { max-height: 208px; }
.media-card { display: flex; flex-direction: column; }
.media-card__body { padding: var(--sp-4) var(--sp-6) var(--sp-6); flex: 1; }
.media-card__body h3 { margin-bottom: var(--sp-2); }
.band .media-card { border-color: var(--band-line); background: var(--band-panel); }

/* schematic */
.schematic {
  border-radius: var(--radius);
  background: #FFFFFF;
  padding: var(--sp-4);
}
.schematic img { min-width: 780px; }
.band .schematic { border-color: var(--band-line); }

.zoom-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  margin-top: var(--sp-3);
  font-weight: 800;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   14. Downloads
   -------------------------------------------------------------------------- */
.doc-group + .doc-group { margin-top: var(--sp-16); }

.doc-list { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }

.doc {
  display: grid;
  gap: var(--sp-4);
  align-items: start;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-display);
  border-radius: var(--radius);
  background: var(--bg);
  padding: var(--sp-6);
}
.doc__index {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue-action);
  font-variant-numeric: tabular-nums;
}
.doc h3 { margin-bottom: var(--sp-2); }
.doc__meta {
  font-size: 0.8125rem;
  color: var(--text-quiet);
  margin-top: var(--sp-2);
}
.doc__alt { margin-top: var(--sp-3); font-size: 0.875rem; }
.doc__alt a { font-weight: 600; }

@media (min-width: 900px) {
  .doc {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: var(--sp-8);
  }
  .doc .btn { justify-self: end; }
}

.pending {
  margin-top: var(--sp-6);
  border: 1px dashed var(--control-line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-6);
}

/* --------------------------------------------------------------------------
   15. Contact form
   -------------------------------------------------------------------------- */
.form-layout { display: grid; gap: var(--sp-12); }
@media (min-width: 1200px) {
  .form-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--sp-16); }
}

.form {
  display: grid;
  gap: var(--sp-6);
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-display);
  border-radius: var(--radius);
  padding: var(--sp-6);
}
@media (min-width: 600px) { .form { padding: var(--sp-8); } }

.field { display: grid; gap: var(--sp-2); }

.field label {
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--heading);
}
.req {
  color: var(--blue-action);
  font-weight: 800;
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--control-line);
  border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--blue-action); }

.field .hint {
  font-size: 0.8125rem;
  color: var(--text-quiet);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--blue-action) 50%),
                    linear-gradient(135deg, var(--blue-action) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--sp-12);
}

.form__consent {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-quiet);
}

.form-notice {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--blue-display);
  border-radius: var(--radius);
  padding: var(--sp-4);
  font-weight: 600;
  color: var(--heading);
}
.form-notice[hidden] { display: none; }

.reply-note {
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-6);
}
.reply-note h4 { color: var(--text); }
.reply-note p { margin-top: var(--sp-2); }

.aside-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
}
.aside-block > * + * { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   16. Sticky mobile CTA
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  padding: var(--sp-3) var(--sp-4);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
}
.sticky-cta .btn { width: 100%; }

body.has-sticky-cta { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 1000px) {
  .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--band-deep);
  color: var(--band-text);
  padding-block: var(--sp-16) var(--sp-12);
}
.site-footer a { color: var(--band-heading); }
.site-footer a:hover { color: #FFFFFF; }

.footer-grid { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: auto 1fr; align-items: start; gap: var(--sp-16); }
}

.footer-nav h2 {
  font-size: 0.8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--band-quiet);
  margin-bottom: var(--sp-3);
}
.footer-links {
  display: grid;
  gap: var(--sp-1);
}
@media (min-width: 600px) {
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-8); }
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-links a[aria-current="page"] {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.footer-bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--band-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-8);
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--band-quiet);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .nav-parent .chev,
  .drawer__parent .chev { transition: none; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  @page { margin: 15mm; }
  .site-header, .drawer, .drawer-backdrop, .sticky-cta, .skip { display: none !important; }
  .band, .band--deep, .hero--band, .identity-bridge, .site-footer {
    background: #FFFFFF !important; color: #000000 !important;
  }
  /* povinne kvalifikatory musi zustat citelne a vizualne navazane na sva cisla */
  .basis, .disclaimer, .notice, .table-note, figcaption {
    color: #000000 !important; background: #FFFFFF !important;
  }
  .basis { border-left-color: #000000 !important; }
  .notice { border-left-color: #000000 !important; }
  .band h1, .band h2, .band h3, .band h4,
  .hero--band h1, .site-footer h2 { color: #000000 !important; }
  /* tabulky a schema se nesmi oriznout o okraj papiru */
  .scroller { overflow: visible !important; }
  .data-table { min-width: 0 !important; }
  .data-table th, .data-table td { white-space: normal !important; }
  .schematic img { min-width: 0 !important; width: 100% !important; }
  .stat, .doc, .card, .disclaimer, .media-card, figure { page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
  a[href$=".pdf"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}


/* ==========================================================================
   16. Nove komponenty (new_design)
   ========================================================================== */

/* --- vizualne skryty text pro ctecky obrazovky --------------------------- */
.u-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- identity bridge: fialovy firemni rejstrik (DM 5.2) ------------------
   Emituje se VZDY jako class="identity-bridge band", aby platila cela
   kaskada pravidel pro tmavy podklad. */
.identity-bridge {
  background: var(--ramp-bridge);
  padding-block: var(--sp-16);
}
.identity-bridge .eyebrow::before { background: var(--band-heading); }

/* --- plate pro temer bile produktove rendery ----------------------------- */
.plate--deep {
  background: linear-gradient(160deg, var(--plate-deep-a) 0%, var(--plate-deep-b) 100%);
}

/* --- ramecek pro neprusvitne fotografie ---------------------------------- */
.photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--plate-a);
}
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { padding: var(--sp-3) var(--sp-4); margin-top: 0; }

/* --- stitek jazyka u dokumentu ke stazeni -------------------------------- */
.doc__badge {
  display: inline-block;
  margin-left: var(--sp-2);
  padding: 2px var(--sp-2);
  border: 1px solid var(--control-line);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--text-quiet);
  vertical-align: middle;
}
.band .doc__badge { border-color: var(--band-line); color: var(--band-quiet); }

/* --- jednotka vedle velke cislice ---------------------------------------- */
.stat__unit {
  display: block;
  margin-top: var(--sp-1);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-quiet);
}
.band .stat__unit { color: var(--band-quiet); }

/* --- rozcestnik jazyku ---------------------------------------------------- */
body.splash {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--sp-8) var(--sp-4);
  background: var(--surface);
}
.splash__main { text-align: center; max-width: 34rem; }
.splash__logo { height: 44px; width: auto; margin: 0 auto var(--sp-8); }
.splash__main h1 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  margin-bottom: var(--sp-3);
}
.splash__lede { font-size: 1.0625rem; color: var(--text); margin-inline: auto; }
.splash__list {
  list-style: none;
  margin: var(--sp-12) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.splash__legal { margin-top: var(--sp-12); }
@media (min-width: 600px) {
  .splash__list { grid-auto-flow: column; justify-content: center; }
}

/* --- tabulka specifikaci jako definicni seznam (R9 dodava dvojice) -------- */
.spec-list--pairs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--blue-display);
}
.spec-list--pairs dt {
  padding: var(--sp-3) 0 0;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-quiet);
}
.spec-list--pairs dd {
  margin: 0;
  padding: 0 0 var(--sp-3);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  color: var(--heading);
}
.band .spec-list--pairs { border-top-color: var(--band-heading); }
.band .spec-list--pairs dt { color: var(--band-quiet); }
.band .spec-list--pairs dd { color: var(--band-text); border-bottom-color: var(--band-line); }
@media (min-width: 600px) {
  .spec-list--pairs { grid-template-columns: minmax(14rem, 22ch) 1fr; column-gap: var(--sp-8); }
  .spec-list--pairs dt { padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
  .band .spec-list--pairs dt { border-bottom-color: var(--band-line); }
  .spec-list--pairs dd { padding: var(--sp-3) 0; }
}

/* --- paticka: blok pravni identity (nese fialovy firemni rejstrik, DM 5.2) - */
.footer-identity {
  margin-top: var(--sp-12);
  padding: var(--sp-6);
  border-radius: var(--radius);
  background: var(--purple);
  color: var(--band-text);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-identity p { margin: 0 0 var(--sp-2); max-width: none; }
.footer-identity p:last-child { margin-bottom: 0; }
.footer-identity__name { font-weight: 800; color: #FFFFFF; }
.footer-identity__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--purple-light);
}
.footer-identity a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.footer-identity a:hover { color: var(--band-heading); }
@media (min-width: 900px) {
  .footer-identity { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-8); }
  .footer-identity__contact { grid-column: 1 / -1; }
}

/* --- seznam kontaktu na strance Kontakt ---------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.contact-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-4); }
.contact-list__key {
  flex: 0 0 5.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-quiet);
}
.contact-list a { font-weight: 800; }

/* =========================================================================
   WORDPRESS ADAPTER
   Vse pod touto carou si vynutil WordPress. Nad carou je CSS dodavky beze zmeny.
   Pri majoru WP zkontrolovat sekci "core bloky" - meni se markup.
   ========================================================================= */

/* --- most theme.json -> tokeny dodavky ---------------------------------- */
/* Rozestupy aliasujeme na presety (uzivatel je v UI menit nemuze).
   BARVY se ZAMERNE nealiasuji: jedno kliknuti v Global Styles by prepsalo
   25 pravidel kontextove kaskady .band .* */
:root {
  --sp-1:  var(--wp--preset--spacing--1,  4px);
  --sp-2:  var(--wp--preset--spacing--2,  8px);
  --sp-3:  var(--wp--preset--spacing--3,  12px);
  --sp-4:  var(--wp--preset--spacing--4,  16px);
  --sp-6:  var(--wp--preset--spacing--6,  24px);
  --sp-8:  var(--wp--preset--spacing--8,  32px);
  --sp-12: var(--wp--preset--spacing--12, 48px);
  --sp-16: var(--wp--preset--spacing--16, 64px);
  --sp-24: var(--wp--preset--spacing--24, 96px);
}

/* --- kotvy pod sticky hlavickou (v dodavce chybelo uplne) ---------------- */
:target,
[id] { scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }

/* --- admin bar prihlaseneho uzivatele ------------------------------------ */
/* Admin bar je position:fixed se z-index 100000 a prekryl by sticky hlavicku
   i zaviraci krizek draweru. Testovat PRIHLASENE na 601-782 px. */
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar .drawer      { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar .drawer-backdrop { top: 0; }

/* --- sticky CTA: self-synchronizujici vazba misto body class ------------- */
/* Puvodne body.has-sticky-cta + .sticky-cta ve dvou mistech: zmena sablony
   je rozpojila. :has() drzi rezervu a CTA vzdy pohromade. */
body:has(.sticky-cta) {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1000px) {
  body:has(.sticky-cta) { padding-bottom: 0; }
}

/* --- core bloky: mapovani na nase tridy ---------------------------------- */
/* Mrizky NEJSOU core/columns (flex, breakpoint 781px) - jsou to core/group
   s nasi tridou a grid dela nase CSS. Zde jen srovnani vychozich marginu. */
.wp-block-group.section,
.wp-block-group.band,
.wp-block-group.hero { margin-block: 0; }

.wp-block-image.plate { margin: 0; }
.wp-block-image.plate img { display: block; }
.wp-block-image figcaption {
  margin-top: var(--sp-3);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-quiet);
}

/* core/list s nasi tridou nesmi dostat vychozi odsazeni WP */
ul.ticks, ol.steps { padding-left: 0; }

/* --- Contact Form 7 ------------------------------------------------------ */
/* CSS CF7 se ZAMERNE nedequeueuje: drzi .wpcf7-form-control-wrap{position:relative},
   na kterem stoji absolutne pozicovana chybova hlaska. Jen ji prestylujeme. */
.wpcf7-form .field p { margin: 0; }
.wpcf7-form-control-wrap { position: relative; display: block; }
.wpcf7-not-valid-tip {
  display: block;
  margin-top: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #B3261E;                 /* kontrast 5,9:1 na bilem podkladu */
}
.wpcf7-response-output {
  margin: var(--sp-6) 0 0;
  padding: var(--sp-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.wpcf7-form.invalid .wpcf7-response-output { border-color: #B3261E; }
.wpcf7-spinner { display: none; }

/* --- consent lista vs. sticky CTA --------------------------------------- */
/* Complianz nechava i po souhlasu trvaly plovouci ovladac - ten se vypina
   v nastaveni pluginu a odkaz na spravu souhlasu patri do paticky. */
body:has(#cmplz-cookiebanner-container .cmplz-cookiebanner:not(.cmplz-dismissed)) .sticky-cta {
  display: none;
}

/* --- tisk: skryt artefakty WP a Complianzu ------------------------------ */
@media print {
  #wpadminbar,
  .cmplz-cookiebanner,
  .cmplz-manage-consent,
  .wpcf7-response-output,
  .sticky-cta { display: none !important; }
}
