/* kokonat.pl — prototyp bez WordPressa (15.11.2026).
 *
 * Jeden arkusz zamiast jedenastu (motyw Ohio, WPBakery, Fluent Forms, trzy
 * zestawy ikon…). Wartości spisane z obecnej strony przy szerokości 1440 px:
 * siatka 80 px marginesu + 20 px odstępu kolumny, treść 1240 px.
 *
 * Klasy z przedrostkiem `k-` są nasze. Kilka nazw bez przedrostka (`heading`,
 * `title`, `subtitle`, `overlay-details`, `banner`…) zostaje celowo: celują
 * w nie reguły pisane przez WPBakery dla pojedynczych klocków (`#ohio-custom-…`),
 * które przenosimy razem ze stroną.
 */

:root {
    --atrament: #27104f;
    --fiolet: #732fb9;
    --roz: #e86ead;
    --cynober: #e74d24;
    --len: #fdf6ec;
    --szary: #64646c;
    --font-h: 'ivypresto-display', Georgia, 'Times New Roman', serif;
    --font-t: 'poppins', 'Poppins', 'Segoe UI', Arial, sans-serif;
    /* Treść siedzi w kontenerze: najwyżej 1344 px, wyśrodkowany, nie węższy niż ekran minus 2 × 80 px.
       `--margines` to odległość kontenera od krawędzi ekranu — przy 1440 px wychodzi 80, przy 1920 już 288.
       Sekcje „pełne” mają tło do krawędzi, a treść dosuwają tym samym marginesem, więc trzyma się kontenera.
       `--vw` ustawia site.js (szerokość bez paska przewijania); bez JS zostaje 100vw. */
    --vw: 100vw;
    --margines: max(80px, calc((var(--vw) - 1344px) / 2));
    --odstep: 20px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--atrament); font: 400 16px/23px var(--font-t); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--roz); color: #fff; }
:focus-visible { outline: 2px solid var(--fiolet); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-h); color: var(--atrament); }
h1 { font-size: 60px; line-height: 1.167; font-weight: 600; letter-spacing: -.04em; }
h2 { font-size: 42px; line-height: 1.05; font-weight: 600; letter-spacing: -.04em; }
h3 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: 1px; }
h4 { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: 1px; }
h5 { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: 1px; }
h6 { font-size: 18px; line-height: 1.35; font-weight: 300; letter-spacing: -.02em; }

.k-skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--atrament); color: #fff; padding: 10px 16px; }
.k-skip:focus { left: 8px; top: 8px; }
.k-main { background: var(--len); position: relative; }
.k-arrow { width: 24px; height: 24px; flex: none; }

/* ---- nagłówek strony ----------------------------------------------------- */
.k-header {
    position: absolute; inset: 0 0 auto 0; z-index: 60;
    height: 108px; padding: 0 27px;
    display: flex; align-items: center; gap: 15px;
    transition: background-color .3s, box-shadow .3s;
}
.k-header.is-stuck { position: fixed; height: 81px; background: #fff; animation: k-header-in .35s var(--ease); }
@keyframes k-header-in { from { transform: translateY(-100%); } to { transform: none; } }
.k-brand { margin-right: auto; display: block; }
.k-brand img { height: 40px; width: auto; }
.k-header.is-stuck .k-brand img { height: 25px; }
.k-logo-light { display: none; }
/* Strony z pełnym zdjęciem u góry: jasne logo i menu, dopóki nagłówek leży na zdjęciu. */
.k-jasny-naglowek .k-header:not(.is-stuck) .k-logo-dark { display: none; }
.k-jasny-naglowek .k-header:not(.is-stuck) .k-logo-light { display: block; }
.k-jasny-naglowek .k-header:not(.is-stuck) .k-nav > ul > li > a { color: #fff; }
.k-nav > ul { display: flex; }
.k-nav > ul > li { position: relative; }
.k-nav > ul > li > a { display: block; padding: 12px 14.5px; font-weight: 500; line-height: 20.8px; transition: color .2s; }
.k-nav > ul > li > a:hover { color: var(--fiolet); }
.k-subnav {
    position: absolute; left: 0; top: 100%; min-width: 250px; padding: 14px 0;
    background: #fff; border-radius: 6px; box-shadow: 0 12px 40px rgba(39, 16, 79, .12);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .k-subnav, .has-sub:focus-within .k-subnav { opacity: 1; visibility: visible; transform: none; }
.k-subnav a { display: block; padding: 7px 22px; font-size: 15px; }
.k-subnav a:hover { color: var(--fiolet); }
.k-burger { display: none; width: 44px; height: 44px; position: relative; }
.k-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .25s; }
.k-burger span:first-child { top: 17px; }
.k-burger span:last-child { top: 25px; }
.k-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.k-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.k-mobile { position: fixed; inset: 0; z-index: 55; background: var(--len); padding: 110px 27px 40px; overflow: auto; }
.k-mobile[hidden] { display: none; }
.k-mobile li a { display: block; padding: 12px 0; font: 600 30px/1.2 var(--font-h); }
.k-mobile .k-subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0 0 8px 16px; }
.k-mobile .k-subnav a { font: 400 17px/1.4 var(--font-t); padding: 6px 0; }
.k-mobile .k-btn { margin-top: 24px; }

/* pionowe napisy przy krawędziach */
.k-side { position: fixed; top: 50%; z-index: 40; font-weight: 600; font-size: 14.4px; white-space: nowrap; color: var(--atrament); display: flex; align-items: center; gap: 10px; }
.k-side i { display: inline-block; width: 16px; height: 2px; background: currentColor; }
.k-side--left { left: 27px; transform-origin: 0 0; transform: rotate(-90deg) translate(-50%, 0); font-family: var(--font-h); font-weight: 600; font-size: 16px; }
.k-side--left a { display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; }
.k-side--left i { width: 60px; }
.k-side--right { right: 27px; transform-origin: 100% 0; transform: rotate(-90deg) translate(50%, -100%); }
.k-side--right a:hover, .k-side--left a:hover { color: var(--fiolet); }

/* ---- przyciski ----------------------------------------------------------- */
.k-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 49px; padding: 0 24px;
    border: 2px solid transparent; border-radius: 10px; background: var(--cynober); color: #fff;
    font: 600 15.2px/23px var(--font-h); white-space: nowrap;
    transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.k-btn:hover { transform: translateY(-2px); }
.k-btn .k-arrow { transition: transform .25s; }
.k-btn:hover .k-arrow { transform: translateX(4px); }
.k-btn.-small { min-height: 36px; padding: 0 16px; font-size: 14.4px; border-radius: 5.6px; }
.k-btn.-outlined.-large { min-height: 52px; padding: 0 42px; font: 500 18px/23px var(--font-t); }
.k-btn.-outlined.-large:has(.k-arrow) { padding: 5px 20px 0; gap: 2px; }
.k-btn.-outlined.-large .k-arrow { width: 30px; height: 30px; margin: -5px -9px 0 0; }
.k-btn.-outlined { background: transparent; border-color: currentColor; color: inherit; }
.k-btn.btn-optional { background: var(--fiolet); }
.k-btn.-text { background: none; border: 0; border-radius: 0; padding: 0; min-height: 0; color: var(--cynober); font-size: 16px; white-space: normal; }
.k-btn.-text:hover { color: var(--fiolet); transform: none; }
.k-btn.-text .k-arrow { width: 18px; height: 18px; }
.k-holder.-right { display: flex; justify-content: flex-end; }
.k-holder.-center { display: flex; justify-content: center; }

/* ---- siatka: wiersz i kolumny -------------------------------------------- */
.k-row { position: relative; }
.k-wrap { padding: 0 calc(var(--margines) + var(--odstep)); }
.k-wrap > .k-row { margin: 0 calc(-1 * var(--odstep)); }
.k-row--full { padding: 0 var(--margines); }
.k-cols { display: flex; flex-wrap: wrap; }
.k-row--wrap > .k-cols { row-gap: 40px; }
/* Wiersz przestawiony w edytorze: nie nachodzi na obcego sąsiada. */
.k-row.k-row--flat.k-row--flat { margin-top: 0 !important; }
.k-row.k-row--flat.k-row--flat.clb__custom_banners { margin-top: 40px !important; }
.k-row--flat.clb__custom_banners > .k-cols > .k-col { margin-top: 0; }
/* Odstęp między kolumnami siedzi na wnętrzu kolumny (.k-col-in), nie na kolumnie —
   tak jak w WPBakery. Dzięki temu reguły vc_custom z własnym paddingiem (np. ramka
   z 5% po bokach) zastępują go, zamiast się do niego dodawać. */
.k-col { --w: 100%; flex: 0 0 var(--w); max-width: var(--w); min-width: 0; }
.k-col-in { height: 100%; padding: 0 var(--odstep); }
/* Szerokość w dwunastych, jak w WPBakery: k-col-N od tabletu, -md- od 992 px, -lg- od 1200 px. */
.k-col-1 { --w: 8.3333%; } .k-col-2 { --w: 16.6667%; } .k-col-3 { --w: 25%; } .k-col-4 { --w: 33.3333%; }
.k-col-5 { --w: 41.6667%; } .k-col-6 { --w: 50%; } .k-col-7 { --w: 58.3333%; } .k-col-8 { --w: 66.6667%; }
.k-col-9 { --w: 75%; } .k-col-10 { --w: 83.3333%; } .k-col-11 { --w: 91.6667%; }
@media (min-width: 992px) {
    .k-col-md-3 { --w: 25%; } .k-col-md-4 { --w: 33.3333%; } .k-col-md-5 { --w: 41.6667%; } .k-col-md-6 { --w: 50%; }
    .k-col-md-7 { --w: 58.3333%; } .k-col-md-8 { --w: 66.6667%; } .k-col-md-12 { --w: 100%; }
}
@media (min-width: 1200px) {
    .k-col-lg-3 { --w: 25%; } .k-col-lg-4 { --w: 33.3333%; } .k-col-lg-5 { --w: 41.6667%; } .k-col-lg-6 { --w: 50%; }
    .k-col-lg-7 { --w: 58.3333%; } .k-col-lg-8 { --w: 66.6667%; } .k-col-lg-12 { --w: 100%; }
}
.k-row--gap10 > .k-cols > .k-col { padding: 5px; }
.k-row--inner { padding: 0; margin: 0 calc(-1 * var(--odstep)); }
.k-row--nopad { padding: 0; }
.k-row--nopad > .k-cols > .k-col > .k-col-in { padding: 0; }
.k-row--full.k-row--bleed { padding: 0; }
.k-row--equal > .k-cols { align-items: stretch; }
.k-row--equal > .k-cols > .k-col > .k-col-in { display: flex; flex-direction: column; }
.k-row--equal > .k-cols > .k-col > .k-col-in > .k-row--inner { flex: 1 1 auto; display: flex; }
.k-row--equal > .k-cols > .k-col > .k-col-in > .k-row--inner > .k-cols { flex: 1; }
.k-row--equal > .k-cols > .k-col > .k-col-in > .k-row--inner > .k-cols > .k-col > .k-col-in { display: flex; flex-direction: column; justify-content: space-between; }
.k-sep { border: 0; border-top: 1px solid rgba(99, 93, 111, .65); margin: 0 var(--odstep) 35px; }
.k-row--gap4 > .k-cols > .k-col { padding: 2px; }
.k-raw { margin-bottom: 35px; }
.k-space { flex: none; }
@media (min-width: 1200px) { .k-hide-lg { display: none !important; } }
@media (min-width: 992px) and (max-width: 1199px) { .k-hide-md { display: none !important; } }
@media (min-width: 768px) and (max-width: 991px) { .k-hide-sm { display: none !important; } }
@media (max-width: 767px) { .k-hide-xs { display: none !important; } }

.clb__dark_section, .clb__dark_section h1, .clb__dark_section h2, .clb__dark_section h3, .clb__dark_section h4, .clb__dark_section h6 { color: #fff; }
.k-row--parallax { background-size: cover; background-position: center; background-attachment: fixed; }

/* ---- nagłówek sekcji i tekst --------------------------------------------- */
.heading .subtitle { font-weight: 500; font-size: 14.4px; line-height: 23px; }
.heading .subtitle + .title { padding-top: .15em; }
.heading .divider { height: 1px; background: rgba(100, 100, 108, .5); }
.heading .divider + .title { padding-top: 14px; }
.heading.-center { text-align: center; }
.heading.-right { text-align: right; }
.highlighted-text { background-image: linear-gradient(rgba(231, 77, 36, .5), rgba(231, 77, 36, .5)); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 92%; }
/* Akapity w treści mają odstęp także nad pierwszym — tak liczy je obecna strona. */
.k-text p { margin: 16px 0; }
.k-text p:last-child { margin-bottom: 0; }
.heading + .ohio-text-sc { margin-top: 16px; }
.k-text--el { margin-bottom: 35px; }
.k-text a { color: var(--cynober); transition: color .2s; }
.k-text a:hover { color: var(--fiolet); }
.k-text ul { list-style: disc; padding-left: 20px; margin: 0 0 16px; }
.k-text ol { list-style: decimal; padding-left: 20px; margin: 0 0 16px; }
.k-box.clb__padding_set { padding: 0; }

/* ---- kafle usług (strona główna) ----------------------------------------- */
.clb__custom_banners { z-index: 2; }
.clb__custom_banners > .k-cols > .k-col { margin-top: -12%; }
.banner { height: 512px; }
.banner > a { display: block; height: 100%; color: #fff; }
.banner .image-holder { position: relative; height: 100%; border-radius: 10px; overflow: hidden; background: var(--atrament); }
.banner .image-holder > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.banner:hover .image-holder > img { transform: scale(1.06); }
.banner .overlay-details { position: absolute; inset: 0; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(17, 16, 19, .5); }
.banner .subtitle { text-transform: uppercase; }
.banner .title { color: #fff; padding-top: .15em; }
.banner p { margin: 0; }

/* ---- murowany układ: projekty i galerie ---------------------------------- */
.k-masonry { display: flex; align-items: flex-start; gap: 40px; }
.k-masonry-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.k-masonry:not(.is-ready) { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.k-masonry img { width: 100%; height: auto; }
.k-masonry-item[hidden] { display: none; }

.k-portfolio { margin-top: -20px; }
.k-filter { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 8px; font-size: 15.2px; min-height: 50px; }
.k-filter-label { margin-right: 4px; }
.k-filter li + li + li::before { content: "/"; margin-right: 8px; font-size: 18px; }
.k-filter button { font-weight: 500; transition: color .2s; }
.k-filter button:hover, .k-filter button.is-on { color: var(--cynober); }
.k-filter .num { font-size: .65em; font-weight: 700; margin-left: 2px; vertical-align: super; line-height: 0; }

.k-project { margin-bottom: 36px; }
.k-project-img { display: block; border-radius: 5.6px; overflow: hidden; }
.k-project-img img { width: 100%; transition: transform .8s var(--ease); }
.k-project:hover .k-project-img img { transform: scale(1.05); }
.k-project .title { font: 500 23.2px/1.2 var(--font-h); letter-spacing: 1px; margin-top: 24px; }
.k-masonry[data-cols="2"] { margin-top: 20px; }
.k-project-meta { position: relative; height: 28px; overflow: hidden; margin-top: 2px; }
.k-project-meta > * { margin: 0; line-height: 28px; transition: transform .35s var(--ease), opacity .35s; }
.k-project-cats { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-project-link { position: absolute; left: 0; top: 0; font-weight: 700; transform: translateY(100%); opacity: 0; }
.k-project:hover .k-project-meta .k-project-cats { transform: translateY(-100%); opacity: 0; }
.k-project:hover .k-project-meta .k-project-link { transform: none; opacity: 1; }

/* rząd „zobacz inne projekty” */
.k-project-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.k-project--overlay { position: relative; margin: 0; border-radius: 5.6px; overflow: hidden; aspect-ratio: 1; color: #fff; }
.k-project--overlay .k-project-img { position: absolute; inset: 0; border-radius: 0; }
.k-project--overlay .k-project-img img { width: 100%; height: 100%; object-fit: cover; }
.k-project--overlay .k-project-body { position: absolute; inset: auto 0 0 0; padding: 27px; background: linear-gradient(360deg, rgba(17, 16, 19, .5) 0%, rgba(17, 16, 19, 0) 100%); pointer-events: none; }
.k-project--overlay .k-project-body a { pointer-events: auto; }
.k-project--overlay .title { font: 500 23.2px/1.2 var(--font-h); letter-spacing: 1px; color: #fff; margin: 0 0 3px; }
.k-project--overlay .k-project-cats { font-size: 11px; line-height: 13px; margin: 0; white-space: normal; }
.k-project--overlay .k-project-cats a { margin-right: 6px; }
.k-project--overlay .k-project-link { position: static; transform: none; opacity: 1; font-size: 15.2px; font-weight: 600; line-height: 27px; }

.k-gallery { gap: 10px; margin: 0 -15px; }
.k-gallery .k-masonry-col { gap: 10px; }
.k-gallery-item { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.k-gallery-item img { width: 100%; transition: transform .8s var(--ease); }
.k-gallery-item:hover img { transform: scale(1.04); }

/* ---- harmonijka ---------------------------------------------------------- */
.k-acc-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 9px 0; cursor: pointer; }
.k-acc-item summary::-webkit-details-marker { display: none; }
.k-acc-icon { position: relative; width: 20px; height: 20px; flex: none; }
.k-acc-icon::before, .k-acc-icon::after { content: ""; position: absolute; left: 4px; right: 4px; top: 9px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.k-acc-icon::after { transform: rotate(90deg); }
.k-acc-item[open] .k-acc-icon::after { transform: rotate(0); }
.accordion-header { font: 300 22px/30px var(--font-t); letter-spacing: -.02em; }
.k-acc-item .k-text { padding: 0 0 9px; }

/* ---- slider -------------------------------------------------------------- */
.k-slider { position: relative; }
.k-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 40px; }
.k-slider-track::-webkit-scrollbar { display: none; }
.k-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.k-slider-nav { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.k-slider-count { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.4px; margin-right: auto; }
.k-slider-count i { display: block; width: 32px; height: 1.5px; background: currentColor; }
.k-slider-prev, .k-slider-next { width: 32px; height: 32px; display: grid; place-items: center; transition: color .2s, transform .2s; }
.k-slider-prev:hover, .k-slider-next:hover { color: var(--cynober); }
.k-image { margin: 0 0 35px; }
.k-image img { width: 100%; }
.k-slide .k-image { margin: 0; }
.k-slider--media .k-slide { flex-basis: 100%; }
.k-slider--media .k-image img, .k-video { width: 100%; border-radius: 12px; }
.k-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--atrament); }
.k-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.k-slider--media .k-slider-nav { justify-content: flex-end; }

.k-testimonial { margin: 0; }
.k-testimonial blockquote { margin: 0 0 12px; }
.k-testimonial .title { font-weight: 300; }
.k-testimonial .author-details { font-size: 15.2px; margin: 0; }
.vc_custom_1701349818017 .heading .subtitle { font-size: 18px; font-weight: 700; color: var(--roz); }

/* ---- zakładki ------------------------------------------------------------ */
.k-tabs { display: flex; align-items: flex-start; gap: 24px; }
.k-tabs-nav { display: flex; flex-direction: column; flex: none; }
.k-tabs-nav button { min-height: 48px; padding: 0 16px 0 0; text-align: left; font: 500 18px/28px var(--font-t); border-right: 2px solid transparent; transition: color .2s, border-color .2s; }
.k-tabs-nav button:hover { color: var(--fiolet); }
.k-tabs-nav button.is-on { border-right-color: currentColor; }
.k-tabs-panels { flex: 1 1 auto; min-width: 0; }
.k-tabs-panel[hidden] { display: none; }
.k-tabs--contained .k-tabs-nav button { padding: 0 16px; font-size: 16px; line-height: 22px; font-weight: 400; }
.k-tabs--contained .k-tabs-nav button.is-on { background: var(--len); font-weight: 500; }
.k-image--rounded img { border-radius: 12px; }

/* ---- kafelek z ikoną, kroki procesu, wskaźnik ---------------------------- */
.k-iconbox-icon { display: block; height: 70px; color: var(--fiolet); }
.k-iconbox .icon-box-heading { font: 500 22px/1.25 var(--font-t); letter-spacing: 1px; margin-top: 16px; }
.k-iconbox p { margin: 8px 0 0; }
.k-process { margin-bottom: 16px; }
.k-process .process-number { color: var(--roz); }
.k-process .process-description { margin: 16px 0; }
.k-circle { text-align: center; }
.k-circle-ring { position: relative; width: 110px; height: 110px; margin: 0 auto; }
.k-circle-track { stroke: rgba(138, 138, 147, .15); }
.k-circle-value { stroke-linecap: butt; transition: stroke-dashoffset 1.4s var(--ease); }
.k-circle:not(.is-in) .k-circle-value { stroke-dashoffset: 307.876; }
.k-circle .range { position: absolute; inset: 0; display: grid; place-items: center; font: 500 28px/1.2 var(--font-h); letter-spacing: 0; }
.k-circle .title { margin-top: 16px; }

/* ---- suwak przed / po ---------------------------------------------------- */
.k-compare { position: relative; overflow: hidden; border-radius: 10px; line-height: 0; user-select: none; }
.k-compare img { width: 100%; height: auto; }
.k-compare-before { position: absolute; inset: 0; height: 100% !important; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.k-compare-handle { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #f0f0f1; color: var(--atrament); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(39, 16, 79, .25); pointer-events: none; }
.k-compare-handle::before { content: ""; position: absolute; left: 50%; top: -100vh; bottom: -100vh; width: 2px; margin-left: -1px; background: #fff; z-index: -1; }
.k-compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.k-compare:focus-within .k-compare-handle { outline: 2px solid var(--fiolet); outline-offset: 3px; }
.k-compare-label { position: absolute; bottom: 16px; padding: 7px 12px; border-radius: 6px; background: rgba(39, 16, 79, .72); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.k-compare-label--before { left: 16px; }
.k-compare-label--after { right: 16px; }

/* Film z YouTube jako ruchome tło wiersza albo kolumny. W HTML-u jest kadr z filmu
   jako zwykłe tło; odtwarzacz (.k-bgvideo) dokłada site.js i pokazuje go, gdy ruszy.
   Ramka jest zawsze 16:9 i większa od pola — wypełnia je jak zdjęcie „cover”. */
.k-hasvideo { position: relative; overflow: hidden; background-color: var(--atrament); background-size: cover; background-position: center; }
.k-hasvideo > :not(.k-bgvideo) { position: relative; z-index: 1; }
.k-bgvideo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; container-type: size; opacity: 0; transition: opacity .6s ease; }
.k-bgvideo.is-on { opacity: 1; }
.k-bgvideo iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }
/* Ograniczony ruch w systemie: film nie rusza sam, za to ma przyciski odtwarzacza. */
.k-hasvideo.is-interactive > :not(.k-bgvideo) { pointer-events: none; }
.k-hasvideo.is-interactive > .k-bgvideo { pointer-events: auto; }

/* ---- logotypy klientów --------------------------------------------------- */
.k-logo { display: grid; place-items: center; height: 100%; }
.k-logo img { width: 130px; height: auto; }

/* ---- wpisy --------------------------------------------------------------- */
.k-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.k-post-img { position: relative; display: block; aspect-ratio: 1; border-radius: 5.6px; overflow: hidden; }
.k-post-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.k-post:hover .k-post-img > img { transform: scale(1.05); }
.k-post-author { position: absolute; inset: auto 0 0 0; padding: 27px; display: flex; align-items: center; gap: 16px; color: #fff; background: linear-gradient(360deg, rgba(17, 16, 19, .5) 0%, rgba(17, 16, 19, 0) 100%); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s var(--ease); }
.k-post:hover .k-post-author { opacity: 1; transform: none; }
.k-post-author img { width: 48px; height: 48px; border-radius: 50%; }
.k-post-author small { display: block; font-size: 14.4px; line-height: 1.4; }
.k-post-author b { font-size: 15.2px; font-weight: 600; }
.k-post-meta { margin: 24px 0 6px; font-size: 14.4px; color: var(--szary); }
.k-post-meta time { font-weight: 500; }
.k-post-meta span::before { content: "·"; margin: 0 6px; }
.k-post .title { font: 500 23.2px/29px var(--font-h); letter-spacing: 1px; }
.k-post .title a:hover { color: var(--fiolet); }
.k-post-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 11px; }
.tag { display: inline-block; padding: 5.6px 10.4px; border-radius: 5.6px; background: rgba(138, 138, 147, .15); font-weight: 500; font-size: 14.4px; line-height: 1; transition: background-color .2s; }
.tag:hover { background: rgba(138, 138, 147, .3); }
.k-pagination { display: flex; justify-content: flex-end; padding: 62px 0 30px; font: 600 16px/1 var(--font-h); }
.k-pagination > * { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 5.6px; border: 2px solid transparent; }
.k-pagination .is-on { border-color: var(--atrament); }
.k-pagination .k-arrow { width: 18px; height: 18px; }

/* ---- liczniki ------------------------------------------------------------ */
.k-counter { color: #fff; }
.k-counter-number { display: flex; align-items: center; gap: 14px; font: 600 38.32px/1 var(--font-h); letter-spacing: -.045em; }
.k-counter .title { color: #fff; margin-top: 8px; }

/* ---- formularze ---------------------------------------------------------- */
.k-form-field { display: block; margin-bottom: 20px; }
.k-form-field > span { display: block; font-weight: 500; font-size: 14.4px; margin-bottom: 5px; }
.k-form-field:has([required]) > span::after { content: " *"; color: #e23c3c; margin-left: 3px; }
.k-form input[type="text"], .k-form input[type="email"], .k-form input[type="tel"], .k-form textarea {
    width: 100%; min-height: 44px; padding: 11px 15px; border: 1px solid #dadbdd; border-radius: 7px;
    background: rgba(138, 138, 147, .1); font: inherit; color: inherit;
}
.k-form textarea { min-height: 160px; resize: vertical; }
.k-form input:focus, .k-form textarea:focus { border-color: var(--fiolet); outline: none; }
.k-form-check { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; line-height: 1; font-weight: 300; margin-bottom: 20px; }
.k-form-check input { margin: 0; flex: none; }
.k-form-submit { text-align: center; }
.k-form-btn { min-height: 44px; padding: 8px 20px; border-radius: 10px; background: var(--fiolet); color: var(--len); font: 500 16px/24px var(--font-h); transition: background-color .2s; min-width: 133px; }
.k-form-btn:hover { background: var(--atrament); }
.k-form-note { margin: 12px 0 0; font-size: 13px; }
.k-form-note--error { color: #b3261e; }
.k-form-note--ok { color: var(--fiolet); font-weight: 500; }
.k-form-note ul { margin: 4px 0 0; padding-left: 18px; }
.k-form-note a { color: inherit; text-decoration: underline; }
.k-form [aria-invalid="true"] { border-color: #b3261e !important; }
.k-form-btn[disabled] { opacity: .6; cursor: wait; }
/* Pułapka na automaty: poza ekranem, nie display:none — część automatów pomija ukryte pola. */
.k-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- spacer 360 ---------------------------------------------------------- */
.k-tour { position: relative; width: 100%; overflow: hidden; background: #fff; display: grid; place-items: center; }
.k-tour > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.k-tour-play { position: relative; width: 94px; height: 94px; border-radius: 50%; background: rgba(160, 160, 160, .85); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 0 0 3px rgba(255, 255, 255, .55); transition: transform .25s var(--ease), background-color .25s; }
.k-tour-play svg { margin-left: 4px; }
.k-tour-play:hover { transform: scale(1.08); background: var(--fiolet); }

/* ---- lightbox ------------------------------------------------------------ */
.k-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(27, 10, 58, .94); display: grid; place-items: center; padding: 40px 70px; }
.k-lightbox[hidden] { display: none; }
.k-lightbox img { max-width: 100%; max-height: calc(100vh - 80px); border-radius: 6px; }
.k-lightbox button { position: absolute; color: #fff; width: 48px; height: 48px; display: grid; place-items: center; font-size: 34px; line-height: 1; }
.k-lightbox-close { top: 14px; right: 16px; }
.k-lightbox-prev { left: 12px; top: 50%; margin-top: -24px; }
.k-lightbox-next { right: 12px; top: 50%; margin-top: -24px; }

/* ---- strona projektu: góra ----------------------------------------------- */
.k-phero { position: relative; min-height: 1199px; padding: 300px calc(var(--margines) + var(--odstep)) 70px; }
.k-phero-slides { position: absolute; inset: 68px 0 0 35%; overflow: hidden; }
.k-phero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.k-phero-slide.is-on { opacity: 1; }
.k-phero-fade { position: absolute; inset: 0 50% 0 0; background: linear-gradient(-90deg, rgba(253, 246, 236, 0), var(--len)); }
.k-phero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(to top, var(--len) 30%, rgba(253, 246, 236, 0)); pointer-events: none; }
.k-phero-content { position: relative; z-index: 2; }
.k-phero-cats { margin: 0 0 8px; font-size: 18px; line-height: 32px; color: var(--cynober); }
.k-phero-cats a { margin-right: 8px; }
.k-phero-cats a:not(:last-child)::after { content: ","; }
.k-phero .headline { font-size: 55px; line-height: 1; letter-spacing: -.045em; }
.k-phero-intro { max-width: 707px; margin-top: 16px; }
.k-phero-meta { display: grid; grid-template-columns: repeat(4, 149px); gap: 20px 27.5px; margin-top: 36px; max-width: 707px; }
.k-phero-meta li { border-top: 1px solid rgba(100, 100, 108, .5); padding-top: 20px; }
.k-phero-meta p { font-size: 15.2px; margin: 4px 0 0; }
.k-phero-meta a { color: var(--cynober); }
.k-phero-meta a:hover { color: var(--fiolet); }
.k-share { display: inline-flex; gap: 2px; background: #fff; border-radius: 5.6px; padding: 3.2px; margin-top: 150px; }
.k-share a { width: 46px; height: 35px; display: grid; place-items: center; border-radius: 4px; transition: color .2s, background-color .2s; }
.k-share a:hover { color: var(--cynober); }
.k-back { position: absolute; left: 27px; top: 135px; z-index: 3; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.k-back .k-arrow { width: 20px; height: 20px; }
.k-back span { display: none; }
/* Karta „następny projekt” jedzie z ekranem przez całą stronę — jak na obecnej. */
.k-nextproject { position: fixed; right: 27px; bottom: 27px; z-index: 45; width: 285px; background: #fff; border-radius: 8px; padding: 26px 28px 28px; box-shadow: 0 20px 60px rgba(39, 16, 79, .12); }
.k-nextproject-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.k-nextproject-head span { display: flex; gap: 28px; }
.k-nextproject-head a:hover { color: var(--cynober); }
.k-nextproject .k-arrow { width: 20px; height: 20px; }
.k-nextproject-title { display: block; font: 600 20px/1.3 var(--font-h); }
.k-nextproject-title:hover { color: var(--fiolet); }
.k-project-content { position: relative; z-index: 2; }
.k-project-content .heading { margin-bottom: 19px; }
.k-project-content .heading h2.title { font-size: 40px; line-height: 1.05; letter-spacing: 1px; }
.k-slider--media { margin-top: 48px; }
.k-project-content h3.title { line-height: 1.15; }

/* ---- strona oferty: góra ------------------------------------------------- */
.k-headline { position: relative; min-height: 500px; background: var(--cynober) center / cover no-repeat; padding: 198px calc(var(--margines) + var(--odstep)) 60px; color: var(--len); }
.k-headline .title, .k-headline-sub { color: var(--len); font: 600 60px/70px var(--font-h); letter-spacing: 1px; margin: 0; }
.k-headline-sub { margin-top: 20px; }
.k-headline .k-back { top: 116px; left: 55px; width: auto; color: var(--atrament); }
.k-headline .k-back span { display: inline; }
.k-crumbs { min-height: 90px; display: flex; align-items: center; padding: 0 calc(var(--margines) + var(--odstep)); font-size: 14.44px; font-weight: 600; }
.k-crumbs ol { display: flex; gap: 6px; }
.k-crumbs li + li::before { content: "/"; margin-right: 6px; }
.k-crumbs [aria-current] { font-weight: 400; }
.k-crumbs a:hover { color: var(--fiolet); }
.heading h4.title { font-size: 30px; line-height: 36px; }

/* ---- listy: projekty i artykuły, zwykła strona ---------------------------- */
.k-project-desc { margin: 10px 0 0; }
.k-more { display: flex; justify-content: center; margin: 20px 0 60px; }
.k-more .k-btn { color: var(--fiolet); border-radius: 50px; }
.k-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.k-archive { padding-top: 88px; padding-bottom: 60px; }
/* Strona kategorii artykułów: nazwa kategorii nad listą, w układzie nagłówka artykułu. */
.k-cathead { position: relative; padding: 180px calc(var(--margines) + var(--odstep)) 0; }
.k-cathead .k-back { top: 135px; left: 27px; width: auto; padding: 0 16px; }
.k-cathead .k-back span { display: inline; }
.k-cathead-label { margin: 0 0 12px; font-size: 15.2px; line-height: 23px; font-weight: 500; }
.k-cathead .title { margin: 0; font-size: 50px; line-height: 60px; letter-spacing: 0; }
.k-archive--cat { padding-top: 48px; }
.k-posts--archive .k-post { margin-bottom: 40px; padding-bottom: 24px; }
.k-posts--archive .k-post-img { aspect-ratio: auto; border-radius: 5.6px 5.6px 0 0; }
.k-posts--archive .k-post-img > img { height: auto; }
.k-posts--archive .k-post > :not(.k-post-img) { margin-left: 27px; margin-right: 27px; }
.k-post-lead { margin: 8px 0 0; }
.k-post-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 600 16px/24px var(--font-h); color: var(--cynober); }
.k-post-more:hover { color: var(--fiolet); }
.k-post-more .k-arrow { width: 18px; height: 18px; transition: transform .25s; }
.k-post-more:hover .k-arrow { transform: translateX(4px); }
.k-plain { padding-top: 56px; padding-bottom: 80px; }
.k-plain .k-text { max-width: 920px; }
.k-plain .k-text h2 { font-size: 30px; margin: 36px 0 8px; letter-spacing: 0; }
.k-plain .k-text h3 { font-size: 24px; margin: 28px 0 6px; }
.k-plain .k-text ul, .k-plain .k-text ol { padding-left: 28px; }

/* kolumna dochodząca do krawędzi ekranu */
.clb-stretch-column-left > .k-cols > .k-col:first-child { margin-left: calc(-1 * var(--margines)); flex-basis: calc(var(--w) + var(--margines)); max-width: none; }
.clb-stretch-column-right > .k-cols > .k-col:last-child { margin-right: calc(-1 * var(--margines)); flex-basis: calc(var(--w) + var(--margines)); max-width: none; }
.clb-stretch-column-left > .k-cols > .k-col:first-child > .k-col-in,
.clb-stretch-column-right > .k-cols > .k-col:last-child > .k-col-in { padding: 0; }
[class*="clb-stretch-column"] .k-tour { height: 100% !important; min-height: 600px; }

/* ---- wpis ---------------------------------------------------------------- */
.k-page--wpis .k-main { background: #fff; }
.k-posthead { position: relative; padding: 192px calc(var(--margines) + var(--odstep)) 48px; border-bottom: 1px solid rgba(100, 100, 108, .35); }
.k-posthead .k-back { top: 120px; left: 27px; width: auto; padding: 0 16px; }
.k-posthead .k-back span { display: inline; }
.k-posthead-meta { margin: 0 0 18px; font-size: 15px; line-height: 24px; }
.k-posthead-meta .category { font-weight: 500; }
.k-posthead-meta .category:hover { color: var(--fiolet); }
/* Dwie kategorie obok siebie rozdziela kropka, jak czas czytania (wcześniej zlewały się w jedno słowo). */
.k-posthead-meta .category + .category::before { content: "·"; margin: 0 6px; font-weight: 400; }
.k-posthead-meta span::before { content: "·"; margin: 0 6px; }
.k-posthead .title { max-width: 920px; font-size: 56px; line-height: 1.1; font-weight: 400; letter-spacing: -.015em; text-wrap: balance; }
.k-posthead-author { display: flex; align-items: center; gap: 14px 28px; margin-top: 28px; }
.k-posthead-author li:first-child:has(img) { margin-right: -14px; }
.k-posthead-author img { width: 48px; height: 48px; border-radius: 50%; background: rgba(138, 138, 147, .4); }
.k-posthead-author small { display: block; font-size: 13px; line-height: 18px; color: #73688e; }
.k-posthead-author b, .k-posthead-author time { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }

.k-postlayout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 40px; justify-content: space-between; padding: 56px calc(var(--margines) + var(--odstep)) 88px; align-items: start; }
.k-article { min-width: 0; }
/* Wiersze WPBakery we wpisie siedzą w kolumnie artykułu, nie w kontenerze strony. */
.k-article .k-wrap { padding: 0; }
.k-article .k-row--full { padding: 0; margin: 0 calc(-1 * var(--odstep)); }
.k-article .k-image img { width: 100%; border-radius: 5.6px; }
.k-article .k-text p, .k-article .k-text p:last-child { margin: 16px 0 21.6px; }
.k-article .k-text h2 { margin: 40px 0 18px; }
.k-article .k-text h3 { margin: 40px 0 -10px; }
.k-article .k-text h4 { margin: 40px 0 -12px; }
.k-article .k-text > :first-child { margin-top: 0; }
/* Artykuł w układzie z WordPressa: śródtytuł tuż przed listą — lista nie ma górnego marginesu, więc dajemy go tutaj. */
/* To samo, gdy pod śródtytułem stoi od razu kolejny, niższy (H5 nie miał żadnych marginesów). */
.k-article .k-text :is(h2, h3, h4, h5) + :is(ul, ol, h5, h6) { margin-top: 26px; }
.k-article .k-text ul, .k-article .k-text ol { padding-left: 32px; margin: 0 0 21.6px; }
.k-article .k-text li { margin: 4px 0; }
.k-article .k-text img { border-radius: 5.6px; margin: 8px 0 22px; }
.k-article .k-text figure { margin: 0 0 22px; }
.k-article .k-text figcaption { font-size: 13px; color: var(--szary); margin-top: 6px; }
.k-article .k-text blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--roz); font: 500 22px/1.4 var(--font-h); }
.k-article .k-text hr { border: 0; border-top: 1px solid rgba(100, 100, 108, .35); margin: 32px 0; }
.k-article .k-text table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.k-article .k-text th, .k-article .k-text td { padding: 10px 14px; border-bottom: 1px solid rgba(100, 100, 108, .3); text-align: left; vertical-align: top; }
.k-article .k-text th { font-weight: 600; background: var(--len); }
/* ---- Artykuł z klocków edytora (Site\Article). Wygląd przyjęty 25.11.2026 (START/prototyp-czytelnosc.html):
   jedna szerokość (760 px) dla tekstu, zdjęć, tabel i ramek; tekst 18/30, wyjustowany; śródtytuły IvyPresto 400;
   linki w fiolecie (cynobru marka nie używa w małym tekście). ---- */
.k-a-text, .k-a-summary .k-text, .k-a-faq-a { font-size: 18px; line-height: 30px; }
.k-article :is(.k-a-text, .k-a-summary .k-text, .k-a-box .k-text, .k-a-faq-a) p { margin: 0 0 22px; }
.k-article .k-a-text { margin-bottom: 22px; }
.k-article :is(.k-a-text, .k-a-summary .k-text, .k-a-box .k-text, .k-a-faq-a) > :is(p, ul, ol, blockquote):last-child { margin-bottom: 0; }
.k-article :is(.k-a-text, .k-a-summary, .k-a-box, .k-a-faq-a) :is(ul, ol) { margin: 0 0 26px; padding-left: 26px; }
.k-article :is(.k-a-text, .k-a-summary, .k-a-box, .k-a-faq-a) li { margin: 0 0 10px; padding-left: 6px; }
.k-article :is(.k-a-text, .k-a-summary, .k-a-box, .k-a-faq-a) li::marker { color: var(--fiolet); }
.k-article :is(.k-a-text, .k-a-summary, .k-a-box, .k-a-faq-a) :is(strong, b) { font-weight: 600; }
.k-article :is(.k-a-text, .k-a-summary, .k-a-box, .k-a-faq-a) a:not(.k-a-btn) { color: var(--fiolet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.k-article :is(.k-a-text, .k-a-summary, .k-a-box, .k-a-faq-a) a:not(.k-a-btn):hover { color: var(--atrament); text-decoration-thickness: 2px; }
/* Justowanie: dzielenie wyrazów tam, gdzie przeglądarka umie (polski ma Safari i Firefox), żeby nie robić dziur. */
.k-article :is(.k-a-text, .k-a-summary .k-text, .k-a-faq-a, .k-a-box:not(.k-a-box--center) .k-text) :is(p, li), .k-a-author-bio {
    text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 4; overflow-wrap: break-word;
}
.k-a-h2 { margin: 68px 0 22px; font-size: 40px; line-height: 1.16; font-weight: 400; letter-spacing: -.015em; text-wrap: balance; scroll-margin-top: 110px; }
.k-article > .k-a-h2:first-child { margin-top: 0; }
.k-article .k-a-text h3 { margin: 40px 0 12px; font: 400 27px/1.28 var(--font-h); letter-spacing: 0; text-wrap: balance; }
.k-article .k-a-text > h3:first-child { margin-top: 0; }
.k-article .k-a-text blockquote { margin: 34px 0; padding: 0 0 0 26px; border-left: 3px solid var(--roz); font: 400 26px/1.4 var(--font-h); }
.k-article .k-a-text blockquote p { text-align: left; }
.k-a-figure, .k-a-video { margin: 36px 0 40px; }
.k-article .k-a-figure img, .k-a-video { border-radius: 16px; }
.k-a-figure figcaption { margin-top: 12px; font-size: 14px; line-height: 21px; color: #73688e; }
.k-a-label { margin: 0 0 10px; font: 600 12px/18px var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: #b83610; }
.k-a-summary { margin: 0 0 36px; padding: 26px 30px 28px; border-radius: 16px; background: #ede7f8; }
.k-a-toc { margin: 8px 0 0; padding: 26px 30px 24px; border: 1px solid #dbd3d6; border-radius: 16px; }
.k-a-toc ol { margin: 0; padding-left: 24px; list-style: decimal; }
.k-a-toc li { padding: 5px 0 5px 4px; line-height: 24px; }
.k-a-toc li::marker { color: #73688e; font-variant-numeric: tabular-nums; }
.k-a-toc a:hover { color: var(--fiolet); text-decoration: underline; text-underline-offset: 3px; }
.k-a-box { margin: 36px 0 40px; padding: 26px 30px; border-radius: 16px; background: var(--len); }
.k-article .k-a-box .k-text :is(p, li) { font-size: 18px; line-height: 29px; }
.k-article .k-a-box .k-text p { margin-bottom: 8px; }
.k-a-box--cta { padding: 44px 48px; }
.k-a-box--center { text-align: center; }
.k-a-box-label { display: block; margin: 0 0 .9rem; padding-left: .8rem; border-left: 4px solid var(--roz); border-radius: 2px; font-size: .82rem; letter-spacing: .04em; opacity: .85; }
.k-a-box--center .k-a-box-label { padding-left: 0; border-left: 0; }
.k-a-box-title { margin: 0 0 14px; font: 400 32px/1.18 var(--font-h); letter-spacing: -.01em; color: inherit; text-wrap: balance; }
.k-a-box-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 26px 0 0; }
.k-a-box--center .k-a-box-actions { justify-content: center; }
.k-a-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--fiolet); color: #fff; font-weight: 600; font-size: 16px; text-align: center; transition: background-color .2s ease, transform .25s; }
.k-a-btn:hover { background: #4b1c8f; color: #fff; transform: translateY(-2px); }
.k-a-link { font-size: .95rem; }
.k-a-box--granat { background: var(--atrament); color: var(--len); }
.k-article .k-a-box--granat .k-text :is(p, li) { color: inherit; }
.k-article .k-a-box--granat a:not(.k-a-btn), .k-article .k-a-box--granat a:not(.k-a-btn):hover { color: #f299c0; }
.k-a-box--granat .k-a-btn { background: var(--len); color: var(--atrament); }
.k-a-box--granat .k-a-btn:hover { background: #fff; color: var(--atrament); }
.k-a-faq { margin: 0 0 40px; border-top: 1px solid #dbd3d6; }
.k-a-faq-item { padding: 24px 0 26px; border-bottom: 1px solid #dbd3d6; }
.k-a-faq-q { margin: 0 0 8px; font: 600 18px/27px var(--font-t); letter-spacing: 0; }
.k-article .k-a-faq .k-a-faq-a p { margin: 0 0 10px; }
/* Tabela: na wąskim ekranie przewija się sama tabela, nie cała strona. */
.k-article > .k-raw { max-width: 100%; margin: 32px 0 40px; overflow-x: auto; }
.k-a-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 22px; margin-top: 64px; padding: 30px; border-radius: 16px; background: var(--len); }
.k-a-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.k-a-author-name { margin: 0 0 8px; }
.k-a-author-name b { display: block; font: 600 18px/1.3 var(--font-t); }
.k-a-author-name span { display: block; font-size: 14px; color: #73688e; }
.k-a-author-bio { margin: 0 0 8px; font-size: 16px; line-height: 26px; }
.k-a-author-links { margin: 0; font-size: 15px; }
.k-a-author-links a { color: var(--fiolet); text-decoration: underline; text-underline-offset: 3px; }
.k-a-author-links a:hover { color: var(--atrament); }
.k-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 48px; }
.k-article-tags span { margin-right: 6px; }

.schema-faq-question { font-weight: 700; }

.k-sidebar { position: sticky; top: 110px; font-size: 15px; line-height: 23px; }
.k-sidebar-title { margin-bottom: 12px; font: 600 12px/18px var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: #b83610; }
.k-sidebar li { padding: 12px 0; border-top: 1px solid #dbd3d6; }
.k-sidebar a:hover { color: var(--fiolet); }

/* Ramka z wezwaniem do kontaktu — własny blok strony (klasy kk-), przeniesiony bez zmian. */
.kk-cta { margin: 2.5rem 0; padding: 2.25rem 2.25rem 2.4rem; border-radius: 8px; font-family: var(--font-t); font-weight: 400; line-height: 1.65; }
.kk-cta--granat { background: var(--atrament); color: var(--len); }
.kk-cta--krem { background: var(--len); color: var(--atrament); }
.kk-cta__eyebrow { display: block; margin: 0 0 .9rem; padding-left: .8rem; border-left: 4px solid var(--roz); border-radius: 2px; font-size: .82rem; letter-spacing: .04em; color: inherit; opacity: .85; }
.kk-cta__title { margin: 0 0 .8rem !important; font-family: var(--font-h); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem) !important; line-height: 1.2; color: inherit; letter-spacing: 0; }
.kk-cta--krem .kk-cta__title { color: var(--fiolet); }
.kk-cta__text { margin: 0 0 1.5rem !important; max-width: 40rem; font-size: 1rem; }
.kk-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.k-text a.kk-cta__btn { display: inline-block; padding: .8rem 1.7rem; border-radius: 999px; background: var(--cynober); color: #fff; font-weight: 600; font-size: 1.1875rem; line-height: 1.3; transition: background-color .2s ease; }
.k-text a.kk-cta__btn:hover { background: #cf3f19; color: #fff; }
.k-text .kk-cta--krem a.kk-cta__btn { background: var(--fiolet); }
.k-text a.kk-cta__link { color: var(--roz); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.k-text .kk-cta--krem a.kk-cta__link { color: var(--fiolet); }

/* ---- stopka -------------------------------------------------------------- */
.k-footer { background: rgba(253, 246, 236, .75); padding: 0 calc(var(--margines) + var(--odstep)); }
.k-footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 92px 0 100px; }
.k-footer-logo { width: 202px; height: auto; margin-bottom: 24px; }
.k-footer-social { font-weight: 700; margin-bottom: 30px; }
.k-footer-social a { margin-right: 4px; }
.k-footer-social a:hover, .k-footer li a:hover, .k-footer-bottom a:hover { color: var(--fiolet); }
.k-footer-about { color: #32353c; }
.k-footer .widget-title { font-size: 18px; line-height: 23px; letter-spacing: -.01em; margin-bottom: 24px; }
.k-footer ul { margin-bottom: 30px; }
.k-footer ul:last-child { margin-bottom: 0; }
.k-footer li { line-height: 27px; }
.k-footer p + .widget-title { margin-top: 30px; }
.k-strong { font-weight: 700; }
.k-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.k-newsletter .k-form-btn { background: var(--cynober); color: #fff; }
.k-newsletter .k-form-btn:hover { background: var(--atrament); }
.k-newsletter .k-form-note { grid-column: 1 / -1; margin: 0; }
.k-footer-bottom { display: flex; justify-content: space-between; align-items: center; min-height: 78px; border-top: 1px solid var(--cynober); }
.k-footer-bottom p { margin: 0; }
.k-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
/* Ustawienia cookies — tylko tam, gdzie jest baner (kokonat.pl albo wersja próbna z ?pomiar=1). */
.k-cookie-link { display: none; }
.kk-pomiar .k-cookie-link { display: inline; }

/* ---- tablet -------------------------------------------------------------- */
@media (max-width: 1180px) {
    :root { --margines: 30px; }
    .k-nav, .k-header-cta, .k-side { display: none; }
    .k-burger { display: block; }
    .k-header { height: 80px; }
    .k-phero { padding-top: 200px; min-height: 0; }
    .k-nextproject { position: relative; right: auto; bottom: auto; margin-top: 40px; box-shadow: none; }
    .k-share { margin-top: 40px; }
    .k-project-row { grid-template-columns: repeat(2, 1fr); }
    .k-footer-cols { grid-template-columns: repeat(2, 1fr); }
    .k-headline .title, .k-headline-sub { font-size: 44px; line-height: 1.15; }
    .k-postlayout { grid-template-columns: minmax(0, 1fr); }
    .k-sidebar { position: static; max-width: 760px; border-top: 1px solid rgba(100, 100, 108, .35); padding-top: 24px; }
    .k-posthead { padding-top: 160px; padding-bottom: 40px; }
    .k-posthead .title { font-size: 46px; }
    .k-cathead { padding-top: 150px; }
}

/* ---- telefon ------------------------------------------------------------- */
@media (max-width: 768px) {
    :root { --margines: 0px; }
    h1 { font-size: 38px; } h2 { font-size: 30px; } h3 { font-size: 26px; } h4 { font-size: 22px; }
    .k-col[class*="k-col-"] { flex-basis: 100%; max-width: 100%; }
    .k-row--parallax { background-attachment: scroll; }
    /* Zdjęcie w tle wpisane w znacznik: na telefonie mniejsza wersja z biblioteki (Site\MediaRewriter). */
    [style*="--bg-m:"] { background-image: var(--bg-m) !important; }
    .clb__custom_banners > .k-cols > .k-col { margin-top: 0; }
    .banner { height: 380px; }
    .k-masonry { gap: 24px; }
    .k-posts { grid-template-columns: 1fr; }
    .k-pagination { justify-content: center; }
    .k-phero { padding: 130px 20px 40px; }
    .k-phero-slides { position: relative; inset: auto; height: 300px; margin: 0 -20px 30px; }
    .k-phero-fade, .k-phero::after { display: none; }
    .k-phero .headline { font-size: 34px; line-height: 1.1; letter-spacing: -.03em; }
    .k-phero-meta { grid-template-columns: repeat(2, 1fr); }
    .k-back { display: none; }
    .k-project-row { grid-template-columns: 1fr; }
    .k-project-content .heading .title { font-size: 30px; }
    .k-gallery { margin: 0; }
    .k-headline { min-height: 380px; padding: 150px 20px 40px; }
    .k-headline .title, .k-headline-sub { font-size: 32px; }
    .k-crumbs { padding: 24px 20px 0; }
    .k-posthead { padding: 116px 20px 30px; }
    .k-posthead .title { font-size: 36px; line-height: 1.12; }
    .k-posthead-author { flex-wrap: wrap; gap: 12px 22px; }
    .k-cathead { padding: 120px 20px 0; }
    .k-cathead .title { font-size: 32px; line-height: 1.2; }
    .k-archive--cat { padding-top: 28px; }
    .k-postlayout { padding: 32px 20px 56px; }
    .kk-cta { padding: 1.6rem 1.25rem 1.75rem; }
    .k-a-text, .k-a-summary .k-text, .k-a-faq-a { font-size: 17px; line-height: 28px; }
    /* Na telefonie bez justowania: przy ~35 znakach w wierszu robiło dziury między wyrazami (Android nie dzieli polskich słów). */
    .k-article :is(.k-a-text, .k-a-summary .k-text, .k-a-faq-a, .k-a-box:not(.k-a-box--center) .k-text) :is(p, li), .k-a-author-bio { text-align: left; hyphens: manual; -webkit-hyphens: manual; }
    .k-a-h2 { margin: 52px 0 16px; font-size: 31px; scroll-margin-top: 80px; }
    .k-article .k-a-text h3 { margin: 32px 0 10px; font-size: 24px; }
    .k-a-figure, .k-a-video { margin: 28px 0 30px; }
    .k-article :is(.k-a-text, .k-a-summary, .k-a-box, .k-a-faq-a) :is(ul, ol) { padding-left: 22px; }
    .k-a-summary, .k-a-toc, .k-a-box { padding: 22px; }
    .k-a-box--cta { padding: 32px 24px; }
    .k-article .k-a-box .k-text :is(p, li) { font-size: 17px; line-height: 27px; }
    .k-a-box-title { font-size: 27px; }
    .k-a-btn { width: 100%; }
    .k-article > .k-raw table { min-width: 560px; }
    .k-a-author { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px; }
    .k-a-author img { width: 56px; height: 56px; }
    .k-text a.kk-cta__btn { display: block; text-align: center; }
    .clb-stretch-column-left > .k-cols > .k-col:first-child, .clb-stretch-column-right > .k-cols > .k-col:last-child { margin: 0; flex-basis: 100%; }
    [class*="clb-stretch-column"] .k-tour { min-height: 320px; }
    .k-footer { padding: 0 20px; }
    .k-footer-cols { grid-template-columns: 1fr; padding: 56px 0; }
    .k-footer-bottom { flex-direction: column; justify-content: center; gap: 8px; padding: 18px 0; }
    .k-lightbox { padding: 20px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ---- Strona błędu 404 ---------------------------------------------------- */
.k-404 { padding-top: 200px; padding-bottom: 140px; }
.k-404 h1 { margin-bottom: 16px; }
.k-404-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
