/* VYGENEROVÁNO nastroje/sestav_web.py – neupravovat ručně; měňte _spolecne/zaklad.css nebo zdroj/motiv.css */
/* Lokálně hostované písmo (Google Fonts, SIL Open Font License). Vygenerováno nastroje/stahni_fonty.py */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-normal-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;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-normal-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-normal-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;
}

/* ==========================================================================
   Společná kostra obou webů (KB Bauteam + SoBa Group).
   Barvy, písmo a tvar si každý web nastaví v zdroj/motiv.css (proměnné níže).
   Generátor (nastroje/sestav_web.py) z tohohle + motivu složí assets/css/web.css.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; background: var(--pozadi); color: var(--text); font-family: var(--font-telo); font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-nadpis); font-weight: var(--nadpis-vaha); font-stretch: var(--nadpis-sirka); letter-spacing: var(--nadpis-pismena); line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.preskocit { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--pozadi); padding: .6em 1em; border-radius: var(--radius-male); text-decoration: none; transition: top .2s; }
.preskocit:focus { top: 12px; }

/* ---------- Rozvržení ---------- */
.obal { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4.5vw, 40px); }
.obal--uzky { max-width: 820px; }
.sekce { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.sekce--tmava { background: var(--tmava); color: var(--tmava-text); }
.sekce--povrch { background: var(--povrch-2); }
.sekce:not(.sekce--tmava):not(.sekce--povrch) + .sekce:not(.sekce--tmava):not(.sekce--povrch) { padding-top: 0; }

.nadtitul { display: inline-flex; align-items: center; gap: .7em; font-family: var(--font-telo); font-size: .8125rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--akcent-na-svetle); margin-bottom: 1.1rem; }
.nadtitul::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sekce--tmava .nadtitul { color: var(--akcent-na-tmave); }
.hlava-sekce { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.hlava-sekce--stred { margin-inline: auto; text-align: center; }
.hlava-sekce--stred .nadtitul::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); }
.h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.2; }
.uvod { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--text-slaby); margin-top: 1.25rem; }
.sekce--tmava .uvod { color: var(--tmava-text-slaby); }

/* ---------- Tlačítka ---------- */
.tl { --tl-pozadi: var(--akcent); --tl-text: var(--akcent-text); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8em 1.5em; border: 2px solid var(--tl-pozadi); border-radius: var(--radius-tl); background: var(--tl-pozadi); color: var(--tl-text); font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s, border-color .18s, color .18s, box-shadow .18s; }
.tl:hover { background: var(--akcent-hover); border-color: var(--akcent-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.tl:active { transform: translateY(0); }
.tl svg { width: 20px; height: 20px; flex: none; }
.tl--obrys { --tl-pozadi: transparent; background: transparent; color: var(--text); border-color: var(--text); }
.tl--obrys:hover { background: var(--text); border-color: var(--text); color: var(--pozadi); }
.tl--svetly-obrys { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.tl--svetly-obrys:hover { background: #fff; color: #15181c; border-color: #fff; }
.tl--wa { --tl-pozadi: #25D366; --tl-text: #0b2e17; }
.tl--wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.tl--plne { width: 100%; }
.tlacitka { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hlavička ---------- */
.hlavicka { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center; background: color-mix(in srgb, var(--pozadi) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--cara); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.hlavicka .obal { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.logo img { height: var(--logo-vyska, 40px); width: auto; }
.logo .logo-svetle { display: none; }
.hlavicka--pres:not(.hlavicka--plna) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.hlavicka--pres:not(.hlavicka--plna) .logo-tmave { display: none; }
.hlavicka--pres:not(.hlavicka--plna) .logo-svetle { display: block; }
.hlavicka--plna { box-shadow: 0 8px 30px -18px rgba(0,0,0,.35); }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu a { position: relative; padding: .55em .8em; text-decoration: none; font-size: .9375rem; font-weight: 550; border-radius: var(--radius-male); transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.menu a:hover::after, .menu a[aria-current="true"]::after { transform: scaleX(1); }
.hlavicka-akce { display: flex; align-items: center; gap: 10px; }
.jazyky { display: flex; align-items: center; border: 1.5px solid currentColor; border-radius: 999px; padding: 2px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; opacity: .9; }
.jazyky a, .jazyky span { padding: .3em .7em; border-radius: 999px; text-decoration: none; line-height: 1.4; }
.jazyky [aria-current="page"] { background: currentColor; }
.jazyky [aria-current="page"] > b { color: var(--pozadi); }
.hlavicka--pres:not(.hlavicka--plna) .jazyky [aria-current="page"] > b { color: #15181c; }
.jazyky b { font-weight: inherit; }
.tl--hlavicka { min-height: 42px; padding: .5em 1.1em; font-size: .9375rem; }
.ikona-tl { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid currentColor; text-decoration: none; opacity: .9; }
.ikona-tl svg { width: 20px; height: 20px; }
.burger { display: none; width: 46px; height: 46px; margin-right: -8px; border: 0; background: none; cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: grid; }
  .tl--hlavicka { display: none; }
  .menu { position: fixed; inset: 76px 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px clamp(16px, 4.5vw, 40px) 40px; background: var(--pozadi); color: var(--text); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .menu[data-otevreno] { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s; }
  .menu a { font-family: var(--font-nadpis); font-stretch: var(--nadpis-sirka); font-size: 1.6rem; font-weight: var(--nadpis-vaha); padding: .55em 0; border-bottom: 1px solid var(--cara); border-radius: 0; }
  .menu a::after { display: none; }
  .menu .menu-cta { display: flex; margin-top: 28px; }
  .hlavicka-akce { margin-left: auto; }
  body.menu-otevreno { overflow: hidden; }
  body.menu-otevreno .hlavicka { background: var(--pozadi); color: var(--text); border-color: var(--cara); }
  body.menu-otevreno .hlavicka .logo-tmave { display: block; }
  body.menu-otevreno .hlavicka .logo-svetle { display: none; }
  body.menu-otevreno .hlavicka .jazyky [aria-current="page"] > b { color: var(--pozadi) !important; }
}
.menu-cta { display: none; flex-direction: column; gap: 12px; }
@media (max-width: 520px) { .ikona-tl--tel { display: none; } .logo img { height: var(--logo-vyska-mobil, 28px); } .hlavicka .obal { gap: 10px; } .hlavicka-akce { gap: 6px; } .jazyky a, .jazyky span { padding: .3em .55em; } }
@media (max-width: 400px) { .jazyky { font-size: .75rem; } .jazyky a, .jazyky span { padding: .3em .45em; } }
@media (max-width: 359px) { .logo img { height: 21px; } .hlavicka .obal { gap: 6px; } .burger { width: 40px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-obr { position: absolute; inset: 0; z-index: -2; }
.hero-obr img, .hero-obr picture { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-zavoj); }
.hero-obsah { padding-top: 140px; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero h1 { font-size: clamp(2.6rem, 1.3rem + 6.2vw, 6.4rem); max-width: 14ch; }
.hero-text { max-width: 600px; margin-top: 1.5rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); color: rgba(255,255,255,.88); }
.hero .tlacitka { margin-top: 2.2rem; }
.hero .nadtitul { color: var(--akcent-na-tmave); }
.hero .nadtitul, .hero-text { text-shadow: 0 1px 14px rgba(0,0,0,.5); }

/* ---------- Čísla ---------- */
.cisla { display: grid; grid-template-columns: repeat(4, 1fr); }
.cislo { padding: 28px clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--cara); }
.cislo:first-child { border-left: 0; }
.cislo-hodnota { display: block; font-family: var(--font-nadpis); font-stretch: var(--nadpis-sirka); font-weight: var(--nadpis-vaha); font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--cislo-barva, var(--text)); }
.cislo-popis { display: block; margin-top: .6rem; font-size: .9375rem; color: var(--text-slaby); line-height: 1.4; }
@media (max-width: 860px) {
  .cisla { grid-template-columns: repeat(2, 1fr); }
  .cislo { border-left: 0; border-top: 1px solid var(--cara); }
  .cislo:nth-child(even) { border-left: 1px solid var(--cara); }
  .cislo:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Karty / mřížky ---------- */
.mrizka { display: grid; gap: clamp(16px, 2vw, 24px); }
.mrizka--2 { grid-template-columns: repeat(2, 1fr); }
.mrizka--3 { grid-template-columns: repeat(3, 1fr); }
.mrizka--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .mrizka--3, .mrizka--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mrizka--2, .mrizka--3, .mrizka--4 { grid-template-columns: 1fr; } }
.karta { background: var(--povrch); border: 1px solid var(--cara); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.karta:hover { transform: translateY(-3px); box-shadow: var(--stin); border-color: transparent; }
.karta h3 { margin-bottom: .7rem; }
.karta p { color: var(--text-slaby); font-size: 1rem; }
.sekce--tmava .karta { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.sekce--tmava .karta p { color: var(--tmava-text-slaby); }
.ikona { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius-male); background: var(--ikona-pozadi); color: var(--ikona-barva); margin-bottom: 1.4rem; }
.ikona svg { width: 28px; height: 28px; }

/* ---------- Seznam s fajfkami ---------- */
.fajfky { list-style: none; display: grid; gap: .7em; }
.fajfky li { position: relative; padding-left: 2em; }
.fajfky li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--akcent-na-svetle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }
.sekce--tmava .fajfky li::before { background-color: var(--akcent-na-tmave); }

/* ---------- Fotky ---------- */
.foto { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--povrch-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.foto-popis { font-size: .875rem; color: var(--text-slaby); margin-top: .7rem; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 14px); }
.insta a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-male); background: var(--povrch-2); }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.insta a:hover img { transform: scale(1.05); filter: brightness(.82); }
.insta a::after { content: ""; position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; opacity: .0; transition: opacity .3s; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='white'/%3E%3C/svg%3E") center/contain no-repeat; }
.insta a:hover::after { opacity: 1; }
.insta-text { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; font-size: .8125rem; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .3s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.insta a:hover .insta-text, .insta a:focus-visible .insta-text { opacity: 1; }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(2, 1fr); } }
.insta-hlava { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.insta-hlava .hlava-sekce { margin-bottom: 0; }

/* ---------- Kontakt + formulář ---------- */
.kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 920px) { .kontakt { grid-template-columns: 1fr; } }
.kontakt-radky { list-style: none; display: grid; gap: 4px; margin-top: 32px; }
.kontakt-radek { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--tmava-cara, var(--cara)); text-decoration: none; }
a.kontakt-radek:hover .kontakt-hodnota { text-decoration: underline; text-underline-offset: 4px; }
.kontakt-radek svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--akcent-na-tmave); }
.kontakt-stitek { display: block; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.kontakt-hodnota { display: block; font-size: 1.125rem; font-weight: 600; }
.kontakt-hodnota small { display: block; font-weight: 400; font-size: .9375rem; opacity: .8; }
.formular { background: var(--pozadi); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.formular h3 { margin-bottom: .4rem; }
.formular > p { color: var(--text-slaby); font-size: .9375rem; }
.pole-mrizka { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.pole--cele { grid-column: 1 / -1; }
@media (max-width: 560px) { .pole-mrizka { grid-template-columns: 1fr; } }
.pole label, .pole legend { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; }
.pole label .nepovinne { font-weight: 400; color: var(--text-slaby); }
.pole input, .pole select, .pole textarea { width: 100%; min-height: 50px; padding: .7em .9em; border: 1.5px solid var(--cara-pole); border-radius: var(--radius-male); background: var(--povrch); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.pole textarea { min-height: 130px; resize: vertical; }
.pole input:focus, .pole select:focus, .pole textarea:focus { outline: none; border-color: var(--akcent-na-svetle); box-shadow: 0 0 0 4px color-mix(in srgb, var(--akcent-na-svetle) 18%, transparent); }
.pole [aria-invalid="true"] { border-color: #b3261e; }
.pole-chyba { display: block; color: #b3261e; font-size: .8125rem; margin-top: .3rem; min-height: 0; }
.cipy-obal { border: 0; padding: 0; margin: 0; min-width: 0; }
.cipy { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.cipy label { margin: 0; font-weight: 500; }
.cipy input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cipy span { display: inline-block; padding: .5em 1em; border: 1.5px solid var(--cara-pole); border-radius: 999px; font-size: .9375rem; cursor: pointer; transition: all .2s; user-select: none; }
.cipy input:checked + span { background: var(--text); border-color: var(--text); color: var(--pozadi); }
.cipy input:focus-visible + span { outline: 3px solid var(--fokus); outline-offset: 2px; }
.formular-odeslat { display: grid; gap: 10px; margin-top: 24px; }
.formular-odeslat--dva { grid-template-columns: 1fr 1fr; }
.formular-odeslat--dva > [value="web"] { grid-column: 1 / -1; }
@media (max-width: 560px) { .formular-odeslat--dva { grid-template-columns: 1fr; } }
.formular-pozn { font-size: .8125rem; color: var(--text-slaby); margin-top: 14px; }
.formular-pozn a { color: inherit; }
.formular-stav { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-male); font-size: .9375rem; }
.formular-stav:empty { display: none; }
.formular-stav--ok { background: #e7f5ec; color: #0f5132; }
.formular-stav--chyba { background: #fdecea; color: #7a1c14; }
.hp { position: absolute; left: -9999px; }

/* ---------- Plovoucí WhatsApp ---------- */
.plovouci-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #0b2e17; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); text-decoration: none; transform: translateY(120px); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.plovouci-wa.videt { transform: none; }
.plovouci-wa svg { width: 30px; height: 30px; }
.plovouci-wa:hover { background: #1ebe5b; }

/* ---------- Patička ---------- */
.paticka { background: var(--paticka); color: var(--tmava-text-slaby); padding-block: 64px 32px; font-size: .9375rem; }
.paticka a { text-decoration: none; }
.paticka a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.paticka-mrizka { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .paticka-mrizka { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .paticka-mrizka { grid-template-columns: 1fr; } }
.paticka h2 { font-family: var(--font-telo); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 700; font-stretch: 100%; }
.paticka ul { list-style: none; display: grid; gap: .5em; }
.paticka-logo img { height: 46px; width: auto; margin-bottom: 1.2rem; }
.paticka-spodek { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.socialni { display: flex; gap: 10px; margin-top: 1.2rem; }
.socialni a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.socialni a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.socialni svg { width: 20px; height: 20px; }

/* ---------- Právní stránky ---------- */
.pravni-hlava { padding-top: 150px; padding-bottom: 40px; background: var(--povrch-2); border-bottom: 1px solid var(--cara); }
.pravni-hlava h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); }
.pravni-hlava p { color: var(--text-slaby); margin-top: 1rem; }
.pravni { padding-block: 56px 100px; }
.pravni h2 { font-size: 1.45rem; margin: 2.6rem 0 .9rem; }
.pravni h3 { font-size: 1.1rem; margin: 1.8rem 0 .6rem; font-family: var(--font-telo); font-weight: 700; font-stretch: 100%; letter-spacing: 0; }
.pravni p, .pravni li { color: var(--text-pravni, var(--text)); }
.pravni ul { padding-left: 1.3em; margin-bottom: 1em; }
.pravni li { margin-bottom: .35em; }
.pravni a { color: var(--akcent-na-svetle); }
.pravni address { font-style: normal; }
.pravni-tabulka { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 8px 24px; margin: 0 0 1.2em; }
.pravni-tabulka dt { color: var(--text-slaby); }
.pravni-tabulka dd { margin: 0; }
@media (max-width: 560px) { .pravni-tabulka { grid-template-columns: 1fr; gap: 0; } .pravni-tabulka dd { margin-bottom: .7em; } }
.upozorneni { background: var(--povrch-2); border-left: 4px solid var(--akcent-na-svetle); padding: 16px 20px; border-radius: 0 var(--radius-male) var(--radius-male) 0; font-size: .9375rem; }

/* ---------- Galerie v dialogu ---------- */
.galerie-dialog { width: min(1180px, 100vw); max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: auto; padding: 0; border: 0; background: #0e1012; color: #fff; overflow: hidden; }
@media (min-width: 900px) { .galerie-dialog { height: min(860px, 94dvh); border-radius: var(--radius); } }
.galerie-dialog::backdrop { background: rgba(8,9,11,.82); backdrop-filter: blur(6px); }
.galerie-dialog[open] { display: grid; grid-template-rows: auto 1fr auto; animation: dialog-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.galerie-hlava { display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.galerie-hlava h2 { font-size: 1.2rem; flex: 1; min-width: 0; }
.galerie-pocet { font-size: .875rem; opacity: .7; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zavrit { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.zavrit:hover { background: rgba(255,255,255,.12); }
.zavrit svg { width: 22px; height: 22px; }
.galerie-pas { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.galerie-pas::-webkit-scrollbar { display: none; }
.galerie-pas figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; padding: 12px; min-height: 0; height: 100%; }
.galerie-pas figure > div { position: relative; flex: 1; min-height: 0; }
.galerie-pas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.galerie-pas figcaption { font-size: .875rem; opacity: .75; text-align: center; padding-top: 8px; }
.galerie-spodek { display: flex; align-items: center; gap: 16px; padding: 12px 16px 16px 24px; border-top: 1px solid rgba(255,255,255,.1); }
.galerie-spodek p { flex: 1; font-size: .9375rem; color: rgba(255,255,255,.78); margin: 0; max-height: 7.5em; overflow-y: auto; }
.galerie-sipky { display: flex; gap: 8px; flex: none; }
.galerie-sipky button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.galerie-sipky button:hover:not(:disabled) { background: #fff; color: #111; }
.galerie-sipky button:disabled { opacity: .3; cursor: default; }
.galerie-sipky svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .galerie-spodek { flex-direction: column; align-items: stretch; } .galerie-sipky { justify-content: center; } }

/* ---------- Odhalování při scrollu ---------- */
.js [data-odhal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--zpozdeni, 0) * 90ms); }
.js [data-odhal="vlevo"] { transform: translateX(-32px); }
.js [data-odhal="zoom"] { transform: scale(.96); }
.js [data-odhal].videt { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-odhal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 404 ---------- */
.chyba-404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.chyba-404 .cislo-hodnota { font-size: clamp(5rem, 20vw, 11rem); color: var(--akcent-na-svetle); }

/* ==========================================================================
   KB Bauteam – motiv. Břidlicová #4a4f58 + ocelová modrá #2E5A82.
   Charakter: řemeslo, beton, ostré hrany, široké písmo Archivo.
   ========================================================================== */
:root {
  --hlavni: #4a4f58;
  --akcent: #2E5A82;
  --akcent-hover: #23486a;
  --akcent-text: #ffffff;
  --akcent-na-svetle: #2E5A82;
  --akcent-na-tmave: #9cc0e3;
  --pozadi: #f5f4f1;
  --povrch: #ffffff;
  --povrch-2: #ecebe7;
  --text: #1d2025;
  --text-slaby: #575d66;
  --tmava: #2a2e35;
  --tmava-text: #f2f3f5;
  --tmava-text-slaby: #b8bdc6;
  --tmava-cara: rgba(255,255,255,.12);
  --paticka: #1c1f24;
  --cara: rgba(29,32,37,.12);
  --cara-pole: #c8c6c0;
  --fokus: #2E5A82;
  --radius: 6px;
  --radius-male: 4px;
  --radius-tl: 3px;
  --stin: 0 26px 50px -28px rgba(20,24,30,.38);
  --font-nadpis: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-telo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nadpis-vaha: 760;
  --nadpis-sirka: 112%;
  --nadpis-pismena: -0.018em;
  --hero-zavoj: linear-gradient(180deg, rgba(14,17,21,.55) 0%, rgba(14,17,21,.08) 32%, rgba(14,17,21,.25) 55%, rgba(14,17,21,.86) 100%), linear-gradient(90deg, rgba(14,17,21,.55) 0%, rgba(14,17,21,0) 65%);
  --ikona-pozadi: #e4ecf4;
  --ikona-barva: #2E5A82;
  --logo-vyska: 38px;
  --logo-vyska-mobil: 26px;
  /* barvy kresby domu */
  --svg-cara: #4a4f58;
  --svg-zed: #c9876a;
  --svg-zed-tmava: #8e5641;
  --svg-spara: #e9d9cf;
  --svg-strecha: #4a4f58;
  --svg-strecha-cara: #6b717b;
  --svg-sklo: #cfe0ef;
  --svg-ram: #2a2e35;
  --svg-dvere: #2E5A82;
  --svg-trava: #9db58a;
  --svg-dlazba: #cdc8bf;
  --svg-kmen: #6b5545;
  --svg-strom: #6f9a63;
  --svg-pecet: #2E5A82;
}

.h2 { font-size: clamp(2rem, 1.25rem + 3.1vw, 3.5rem); }
.hero h1 { text-transform: uppercase; font-stretch: 118%; font-weight: 800; letter-spacing: -.01em; line-height: .98; font-size: clamp(2.5rem, 1.1rem + 6vw, 6.2rem); }
@media (max-width: 600px) { .hero h1 { font-size: clamp(1.9rem, 9.4vw, 3rem); font-stretch: 108%; } }
.hero-obsah { padding-bottom: clamp(110px, 14vw, 170px); }

/* ---------- Pás s čísly přes spodek hero ---------- */
.cisla-pas { position: relative; z-index: 2; margin-top: clamp(-96px, -8vw, -64px); }
.cisla-pas .cisla { background: var(--povrch); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(15,18,22,.35); border-top: 4px solid var(--akcent); }
.cisla-pas .cislo:nth-child(2) .cislo-hodnota { color: var(--akcent); }
@media (max-width: 860px) { .cisla-pas { margin-top: -40px; } }

/* ---------- Tři pilíře ---------- */
.pilire { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 980px) { .pilire { grid-template-columns: 1fr 1fr; } .pilir:last-child { grid-column: 1 / -1; } .pilir:last-child .pilir-foto { aspect-ratio: 16 / 7; } }
@media (max-width: 620px) { .pilire { grid-template-columns: 1fr; } .pilir:last-child .pilir-foto { aspect-ratio: 4 / 3; } }
.pilir-foto { aspect-ratio: 4 / 3; margin-bottom: 1.4rem; }
.pilir:hover .pilir-foto img { transform: scale(1.04); }
.pilir h3 { display: flex; align-items: baseline; gap: .6em; text-transform: uppercase; font-stretch: 118%; margin-bottom: .6rem; }
.pilir-cislo { font-size: .8125rem; color: var(--akcent); font-family: var(--font-telo); font-weight: 700; letter-spacing: .08em; }
.pilir p { color: var(--text-slaby); }

/* ---------- Řemesla ---------- */
.remesla-nadpis { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-telo); font-stretch: 100%; font-weight: 700; color: var(--text-slaby); margin: clamp(56px, 8vw, 96px) 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--cara); }
.remesla { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--cara); border-top: 1px solid var(--cara); }
.remeslo { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; border-right: 1px solid var(--cara); border-bottom: 1px solid var(--cara); background: var(--povrch); transition: background-color .25s; }
.remeslo:hover { background: #fafaf8; }
.remeslo > svg { width: 30px; height: 30px; flex: none; color: var(--akcent); margin-top: 2px; }
.remeslo { min-width: 0; }
.remeslo h3 { overflow-wrap: break-word; hyphens: auto; font-family: var(--font-telo); font-stretch: 100%; letter-spacing: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin-bottom: .25rem; }
.remeslo p { font-size: .9375rem; color: var(--text-slaby); line-height: 1.45; }
.remeslo--cta { grid-column: span 3; background: var(--tmava); color: var(--tmava-text); align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding: 22px 28px; }
.remeslo--cta:hover { background: var(--tmava); }
.remeslo--cta p { color: var(--tmava-text-slaby); }
.remeslo--cta h3 { font-family: var(--font-nadpis); font-stretch: 112%; font-size: 1.3rem; }
@media (max-width: 1080px) { .remesla { grid-template-columns: repeat(3, minmax(0, 1fr)); } .remeslo--cta { grid-column: span 2; } }
@media (max-width: 760px) { .remesla { grid-template-columns: repeat(2, minmax(0, 1fr)); } .remeslo--cta { grid-column: span 1; } .remeslo { flex-direction: column; padding: 18px 16px; } }
@media (max-width: 420px) { .remesla { grid-template-columns: 1fr; } .remeslo { flex-direction: row; } }

/* ---------- Výhody (tmavá) ---------- */
.vyhody-hlava { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.vyhody-hlava .hlava-sekce { margin-bottom: 0; }
.vyhody-hlava .uvod { margin: 0; }
@media (max-width: 900px) { .vyhody-hlava { grid-template-columns: 1fr; } }
.sekce--tmava .ikona { background: rgba(156,192,227,.12); color: var(--akcent-na-tmave); }
.sekce--tmava .karta h3 { font-size: 1.3rem; }

/* ---------- Od základů po střechu ---------- */
.stavba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.stavba-kresba { position: sticky; top: 110px; display: grid; gap: 28px; }
.stavba-platno { background: var(--povrch); border: 1px solid var(--cara); border-radius: var(--radius); padding: clamp(16px, 3vw, 36px); position: relative; overflow: hidden; }
.stavba-platno::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--cara) 1px, transparent 1px), linear-gradient(90deg, var(--cara) 1px, transparent 1px); background-size: 24px 24px; opacity: .45; pointer-events: none; }
.stavba-svg { position: relative; width: 100%; }
.stavba-svg .kresba { stroke: var(--svg-cara); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.stavba-osa { list-style: none; counter-reset: osa; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; font-size: .75rem; font-weight: 600; color: var(--text-slaby); position: relative; padding-top: 14px; }
.stavba-osa::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: var(--cara); }
.stavba-osa::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; border-radius: 4px; width: calc(var(--postup, 1) * 100%); background: var(--akcent); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.stavba-osa li { counter-increment: osa; line-height: 1.3; }
.stavba-osa li::before { content: "0" counter(osa); display: block; font-family: var(--font-nadpis); font-stretch: 112%; font-size: .9rem; color: var(--text); }
.kroky { list-style: none; display: grid; gap: clamp(48px, 9vh, 110px); }
.krok { display: grid; gap: 20px; transition: opacity .5s; }
[data-animuje] .krok:not(.prave) { opacity: .35; }
[data-animuje] .krok.aktivni:last-child { opacity: 1; }
.krok-cislo { display: inline-block; font-family: var(--font-nadpis); font-stretch: 118%; font-weight: 800; font-size: 1rem; color: #fff; background: var(--akcent); padding: .25em .6em; border-radius: 3px; margin-bottom: .9rem; }
.krok h3 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); text-transform: uppercase; margin-bottom: .5rem; }
.krok p { color: var(--text-slaby); }
.krok-foto { aspect-ratio: 4 / 3; }
.krok-foto img { height: 100%; }

/* fáze kresby: bez JS (nebo s omezeným pohybem) je vidět celý dům */
.js .stavba-svg .f { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transform-box: fill-box; }
.js .stavba-svg .kresba { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.4,.1,.2,1); }
.js .stavba-svg .f0 { opacity: 1; transform: none; }
.js .stavba-svg .f0 .kresba { stroke-dashoffset: 0; }
.js [data-faze="1"] .f1, .js [data-faze="2"] :is(.f1,.f2), .js [data-faze="3"] :is(.f1,.f2,.f3), .js [data-faze="4"] :is(.f1,.f2,.f3,.f4), .js [data-faze="5"] :is(.f1,.f2,.f3,.f4,.f5), .js [data-faze="6"] .f { opacity: 1; transform: none; }
.js [data-faze="1"] .f1 .kresba, .js [data-faze="2"] :is(.f1,.f2) .kresba, .js [data-faze="3"] :is(.f1,.f2,.f3) .kresba, .js [data-faze="4"] :is(.f1,.f2,.f3,.f4) .kresba, .js [data-faze="5"] :is(.f1,.f2,.f3,.f4,.f5) .kresba, .js [data-faze="6"] .f .kresba { stroke-dashoffset: 0; }
.js [data-faze="4"] .f3 .kresba, .js [data-faze="5"] .f3 .kresba, .js [data-faze="6"] .f3 .kresba { opacity: .25; }
.stavba-svg .pecet { transform-box: fill-box; transform-origin: center; }
.js [data-faze="6"] .pecet { animation: pecet .6s .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pecet { from { transform: translate(240px, 40px) scale(0); } to { transform: translate(240px, 40px) scale(1); } }

@media (max-width: 900px) {
  .stavba { grid-template-columns: 1fr; gap: 24px; }
  .stavba-kresba { top: 76px; z-index: 3; background: var(--pozadi); padding: 10px 0 12px; margin-inline: calc(-1 * clamp(16px, 4.5vw, 40px)); padding-inline: clamp(16px, 4.5vw, 40px); gap: 10px; box-shadow: 0 14px 20px -18px rgba(0,0,0,.4); }
  .stavba-platno { padding: 8px; }
  .stavba-svg { max-height: 150px; }
  .stavba-osa { font-size: 0; gap: 4px; padding-top: 8px; }
  .stavba-osa li::before { font-size: .75rem; text-align: center; }
  .kroky { gap: 56px; }
}

/* ---------- Reference ---------- */
.projekty { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 24px); }
.projekt { grid-column: span 3; }
.projekt:nth-child(2), .projekt:nth-child(3) { grid-column: span 2; }
.projekt--hlavni { grid-column: span 4; grid-row: span 2; }
@media (max-width: 980px) { .projekty { grid-template-columns: 1fr 1fr; } .projekt, .projekt:nth-child(2), .projekt:nth-child(3) { grid-column: span 1; } .projekt--hlavni { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 620px) { .projekty { grid-template-columns: 1fr; } .projekt--hlavni .projekt-foto { aspect-ratio: 4 / 3; min-height: 0; flex: none; } }
.projekt-tl { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: var(--povrch); border-radius: var(--radius); overflow: hidden; text-align: left; cursor: pointer; box-shadow: 0 1px 0 var(--cara); transition: box-shadow .3s, transform .3s; }
.projekt-tl:hover { box-shadow: var(--stin); transform: translateY(-3px); }
.projekt-tl:hover .projekt-foto img { transform: scale(1.04); }
.projekt-foto { display: block; aspect-ratio: 4 / 3; border-radius: 0; flex: none; }
.projekt--hlavni .projekt-foto { aspect-ratio: auto; flex: 1; min-height: 340px; }
.projekt-pocet { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: .4em; padding: .35em .75em; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: rgba(15,18,22,.72); color: #fff; backdrop-filter: blur(4px); }
.projekt-pocet svg { width: 16px; height: 16px; }
.projekt-text { display: flex; flex-direction: column; gap: .45rem; padding: 20px 22px 22px; }
.projekt-stitek { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--akcent); }
.projekt-nazev { font-family: var(--font-nadpis); font-stretch: 108%; font-weight: 720; font-size: 1.25rem; line-height: 1.2; }
.projekt--hlavni .projekt-nazev { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.projekt-popis { color: var(--text-slaby); font-size: 1rem; }
.projekt-odkaz { display: inline-flex; align-items: center; gap: .4em; margin-top: .3rem; font-weight: 650; font-size: .9375rem; color: var(--akcent); }
.projekt-odkaz svg { width: 18px; height: 18px; transition: transform .25s; }
.projekt-tl:hover .projekt-odkaz svg { transform: translateX(4px); }

/* ---------- O nás ---------- */
.onas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
@media (max-width: 900px) { .onas { grid-template-columns: 1fr; } .onas-text { order: -1; } }
.onas-fotky { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, minmax(22px, 1fr)); aspect-ratio: 1 / 1.05; }
.onas-f1 { grid-column: 1 / 10; grid-row: 1 / 8; }
.onas-f2 { grid-column: 8 / 13; grid-row: 5 / 13; box-shadow: 0 0 0 8px var(--pozadi); z-index: 1; }
.onas-f3 { grid-column: 1 / 8; grid-row: 8 / 13; margin-top: 16px; margin-right: 16px; }
.onas-odstavce { margin-top: 1.6rem; color: var(--text-slaby); }
.oblast { margin-top: 2rem; padding: 22px 24px; background: var(--povrch); border: 1px solid var(--cara); border-radius: var(--radius); }
.oblast h3 { display: flex; gap: .5em; align-items: center; font-family: var(--font-telo); font-stretch: 100%; letter-spacing: 0; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.oblast h3 svg { width: 20px; height: 20px; color: var(--akcent); }
.oblast-mesta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.oblast-mesta li { padding: .35em .85em; border-radius: 999px; background: var(--povrch-2); font-size: .9375rem; font-weight: 550; }
.oblast-mesta li:last-child { background: none; color: var(--text-slaby); padding-left: .2em; }
.partner { margin-top: 1.6rem; font-size: .9375rem; color: var(--text-slaby); }
.partner a { color: var(--akcent); font-weight: 650; }

/* ---------- Kariéra ---------- */
.kariera-mrizka { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .kariera-mrizka { grid-template-columns: 1fr; } }
.pozice { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2rem; }
.pozice li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 18px 20px; background: var(--povrch); border-radius: var(--radius); border-left: 4px solid var(--akcent); }
.pozice span { font-family: var(--font-nadpis); font-stretch: 112%; font-weight: 750; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); text-transform: uppercase; }
.pozice small { color: var(--text-slaby); font-size: .8125rem; }
@media (max-width: 420px) { .pozice { grid-template-columns: 1fr; } }
.kariera-karta { background: var(--tmava); color: var(--tmava-text); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.kariera-karta h3 { margin-bottom: 1.2rem; }
.kariera-karta .fajfky li::before { background-color: var(--akcent-na-tmave); }
.kariera-karta .fajfky li::before { filter: none; }
.kariera-pozn { margin: 1.6rem 0 1.2rem; color: var(--tmava-text-slaby); }
.kariera-karta .tl--obrys { color: #fff; border-color: rgba(255,255,255,.6); }
.kariera-karta .tl--obrys:hover { background: #fff; border-color: #fff; color: var(--tmava); }

/* ---------- Kontakt ---------- */
.kontakt-tl { margin-top: 1.8rem; }
.sekce--tmava .kontakt-radek { border-color: var(--tmava-cara); }
.sekce--tmava .tl:not(.tl--wa):not(.tl--svetly-obrys):not(.tl--obrys) { --tl-pozadi: #3b6c99; }
.formular .tl:not(.tl--wa):not(.tl--obrys) { --tl-pozadi: var(--akcent); }


/* ---------- Katalog prací (2. 11. 2026): fotky podle řemesla pod službami ---------- */
.remeslo-fotky { display: inline-flex; align-items: center; gap: .4em; margin-top: .65rem; font-size: .875rem; font-weight: 600; color: var(--akcent); text-decoration: none; }
.remeslo-fotky svg { width: 16px; height: 16px; }
.remeslo-fotky:hover { text-decoration: underline; }
.katalog { margin-top: clamp(56px, 8vw, 96px); }
.katalog-uvod .remesla-nadpis { margin-top: 0; }
.katalog-uvod p { color: var(--text-slaby); max-width: 62ch; margin-bottom: 8px; }
.katalog-radek { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 20px 32px; padding: 26px 0; border-bottom: 1px solid var(--cara); }
.katalog-hlava { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; align-self: start; }
.katalog-hlava > svg { width: 28px; height: 28px; color: var(--akcent); }
.katalog-hlava h4 { font-family: var(--font-telo); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin: 0; overflow-wrap: break-word; hyphens: auto; }
.katalog-pocet { font-size: .8125rem; font-weight: 600; color: var(--text-slaby); background: var(--povrch); border: 1px solid var(--cara); border-radius: 999px; padding: .1em .65em; font-variant-numeric: tabular-nums; }
.katalog-hlava p { grid-column: 2 / -1; font-size: .9375rem; color: var(--text-slaby); line-height: 1.45; margin: 0; }
.katalog-nahledy { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; min-width: 0; }
.katalog-nahled { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--povrch); cursor: zoom-in; }
.katalog-nahled img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.katalog-nahled:hover img { transform: scale(1.05); }
.katalog-nahled:focus-visible { outline: 3px solid var(--akcent); outline-offset: 2px; }
@media (max-width: 760px) {
  .katalog-radek { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  /* na telefonu vodorovný pás náhledů (posouvá se jen pás, ne stránka) */
  .katalog-nahledy { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 6px; overscroll-behavior-x: contain; }
  .katalog-nahledy li { flex: 0 0 40%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .katalog-nahled img { transition: none; } .katalog-nahled:hover img { transform: none; } }

/* ---------- 7. 11. 2026: čitelnost na telefonu, právní odkazy, formulář ---------- */
/* dlouhá slova v nadpisech nesmí přetéct (Datenschutzerklärung na telefonu přetékala o 20–70 px) */
h1, h2, h3, h4, .h2, .h3 { overflow-wrap: break-word; }
.pravni-hlava h1, .pravni h2, .pravni h3 { hyphens: auto; -webkit-hyphens: auto; }
/* Impressum + Datenschutz i v mobilním menu (CFG pravni_v_menu, stejně jako web SoBa); na počítači je menu vodorovné → tam jen v patičce */
.menu-pravni { display: none; }
@media (max-width: 1080px) {
  .menu .menu-pravni { display: flex; flex-wrap: wrap; gap: 4px 22px; order: 1; margin-top: 14px; }
  .menu .menu-cta { order: 2; margin-top: 22px; }
  .menu .menu-pravni a { font-family: var(--font-telo); font-stretch: 100%; font-size: .9375rem; font-weight: 600; padding: .4em 0; border: 0; color: var(--text-slaby); text-decoration: underline; text-underline-offset: 3px; }
}
/* 🔴 OPRAVA (převzato z webu SoBa 7. 11.): hlavička má ve sdíleném zaklad.css backdrop-filter → pro position:fixed menu
   se stává „obalem“ (76 px vysoký) a otevřené mobilní menu se po odrolování a na Impressu/Datenschutzu ukázalo jen jako
   useknutý proužek. Při otevřeném menu má hlavička plné pozadí, rozmazání není potřeba. */
body.menu-otevreno .hlavicka { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* plovoucí WhatsApp nesmí na telefonu zakrýt odkazy Impressum/Datenschutz na konci stránky */
@media (max-width: 760px) { .paticka-spodek { padding-bottom: 76px; } }
.paticka-spodek a { color: var(--tmava-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.formular-noscript { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-male); background: #fff4e0; color: #5a3f0a; font-size: .9375rem; }
.formular-noscript a, .formular-stav a { color: inherit; font-weight: 600; }
/* elektro jen koordinace přes zapsané partnery (KB elektro sama neprovádí – majitel 6. 11.) */
.elektro-pozn { margin-top: 18px; font-size: 1rem; color: var(--text-slaby); padding-left: 14px; border-left: 2px solid var(--akcent-na-svetle); max-width: 70ch; }
