/* 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: '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;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/sora-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: 'Sora';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/sora-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); }

/* ==========================================================================
   SoBa Group – motiv. Teplá zlatá #C2A15E + antracit #33383E.
   🔴 Bílý text na zlaté má špatný kontrast → zlatá jen na tmavém pozadí
      nebo s tmavým textem; na světlém pozadí tmavší zlatá #7d5f24 (5,4 : 1).
   Charakter: klidný, přesný, „výkresový“ – písmo Sora, zaoblené tvary.
   ========================================================================== */
:root {
  --hlavni: #33383E;
  --akcent: #C2A15E;
  --akcent-hover: #d2b479;
  --akcent-text: #1f2226;
  --akcent-na-svetle: #7d5f24;
  --akcent-na-tmave: #C2A15E;
  --pozadi: #f7f5f0;
  --povrch: #ffffff;
  --povrch-2: #efebe3;
  --text: #22252a;
  --text-slaby: #5a5f66;
  --tmava: #33383E;
  --tmava-text: #f4f2ee;
  --tmava-text-slaby: #c3c5c9;
  --tmava-cara: rgba(255,255,255,.12);
  --paticka: #26292e;
  --cara: rgba(34,37,42,.11);
  --cara-pole: #cfcac0;
  --fokus: #a8843e;
  --radius: 16px;
  --radius-male: 10px;
  --radius-tl: 999px;
  --stin: 0 28px 56px -30px rgba(30,32,36,.35);
  --font-nadpis: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-telo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nadpis-vaha: 600;
  --nadpis-sirka: 100%;
  --nadpis-pismena: -0.028em;
  --ikona-pozadi: #f3ead8;
  --ikona-barva: #7d5f24;
  --logo-vyska: 44px;
  --logo-vyska-mobil: 32px;
}

.h2 { font-size: clamp(1.9rem, 1.2rem + 2.9vw, 3.3rem); }
.nadtitul { letter-spacing: .16em; }

/* ---------- Hero ---------- */
.hero--soba { background: radial-gradient(120% 90% at 85% 10%, #41474f 0%, #33383E 45%, #2a2e33 100%); min-height: min(100svh, 940px); align-items: center; }
.hero--soba::before { display: none; }
.hero-mrizka { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 100%); }
.hero--soba .hero-obsah { padding-top: 130px; padding-bottom: 56px; }
.hero-sloupce { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.hero--soba h1 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.4rem); line-height: 1.02; max-width: none; letter-spacing: -.035em; }
.hero--soba h1 em { font-style: normal; color: var(--akcent); }
.plan-svg { width: 100%; max-width: 480px; justify-self: end; color: var(--akcent); }
.plan-svg .r { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .plan-svg .r { stroke-dashoffset: 1; animation: rys 2.2s cubic-bezier(.5,.1,.2,1) forwards; }
.js .plan-budova .r:nth-child(2) { animation-delay: .25s; } .js .plan-budova .r:nth-child(3) { animation-delay: .5s; }
.js .plan-budova .r:nth-child(4) { animation-delay: .8s; } .js .plan-budova .r:nth-child(5) { animation-delay: 1.1s; }
.js .plan-budova .r:nth-child(6) { animation-delay: 1.4s; } .js .plan-budova .r:nth-child(7) { animation-delay: 1.7s; }
.js .plan-mira .r { animation-delay: 1.9s; }
.js .plan-body circle { opacity: 0; animation: bod .5s ease forwards; animation-delay: 2.3s; }
@keyframes rys { to { stroke-dashoffset: 0; } }
@keyframes bod { to { opacity: 1; } }
@media (max-width: 900px) { .hero-sloupce { grid-template-columns: 1fr; } .plan-svg { max-width: 300px; justify-self: start; order: -1; margin-bottom: -8px; } }
@media (max-width: 600px) { .plan-svg { max-width: 190px; } .hero--soba h1 { font-size: clamp(2.1rem, 10vw, 3rem); } }

.body { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255,255,255,.14); }
.bod { display: flex; gap: 14px; align-items: flex-start; padding: 24px 20px 0 0; }
.bod svg { width: 26px; height: 26px; flex: none; color: var(--akcent); margin-top: 2px; }
.bod strong { display: block; font-family: var(--font-nadpis); font-weight: 600; font-size: 1.0625rem; color: #fff; letter-spacing: -.01em; }
.bod span { color: var(--tmava-text-slaby); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 980px) { .body { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .body { grid-template-columns: 1fr; } .bod { padding-top: 18px; } }

/* ---------- Služby ---------- */
.sluzba { background: var(--povrch); border: 1px solid var(--cara); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 44px); transition: box-shadow .3s, transform .3s; }
.sluzba:hover { box-shadow: var(--stin); transform: translateY(-3px); }
.sluzba-hlava { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.sluzba-hlava .ikona { margin: 0; }
.sluzba-cislo { font-family: var(--font-nadpis); font-size: 3rem; font-weight: 300; line-height: 1; color: #ddd3bf; letter-spacing: -.04em; }
.sluzba h3 { margin-bottom: .7rem; }
.sluzba > p { color: var(--text-slaby); margin-bottom: 1.4rem; }
.sluzba .fajfky { font-size: .9688rem; padding-top: 1.2rem; border-top: 1px solid var(--cara); }

/* ---------- Princip / schéma ---------- */
.prinzip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .prinzip { grid-template-columns: 1fr; } }
.schema { display: grid; gap: 0; justify-items: stretch; }
.schema-uzel { position: relative; background: var(--povrch); border: 1px solid var(--cara); border-radius: var(--radius); padding: 22px 26px; text-align: center; }
.schema-uzel strong { display: block; font-family: var(--font-nadpis); font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.schema-uzel small { display: block; color: var(--text-slaby); font-size: .9375rem; margin-top: .2rem; }
.schema-stitek { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--pozadi); border: 1px solid var(--cara); border-radius: 999px; padding: .1em .8em; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--akcent-na-svetle); white-space: nowrap; }
.schema-uzel--soba { background: var(--tmava); color: #fff; border-color: transparent; padding: 28px 26px; box-shadow: 0 30px 60px -30px rgba(30,32,36,.55); }
.schema-uzel--soba img { width: 68px; height: auto; margin: 0 auto 10px; }
.schema-uzel--soba small { color: var(--akcent); }
.schema-sipka { height: 44px; position: relative; }
.schema-sipka::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; background: repeating-linear-gradient(var(--akcent-na-svetle) 0 6px, transparent 6px 11px); transform: translateX(-50%); }
.schema-sipka::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 10px; height: 10px; border-right: 2px solid var(--akcent-na-svetle); border-bottom: 2px solid var(--akcent-na-svetle); transform: translateX(-50%) rotate(45deg); }
.gewerke { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.gewerke li { font-size: .8125rem; font-weight: 550; padding: .3em .8em; border-radius: 999px; background: var(--povrch-2); }

/* ---------- Postup (tmavá osa) ---------- */
.ablauf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ablauf-hlava { position: sticky; top: 120px; }
@media (max-width: 900px) { .ablauf { grid-template-columns: 1fr; } .ablauf-hlava { position: static; } }
.osa { list-style: none; position: relative; display: grid; gap: 14px; }
.osa::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: rgba(255,255,255,.14); }
.osa::after { content: ""; position: absolute; left: 27px; top: 28px; width: 2px; height: calc((100% - 56px) * var(--postup, 1)); background: var(--akcent); transition: height .6s cubic-bezier(.2,.7,.2,1); }
.osa .krok { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 6px 0 22px; }
.osa .krok-cislo { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--tmava); border: 2px solid rgba(255,255,255,.22); font-family: var(--font-nadpis); font-weight: 600; font-size: 1.15rem; color: #fff; transition: background-color .4s, border-color .4s, color .4s; }
.osa .krok.aktivni .krok-cislo { background: var(--akcent); border-color: var(--akcent); color: var(--akcent-text); }
.osa h3 { font-size: 1.3rem; margin: .7rem 0 .4rem; }
.osa p { color: var(--tmava-text-slaby); }

/* ---------- Partner ---------- */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; } }
.zasady { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .zasady { grid-template-columns: 1fr; } }
.zasada { background: var(--povrch); border: 1px solid var(--cara); border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden; }
.zasada::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; border: 1px solid #e7dcc6; }
.zasada .ikona { margin-bottom: 1rem; }
.zasada h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.zasada p { color: var(--text-slaby); font-size: .9688rem; }
.zasada:nth-child(even) { margin-top: 28px; margin-bottom: -28px; }
@media (max-width: 560px) { .zasada:nth-child(even) { margin: 0; } }
.odkaz-sipka { display: inline-flex; align-items: center; gap: .45em; margin-top: .9rem; font-weight: 650; color: var(--akcent-na-svetle); text-decoration: none; }
.odkaz-sipka svg { width: 18px; height: 18px; transition: transform .25s; }
.odkaz-sipka:hover svg { transform: translateX(4px); }
.pro-firmy { margin-top: 1.4rem; padding: 22px 28px; border-radius: var(--radius); background: var(--tmava); color: var(--tmava-text); }
.pro-firmy h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.pro-firmy p { color: var(--tmava-text-slaby); font-size: .9688rem; }
.pro-firmy .odkaz-sipka { color: var(--akcent); }

/* ---------- Kontakt ---------- */
.kontakt-tl { margin-top: 1.8rem; }
.sekce--tmava .kontakt-radek { border-color: var(--tmava-cara); }
.cipy input:checked + span { background: var(--tmava); border-color: var(--tmava); }

/* tmavé karty v tmavé sekci */
.sekce--tmava .ikona { background: rgba(194,161,94,.14); color: var(--akcent); }

/* ---------- Katalog prací → odkaz na KB Bauteam (2. 11. 2026) ---------- */
.katalog-kb { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 28px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--tmava); color: var(--tmava-text); }
.katalog-kb .ikona { color: var(--akcent-na-tmave); }
.katalog-kb h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.katalog-kb p { color: var(--tmava-text-slaby); font-size: .9688rem; max-width: 70ch; }
.katalog-kb p + p { margin-top: .5rem; }
.katalog-kb .tl { white-space: nowrap; }
@media (max-width: 860px) { .katalog-kb { grid-template-columns: minmax(0, 1fr); } .katalog-kb .tl { white-space: normal; justify-self: start; } }
.katalog-kb .ikona { background: rgba(194,161,94,.14); color: var(--akcent); }
.partner-text .odkaz-sipka { margin-right: 1.4rem; }
