/* IT Hradec – vzhled podle původního webu it-hradec.cz (čisté CSS, bez knihoven) */

/* START: Písma (Lato a Roboto z vlastních souborů šablony, žádné Google Fonts) */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* KONEC: Písma */

/* START: Proměnné a základ */
:root {
    --navy: #1c2135;
    --navy-2: #232840;
    --red: #fb4848;
    --red-dark: #e0403d;
    --text: #737373;
    --dark: #333;
    --line: #e5e5e5;
    --grey-bg: #f2f2f2;
    --bar: #4b4fb4;
    --wrap: 1200px;
    --head: 'Lato', Arial, sans-serif;
    --body: 'Roboto', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/24px var(--body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 700; color: var(--dark); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 38px; } h2 { font-size: 28px; } h3 { font-size: 20px; } h4 { font-size: 20px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 60px); margin: 0 auto; padding: 0 30px; }
.section { padding: 80px 0; }
.section-grey { background: var(--grey-bg); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lead { font-size: 16px; margin: 0 0 55px; }
/* KONEC: Proměnné a základ */

/* START: Nadpis s červeným pruhem */
.bar-title { position: relative; padding-left: 24px; font-size: 36px; line-height: 42px; margin-bottom: 31px; }
.bar-title::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 3px; background: var(--red); }
.indent { padding-left: 25px; }
/* KONEC: Nadpis s červeným pruhem */

/* START: Tlačítka */
.btn, button.btn, .form-btn { display: inline-block; background: var(--red); color: #fff; border: 2px solid transparent; padding: 13px 28px; font: 700 16px/24px var(--body); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.btn:hover, .form-btn:hover { background: #333; color: #fff; }
.pbox .btn, .post .btn, .kform .buttons .btn { border: 0; }
.btn-outline { background: transparent; border: 1px solid #333; color: #333; }
/* KONEC: Tlačítka */

/* START: Horní lišta */
/* Míry z původní šablony: lišta 11 + 30 + 14 px, 3 sloupce po třetině, písmo Lato 17 px, ikony 24 px (do 1800 px 20 px). */
.topbar { background: #192236; color: #ddd; font: 17px/30px var(--head); position: relative; z-index: 30; }
.topbar-inner { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 80px; align-items: center; padding-top: 11px; padding-bottom: 14px; }
.tb-col { display: flex; align-items: center; gap: 85px; min-width: 0; }
.tb-item { color: #ddd; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tb-item:hover { color: var(--red); }
.tb-item .ico { width: 24px; height: 24px; stroke-width: 1.3; }
.tb-links { justify-content: flex-end; gap: 26px; }
/* KONEC: Horní lišta */

/* START: Hlavička a menu */
/* Míry z původní šablony: 42 px pod lištou, logo 169 × 50 px, menu tučné 16 px s mezerou 57 px (do 1800 px 40 px), aktivní položka s červenou linkou 3 px. */
.site-header { position: absolute; left: 0; right: 0; top: 55px; z-index: 20; transition: background .3s, box-shadow .3s; }
.site-header.is-fixed { position: fixed; top: 0; background: #192236; box-shadow: 0 6px 6px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: flex-start; justify-content: space-between; min-height: 72px; padding-top: 42px; }
.site-header.is-fixed .header-inner { padding-top: 0; }
.brand { margin-top: 5px; }
.brand img { width: 169px; height: auto; }
.brand-text { color: #fff; font: 700 22px var(--head); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 57px; margin-top: 14px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 0 17px; color: #fff; font: 700 16px/24px var(--body); letter-spacing: 1px; text-transform: uppercase; position: relative; }
.main-nav > ul > li.has-sub > a { padding-right: 26px; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--red); transition: height .2s linear; }
.main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: var(--red); }
.main-nav > ul > li.active > a::after, .main-nav > ul > li > a:hover::after { height: 3px; }
.main-nav .caret { position: absolute; right: 0; top: 13px; width: 16px; height: 16px; }
.main-nav .sub { position: absolute; left: 0; top: 100%; min-width: 180px; background: #fff; padding: 12px 0; box-shadow: 0 6px 18px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 5px 20px; color: var(--dark); font: 700 11px var(--head); letter-spacing: .08em; text-transform: uppercase; }
.main-nav .sub li.active > a, .main-nav .sub a:hover { color: var(--red); }
.main-nav .nav-cta { display: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; content: ""; transition: .2s; }
.nav-burger span { top: 21px; }
.nav-burger span::before { left: 0; right: 0; top: -8px; }
.nav-burger span::after { left: 0; right: 0; top: 8px; }
.nav-toggle:checked + .nav-burger span { background: transparent; }
.nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .nav-burger span::after { top: 0; transform: rotate(-45deg); }
/* KONEC: Hlavička a menu */

/* START: Banner podstránky */
.page-banner { position: relative; background: var(--navy) center/cover no-repeat; color: #fff; padding: 205px 0 30px; min-height: 410px; }
.banner-title { position: relative; color: #fff; font-size: 50px; padding-left: 25px; margin: 0 0 70px; }
.banner-title::before { content: ""; position: absolute; left: 0; top: .05em; bottom: .05em; width: 3px; background: var(--red); }
.crumbs { font: 12px var(--body); display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a, .crumbs span { color: #fff; }
.crumbs a:hover { color: var(--red); }
.crumbs .cur { color: #fff; opacity: .9; }
/* KONEC: Banner podstránky */

/* START: Slider (úvod) */
.hero { position: relative; height: 49.27vw; min-height: 420px; background: var(--navy); overflow: hidden; }
.hero .slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; display: flex; align-items: center; }
.hero .slide.is-active { opacity: 1; visibility: visible; }
/* Míry z původní šablony: pruh 6 px, nadpis 40 px (nad 1800 px 64 px), text 22 px od 53 px, tlačítka 48 px po stranách s mezerou 26 px. */
.slide-inner { position: relative; }
.slide-head { border-left: 6px solid var(--red); padding-left: 46px; margin-bottom: 20px; }
.slide-q, .slide-title { font: 300 40px/47.5px var(--body); color: #fff; margin: 0; max-width: 615px; }
.slide-title { font-weight: 700; }
.slide-text { color: #fff; font-size: 22px; line-height: 30px; max-width: 454px; margin: 0 0 12px 53px; }
.slide-btns { margin: 0 0 0 53px; display: flex; flex-wrap: wrap; }
.slide-btns .btn { padding: 13px 48px; margin: 0 26px 30px 0; }
.slide-btns .btn:hover { background: transparent; border-color: #fff; color: #fff; }
.slide .slide-head, .slide .slide-text, .slide .slide-btns { transform: translateY(25px); opacity: 0; transition: transform .8s .3s, opacity .8s .3s; }
.slide.is-active .slide-head, .slide.is-active .slide-text, .slide.is-active .slide-btns { transform: none; opacity: 1; }
.slider-nums { position: absolute; right: 0; top: 50%; transform: translateY(-44%); width: 165px; display: flex; flex-direction: column; gap: 36px; z-index: 3; }
.slider-nums button { background: none; border: 0; color: rgba(255,255,255,.5); font: 600 16px/24px var(--body); text-align: left; width: 100%; padding: 0; cursor: pointer; position: relative; transition: color .2s linear; }
.slider-nums button:hover, .slider-nums button.is-active { color: #fff; }
.slider-nums button::after { content: ""; position: absolute; right: 0; bottom: -5px; width: 0; height: 1px; background: var(--red); transition: width .2s linear; }
.slider-nums button:hover::after, .slider-nums button.is-active::after { width: 100%; }
/* Home 2 test (Petr 28. 11. 2026: „slider užší, je tam dost volného místa“): na PC nižší, max 760 px místo 49 % šířky okna.
   Mobil a tablet (do 900 px) a Home beze změny. Když se osvědčí, stačí .home-v2 smazat. */
@media (min-width: 901px) {
    .home-v2 .hero { height: clamp(560px, 36vw, 760px); min-height: 0; }
    .home-v2 .hero .slide-inner { padding-top: 90px; }
}
/* KONEC: Slider */

/* START: Úvod – služby */
.cols { display: grid; gap: 60px; align-items: start; }
.cols-services { grid-template-columns: 7fr 5fr; gap: 80px; }
.cols-services > div:first-child .lead, .cols-services .services { padding-left: 25px; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; }
.service-ico { width: 70px; height: 70px; color: var(--red); stroke-width: .8; margin-bottom: 16px; } /* originál: Linearicons 70 px */
.service h4 { font-size: 22px; line-height: 28px; margin-bottom: 7px; }
.service-text p { margin: 0; letter-spacing: -.1px; }
/* KONEC: Úvod – služby */

/* START: Rámovaný blok */
/* Jako modul mod-article-single originálu: rámeček 6 px, pod 1201 px fotka uvnitř a popisek vodorovně dole,
   od 1201 px fotka vytažená nad rámeček a doprava (okraje v % šířky sloupce) a svislý popisek vně rámečku. */
.framed { position: relative; border: 6px solid var(--red); padding: 40px 20px 20px; }
.framed-line { display: none; }
.framed-img, .framed > picture img { position: relative; width: 100%; margin-bottom: 48px; }
.framed-body { position: relative; font-size: 16px; }
.framed-body ul { list-style: none; padding: 0; }
.framed-body ul li { color: var(--red); }
.framed-body ul li::before { content: "- "; }
.framed-body h4 { font-size: 22px; line-height: 28px; margin-bottom: 18px; }
.framed-label { display: inline-flex; align-items: center; gap: 10px; flex-direction: row-reverse; justify-content: flex-end; color: var(--dark); font: 700 16px/24px var(--body); letter-spacing: .05em; text-transform: uppercase; }
.framed-label .ico { transform: rotate(90deg); width: 20px; height: 20px; }
.cols-tiles .framed { margin-bottom: 48px; }
@media (min-width: 1201px) {
    .framed { padding: 50px 44px 18px; }
    .cols-services .framed { margin: 14.5% 12.8% 0 14.6%; }
    .cols-tiles .framed { margin: 14.5% 27.3% 48px 0; }
    .framed > picture img, .framed-img { width: 137.07%; max-width: none; margin: -41.4% -37.07% 48px 0; }
    .framed-label { position: absolute; right: -67px; bottom: -11px; writing-mode: vertical-rl; transform: rotate(180deg); flex-direction: row-reverse; }
    .framed-label .ico { transform: rotate(180deg); }
}
.cols-tiles { grid-template-columns: 5fr 7fr; gap: 80px; }
/* KONEC: Rámovaný blok */

/* START: Video pás */
.video-band { background: linear-gradient(90deg, #101527, #1c2135 50%, #101527); }
.video-link { display: flex; align-items: center; justify-content: center; height: 330px; background: center/cover no-repeat; max-width: 1140px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.play .ico { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.video-link:hover .play { transform: scale(1.1); }
/* KONEC: Video pás */

/* START: Dlaždice služeb */
.cols-tiles .bar-title, .cols-tiles .lead { margin-left: 0; }
.cols-tiles .lead { padding-left: 25px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.tile { text-align: center; color: var(--dark); }
.tile-img { display: flex; align-items: center; justify-content: center; height: 180px; margin-bottom: 18px; }
.tile-img img { max-height: 180px; width: auto; transition: transform .3s; }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile-title { font: 700 22px/28px var(--head); display: block; }
.tiles-btn { margin: 0 0 45px; }
.tiles-btn .btn { padding: 13px 28px; }
/* Home 2 test (Petr 28. 11. 2026: „8 polí užších, je to moc mega k tomu boxu vpravo“): na PC menší dlaždice,
   obrázky 100 místo 180 px a menší nadpis, aby blok končil zhruba s boxem WWW & E-shopy. Home beze změny. */
@media (min-width: 1101px) {
    .home-v2 .tiles { gap: 14px; margin-bottom: 20px; }
    .home-v2.v2 .tile { padding: 12px 8px 12px; }
    .home-v2 .tile-img { height: 100px; margin-bottom: 10px; }
    .home-v2 .tile-img img { max-height: 100px; }
    .home-v2 .tile-title { font-size: 16px; line-height: 21px; }
    .home-v2 .tiles-btn { margin-bottom: 28px; }
}
/* KONEC: Dlaždice služeb */

/* START: Reference (paralaxa) */
/* Reference jako originál (mod_tm_parallax + owl carousel): fotka 1000 px, červené uvozovky, citát kurzívou 24/34,
   jméno červeně (Lato 16 tučně), vpravo čísla 01–04 jako u slideru. Pod sekcí bílá mezera 123 px. */
.refs { position: relative; background: var(--navy) center/cover no-repeat fixed; padding: 1vw 0; margin-bottom: 6.4vw; color: #fff; text-align: center; }
/* Šířka obsahu jako sloupec col-sm-8 originálu: 1000 px při 1920, 733 px při 1440, pod 768 px okraj 42 px na každé straně. */
.refs .wrap { position: relative; max-width: calc((min(100vw, var(--wrap) + 60px)) * 2 / 3 - 60px); }
/* Všechny reference v jedné buňce mřížky: výška sekce podle nejvyšší (jako owl carousel), stránka při přepnutí neposkočí. */
.refs .wrap { display: grid; align-items: start; }
.refs .ref { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.refs .ref.is-active { opacity: 1; visibility: visible; }
.refs .ref img { width: 100%; margin: 0 auto 48px; }
/* Petr 28. 11. 2026: mockupy referencí větší, přes celou šířku obsahu (dřív 2/3). */
.refs .wrap { max-width: min(100%, 1260px); }
.refs blockquote { margin: 0 auto 41px; padding: 0; font: italic 400 24px/34px var(--body); color: #fff; }
.refs blockquote::before { content: ""; display: block; height: 56px; margin-bottom: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath fill='%23fb4848' d='M0 24V14C0 5 5 1 13 0l1 3C9 4 7 7 7 11h6v13H0zm18 0V14c0-9 5-13 13-14l1 3c-5 1-7 4-7 8h6v13H18z'/%3E%3C/svg%3E") center/32px 24px no-repeat; }
.refs figcaption strong { display: block; font: 700 16px/24px var(--head); color: var(--red); margin-bottom: 6px; }
.refs figcaption a { color: var(--red); }
.refs .slider-nums { display: flex; width: 170px; }
.section.news { padding: 0 0 85px; }
@media (max-width: 1280px) { .refs .slider-nums { width: 40px; } }
@media (max-width: 767px) {
    /* Mobil (Petr 28. 11. 2026): mockup přes celou šířku, menší text, bez čísel 01–08 vpravo (reference se střídají samy). */
    .refs { padding: 30px 0; }
    .refs .wrap { max-width: none; padding: 0 14px; }
    /* Čísla 01–08 se nevejdou: na mobilu z nich jsou tečky pod citací (aktivní červená), Petr 28. 11. 2026. */
    .refs .slider-nums { display: flex; position: relative; top: auto; right: auto; transform: none; width: auto; flex-direction: row; justify-content: center; gap: 4px; margin: 4px 0 6px; z-index: 1; }
    .refs .slider-nums button { width: 26px; height: 26px; padding: 0; font-size: 0; color: transparent; display: flex; align-items: center; justify-content: center; }
    .refs .slider-nums button::after { position: static; display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background .2s; }
    .refs .slider-nums button.is-active::after { width: 10px; background: var(--red); }
    .refs .ref img { margin-bottom: 20px; }
    .refs blockquote { font-size: 16px; line-height: 24px; margin-bottom: 16px; padding: 0 10px; }
    .refs blockquote::before { height: 28px; margin-bottom: 8px; background-size: 22px 16px; }
}
/* KONEC: Reference */

/* START: Karty článků */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.card-img { display: block; overflow: hidden; margin-bottom: 18px; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.card-img:hover img { transform: scale(1.04); }
.card-title { position: relative; padding-left: 18px; font-size: 22px; line-height: 28px; margin-bottom: 20px; }
.card-title::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 2px; background: var(--red); }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--red); }
.card p { padding-left: 17px; font-size: 16px; margin-bottom: 20px; }
.more { display: inline-flex; align-items: center; gap: 12px; padding-left: 17px; color: #192236; font: 700 16px/24px var(--body); letter-spacing: 1px; text-transform: uppercase; }
.more .ico { width: 16px; height: 16px; }
.more:hover { color: var(--red); }
/* KONEC: Karty článků */

/* START: Partneři */
/* Svislé mezery úvodu jako originál, ve všech šířkách stejné: pod sliderem 119, pod sekcí 72, mapa 499 (mobil 300). */
.section.section-services { padding: 119px 0 72px; }
.section.section-tiles { padding: 47px 0 72px; }
.section.partners { background: var(--grey-bg); padding: 115px 0 69px; }
.partners-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }
.partners-row a { display: block; padding: 0 20px 20px; }
.partners-row img { width: 200px; height: auto; transition: opacity .2s; }
.partners-row a:hover img { opacity: .5; }
@media (max-width: 767px) { .partners-row { display: flex; flex-wrap: wrap; } }
/* KONEC: Partneři */

/* START: Mapa (načte se až po kliknutí) */
.map { position: relative; height: 499px; background: #e8eef0; }
@media (max-width: 767px) { .map { height: 300px; } }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; align-items: center; gap: 10px; }
.map-load .ico { width: 18px; height: 18px; }
.map-note { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 12px; color: #667; }
/* KONEC: Mapa */

/* START: Patička */
.site-footer { background: var(--navy); color: #b8b8b8; font-size: 16px; line-height: 24px; padding: 60px 0 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr .8fr 1.4fr; gap: 40px; }
.site-footer .bar-title { color: #fff; font-size: 22px; line-height: 34px; padding-left: 18px; margin-bottom: 24px; }
.site-footer .bar-title::before { width: 2px; }
.fcol-text, .fcol > p { padding-left: 15px; }
.fcol-wide > p { padding-left: 0; }
.fcontact, .flinks { list-style: none; padding: 0 0 0 15px; margin: 0; }
.fcontact li { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-family: var(--head); }
.fcontact .ico { width: 20px; height: 20px; color: #fff; }
.fcontact a { color: #b8b8b8; }
.flinks li { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.flinks .ico { width: 12px; height: 12px; color: #fff; stroke-width: 2.5; }
.newsletter { display: flex; margin: 10px 0 0; }
.newsletter input[type=email] { flex: 1; min-width: 0; height: 38px; border: 0; padding: 0 10px; font: 14px var(--body); }
.newsletter button { background: var(--red); color: #fff; border: 0; height: 38px; padding: 0 21px; font: 700 14px var(--body); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.newsletter button:hover { background: var(--red-dark); }
.social { display: flex; gap: 20px; }
.social a { color: #9ea2b0; display: inline-flex; align-items: center; gap: 4px; }
.social a:hover { color: #fff; }
.social .ico { width: 14px; height: 14px; }
.footer-bottom { padding: 50px 30px 20px; font-size: 12px; line-height: 24px; color: #b8b8b8; }
.footer-bottom a { color: #b8b8b8; }
.footer-bottom a:hover { color: var(--red); }
/* Šipka nahoru ve stejné řadě a velikosti jako ikona CookieHub vlevo dole (40 px, střed 40 px nad okrajem, Petr 28. 11. 2026).
   Na stránkách s formulářem je vpravo dole odznak reCAPTCHA, tam zůstává výš. */
.to-top { position: fixed; right: 16px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 40; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top .ico { width: 20px; height: 20px; stroke-width: 2.5; }
body:has(.kform) .to-top { bottom: 90px; }
.to-top:hover { color: #fff; background: var(--red-dark); }
/* Plovoucí Zavolat jen na mobilu a tabletu (zapíná ho media do 900 px), viditelné po odrolování. */
.call-float { display: none; position: fixed; left: 50%; bottom: 18px; z-index: 40; align-items: center; gap: 8px; padding: 0 20px; border-radius: 6px; background: rgba(28,33,53,.92); border: 2px solid var(--red); color: #fff; font: 700 14px/40px var(--body); letter-spacing: .5px; white-space: nowrap; box-shadow: 0 8px 22px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .3s, transform .3s, visibility .3s; }
.call-float.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.call-float .ico { width: 18px; height: 18px; color: var(--red); }
.call-float:hover { color: #fff; }
/* KONEC: Patička */

/* START: Obsah podstránek (text z editoru) */
.prose { font-size: 15px; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose h3 { font-size: 20px; margin-top: 1.2em; }
.prose img { margin: 20px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.prose code { background: #f3f3f3; padding: 1px 5px; font-size: 13px; }
.prose blockquote { margin: 0 0 1em; padding: 10px 20px; border-left: 3px solid var(--red); background: var(--grey-bg); }
.page-text { max-width: 900px; }
/* KONEC: Obsah podstránek */

/* START: Ceník */
.pboxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 50px; align-items: start; }
.pbox { border: 1px solid #f39a97; text-align: center; padding: 20px 10px 26px; }
.pbox h3 { color: var(--red); font-size: 18px; text-transform: uppercase; margin: 0 0 12px; }
.pbox .pprice { border-top: 1px solid #555; border-bottom: 1px solid #555; font: 400 26px/1 var(--body); color: #555; padding: 20px 0; margin: 0 0 14px; }
.pbox ul { list-style: none; padding: 0; margin: 0 0 30px; font-size: 13px; line-height: 2.1; text-transform: uppercase; color: #666; }
.pbox .pbox-list-only { margin-top: 26px; }
.pbox .btn { line-height: 36px; padding: 0 22px; font-size: 12px; }
.tab-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 40px; }
.tab-nav button { background: #fff; border: 1px solid #333; color: #333; font: 13px var(--body); padding: 6px 14px; cursor: pointer; }
.tab-nav button.is-active, .tab-nav button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.tab-panel[hidden] { display: none; }
.price-item { font-size: 14px; margin-bottom: 18px; }
.price-item strong { color: #555; display: block; }
.price-item .pdesc { margin: 0; }
.price-item .pval { text-align: right; margin: 10px 0 0; }
.price-notes { font-weight: 700; color: #555; font-size: 13px; margin-top: 50px; }
.price-notes p { margin: 0; }
/* KONEC: Ceník */

/* START: O nás */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.bars { padding-top: 0; }
.pbar { margin-bottom: 18px; font-size: 15px; }
.pbar-head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.pbar-head b { color: #333; }
.pbar-track { height: 6px; background: #7ea2dd; }
.pbar-fill { height: 100%; background: var(--bar); }
.refgroups { padding-left: 25px; }
.refgroup { display: grid; grid-template-columns: 60px 1fr; gap: 20px; margin-bottom: 30px; font-size: 15px; }
.refgroup-name { position: relative; color: #555; }
.refgroup-name::after { content: ""; position: absolute; right: -8px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.refgroup-items p { margin-bottom: 14px; }
.collage { position: relative; min-height: 640px; }
.collage img { position: absolute; width: 58%; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.collage img:nth-child(1) { left: 0; top: 0; }
.collage img:nth-child(2) { left: 38%; top: 140px; }
.collage img:nth-child(3) { left: 16%; top: 330px; }
.collage img:nth-child(4) { left: 0; top: 700px; }
.collage img:nth-child(5) { left: 38%; top: 760px; }
.collage img:nth-child(6) { left: 16%; top: 900px; }
.collage.is-tall { min-height: 1180px; }
/* KONEC: O nás */

/* START: Blog a článek */
.blog-cols { display: grid; grid-template-columns: 180px 1fr 170px; gap: 40px; }
.side .bar-title { font-size: 22px; }
.side-cats { list-style: none; padding: 0; font-size: 14px; }
.side-cats li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.side-cats .ico { width: 16px; height: 16px; background: var(--red); color: #fff; border-radius: 50%; padding: 3px; stroke-width: 3; }
.side-cats a { color: #555; }
.side-cats a:hover, .side-cats .active a { color: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tags a { background: var(--red); color: #fff; font-size: 11px; padding: 3px 8px; }
.tags a:hover { background: var(--red-dark); color: #fff; }
.recent { margin-bottom: 25px; }
.recent img { margin-bottom: 12px; }
.recent a { color: var(--dark); font: 14px var(--head); }
.recent a:hover { color: var(--red); }
.blog-title { font-size: 26px; margin-bottom: 20px; }
.blog-list .post { margin-bottom: 50px; }
.blog-list .post img { width: 100%; margin-bottom: 20px; }
.post-title { font-size: 17px; margin-bottom: 8px; }
.post-title a { color: var(--dark); }
.post-title a:hover { color: var(--red); }
.post p { font-size: 15px; }
.post .btn { line-height: 36px; font-size: 12px; }
.article-img { width: 100%; margin-bottom: 25px; }
.article-meta { font-size: 13px; color: #999; margin-bottom: 15px; }
.pagination { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
/* KONEC: Blog a článek */

/* START: Akordeon (FAQ, Pomoc) */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 10px; font: 700 14px var(--body); color: #333; }
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary::after { content: "+"; flex: none; width: 14px; height: 14px; background: var(--red); color: #fff; font: 700 13px/14px Arial; text-align: center; }
.acc-item[open] > summary::after { content: "−"; }
.acc-body { padding: 0 10px 16px; font-size: 14px; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-box .acc-item { border: 1px solid var(--line); margin-bottom: 6px; }
.acc-box { border: 0; margin-bottom: 20px; }
/* START: Ceník – rozbalovací předplacené služby */
.pkg-acc { margin-bottom: 25px; }
.pkg-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 15px; }
.pkg-acc > summary::-webkit-details-marker { display: none; }
.pkg-acc > summary .bar-title { margin-bottom: 0; }
.pkg-acc > summary::after { content: "+"; flex: none; width: 22px; height: 22px; background: var(--red); color: #fff; font: 700 18px/22px Arial; text-align: center; }
.pkg-acc[open] > summary::after { content: "−"; }
.pkg-acc[open] > summary { margin-bottom: 25px; }
/* KONEC: Ceník – rozbalovací předplacené služby */
.acc-box .acc-item > summary { font-size: 14px; padding: 10px; }
/* KONEC: Akordeon */

/* START: Formuláře */
.kform { margin-top: 30px; }
.frow { display: grid; gap: 15px; margin-bottom: 15px; }
.frow-2 { grid-template-columns: 1fr 1fr; }
.frow-3 { grid-template-columns: 1fr 1fr 1fr; }
.kform input[type=text], .kform input[type=email], .kform input[type=tel], .kform input[type=date], .kform select, .kform textarea { width: 100%; border: 1px solid #e6e6e6; background: #fff; padding: 0 14px; height: 42px; font: 14px var(--body); color: #555; border-radius: 0; }
.kform select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 14px center; color: #888; }
.kform textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.kform input:focus, .kform select:focus, .kform textarea:focus { outline: 0; border-color: var(--red); }
.kform label.fl { display: block; font-size: 13px; color: #999; margin: 0 0 4px; }
.fbtns { display: flex; gap: 12px; margin-top: 15px; }
.form-msg { padding: 12px 16px; margin: 0 0 20px; font-size: 13px; }
.form-msg.ok { background: #e7f6ea; color: #23662f; }
.form-msg.err { background: #fde9e8; color: #a32522; }
.consent { font-size: 12px; color: #999; }
/* KONEC: Formuláře */

/* START: Kontakty */
.contact-cols { display: grid; grid-template-columns: 210px 1fr; gap: 50px; }
.cinfo h4 { font-size: 17px; margin: 0 0 4px; }
.cinfo p { font-size: 14px; display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.cinfo .ico { width: 13px; height: 13px; }
.chead { font-size: 17px; margin: 0 0 4px; }
.cintro { font-size: 14px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 30px; }
.people .bar-title { font-size: 26px; }
.person { font-size: 13px; }
.person b { color: #555; }
/* KONEC: Kontakty */

/* START: Pomoc */
.help-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.help-cols h2.help-title { font-size: 22px; font-weight: 400; }
.help-sec { margin-bottom: 40px; font-size: 14px; }
.help-sec h3 { font-size: 15px; margin-bottom: 8px; }
.help-form .bar-title { font-size: 22px; font-weight: 400; }
.help-form .intro { font-size: 14px; }
@media (min-width: 901px) { .help-form { position: sticky; top: 90px; } }
/* KONEC: Pomoc */

/* START: Online podpora a chybová stránka */
.steps { display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.step h3 { font-size: 18px; }
/* Stránka 404 (vzor Copíky): fotka z prvního slidu jako pozadí karty, text a tři tlačítka. */
.err-page { padding: 50px 0 80px; }
.err-card { position: relative; overflow: hidden; border-radius: 14px; min-height: 420px; display: flex; align-items: center; background: var(--navy); box-shadow: 0 18px 40px rgba(25,34,54,.18); }
.err-card > picture img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.err-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,18,33,.9) 0%, rgba(13,18,33,.62) 60%, rgba(13,18,33,.3) 100%); }
.err-body { position: relative; z-index: 1; padding: 50px 56px; max-width: 660px; color: #fff; }
.err-code { font: 700 96px/1 var(--head); color: var(--red); margin: 0 0 8px; }
.err-body h1 { color: #fff; font-size: 34px; margin: 0 0 14px; }
.err-body p { color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.6; }
.err-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.err-btns .btn { padding: 13px 28px; }
.err-btns .btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.75); color: #fff; box-shadow: none; }
.err-btns .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--dark); }
@media (max-width: 600px) { .err-body { padding: 36px 24px; } .err-code { font-size: 64px; } .err-body h1 { font-size: 26px; } .err-card { min-height: 0; } }
/* KONEC: Online podpora a chybová stránka */

/* START: Responzivita */
@media (min-width: 1801px) {
    .slide-inner { padding-top: 60px; }
    .slide-q, .slide-title { font-size: 64px; line-height: 76px; max-width: 848px; }
    .slide-head { margin-bottom: 48px; }
    .slide-btns { padding-top: 27px; }
}
@media (max-width: 1800px) {
    .tb-col { gap: 10px; }
    .tb-item .ico { width: 20px; height: 20px; }
    .main-nav > ul { gap: 40px; }
}
@media (max-width: 1280px) {
    .topbar-inner { column-gap: 40px; }
    .tb-col { gap: 20px; }
    .header-inner { padding-top: 5px; }
    .main-nav > ul { gap: 15px; margin-top: 8px; }
    .slide-head { padding-left: 26px; }
    .slide-q, .slide-title { font-size: 24px; line-height: 28.5px; }
    .slide-text { font-size: 16px; line-height: 24px; margin-left: 33px; }
    .slide-btns { margin-left: 33px; }
    .slide-btns .btn { font-size: 14px; margin: 0 6px 12px 0; padding: 13px 24px; }
    .slider-nums { width: 40px; }
}
/* Původní web pod 1280 px: hlavička je černý pruh nad sliderem (ne přes něj), pod 1200 px menu hned za logem. */
@media (min-width: 901px) and (max-width: 1280px) {
    .site-header, .is-home .site-header { position: relative; top: 0; background: #000; }
    .site-header.is-fixed { position: fixed; background: #192236; }
    .page-banner { padding-top: 120px; min-height: 0; }
}
@media (min-width: 901px) and (max-width: 1199px) {
    .header-inner { justify-content: flex-start; }
    .brand { flex: 0 0 25%; }
}
@media (max-width: 979px) {
    .main-nav > ul > li > a { font-size: 13px; }
}
@media (min-width: 1680px) {
    :root { --wrap: 1600px; }
    .slide-text { max-width: 640px; }
    .bar-title { padding-left: 44px; }
    .cols-services > div:first-child .lead, .cols-services .services, .cols-tiles .lead { padding-left: 44px; }
}
@media (max-width: 1100px) {
    .cols-services, .cols-tiles { grid-template-columns: 1fr; }
    .blog-cols { grid-template-columns: 1fr 200px; }
    .blog-cols .side-left { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 900px) {
    /* Mobil a tablet (Petr 28. 11. 2026): jeden řádek, jen telefon a e-mail, bez sítí a bez dělicí čáry, vzdušnější
       jako penzionupepicka.cz a elementry.cz (Online podpora zůstává v patičce). */
    .topbar { width: 100%; font-size: 15px; line-height: 22px; }
    .topbar-inner { display: flex; justify-content: center; flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; }
    .topbar .tb-col:first-child, .topbar .tb-links { display: none; }
    .topbar .tb-col { gap: 28px; flex-direction: row-reverse; }
    .topbar .tb-col .tb-item { gap: 8px; }
    .tb-item .ico { width: 18px; height: 18px; color: var(--red); }
    .site-header { top: 0; position: relative; background: var(--navy); }
    .is-home .site-header { position: absolute; top: auto; background: transparent; }
    .site-header.is-fixed { position: fixed; top: 0; background: var(--navy); }
    .header-inner { min-height: 70px; padding-top: 0; align-items: center; }
    .brand { margin-top: 0; }
    .brand img { width: 130px; }
    .main-nav > ul > li > a::after { display: none; }
    .nav-burger { display: block; }
    .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); max-height: 0; overflow: hidden; transition: max-height .3s; }
    .nav-toggle:checked ~ .main-nav { max-height: 80vh; overflow-y: auto; }
    .main-nav > ul { flex-direction: column; gap: 0; padding: 10px 0 20px; margin-top: 0; }
    .main-nav > ul > li > a { padding: 0 30px; line-height: 44px; font-size: 16px; }
    .main-nav > ul > li.has-sub > a { padding-right: 30px; }
    .main-nav .caret { position: static; vertical-align: middle; margin-left: 5px; }
    .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 10px 20px; }
    .main-nav .sub a { color: #c9ccd6; }
    .page-banner { padding: 60px 0 25px; min-height: 0; }
    .banner-title { font-size: 34px; margin-bottom: 30px; }
    .hero { height: 88vh; min-height: 560px; }
    .slide-inner { padding-top: 70px; }
    .slide-q, .slide-title { font-size: 28px; }
    .slider-nums { display: none; }
    .services, .tiles { grid-template-columns: 1fr 1fr; }
    .cards, .pboxes, .about-cols, .people, .help-cols, .contact-cols, .step { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .collage { min-height: 520px; }
    .collage.is-tall { min-height: 980px; }
    .refs { background-attachment: scroll; }
    .section { padding: 55px 0; }
    /* Online podpora dole v burger menu (Petr 28. 11. 2026). */
    .main-nav .nav-cta { display: block; padding: 14px 30px 4px; }
    .main-nav .nav-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; background: var(--red); color: #fff; border-radius: 6px; font: 700 15px/50px var(--body); letter-spacing: 1px; text-transform: uppercase; }
    .main-nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }
    .main-nav .nav-cta .ico { width: 20px; height: 20px; }
    /* Zavolat: decentní plovoucí tlačítko dole uprostřed, objeví se při rolování (jako Copíky). Vlevo zůstává místo
       pro ikonu cookies, vpravo pro odznak reCAPTCHA a šipku nahoru. */
    .call-float { display: inline-flex; }
    /* Na úvodu je menu průhledné přes slider, lišta nad ním vyšší (Petr 28. 11. 2026). Podstránky beze změny. */
    .is-home .topbar { font-size: 16px; }
    .is-home .topbar-inner { padding-top: 24px; padding-bottom: 24px; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 18px; }
    .tb-links { gap: 14px; }
    .services, .frow-2, .frow-3, .footer-cols, .blog-cols { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .bar-title { font-size: 24px; }
    .refgroup { grid-template-columns: 1fr; gap: 6px; }
    .refgroup-name::after { display: none; }
    .collage { min-height: 0; }
    .collage img { position: static; width: 100%; margin-bottom: 15px; }
}
/* KONEC: Responzivita */

/* START: Video – přehrávač po kliknutí */
.video-link { position: relative; }
.video-link button.play { border: 0; cursor: pointer; }
.video-link iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* KONEC: Video – přehrávač po kliknutí */

/* START: Doplňky (rám bez obrázku, obrázek v záložce) */
.tab-img { max-width: 360px; margin: 10px 0 20px; }
/* KONEC: Doplňky */

/* START: Rozvržení formulářů pluginu Form (w2 = půlka řádku, w3 = třetina) */
.kform form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.kform form > * { grid-column: 1 / -1; }
.kform form > .form-field.w2 { grid-column: span 3; }
.kform form > .form-field.w3 { grid-column: span 2; }
.kform .form-field { margin: 0; }
.kform .form-label { display: none; }
.kform .buttons { display: flex; gap: 12px; margin-top: 5px; }
.kform .buttons .btn { line-height: 36px; padding: 0 22px; font-size: 12px; }
/* Souhlas se zpracováním osobních údajů */
.kform .form-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #666; cursor: pointer; }
.kform .form-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.kform .form-consent a { color: var(--red); }
.nl-note { font-size: 12px; opacity: .75; margin: 6px 0 35px; }
.nl-note a { color: inherit; text-decoration: underline; }
.kform .notices, .kform .form-errors { grid-column: 1 / -1; padding: 12px 16px; font-size: 13px; }
.kform .notices.green, .kform .notices.success { background: #e7f6ea; color: #23662f; }
.kform .notices.red, .kform .notices.error, .kform .form-errors { background: #fde9e8; color: #a32522; }
.kform .form-input-wrapper .selectize-control { width: 100%; }
@media (max-width: 560px) { .kform form > .form-field.w2, .kform form > .form-field.w3 { grid-column: 1 / -1; } }
/* KONEC: Rozvržení formulářů */

/* START: Fotky WebP (FOTKY.md, photo() v app/bootstrap.php). <picture> nemění rozvržení, vzhled zůstává 1:1. */
picture { display: contents; }
.hero .slide > picture img, .page-banner > picture img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.page-banner > .wrap { position: relative; }
/* Parallax referencí (dřív background-attachment: fixed): fotka pevně k oknu, ořízne ji clip-path sekce. */
.refs { clip-path: inset(0); }
.refs > picture img { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; object-fit: cover; object-position: center; }
.article > picture img { width: 100%; margin-bottom: 25px; }
.collage picture:nth-child(1) img { left: 0; top: 0; }
.collage picture:nth-child(2) img { left: 38%; top: 140px; }
.collage picture:nth-child(3) img { left: 16%; top: 330px; }
.collage picture:nth-child(4) img { left: 0; top: 700px; }
.collage picture:nth-child(5) img { left: 38%; top: 760px; }
.collage picture:nth-child(6) img { left: 16%; top: 900px; }
@media (max-width: 900px) {
    .refs > picture img { position: absolute; width: 100%; height: 100%; }
}
@media (max-width: 560px) {
    .collage picture img { position: static; width: 100%; margin-bottom: 15px; }
}
/* KONEC: Fotky WebP */

/* START: Online podpora (přepínač Windows / macOS, číslované kroky) */
.howto { margin: 10px 0 30px; }
.howto-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 50px; align-items: start; max-width: 1160px; margin-bottom: 55px; }
/* Ilustrace oken vedle kroků (kreslené SVG), na mobilu pod kroky. */
.howto-art { display: grid; gap: 22px; }
.howto-art svg { display: block; width: 100%; height: auto; font-family: var(--body); border-radius: 12px; box-shadow: 0 18px 40px rgba(25,34,54,.14); }
@media (max-width: 900px) { .howto-tool { grid-template-columns: 1fr; gap: 26px; } .howto-art { max-width: 480px; } }
.howto-tool h3 { font-size: 22px; line-height: 28px; margin-bottom: 6px; }
.howto-note { color: #999; margin-bottom: 20px; }
.howto-steps { list-style: none; counter-reset: krok; padding: 0; margin: 0; }
.howto-steps li { counter-increment: krok; position: relative; padding: 4px 0 18px 54px; min-height: 38px; }
.howto-steps li::before { content: counter(krok); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font: 700 16px/36px var(--head); text-align: center; }
.howto-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 2px; width: 2px; background: #f1d2d2; }
.howto-tip { border-left: 3px solid var(--red); background: var(--grey-bg); padding: 12px 16px; font-size: 15px; }
kbd { display: inline-block; padding: 1px 7px; border: 1px solid #ccc; border-bottom-width: 2px; border-radius: 4px; background: #fafafa; font: 600 13px/20px var(--body); color: #333; }
/* KONEC: Online podpora */

/* START: Moderní vzhled (dřív jen Home 2, od 28. 11. 2026 na všech stránkách: třída .v2 na <body> v app/header.php).
   1 přechod přes fotku slideru, 2 zaoblená tlačítka s pohybem, 3 služby jako karty, 4 ikony v kruhu, 5 zaoblené fotky se stínem,
   6 dlaždice jako karty, 7 tmavší přechod přes parallax referencí, 8 karty článků, 9 loga partnerů šedá a barevná po najetí,
   10 jemné objevení sekcí při scrollu. Pás „Proč my“ místo videa zůstává jen na Home 2 (.home-v2). */
.v2 .hero .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,18,33,.78) 0%, rgba(13,18,33,.35) 55%, rgba(13,18,33,0) 100%); pointer-events: none; }
.v2 .hero .slide-inner { z-index: 1; }
.v2 .btn { border-radius: 6px; box-shadow: 0 6px 18px rgba(251,72,72,.28); transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.v2 .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(251,72,72,.35); }
.v2 .services { gap: 28px; }
.v2 .service { background: #fff; border-radius: 14px; padding: 28px 26px; box-shadow: 0 12px 34px rgba(25,34,54,.08); transition: transform .25s, box-shadow .25s; }
.v2 .service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(25,34,54,.13); }
.v2 .service-ico { width: 64px; height: 64px; padding: 15px; border-radius: 50%; background: #fff0f0; stroke-width: 1.2; }
.v2 .framed > picture img, .v2 .refs .ref img { border-radius: 10px; }
.v2 .framed > picture img { box-shadow: 0 18px 40px rgba(25,34,54,.18); }
.v2 .tile { background: #fff; border-radius: 14px; padding: 18px 12px 16px; box-shadow: 0 8px 24px rgba(25,34,54,.07); transition: transform .25s, box-shadow .25s; }
.v2 .tile:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(25,34,54,.12); }
.v2 .refs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,34,54,.25), rgba(25,34,54,.7)); pointer-events: none; }
.v2 .refs .wrap { z-index: 1; }
.v2 .card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px rgba(25,34,54,.08); padding-bottom: 22px; transition: transform .25s, box-shadow .25s; }
.v2 .card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(25,34,54,.13); }
.v2 .card > :not(.card-img) { margin-left: 22px; margin-right: 22px; }
.v2 .partners-row img { filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.v2 .partners-row a:hover img { filter: none; opacity: 1; }
.v2 .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.v2 .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .v2 .reveal { opacity: 1; transform: none; transition: none; } }
/* Pás „Proč my“ místo videa */
.why { background: var(--navy); color: #c9ccd6; padding: 70px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.why-item { text-align: center; padding: 10px 10px 0; }
.why-ico { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(251,72,72,.14); color: var(--red); margin-bottom: 18px; }
.why-ico .ico { width: 34px; height: 34px; }
.why-item h3 { color: #fff; font-size: 20px; line-height: 26px; margin-bottom: 8px; }
.why-item p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why { padding: 50px 0; } }
/* KONEC: Home 2 */

/* START: Mobilní slidery na úvodu (Petr 28. 11. 2026): do 900 px pás Proč my, 4 karty služeb a obě řady dlaždic
   jako vodorovný swipe (scroll-snap, bez JS). Kus další položky vykukuje, aby bylo jasné, že se dá táhnout. PC beze změny. */
@media (max-width: 900px) {
    .why-grid, .services, .tiles { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; max-width: none; }
    .why-grid::-webkit-scrollbar, .services::-webkit-scrollbar, .tiles::-webkit-scrollbar { display: none; }
    .why-item { flex: 0 0 78%; scroll-snap-align: center; }
    .services { padding: 6px 2px 24px; scroll-padding-left: 2px; }
    .cols-services .services { padding-left: 2px; }
    .service { flex: 0 0 84%; scroll-snap-align: start; }
    .tiles { padding: 6px 2px 20px; margin-bottom: 10px; scroll-padding-left: 2px; }
    .tile { flex: 0 0 44%; scroll-snap-align: start; }
    .v2 .service:hover, .v2 .tile:hover { transform: none; }
}
/* Položky mřížky .cols se nesmí rozšířit podle obsahu: jinak je slider karet rozšíří na všechny karty vedle sebe
   a celá stránka je na mobilu širší než displej (ostrý web 28. 11. 2026). */
.cols > * { min-width: 0; }
/* KONEC: Mobilní slidery */

/* START: Horní lišta, mobil (Petr 28. 11. 2026: „pořád na nic“, „odsadit od horní hrany“): na všech stránkách větší tučné
   písmo a ikony, víc místa, na úzkém displeji se položky zalomí pod sebe místo přetečení doprava. */
@media (max-width: 900px) {
    .topbar, .is-home .topbar { font-size: clamp(14px, 4.4vw, 18px); line-height: 26px; font-weight: 700; letter-spacing: .2px; }
    .topbar-inner, .is-home .topbar-inner { padding-top: 20px; padding-bottom: 18px; }
    .topbar .tb-col { flex-wrap: wrap; justify-content: center; column-gap: 22px; row-gap: 6px; }
    .topbar .tb-item { gap: 9px; }
    .topbar .tb-item .ico { width: 22px; height: 22px; stroke-width: 1.6; }
}
/* KONEC: Horní lišta na úvodu */

/* START: Hlavička na mobilu (Petr 28. 11. 2026: „pošoupnutí stránky, menu zajede, to se nesmí stávat“).
   Dřív se po 140 px přepínala z absolute na fixed: nejdřív odjela se stránkou a pak naráz skočila zpět.
   Teď je sticky od začátku: lišta s telefonem odjede, hlavička plynule zůstane nahoře. Na úvodu leží
   průhledná přes slider (hero vytažený o výšku hlavičky pod ni), po odrolování (.is-fixed) jen ztmavne. */
@media (max-width: 900px) {
    .site-header, .is-home .site-header, .site-header.is-fixed { position: sticky; top: 0; }
    .is-home .hero { margin-top: -70px; }
}
/* Stejný skok byl i na 901–1280 px (hlavička v toku stránky, po 140 px fixed = obsah vyskočil o její výšku). Nad 1280 px
   je hlavička přes slider/banner (absolute), tam k žádnému skoku nedochází. */
@media (min-width: 901px) and (max-width: 1280px) {
    .site-header, .is-home .site-header, .site-header.is-fixed { position: sticky; top: 0; }
    .site-header.is-fixed .header-inner { padding-top: 5px; }
}
/* KONEC: Hlavička na mobilu */

/* START: Nic nesmí přetékat doprava (Petr 28. 11. 2026, Online podpora na 320 px).
   Dlouhé adresy a názvy (remotedesktop.google.com/support, ChromeRemoteDesktopHost) se zalomí, sloupce mřížek se neroztáhnou
   podle obsahu, a jako poslední pojistka se šířka stránky ořízne (clip nevytváří scroll, sticky hlavička funguje dál). */
body { overflow-x: clip; }
.prose, .howto, .help-sec, .acc-body, .cinfo, .person, .site-footer, .refgroup-items, .price-item { overflow-wrap: anywhere; }
.howto-tool > *, .howto-art > *, .help-cols > *, .contact-cols > *, .about-cols > *, .step > *, .blog-cols > *,
.footer-cols > *, .cards > *, .people > *, .pboxes > * { min-width: 0; }
@media (max-width: 760px) { .prose table { display: block; max-width: 100%; overflow-x: auto; } }
/* KONEC: Nic nesmí přetékat */

/* START: Náznak posuvu u mobilních sliderů (Petr 28. 11. 2026: úzká minimalistická šipka přes karty u pravého okraje).
   Obal .swipe-wrap a šipku vkládá site.js, šipka je vidět jen když se dá táhnout. */
.swipe-wrap { position: relative; }
.swipe-hint { display: none; }
@media (max-width: 900px) {
    /* Jen tenký chevron s jemným stínem, bez kroužku a podkladu (Petr 28. 11. 2026). */
    .swipe-hint { display: flex; align-items: center; justify-content: center; position: absolute; right: 4px; top: 50%; z-index: 2; width: 36px; height: 64px; margin-top: -32px; padding: 0; border: 0; background: none; color: #333; cursor: pointer; filter: drop-shadow(0 1px 1px rgba(255,255,255,.9)) drop-shadow(0 3px 6px rgba(25,34,54,.35)); -webkit-tap-highlight-color: transparent; }
    .swipe-hint[hidden] { display: none; }
    .swipe-hint svg { width: 16px; height: 32px; stroke-width: 1.5; animation: swipe-nudge 1.8s ease-in-out infinite; }
    .swipe-hint.is-end { right: auto; left: 4px; }
    .swipe-hint.is-end svg { animation: none; transform: rotate(180deg); }
    .why .swipe-hint { color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
}
@keyframes swipe-nudge { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .swipe-hint svg { animation: none; } }
/* KONEC: Náznak posuvu */

/* START: Mobilní slidery až k okraji displeje (Petr 28. 11. 2026: „karta jako by padala doprava, vedlejší vykukuje
   jen pár px šedé“). Platí pro všechny slidery karet na webu (Proč my, služby, dlaždice, služby na Home 2):
   slider sahá přes boční okraj .wrap až k hraně displeje, karta je užší a z vedlejší je vidět zřetelný kus. */
@media (max-width: 900px) {
    .swipe-wrap > .why-grid, .swipe-wrap > .services, .swipe-wrap > .tiles { margin-right: -30px; padding-right: 30px; }
    .service { flex-basis: 80%; }
}
@media (max-width: 560px) {
    .swipe-wrap > .why-grid, .swipe-wrap > .services, .swipe-wrap > .tiles, .swipe-wrap > .n2-services { margin-right: -18px; padding-right: 18px; }
    .n2-service { flex-basis: 80%; }
}
/* KONEC: Mobilní slidery až k okraji */
