/* Kuligibieszczady.pl. Paleta śniegu i błękitu. Maks. 5 kolorów i 5 rozmiarów, jedna czcionka. */
:root {
  --c-navy: #0f2343;
  --c-blue: #2f5f8f;
  --c-ice: #e3eef8;
  --c-white: #ffffff;
  --c-text: #34425a;

  --t-sm: .9rem;
  --t-md: 1.05rem;
  --t-lg: 1.2rem;
  --t-xl: clamp(1.8rem, 2.4vw, 2.35rem);
  --t-hero: clamp(2.2rem, 3.6vw, 3.4rem);

  --f-sans: 'Figtree', system-ui, sans-serif;
  /* jeden gradient dla wszystkich granatowych przyciskow */
  --grad-btn: linear-gradient(110deg, var(--c-navy) 10%, var(--c-blue) 75%, color-mix(in srgb, var(--c-blue) 75%, var(--c-ice)) 100%);

  --r-card: 1.25rem;
  --r-pill: 999px;
  --ease: .45s cubic-bezier(.34, 1.56, .64, 1);
  /* styl zdjec poza tlem hero: granatowe tlo wystajace z lewego dolnego rogu */
  --cien-foto: -1.1rem 1rem 0 var(--c-navy), 0 1.5rem 2.5rem rgba(15, 35, 67, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--c-white); color: var(--c-text); font: 400 var(--t-md)/1.65 var(--f-sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2, h3 { color: var(--c-navy); font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h2, h3 { font-weight: 700; }
h1 em, h2 em, h3 em { font-style: normal; }
h2 { font-size: var(--t-xl); line-height: 1.15; }
h3 { font-size: var(--t-lg); line-height: 1.3; }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 78rem; margin: 0 auto; padding-left: 2em; padding-right: 2em; }
.kb-section { padding-top: 4em; padding-bottom: 4em; }
.kb-section--ice { background: var(--c-ice); }
.kb-section--navy { background: var(--c-navy); color: var(--c-white); }
.kb-section--navy h2, .kb-section--navy h3 { color: var(--c-white); }
.kb-center { text-align: center; }
.kb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.kb-skip { position: absolute; left: -999em; }
.kb-skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--c-white); padding: .5em 1em; }

/* Pole zastępcze do czasu dodania zdjęcia */
.kb-ph { display: block; width: 100%; background: linear-gradient(160deg, var(--c-ice), var(--c-blue)); }

/* Przyciski */
.kb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.2em; padding: .95em 1.8em; border: 1.5px solid transparent; border-radius: var(--r-pill); background: var(--grad-btn) 0 0 / 160% 100% border-box, var(--c-navy); color: var(--c-white); font: 600 var(--t-md)/1.2 var(--f-sans); text-decoration: none; cursor: pointer; transition: transform var(--ease), background-position .45s; }
.kb-btn:hover { transform: translateY(-3px); background-position: 100% 0; }
.kb-btn--ghost { background: transparent; border-color: var(--c-navy); color: var(--c-navy); }
.kb-btn--light { background: var(--c-white); border-color: var(--c-white); color: var(--c-navy); }
.kb-btn--ghost:hover { background: var(--grad-btn) border-box, var(--c-navy); border-color: transparent; color: var(--c-white); }
.kb-btn--light:hover { background: var(--c-ice); border-color: var(--c-ice); color: var(--c-navy); }
.kb-btn--small { padding: .7em 1.5em; font-size: var(--t-sm); }   /* tylko pasek nawigacji */

/* Nawigacja przyklejona u góry: na starcie leży na zdjęciu, po przewinięciu ma tło z rozmyciem */
.kb-nav { position: fixed; inset: 0 0 auto 0; z-index: 20; color: var(--c-navy); transition: background-color .3s ease, box-shadow .3s ease; }
.kb-nav.is-scrolled { background: rgba(15, 35, 67, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 .6rem 2rem rgba(15, 35, 67, .28); }
.kb-nav.is-scrolled .kb-nav__in { padding-top: .75em; padding-bottom: .75em; }
html:not(.js) .kb-nav { position: absolute; }
.kb-nav__in { display: flex; align-items: center; justify-content: space-between; gap: 2em; padding-top: 1.25em; padding-bottom: 1.25em; }
.kb-logo { font-size: var(--t-lg); font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--c-navy); white-space: nowrap; }
.kb-logo--light { color: var(--c-white); }
.kb-menu { display: flex; align-items: center; justify-content: flex-end; gap: 1.75em; flex: 1; }
.kb-menu nav { margin-right: auto; }
.kb-menu ul { display: flex; gap: 1.75em; margin: 0; padding: 0; list-style: none; }
.kb-menu nav a { display: block; padding: .3em 0; border-bottom: 1.5px solid transparent; font-size: var(--t-sm); font-weight: 500; text-decoration: none; }
.kb-menu nav a:hover, .kb-menu nav a[aria-current="page"] { border-bottom-color: var(--c-navy); }
.kb-nav__tel { display: inline-flex; align-items: center; gap: .5em; font-size: var(--t-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.kb-nav__tel svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.kb-burger { display: none; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: var(--c-navy); cursor: pointer; place-items: center; }
.kb-burger__lines, .kb-burger__lines::before, .kb-burger__lines::after { display: block; width: 1.2rem; height: 2px; background: var(--c-white); content: ''; }
.kb-burger__lines { position: relative; }
.kb-burger__lines::before { position: absolute; top: -6px; }
.kb-burger__lines::after { position: absolute; top: 6px; }


/* Uniwersalne hero podstrony (kb_hero w config.php) */
.kb-hero { --t-hero: min(calc(var(--hp-u) * 5.5), 7.5vw); position: relative; isolation: isolate; display: flex; align-items: center; min-height: 32rem; overflow: hidden; padding: 5.5rem var(--hp-bok) 7.5rem; background: var(--c-navy); }
.kb-hero__bg { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--kadr-y); }
.kb-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(15, 35, 67, .6), rgba(15, 35, 67, 0) 55%), linear-gradient(rgba(15, 35, 67, .5), rgba(15, 35, 67, 0) 30%); }
.kb-hero__ksztalt { position: absolute; z-index: -1; left: 0; bottom: -1px; width: 56%; height: 56%; fill: var(--c-navy); }
.kb-hero__ksztalt-tyl { fill: var(--c-blue); opacity: .55; }
.kb-hero__rys { position: absolute; z-index: -1; left: 0; bottom: .75rem; width: min(43%, 52rem); height: auto; }
.kb-hero__tekst { max-width: 100%; color: var(--c-white); }
.kb-hero .kb-hero__tekst h1 { max-width: 18em; margin-bottom: .3em; color: var(--c-white); font-size: var(--t-hero); line-height: 1.12; letter-spacing: -.02em; text-shadow: 0 .15rem 1.5rem rgba(15, 35, 67, .55); }
.kb-hero .kb-hero__tekst p { max-width: 30em; margin: 0; font-size: calc(var(--hp-u) * 1.7); line-height: 1.45; text-shadow: 0 .1rem 1rem rgba(15, 35, 67, .8); }
@media (max-width: 600px) {
  .kb-hero { --t-hero: 2.5rem; align-items: flex-start; min-height: 34rem; padding: 6.5rem 1em 2em; }
  .kb-hero__bg { top: 4.5rem; height: calc(100% - 4.5rem); object-position: var(--kadr-x) 50%; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .kb-hero::before { background: linear-gradient(rgba(15, 35, 67, .75) 15%, rgba(15, 35, 67, 0) 60%); }
  .kb-hero .kb-hero__tekst p { font-size: var(--t-lg); }
  .kb-hero__ksztalt { width: 100%; height: 24%; }
  .kb-hero__rys { width: 100%; bottom: .5rem; }
}
/* Długi tytuł w hero mieści się w dwóch wierszach, na telefonie w trzech */
@media (min-width: 601px) and (max-width: 1100px) { .kb-hero { --t-hero: min(5.4vw, 3.6rem); } }
@media (max-width: 600px) { .kb-hero { --t-hero: min(2.25rem, 9.2vw); } }

/* Hero z formularzem na podstronach ofertowych: tytuł po lewej nad saniami, karta po prawej.
   Do 900px karta stoi pod tytułem, a rysunek sań i granatowy kształt mają własne miejsce pod nią. */
.kb-hero.kb-hero--form { display: grid; grid-template-columns: minmax(0, 1fr) clamp(24rem, 31vw, 27rem); column-gap: clamp(2rem, 4vw, 4rem); align-content: center; align-items: center; padding-top: 5.5rem; padding-bottom: 2.25rem; }
.kb-hero--form .kb-hero__tekst { padding-bottom: 5.5rem; }
.kb-hero__form { position: relative; width: 100%; min-width: 0; padding: 1.25em; scroll-margin-top: 1.5rem; }
.kb-hero__formtytul { margin: 0 0 .75rem; font-size: var(--t-lg); font-weight: 700; line-height: 1.25; }
.kb-hero__form .kb-form.kb-karta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: 0; border-radius: 0; box-shadow: none; }
.kb-hero__form .kb-form > * { grid-column: 1 / -1; min-width: 0; }
.kb-hero__form .kb-form > label:nth-of-type(2), .kb-hero__form .kb-form > label:nth-of-type(3) { grid-column: auto; }
.kb-hero__form .kb-form input:not([type="checkbox"]):not([type="hidden"]) { padding: .7em .5em .7em 2.6rem; background-position: .8rem center; background-size: 1.1rem; font-size: var(--t-sm); }
.kb-hero__form .kb-form.kb-karta textarea { height: 4.25rem; min-height: 4.25rem; padding: .7em .8rem; font-size: var(--t-sm); }
.kb-hero__form .kb-form.kb-karta .kb-btn { padding-top: .85em; padding-bottom: .85em; }
@media (min-width: 901px) { .kb-hero.kb-hero--form { --t-hero: min(calc(var(--hp-u) * 5), 4.6vw); } }
@media (max-width: 900px) {
  .kb-hero.kb-hero--form { grid-template-columns: minmax(0, 32rem); align-content: start; padding-top: 7rem; padding-bottom: 7.5rem; }
  .kb-hero--form .kb-hero__tekst { padding-bottom: 8rem; }
  .kb-hero.kb-hero--form .kb-hero__bg { top: 0; height: 34rem; object-position: var(--kadr-x) 50%; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
  .kb-hero.kb-hero--form::before { background: linear-gradient(rgba(15, 35, 67, .75), rgba(15, 35, 67, .5) 16rem, rgba(15, 35, 67, 0) 24rem); }
  .kb-hero--form .kb-hero__ksztalt { width: 100%; height: 7rem; }
  .kb-hero--form .kb-hero__rys { width: min(100%, 36rem); }
}
@media (max-width: 600px) {
  .kb-hero.kb-hero--form { grid-template-columns: minmax(0, 1fr); padding: 6.5rem 1em 7rem; }
  .kb-hero--form .kb-hero__tekst { padding-bottom: 7rem; }
  .kb-hero.kb-hero--form .kb-hero__bg { top: 4.5rem; height: 30rem; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 65%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 65%, transparent); }
  .kb-hero--form .kb-hero__ksztalt { height: 6.5rem; }
  .kb-hero__form { padding: 1em; }
  .kb-hero__form .kb-form input:not([type="checkbox"]):not([type="hidden"]), .kb-hero__form .kb-form.kb-karta textarea { font-size: var(--t-md); }
}
@media (max-width: 380px) { .kb-hero__form .kb-form > label:nth-of-type(2), .kb-hero__form .kb-form > label:nth-of-type(3) { grid-column: 1 / -1; } }
/* zachęta pod tytułem i większa karta, hero z formularzem jest wyższe niż pozostałe */
.kb-hero__formopis { margin: -.35rem 0 1.1rem; color: var(--c-text); line-height: 1.5; }
.kb-hero .kb-hero__atuty { gap: .75rem; margin: 1.75rem 0 0; color: var(--c-white); font-size: var(--t-lg); font-weight: 600; text-shadow: 0 .1rem 1rem rgba(15, 35, 67, .85); }
.kb-hero__atuty li::before { background-color: color-mix(in srgb, var(--c-white) 22%, var(--c-blue)); }
.kb-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.5rem; margin-top: 2rem; }
.kb-hero .kb-hero__tel { padding: 1.05em 1.9em; font-size: var(--t-lg); }
@media (min-width: 901px) {
  .kb-hero.kb-hero--form { grid-template-columns: minmax(0, 1fr) clamp(25rem, 31vw, 30rem); min-height: clamp(46rem, 92svh, 58rem); padding-top: 7.5rem; padding-bottom: 4rem; }
  .kb-hero--form .kb-hero__tekst { padding-bottom: 7rem; }
  .kb-hero.kb-hero--form::before { background: linear-gradient(90deg, rgba(15, 35, 67, .82), rgba(15, 35, 67, .45) 34%, rgba(15, 35, 67, 0) 56%), linear-gradient(rgba(15, 35, 67, .5), rgba(15, 35, 67, 0) 28%); }
  .kb-hero__form { padding: 2em; }
  .kb-hero__formtytul { font-size: var(--t-xl); line-height: 1.15; text-wrap: balance; }
  .kb-hero__form .kb-form.kb-karta { gap: .8rem; }
  .kb-hero__form .kb-form input:not([type="checkbox"]):not([type="hidden"]) { padding-top: .9em; padding-bottom: .9em; font-size: var(--t-md); }
  .kb-hero__form .kb-form.kb-karta textarea { height: 6.5rem; min-height: 6.5rem; font-size: var(--t-md); }
  .kb-hero__form .kb-form.kb-karta .kb-btn { padding-top: 1.05em; padding-bottom: 1.05em; }
  /* zdjęcie z motywem po prawej stoi między tekstem a kartą i gaśnie w granat po bokach */
  .kb-hero.kb-hero--przes .kb-hero__bg { right: auto; bottom: auto; left: var(--foto-l, 8%); top: var(--foto-t, 0); width: var(--foto-w, 70%); height: var(--foto-h, 100%); object-position: var(--foto-x, 50%) var(--kadr-y);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 78%, transparent), linear-gradient(transparent, #000 var(--foto-fade, 0%), #000 calc(100% - var(--foto-fade, 0%)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24%, #000 78%, transparent), linear-gradient(transparent, #000 var(--foto-fade, 0%), #000 calc(100% - var(--foto-fade, 0%)), transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .kb-hero__form { padding: 1.35em; }
  .kb-hero__form .kb-form input:not([type="checkbox"]):not([type="hidden"]) { padding-left: 2.35rem; background-position: .65rem center; font-size: var(--t-sm); }
}
@media (min-width: 901px) and (max-height: 780px) {
  .kb-hero.kb-hero--form { min-height: 42rem; padding-top: 6.5rem; padding-bottom: 2.5rem; }
  .kb-hero__form { padding: 1.5em; }
  .kb-hero__form .kb-form.kb-karta textarea { height: 4.5rem; min-height: 4.5rem; }
}
@media (max-width: 900px) {
  .kb-hero .kb-hero__atuty { margin-top: 1.25rem; font-size: var(--t-md); }
  .kb-hero__cta { margin-top: 1.5rem; }
  .kb-hero.kb-hero--form .kb-hero__tekst { padding-bottom: 2rem; }
  .kb-hero.kb-hero--form::before { background: linear-gradient(rgba(15, 35, 67, .8), rgba(15, 35, 67, .62) 22rem, rgba(15, 35, 67, 0) 34rem); }
}

/* Starsze klasy wspólne */
.kb-lead { max-width: 24em; color: var(--c-navy); font-size: var(--t-lg); line-height: 1.5; }
.kb-btn--duzy { padding: 1em 2.6em; font-size: var(--t-lg); }
/* Ramka: <figure class="kb-ramka"><img></figure>. Wysokość nadaje strona przez aspect-ratio albo height. */
.kb-ramka { position: relative; margin: 0; border: .35rem solid var(--c-white); border-radius: 2rem; overflow: hidden; background: var(--c-white); box-shadow: 0 1rem 2.5rem rgba(15, 35, 67, .18); }
.kb-ramka > img { width: 100%; height: 100%; object-fit: cover; }
.kb-ramka--cien { box-shadow: var(--cien-foto); }
@media (max-width: 600px) {
  .kb-ramka { border-radius: 1.25rem; }
  :root { --cien-foto: -.5rem .6rem 0 var(--c-navy), 0 1rem 1.5rem rgba(15, 35, 67, .2); }
}

/* Karty */
.kb-card { padding: 2em; border-radius: var(--r-card); background: var(--c-white); transition: transform var(--ease), box-shadow var(--ease); }
.kb-card:hover { transform: translateY(-6px); box-shadow: 0 1.5rem 2.5rem rgba(15, 35, 67, .12); }

/* Formularz */
.kb-form { display: grid; gap: 1rem; }
.kb-form:hover { transform: none; }
.kb-form label { display: grid; gap: .35rem; color: var(--c-navy); font-size: var(--t-sm); font-weight: 600; }
.kb-form input:not([type="checkbox"]), .kb-form textarea { width: 100%; padding: .8em 1em; border: 1.5px solid var(--c-ice); border-radius: .75rem; background: var(--c-white); color: var(--c-text); font: 400 var(--t-md)/1.4 var(--f-sans); }
.kb-form input:focus, .kb-form textarea:focus { border-color: var(--c-blue); }
.kb-form textarea { resize: vertical; }
.kb-form .kb-form__zgoda { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; }
.kb-form__zgoda input { margin-top: .3em; accent-color: var(--c-navy); }
.kb-form__zgoda a, .hp-rez__zgoda a { color: inherit; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.kb-footer__prawne { display: flex; flex-wrap: wrap; gap: .5em 1.75em; }
.kb-seo__tresc .kb-przyciski { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.kb-seo__tresc .kb-przyciski a { color: var(--c-white); text-decoration: none; }
.kb-form__hp { position: absolute; left: -9999px; }
.kb-form__info { margin: 0; padding: .8em 1em; border-radius: .75rem; background: var(--c-ice); color: var(--c-navy); font-weight: 600; }
.kb-form__info--blad { border: 1.5px solid var(--c-navy); background: var(--c-white); }

/* Stopka: hasło, pas kontaktu, rząd stron i dwie grani Bieszczadów z kształtu logo */
.kb-footer { position: relative; isolation: isolate; background: var(--c-navy); color: var(--c-white); padding-top: 4em; }
.kb-footer .wrap { max-width: 75rem; }
.kb-footer :focus-visible { outline-color: var(--c-white); }
.kb-footer__gora { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5em 3em; padding-bottom: 2.5em; }
.kb-footer__haslo { max-width: 18em; margin: 0; font-size: var(--t-xl); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.kb-footer ul { margin: 0; padding: 0; list-style: none; }
.kb-footer .kb-footer__kontakt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25em 2.5em; padding: 1.75em 0; border-block: 1px solid color-mix(in srgb, var(--c-white) 18%, transparent); }
.kb-footer__kontakt li { display: flex; align-items: center; gap: .9em; min-width: 0; font-size: var(--t-lg); overflow-wrap: anywhere; }
.kb-footer__kontakt svg { flex: none; width: 2.9rem; height: 2.9rem; padding: .75rem; border-radius: 50%; background: color-mix(in srgb, var(--c-blue) 55%, var(--c-navy)); fill: none; stroke: var(--c-white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--ease); }
.kb-footer__kontakt li:hover svg { transform: rotate(-12deg) scale(1.08); }
.kb-footer__kontakt .kb-footer__tel { font-size: var(--t-xl); font-weight: 600; white-space: nowrap; }
.kb-footer li a { padding-bottom: .15em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; text-decoration: none; transition: background-size .35s ease; }
.kb-footer li a:hover, .kb-footer li a:focus-visible { background-size: 100% 1.5px; }
.kb-footer .kb-footer__strony { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75em 1.5em; padding-top: 1.75em; }
.kb-footer__gory { display: block; width: 100%; height: clamp(6rem, 11vw, 12rem); margin-top: 1em; }
.kb-footer__gran--tyl path { fill: color-mix(in srgb, var(--c-blue) 48%, var(--c-navy)); }
.kb-footer__gran--przod path { fill: color-mix(in srgb, var(--c-blue) 14%, var(--c-navy)); }
.kb-footer__gran .kb-footer__kreska { fill: none; stroke: var(--c-ice); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kb-footer__dol { position: relative; margin-top: -1px; padding: .25em 0 1.75em; background: color-mix(in srgb, var(--c-blue) 14%, var(--c-navy)); }
.kb-footer__dol .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75em 2em; }
.kb-footer__dol p { margin: 0; font-size: var(--t-sm); }
.kb-footer .kb-logo { display: inline-flex; align-items: center; gap: .5em; }
.kb-footer .kb-logo::before { content: ''; width: 2.6em; height: .92em; background: url('img/logo-gory.png') center / contain no-repeat; }

/* Siedem pozycji menu: ciaśniej i bez "Strony głównej" na komputerze, do niej prowadzi logo */
.kb-menu ul { gap: 1.25em; }
.kb-menu { gap: 1.25em; }
.kb-menu nav a { white-space: nowrap; }
@media (min-width: 1201px) { .kb-menu li:first-child { display: none; } }

/* Menu na ciemnym hero: jasne logo i linki, telefon w obwódce, skaluje się razem z oknem */
:root { --hp-u: clamp(11.5px, min(.75vw, 1.5vh), 15px); --hp-bok: clamp(1.5rem, 4.5vw, 7rem); }
.kb-nav .kb-logo { display: inline-flex; align-items: center; gap: .5em; color: var(--c-white); }
.kb-nav .kb-logo::before { content: ''; width: 2.6em; height: .92em; background: url('img/logo-gory.png') center / contain no-repeat; }
.kb-burger { background: var(--c-white); }
.kb-burger__lines, .kb-burger__lines::before, .kb-burger__lines::after { background: var(--c-navy); }
@media (min-width: 1201px) {
  .kb-nav { color: var(--c-white); }
  .kb-nav__in { max-width: 130rem; gap: calc(var(--hp-u) * 2); padding: calc(var(--hp-u) * 2) var(--hp-bok) 0; }
  .kb-nav .kb-logo { font-size: calc(var(--hp-u) * 1.75); }
  .kb-menu { gap: calc(var(--hp-u) * 1.5); }
  .kb-menu nav { margin: 0 auto; }
  .kb-menu ul { gap: calc(var(--hp-u) * 1.35); }
  .kb-menu nav a { font-size: max(13.5px, calc(var(--hp-u) * 1.15)); }
  .kb-menu nav a:hover, .kb-menu nav a[aria-current="page"] { border-bottom-color: var(--c-white); }
  .kb-nav__tel { padding: .75em 1.7em; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: var(--r-pill); font-size: max(14px, calc(var(--hp-u) * 1.15)); }
  .kb-nav .kb-btn { display: none; }
  .kb-menu li:first-child { display: list-item; }
}
@media (min-width: 1600px) {
  .kb-menu ul { gap: calc(var(--hp-u) * 2.4); }
}

@media (max-width: 1200px) {
  .kb-burger { display: grid; }
  .kb-menu { position: absolute; top: 100%; left: 1em; right: 1em; display: none; flex-direction: column; align-items: stretch; gap: 1em; padding: 1em; border-radius: var(--r-card); background: var(--c-white); box-shadow: 0 1.5rem 3rem rgba(15, 35, 67, .2); }
  .kb-menu.is-open { display: flex; }
  .kb-menu nav { margin: 0; }
  .kb-menu ul { flex-direction: column; gap: .5em; }
  html:not(.js) .kb-menu { position: static; display: flex; }
  html.js .kb-menu { max-height: calc(100dvh - 6rem); overflow-y: auto; }
}
@media (max-width: 960px) {
  html { font-size: 15px; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .wrap { padding-left: 1em; padding-right: 1em; }
  .kb-section { padding-top: 2em; padding-bottom: 2em; }
  .kb-card { padding: 1em; }
  .kb-footer { padding-top: 2em; }
  .kb-footer__gora { padding-bottom: 1.75em; }
  .kb-footer .kb-footer__kontakt { flex-direction: column; padding: 1.25em 0; }
  .kb-footer .kb-footer__strony { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; gap: .9em 1em; padding-top: 1.25em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Niebieskie rysunki, na każdej podstronie inny */
.kb-rysunek { display: block; width: 100%; max-width: 26rem; height: auto; margin: 2.5rem auto 0; }
@media (max-width: 960px) { .kb-rysunek { max-width: 18rem; margin-top: 1.5rem; } }

/* Uniwersalne CTA (kb_cta w config.php): spokojna granatowa karta, tekst obok jednego zdjęcia */
.kb-cta { scroll-margin-top: 1em; }
.kb-cta__karta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); overflow: hidden; border-radius: var(--r-karta); background: var(--c-navy); color: var(--c-white); }
.kb-cta :focus-visible { outline-color: var(--c-white); }
.kb-cta__tresc { align-self: center; min-width: 0; padding: 3.5em; }
.kb-cta h2 { max-width: 16em; margin: 0 0 .6em; color: var(--c-white); font-size: var(--t-xl); line-height: 1.15; }
.kb-cta__opis { max-width: 36em; margin: 0 0 2em; color: var(--c-ice); line-height: 1.7; }
.kb-cta__przyciski { display: flex; flex-wrap: wrap; gap: .75em; }
.kb-cta .kb-cta__drugi { border-color: color-mix(in srgb, var(--c-white) 45%, transparent); background: transparent; }
.kb-cta .kb-cta__drugi:hover { border-color: var(--c-white); background: color-mix(in srgb, var(--c-white) 10%, transparent); }
.kb-cta__kontakt { display: flex; flex-wrap: wrap; gap: .5em 2em; margin: 2.25em 0 0; padding: 1.5em 0 0; border-top: 1px solid color-mix(in srgb, var(--c-white) 18%, transparent); list-style: none; font-size: var(--t-sm); color: var(--c-ice); }
.kb-cta__kontakt a { color: var(--c-white); text-underline-offset: .3em; text-decoration-color: color-mix(in srgb, var(--c-white) 40%, transparent); overflow-wrap: anywhere; }
.kb-cta__kontakt a:hover { text-decoration-color: var(--c-white); }
.kb-cta__foto { position: relative; min-height: 24rem; margin: 0; }
.kb-cta__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 52%; }
@media (max-width: 900px) {
  .kb-cta__karta { grid-template-columns: minmax(0, 1fr); }
  .kb-cta__foto { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .kb-cta__tresc { padding: 1em; }
  .kb-cta__przyciski { flex-direction: column; }
  .kb-cta__przyciski .kb-btn { justify-content: center; }
}

/* Jeden styl karty w serwisie, wzór to formularz w hero strony głównej */
:root { --r-karta: calc(var(--hp-u) * 2.2); --r-pole: calc(var(--hp-u) * 1.2); --cien-karta: 0 1.25rem 3rem rgba(15, 35, 67, .14); }
.kb-karta { border-radius: var(--r-karta); background: var(--c-white); box-shadow: var(--cien-karta); color: var(--c-navy); }
.kb-karta--ruch { transition: transform var(--ease), box-shadow var(--ease); }
.kb-karta--ruch:hover { transform: translateY(-6px); box-shadow: 0 2rem 3.5rem rgba(15, 35, 67, .2); }
.kb-foto { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-karta); box-shadow: var(--cien-karta); }
.kb-foto > img { width: 100%; height: 100%; object-fit: cover; }

/* Wspólne klasy sekcji, wzór to strona główna. Sekcja ma klasę .kb-s, tła biel i lód (.kb-s--ice) na zmianę */
.kb-s { color: var(--c-navy); }
.kb-s--ice { background: var(--c-ice); }
.kb-s h2 { margin: 0 0 1.5rem; font-size: var(--t-tytul); line-height: 1.12; letter-spacing: -.025em; }
.kb-s p { line-height: 1.7; }
/* nagłówek wyśrodkowany nad sekcją */
.kb-s .kb-glowa { margin-bottom: 2.5rem; text-align: center; }
.kb-s .kb-glowa h2 { margin-bottom: .75rem; }
.kb-ico { width: 2.9rem; height: 2.9rem; flex: none; fill: none; stroke: var(--c-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kb-szeroki { max-width: 75rem; }
/* para zdjęcie i tekst */
.kb-para { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: center; }
.kb-para + .kb-para { margin-top: 4rem; }
.kb-para .kb-foto { aspect-ratio: 4 / 3; }
.kb-para p:last-child { margin-bottom: 0; }
/* karta z punktami, trzy w rzędzie */
.kb-atuty__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; overflow: hidden; list-style: none; }
.kb-atut { display: flex; align-items: flex-start; gap: 1.25rem; margin: 0 -1px -1px 0; padding: 2em; box-shadow: 0 0 0 1px var(--c-ice); }
.kb-atut .kb-ico { width: 2.5rem; height: 2.5rem; stroke: var(--c-blue); }
.kb-atut h3 { margin-bottom: .35rem; font-size: var(--t-lg); line-height: 1.25; }
.kb-atut p { margin: 0; line-height: 1.55; }
/* lista wierszy z ikonami w karcie */
.kb-zawiera__karta { padding: 2em; }
.kb-zawiera__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
.kb-zawiera__lista li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--c-ice); line-height: 1.5; }
.kb-zawiera__lista .kb-ico { width: 2rem; height: 2rem; }
/* karty ze zdjęciem, domyślnie trzy w rzędzie, inna liczba przez style="--kol:2" */
.kb-uslugi { display: grid; grid-template-columns: repeat(var(--kol, 3), minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.kb-usluga { display: flex; flex-direction: column; padding: .75rem; }
.kb-usluga > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r-karta) - .5rem); }
.kb-usluga__opis { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.25em 1.25em .75em; }
.kb-usluga h3 { margin-bottom: .5rem; font-size: var(--t-lg); line-height: 1.25; }
.kb-usluga p { margin: 0 0 1.25rem; line-height: 1.55; }
.kb-usluga .kb-btn { min-width: 11rem; margin-top: auto; }
@media (max-width: 960px) {
  .kb-para { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .kb-para + .kb-para { margin-top: 2.5rem; }
  .kb-para > .kb-foto { order: -1; }
  .kb-atuty__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-uslugi { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin: 0 auto; }
}
@media (max-width: 600px) {
  .kb-atuty__lista, .kb-zawiera__lista { grid-template-columns: minmax(0, 1fr); }
  .kb-atut, .kb-zawiera__karta { padding: 1em; }
  .kb-usluga { padding: .5rem; }
}

/* Sekcja kontaktowa "Napisz do nas" (sekcja-kontakt.php) */
/* Napisz do nas: jasne tło, teksty po lewej, formularz po prawej, rysunek u dołu */
.hp-napisz { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, var(--c-ice), color-mix(in srgb, var(--c-ice) 30%, var(--c-white)) 65%); color: var(--c-navy); }
.hp-napisz__rys { position: absolute; left: 0; bottom: 0; z-index: -1; width: 100%; height: auto; max-width: none; pointer-events: none; }
.hp-napisz__siatka { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 52fr); justify-content: space-between; align-items: start; gap: 4rem; }
.hp-napisz h2 { margin: 0 0 1.75rem; }
.hp-napisz__tekst { padding-bottom: 11vw; }
.hp-napisz__tekst p { max-width: 34em; line-height: 1.7; }
.kb-form.kb-karta { gap: 1rem; padding: 2em 2em; background: var(--c-white); }
.kb-form.kb-karta input:not([type="checkbox"]), .kb-form.kb-karta textarea { padding: .85em 1em; }
.kb-form.kb-karta textarea { min-height: 8rem; }
.kb-form.kb-karta .kb-btn { padding-top: 1em; padding-bottom: 1em; }
.hp-napisz__kontakt { display: grid; gap: 1rem; max-width: 27rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hp-napisz__kontakt a { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: .85em 1.25em; border: 1.5px solid var(--c-navy); border-radius: var(--r-pill); background: var(--c-white); color: var(--c-navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; transition: transform var(--ease); }
.hp-napisz__kontakt a:hover { transform: translateY(-3px); }
.hp-napisz__kontakt li:first-child a { border-color: transparent; background: var(--grad-btn) border-box, var(--c-navy); color: var(--c-white); font-size: var(--t-lg); }
.hp-napisz__kontakt .kb-ico { width: 1.6rem; height: 1.6rem; stroke: currentColor; }
.kb-form.kb-karta { border-radius: var(--r-karta); box-shadow: var(--cien-karta); }
.kb-form.kb-karta input:not([type="checkbox"]):not([type="hidden"]), .kb-form.kb-karta textarea { border: 1.5px solid color-mix(in srgb, var(--c-blue) 35%, var(--c-white)); border-radius: calc(var(--hp-u) * 1.2); }
.kb-form.kb-karta input:not([type="checkbox"]):not([type="hidden"]):focus, .kb-form.kb-karta textarea:focus { border-color: var(--c-blue); }
.kb-form.kb-karta input[name="imie"], .kb-form.kb-karta input[name="email"], .kb-form.kb-karta input[name="telefon"] { padding-left: 3.25rem; background-repeat: no-repeat; background-position: 1.1rem center; background-size: 1.3rem; }
.kb-form.kb-karta input[name="imie"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2343' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.5a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.kb-form.kb-karta input[name="email"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2343' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.kb-form.kb-karta input[name="telefon"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2343' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17.2 17.2 0 0 1 3 3.8c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .8-.3 1.1z'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) {
  .hp-napisz.kb-section { padding-bottom: 24vw; }
  .hp-napisz__siatka { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2rem; }
  .hp-napisz__tekst, .hp-napisz .kb-form { width: 100%; max-width: 36rem; }
  .hp-napisz__tekst { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .kb-form.kb-karta { padding: 1em; }
  .hp-napisz.kb-section { padding-bottom: 34vw; }
  .hp-napisz__rys { width: 170%; }
}

/* ===== Wspólny wystrój sekcji (30.11, wzór inspiracje-lublin). Układ każdej sekcji jest własny,
   wspólne są tylko te elementy. ===== */
/* pociągnięcie pędzla pod nagłówkiem: <h2 class="kb-kreska">, wyśrodkowane przez .kb-kreska--srodek */
.kb-kreska::after { content: ''; display: block; width: 9.5rem; height: .75rem; margin-top: .55rem; background: var(--c-blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 12' preserveAspectRatio='none'%3E%3Cpath d='M2 10.5C44 1.5 108-1 158 7.500c.9.2.5 1.600-.4 1.500C110 3.800 52 5 3.200 11.900 1.200 12.200.4 10.900 2 10.500z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 12' preserveAspectRatio='none'%3E%3Cpath d='M2 10.5C44 1.5 108-1 158 7.500c.9.2.5 1.600-.4 1.500C110 3.800 52 5 3.200 11.900 1.200 12.200.4 10.900 2 10.500z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.kb-kreska--srodek::after, .kb-glowa .kb-kreska::after { margin-left: auto; margin-right: auto; }
/* duży nagłówek sekcji (h2), ten sam na każdej stronie */
.kb-s h2.kb-tyt, h2.kb-tyt { margin: 0 0 1.25rem; font-size: var(--t-tytul); line-height: 1.12; letter-spacing: -.025em; }
/* ikona w krążku */
.kb-krazek { display: grid; place-items: center; flex: none; width: 4.25rem; height: 4.25rem; border-radius: 50%; background: color-mix(in srgb, var(--c-blue) 14%, var(--c-white)); }
.kb-krazek .kb-ico { width: 2.1rem; height: 2.1rem; stroke: var(--c-navy); stroke-width: 1.6; }
/* strzałka na przycisku i link tekstowy ze strzałką */
.kb-btn--idz::after, .kb-btn--arrow::after, .kb-idz::after, .blog-karta__dalej::after { content: ''; flex: none; width: 1.15em; height: .85em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.kb-btn--idz, .kb-btn--arrow { gap: .8em; }
.kb-idz { display: inline-flex; align-items: center; gap: .6em; padding-bottom: .15em; border-bottom: 2px solid color-mix(in srgb, var(--c-blue) 45%, transparent); color: var(--c-navy); font-weight: 600; text-decoration: none; }
.kb-idz:hover { border-bottom-color: var(--c-navy); }
.kb-noc .kb-idz { color: var(--c-white); border-bottom-color: color-mix(in srgb, var(--c-ice) 50%, transparent); }
.kb-noc .kb-idz:hover { border-bottom-color: var(--c-white); }
.kb-noc .kb-karta .kb-idz { color: var(--c-navy); border-bottom-color: color-mix(in srgb, var(--c-blue) 45%, transparent); }
/* wyróżnione zdanie z paskiem i lista z ptaszkami */
.kb-cytat { margin: 0 0 1.5rem; padding: 1.1em 1.4em; border-left: 4px solid var(--c-blue); border-radius: .25rem var(--r-card) var(--r-card) .25rem; background: color-mix(in srgb, var(--c-blue) 8%, var(--c-white)); color: var(--c-navy); font-size: var(--t-lg); font-weight: 600; line-height: 1.5; }
.kb-ptaszki { display: grid; gap: .8rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.kb-ptaszki li { position: relative; padding-left: 2.4rem; line-height: 1.55; }
.kb-ptaszki li::before { content: ''; position: absolute; left: 0; top: .05em; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--c-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.500 4.500 4.500L19 7.500'/%3E%3C/svg%3E") center / 62% no-repeat; }
/* kształty zdjęć: łuk, koło w obwódce, łuk z boku; odznaka leżąca na zdjęciu */
.kb-foto.kb-luk { border-radius: 999px 999px var(--r-karta) var(--r-karta); }
.kb-foto.kb-kolo { aspect-ratio: 1; border: var(--ramka-foto, .35rem) solid var(--c-white); border-radius: 50%; }
.kb-foto.kb-bok-l { border-radius: 45% var(--r-karta) var(--r-karta) 45% / 50% var(--r-karta) var(--r-karta) 50%; }
.kb-foto.kb-bok-p { border-radius: var(--r-karta) 45% 45% var(--r-karta) / var(--r-karta) 50% 50% var(--r-karta); }
.kb-odznaka { position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem; max-width: 17rem; padding: .7rem 1.25rem .7rem .7rem; border-radius: var(--r-pill); background: var(--c-white); box-shadow: var(--cien-karta); color: var(--c-navy); font-weight: 600; line-height: 1.3; }
.kb-odznaka .kb-krazek { width: 3.25rem; height: 3.25rem; }
.kb-odznaka .kb-ico { width: 1.7rem; height: 1.7rem; }
/* granatowa sekcja lub panel */
.kb-noc { background: var(--c-navy); color: var(--c-white); }
.kb-noc h2, .kb-noc h3, .kb-s.kb-noc h2 { color: var(--c-white); }
.kb-noc .kb-kreska::after, .kb-cta .kb-kreska::after, .hp-film .kb-kreska::after, .post-faq .kb-kreska::after { background: var(--c-ice); }
.kb-noc .kb-btn:not(.kb-btn--ghost) { background: var(--c-white); color: var(--c-navy); }
.kb-noc .kb-btn:not(.kb-btn--ghost):hover { background: var(--c-ice); }
.kb-noc .kb-btn--ghost { border-color: var(--c-white); color: var(--c-white); }
@media (max-width: 600px) {
  .kb-krazek { width: 3.5rem; height: 3.5rem; }
  .kb-krazek .kb-ico { width: 1.8rem; height: 1.8rem; }
  .kb-cytat { padding: 1em; }
}

/* Rodzaje kuligów pod "Oferta". Na komputerze panel po najechaniu, na wąskim ekranie rozwijany przyciskiem. */
.kb-menu nav a[aria-current="true"] { border-bottom-color: var(--c-navy); }
.kb-rozw { position: relative; }
.kb-menu .kb-rozw__lista { display: grid; margin: 0; padding: 0; list-style: none; }
.kb-menu .kb-rozw__lista li:first-child { display: list-item; }
.kb-menu nav .kb-rozw__lista a { display: flex; align-items: center; gap: .85rem; padding: .5rem .75rem; border: 0; border-radius: var(--r-pole); color: var(--c-navy); font-size: var(--t-sm); font-weight: 600; line-height: 1.25; white-space: normal; transition: background-color .2s; }
.kb-menu nav .kb-rozw__lista a:hover, .kb-menu nav .kb-rozw__lista a:focus-visible, .kb-menu nav .kb-rozw__lista a[aria-current="page"] { background: var(--c-ice); }
.kb-rozw__lista a span { flex: none; display: grid; place-items: center; width: 3.75rem; height: 3.25rem; }
.kb-rozw__lista a img { width: 3.75rem; height: 3.25rem; object-fit: contain; }
.kb-menu nav .kb-rozw__cala { display: block; padding: .8em 1em; border: 0; border-radius: var(--r-pill); background: var(--c-navy); color: var(--c-white); font-size: var(--t-sm); font-weight: 600; text-align: center; }
.kb-rozw__btn { display: inline-grid; place-items: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.kb-rozw__btn::before { content: ''; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; transition: rotate .25s; }
@media (min-width: 1201px) {
  .kb-menu nav a[aria-current="true"] { border-bottom-color: var(--c-white); }
  .kb-rozw { display: flex; align-items: center; gap: .25rem; }
  .kb-rozw__btn { width: 1.1rem; height: 1.5rem; }
  /* przezroczysty pas nad kartą, żeby kursor nie gubił listy w drodze w dół */
  .kb-rozw__panel { position: absolute; top: 100%; left: -3rem; box-sizing: border-box; width: 38rem; padding: 1.9rem 1rem 1rem; visibility: hidden; opacity: 0; translate: 0 .5rem; transition: opacity .2s, translate .2s, visibility 0s .2s; }
  .kb-rozw__panel::before { content: ''; position: absolute; inset: .9rem 0 0; z-index: -1; border-radius: var(--r-karta); background: var(--c-white); box-shadow: 0 1.5rem 3.5rem rgba(15, 35, 67, .26); }
  .kb-menu .kb-rozw__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .5rem; }
  .kb-menu nav .kb-rozw__cala { margin-top: .75rem; }
  .kb-rozw:hover > .kb-rozw__panel, .kb-rozw:focus-within > .kb-rozw__panel, .kb-rozw.is-open > .kb-rozw__panel { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
  .kb-rozw.is-zamkniete > .kb-rozw__panel { visibility: hidden; opacity: 0; }
  .kb-rozw:hover > .kb-rozw__btn::before { rotate: 225deg; translate: 0 2px; }
}
@media (max-width: 1200px) {
  .kb-rozw { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .kb-rozw > a { justify-self: start; }
  .kb-rozw__btn { width: 2.75rem; height: 2.5rem; border-radius: var(--r-pill); background: var(--c-ice); color: var(--c-navy); }
  .kb-rozw__btn[aria-expanded="true"]::before { rotate: 225deg; translate: 0 2px; }
  .kb-rozw__panel { grid-column: 1 / -1; display: none; padding: .5rem 0 .25rem; }
  .kb-rozw.is-open > .kb-rozw__panel, html:not(.js) .kb-rozw__panel { display: block; }
  .kb-menu .kb-rozw__lista { gap: .15rem; }
  .kb-menu nav .kb-rozw__cala { margin-top: .5rem; }
  html:not(.js) .kb-rozw__btn { display: none; }
}

/* Druga linia stopki, rodzaje kuligów */
.kb-footer .kb-footer__kuligi { display: flex; flex-wrap: wrap; gap: .65em 1.5em; margin: 1.25em 0 0; padding: 1.25em 0 0; border-top: 1px solid color-mix(in srgb, var(--c-white) 18%, transparent); list-style: none; font-size: var(--t-sm); }
@media (max-width: 600px) { .kb-footer .kb-footer__kuligi { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: .8em; } }

/* Kafle podstron ofertowych: strona oferty i "Zobacz też" */
.kb-oferty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.kb-oferty li { display: flex; min-width: 0; margin: 0; }
.kb-oferty__kafel { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 18rem; padding: 1.75em 1.75em 5.5rem; border-radius: var(--r-karta); background: var(--c-ice); color: var(--c-navy); text-decoration: none; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s cubic-bezier(.34, 1.56, .64, 1); }
.kb-oferty__kafel:hover, .kb-oferty__kafel:focus-visible { transform: translateY(-6px); box-shadow: 0 1.5rem 3rem rgba(15, 35, 67, .2); }
.kb-oferty__kafel--noc { background: var(--c-navy); color: var(--c-white); }
.kb-oferty__rys { display: flex; align-items: flex-end; justify-content: flex-end; height: 7rem; margin: -.5rem -.5rem 1.25rem 0; }
.kb-oferty__rys img { width: auto; max-width: 85%; height: 100%; object-fit: contain; object-position: right bottom; }
.kb-oferty__kafel strong { display: block; margin-bottom: .5rem; font-size: var(--t-lg); font-weight: 700; line-height: 1.2; }
.kb-oferty__zdanie { color: var(--c-text); line-height: 1.55; }
.kb-oferty__kafel--noc .kb-oferty__zdanie { color: var(--c-ice); }
.kb-oferty__strzalka { position: absolute; left: 1.5rem; bottom: 1.5rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-navy); }
.kb-oferty__strzalka::after { content: ''; position: absolute; inset: 0; margin: auto; width: 1.2em; height: .85em; background: var(--c-white); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.kb-oferty__kafel--noc .kb-oferty__strzalka { background: var(--c-white); }
.kb-oferty__kafel--noc .kb-oferty__strzalka::after { background: var(--c-navy); }
.kb-oferty--male .kb-oferty__kafel { align-items: flex-start; gap: .75rem; min-height: 0; padding: 1.25em; background: var(--c-white); }
.kb-oferty--male .kb-oferty__rys { flex: none; justify-content: flex-start; align-items: center; width: 5rem; height: 3.5rem; margin: 0; }
.kb-oferty--male .kb-oferty__rys img { max-width: 100%; object-position: center; }
.kb-oferty--male strong { margin: 0; font-size: var(--t-md); }
.kb-oferty--male .kb-oferty__strzalka { left: auto; right: 1.25em; top: 1.8em; bottom: auto; width: 2.4rem; height: 2.4rem; }
.kb-tez .kb-tyt { margin-bottom: 2rem; }

/* Sekcja formularza na podstronach ofertowych (sekcja-oferta-formularz.php) */
.kb-zap__siatka { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
.kb-zap__tekst { max-width: 27em; margin: 0 0 1.75rem; font-size: var(--t-lg); }
.kb-zap .kaf { margin-top: 2rem; border-radius: var(--r-karta); }
.kb-zap__kontakt { margin: 0; padding: 0; list-style: none; }
.kb-zap__kontakt li { display: flex; align-items: center; gap: 1rem; min-width: 0; margin: 0; padding: .7rem 0; }
.kb-zap__kontakt li + li { border-top: 2px solid var(--c-ice); }
.kb-zap__kontakt .kb-krazek { width: 3.25rem; height: 3.25rem; background: var(--c-ice); }
.kb-zap__kontakt .kb-ico { width: 1.65rem; height: 1.65rem; }
.kb-zap__kontakt a { min-width: 0; color: var(--c-navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.kb-zap__kontakt a:hover { text-decoration: underline; text-underline-offset: .25em; }
.kb-zap__kontakt .kb-zap__tel { font-size: var(--t-xl); font-weight: 700; letter-spacing: -.01em; }
.kb-zap__form { position: relative; scroll-margin-top: 6rem; padding: 2.5em 2em 2em; }
.kb-zap__form h3 { margin: 0 0 .5rem; font-size: var(--t-xl); font-weight: 700; line-height: 1.15; }
.kb-zap__form > p { max-width: 26em; margin: 0 0 1.75rem; color: var(--c-text); }
.kb-zap__form .kb-form.kb-karta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; padding: 0; border-radius: 0; box-shadow: none; }
.kb-zap__form .kb-form > * { grid-column: 1 / -1; min-width: 0; }
.kb-zap__form .kb-form > label:nth-of-type(2), .kb-zap__form .kb-form > label:nth-of-type(3) { grid-column: auto; }
.kb-zap__form .kb-form textarea { min-height: 9.5rem; }
.kb-zap__form .kb-form .kb-btn { padding-top: 1.1em; padding-bottom: 1.1em; font-size: var(--t-lg); }

@media (max-width: 1100px) {
  .kb-oferty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-zap__siatka { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 600px) {
  .kb-oferty { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .kb-oferty__kafel { min-height: 0; padding: 1em 1em 4.5rem; }
  .kb-oferty__strzalka { left: 1em; bottom: 1em; }
  .kb-oferty--male .kb-oferty__kafel { flex-direction: row; align-items: center; padding: 1em 3.75rem 1em 1em; }
  .kb-oferty--male .kb-oferty__rys { justify-content: center; width: 4rem; }
  .kb-oferty--male .kb-oferty__strzalka { left: auto; right: 1em; top: 50%; bottom: auto; translate: 0 -50%; }
  .kb-zap__form { padding: 1em; }
  .kb-zap__form .kb-form > label:nth-of-type(2), .kb-zap__form .kb-form > label:nth-of-type(3) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-oferty__kafel, .kb-rozw__panel { transition: none; }
  .kb-oferty__kafel:hover, .kb-oferty__kafel:focus-visible { transform: none; }
}

/* Bloki tekstowe SEO. Sam tekst w jednej szerokiej kolumnie, żeby blok nie był wysoki */
.kb-seo__tresc { max-width: 75rem; color: var(--c-text); }
.kb-seo__tresc h2 { margin-bottom: 1.75rem; }
.kb-seo__tresc h3 { margin: 2.25rem 0 .75rem; font-size: var(--t-lg); line-height: 1.3; }
.kb-seo__tresc p { margin: 0 0 1.1rem; line-height: 1.75; text-wrap: pretty; }
.kb-seo__tresc > :last-child { margin-bottom: 0; }
.kb-seo__tresc a { color: var(--c-navy); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }

/* Blog, lista wpisów w blog/index.php i strony wpisów */
.wpis-okruchy ol { display: flex; flex-wrap: wrap; gap: .4rem .75rem; margin: 0 0 1.75rem; padding: 0; list-style: none; font-size: var(--t-sm); }
.wpis-okruchy li + li::before { content: '/'; margin-right: .75rem; opacity: .5; }
.wpis-okruchy a { color: var(--c-white); }
.wpis-hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; margin: 0; font-size: var(--t-sm); color: color-mix(in srgb, var(--c-white) 82%, transparent); }

.post-uklad { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; gap: 3.5rem; max-width: 75rem; padding-top: 3em; padding-bottom: 4em; }
.post-kolumna { grid-column: 1; grid-row: 1; min-width: 0; }
.post-bok { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 1.5rem; align-self: stretch; }
.post-spis { padding: 1.5em; border-radius: var(--r-karta); background: var(--c-ice); color: var(--c-navy); }
.post-bok__tytul { margin: 0 0 .75rem; font-size: var(--t-lg); font-weight: 700; line-height: 1.25; }
.post-spis ol { margin: 0; padding: 0; list-style: none; counter-reset: spis; }
.post-spis li { counter-increment: spis; }
.post-spis li + li { border-top: 1px solid color-mix(in srgb, var(--c-blue) 25%, transparent); }
.post-spis a { display: grid; grid-template-columns: 1.75rem 1fr; padding: .6rem 0; color: var(--c-navy); line-height: 1.4; text-decoration: none; }
.post-spis a::before { content: counter(spis); color: var(--c-blue); font-weight: 700; }
.post-spis a:hover { text-decoration: underline; }
.post-kontakt { position: sticky; top: 6rem; padding: 1.75em 1.5em; border-radius: var(--r-karta); background: var(--c-navy); color: var(--c-white); }
.post-kontakt p { margin: 0 0 .35rem; line-height: 1.5; }
.post-kontakt__tel { display: block; margin: 0 0 .35rem; color: var(--c-white); font-size: var(--t-xl); font-weight: 700; text-decoration: none; }
.post-kontakt ul { margin: 1rem 0 1.5rem; padding: 1rem 0 0; border-top: 1px solid color-mix(in srgb, var(--c-white) 25%, transparent); list-style: none; }
.post-kontakt li { position: relative; padding: .2rem 0 .2rem 1.6rem; line-height: 1.45; }
.post-kontakt li::before { content: ''; position: absolute; left: .15rem; top: .6rem; width: .65rem; height: .35rem; border-left: 2px solid var(--c-ice); border-bottom: 2px solid var(--c-ice); transform: rotate(-45deg); }
.post-kontakt .kb-btn { width: 100%; }

.post-content > img, .post-content figure img { display: block; width: 100%; height: auto; border-radius: var(--r-karta); }
.post-content h2 { margin: 2.25em 0 .75em; font-size: var(--t-xl); line-height: 1.15; }
.post-content > img + h2 { margin-top: 1.5em; }
.post-content h3 { margin: 1.75em 0 .6em; font-size: var(--t-lg); line-height: 1.3; }
.post-content h2, .post-content h3 { scroll-margin-top: 6rem; }
.post-content p { margin: 0 0 1.15em; line-height: 1.75; }
.post-content a { color: var(--c-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-blue); text-underline-offset: .2em; }
.post-content a:hover { color: var(--c-blue); }
.post-content figure { margin: 2.5em 0; }
.post-content figcaption { margin-top: .75rem; padding-left: 1rem; border-left: 3px solid var(--c-blue); font-size: var(--t-sm); line-height: 1.55; }
.post-tabela { margin: 1.75em 0; overflow-x: auto; border: 1px solid color-mix(in srgb, var(--c-blue) 30%, transparent); border-radius: var(--r-pole); }
.post-tabela table { width: 100%; min-width: 30rem; border-collapse: collapse; color: var(--c-navy); line-height: 1.45; }
.post-tabela th { padding: .85em 1em; background: var(--c-navy); color: var(--c-white); font-weight: 600; text-align: left; }
.post-tabela td { padding: .75em 1em; vertical-align: top; }
.post-tabela tbody tr:nth-child(even) { background: var(--c-ice); }

.post-faq-sekcja { background: var(--c-navy); color: var(--c-white); }
.post-faq { max-width: 52rem; margin: 0 auto; }
.post-faq h2 { margin: 0 0 1.75rem; color: var(--c-white); font-size: var(--t-xl); line-height: 1.15; text-align: center; }
.post-faq details { margin-top: .75rem; border-radius: var(--r-pole); background: color-mix(in srgb, var(--c-white) 9%, transparent); }
.post-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1em 1.5em; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq summary::after { content: '+'; flex: none; font-size: 1.5em; font-weight: 400; line-height: 1; transition: transform .3s; }
.post-faq details[open] summary::after { transform: rotate(45deg); }
.post-faq details p { margin: 0; padding: 0 1.5em 1.35em; line-height: 1.7; color: color-mix(in srgb, var(--c-white) 90%, transparent); }

.blog-karty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.blog-karta { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-karta); background: var(--c-white); box-shadow: var(--cien-karta); color: var(--c-navy); transition: transform var(--ease), box-shadow var(--ease); }
.blog-karta:hover { transform: translateY(-6px); box-shadow: 0 1.75rem 3.5rem rgba(15, 35, 67, .2); }
.blog-karta img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-karta__tresc { display: flex; flex: 1; flex-direction: column; padding: 1.35em 1.5em 1.5em; }
.blog-karta h3 { margin: 0 0 .6rem; font-size: var(--t-lg); line-height: 1.3; }
.blog-karta h3 a { color: inherit; text-decoration: none; }
.blog-karta h3 a::after { content: ''; position: absolute; inset: 0; }
.blog-karta p { margin: 0 0 1rem; color: var(--c-text); line-height: 1.6; }
.blog-karta__dalej { margin-top: auto; font-weight: 600; }
.blog-karta__dalej { display: inline-flex; align-items: center; gap: .6em; }
.blog-karty--siatka { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.blog-lista { scroll-margin-top: 1rem; }
.blog-lista h2.kb-tyt { margin-bottom: 2.5rem; text-align: center; }
.blog-strony { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: 3rem; }
.blog-strony .kb-idz { flex-direction: row-reverse; }
.blog-strony .kb-idz::after { transform: scaleX(-1); }   /* strzałka wstecz */
.blog-strony ol { display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.blog-strony ol a { display: grid; place-items: center; width: 3rem; height: 3rem; border: 2px solid color-mix(in srgb, var(--c-blue) 35%, transparent); border-radius: 50%; color: var(--c-navy); font-weight: 700; text-decoration: none; transition: transform var(--ease), border-color .2s; }
.blog-strony ol a:hover { border-color: var(--c-navy); transform: translateY(-3px); }
.blog-strony ol a[aria-current] { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-white); }

@media (max-width: 1100px) {
  .post-uklad { grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 48rem; }
  .post-bok { display: contents; }
  .post-spis { grid-column: 1; grid-row: 1; }
  .post-kolumna { grid-column: 1; grid-row: 2; }
  .post-kontakt { position: static; grid-column: 1; grid-row: 3; }
  .blog-karty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 601px) and (max-width: 1100px) { .blog-karty:not(.blog-karty--siatka) > .blog-karta:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .post-uklad { padding-top: 1.5em; padding-bottom: 2em; }
  .post-spis, .post-kontakt { padding: 1em; }
  .post-faq summary { padding: 1em; }
  .post-faq details p { padding: 0 1em 1em; }
  .blog-karty { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .blog-karta__tresc { padding: 1em; }
  .blog-strony { gap: 1rem; margin-top: 2rem; }
  .blog-strony ol { order: -1; justify-content: center; width: 100%; }
}

/* ===== Spójność (1.12.2026). Jedno miejsce na wspólne rozmiary i zachowania.
   Nagłówki: tytuł sekcji --t-tytul, tytuł w tekście i duży h3 (.kb-h3) --t-xl, zwykły h3 --t-lg, wszystkie 700.
   Przyciski: .kb-btn (3.5rem) i .kb-btn--duzy (4rem). Karty: --r-karta, wewnątrz --r-pole, --cien-karta, po najechaniu --cien-hover. ===== */
:root { --t-tytul: clamp(2rem, 3.4vw, 3.1rem); --cien-hover: 0 1.75rem 3.5rem rgba(15, 35, 67, .2); --ramka-foto: .35rem; }
h3.kb-h3, .kb-s h3.kb-h3 { font-size: var(--t-xl); line-height: 1.15; }
/* nagłówki wewnątrz tekstu są o stopień mniejsze niż tytuły sekcji */
.kb-seo h2, .kb-seo__tresc h2, .kb-s .kb-seo__tresc h2, .kb-cta h2, .post-content h2, .post-faq h2, .kb-s h2.kb-tyt--tekst, h2.kb-tyt.kb-tyt--tekst { font-size: var(--t-xl); line-height: 1.15; letter-spacing: -.015em; }

.kb-btn:not(.kb-btn--small) { min-height: 3.5rem; padding-top: .8em; padding-bottom: .8em; }
.kb-btn.kb-btn--duzy, .kb-hero .kb-hero__tel, .kb-zap__form .kb-form .kb-btn { min-height: 4rem; padding: .85em 2em; font-size: var(--t-lg); }

/* karty klikalne unoszą się tak samo */
.kb-karta--ruch:hover, .blog-karta:hover, .kb-oferty__kafel:hover, .kb-oferty__kafel:focus-visible, .kb-card:hover { transform: translateY(-6px); box-shadow: var(--cien-hover); }

/* odnośniki w treści */
.kb-s p a:not([class]), .kb-s li a:not([class]), .kb-seo__tresc p a, .post-content p a, .post-content td a { color: var(--c-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-blue); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.kb-s p a:not([class]):hover, .kb-s li a:not([class]):hover, .kb-seo__tresc p a:hover, .post-content p a:hover { color: var(--c-blue); }
.kb-noc p a:not([class]), .kb-noc li a:not([class]) { color: var(--c-white); text-decoration-color: var(--c-ice); }
.kb-noc p a:not([class]):hover, .kb-noc li a:not([class]):hover { color: var(--c-ice); }

/* numer w krążku i duża liczba, jeden wzór w serwisie */
.kb-numer { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--c-navy); color: var(--c-white); font-size: var(--t-lg); font-weight: 700; line-height: 1; }
.kb-noc .kb-numer { background: var(--c-white); color: var(--c-navy); }
.kb-liczba { display: block; color: var(--c-blue); font-size: var(--t-hero); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.kb-noc .kb-liczba { color: var(--c-white); }

/* ptaszki w bocznym bloku wpisu jak w całym serwisie */
.post-kontakt li { padding: .3rem 0 .3rem 2.1rem; }
.post-kontakt li::before { left: 0; top: .3rem; width: 1.4rem; height: 1.4rem; border: 0; border-radius: 50%; transform: none; background: var(--c-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.500 4.500 4.500L19 7.500'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* telefon: nagłówki sekcji zawsze od lewej */
@media (max-width: 600px) {
  .kb-s .kb-glowa, .kb-s h2, .kb-s h2.kb-tyt, .blog-lista h2.kb-tyt, .post-faq h2, .hp-napisz h2 { text-align: left; }
  .kb-s .kb-kreska::after, .kb-glowa .kb-kreska::after, .kb-kreska--srodek::after, .blog-lista .kb-kreska::after, .post-faq .kb-kreska::after { margin-left: 0; margin-right: 0; }
  .kb-s h2, .post-faq h2 { align-items: flex-start; }
}
/* hero wpisu: to samo zdjęcie, kształt i sanie co na podstronach, mniejszy tytuł, bo bywa długi */
.kb-hero.kb-hero--wpis { min-height: 36rem; padding-top: 7.5rem; padding-bottom: 9rem; }
.kb-hero--wpis .kb-hero__tekst { max-width: 40rem; }
.kb-hero.kb-hero--wpis .kb-hero__tekst h1 { max-width: 15em; font-size: clamp(2rem, 3.1vw, 3rem); }
/* zaprzęg odsunięty w prawo i mocniejsze przyciemnienie, bo tytuł i wstęp wpisu są długie */
@media (min-width: 961px) {
  .kb-hero.kb-hero--wpis .kb-hero__bg { object-position: 0% var(--kadr-y); }
  .kb-hero.kb-hero--wpis::before { background: linear-gradient(90deg, rgba(15, 35, 67, .92), rgba(15, 35, 67, .76) 36%, rgba(15, 35, 67, 0) 66%), linear-gradient(rgba(15, 35, 67, .5), rgba(15, 35, 67, 0) 30%); }
}
.kb-hero.kb-hero--wpis .kb-hero__tekst .wpis-hero__meta { margin-top: 1rem; font-size: var(--t-sm); }
@media (max-width: 600px) { .kb-hero.kb-hero--wpis { padding-top: 6.5rem; padding-bottom: 7rem; } .kb-hero.kb-hero--wpis .kb-hero__tekst h1 { font-size: 2rem; } }

/* przycisk z telefonem albo pocztą ma zawsze ikonę, bez strzałki */
.kb-btn .kb-ico { width: 1.3em; height: 1.3em; stroke: currentColor; stroke-width: 1.8; }
.kb-btn:not(.kb-btn--small) { gap: .65em; }
.kb-btn[href^="tel:"]:not(:has(svg))::before, .kb-btn[href^="mailto:"]:not(:has(svg))::before { content: ''; flex: none; width: 1.2em; height: 1.2em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a12 12 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a12 12 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.kb-btn[href^="mailto:"]:not(:has(svg))::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }

@media (max-width: 600px) {
  /* tabele we wpisach mieszczą się w szerokości telefonu */
  .post-tabela table { min-width: 0; font-size: var(--t-sm); }
  .post-tabela th, .post-tabela td { padding: .65em .6em; overflow-wrap: anywhere; hyphens: auto; }
}

@media (max-width: 960px) {
  /* hero wpisu: długi tytuł i wstęp leżą na zdjęciu, więc przyciemnienie jest mocniejsze */
  .kb-hero.kb-hero--wpis::before { background: linear-gradient(rgba(15, 35, 67, .92), rgba(15, 35, 67, .84) 68%, rgba(15, 35, 67, .25)); }
}
@media (min-width: 601px) and (max-width: 960px) {
  .kb-footer .kb-footer__strony { justify-content: flex-start; column-gap: 2rem; }
}

/* Jedna kreska rysunków. Zmniejszone rysunki w menu i w kaflach „Zobacz też” miały linię około 1 px,
   więc dostają lekkie pogrubienie i wyglądają jak te duże. */
.kb-rozw__lista img, .kb-oferty--male .kb-oferty__rys img {
  filter: drop-shadow(.3px .25px 0 var(--c-blue));
}

/* ===== Telefon: teksty i nagłówki do lewej na całej stronie, niższe hero (1.12) ===== */
@media (max-width: 600px) {
  html body :is(.kb-glowa, .kb-center, .hp-p__trzy li, .ko-z--kapela figcaption, .ko-d__final, .kg-akcje, .kl-wariant, .kl-przed__link, .kn-os__srodek, .kn-miejsce, .kfi-bilety__glowa, p.kfi-dopisek, .kns-glowa, .kom-smak, .kom-miejsce, .kom-woz, .kss-kartka, .kss-kal__przypis, .kpk-dalej, .kwe-rzecz, .kwe-srodek, .kwe-trzy li, .kwe-miejsce__dopisek, .kga-filtr, .kci-notes__dol) { text-align: left; }
  html body :is(.kl-wariant, .kn-miejsce, .kom-smak, .kom-miejsce li, .kga-filtr) { align-items: flex-start; }
  html body .kb-s h2.kn-lata { align-items: flex-start; }
  html body :is(.kl-wariant__rys, .kg-akcje, .kn-akcje, .kpk-akcje, .kwe-miejsce__przyciski, .kk-numer) { justify-content: flex-start; }
  html body :is(.kb-glowa p, .ko-d__final, .kfi-bilety__glowa, .kns-glowa, .kss-kal__przypis, .kpk-dalej, .kwe-miejsce__dopisek, .kwe-rzecz svg, .kwe-rzecz p, .kn-os__gory, .kom-woz) { margin-left: 0; margin-right: 0; }

  html body .kss-kartka .kss-kartka__dzien { padding: 0 1rem; }
  html body .kss-kartka .kss-kartka__opis { margin: 0; padding: 0 1rem 1.25rem; }
  html body .kss-kartka > .kb-btn { align-self: flex-start; margin-left: 1rem; margin-right: 1rem; }
  html body .kga-filtr { padding-left: .75rem; padding-right: .75rem; }

  /* hero podstron: niższe, tytuł w połowie wysokości */
  .kb-hero:not(.kb-hero--form) { align-items: center; min-height: 22rem; padding: 4.5rem 1em .75rem; }
  .kb-hero:not(.kb-hero--form):not(.kb-hero--wpis)::before { background: linear-gradient(rgba(15, 35, 67, .82) 30%, rgba(15, 35, 67, .62) 62%, rgba(15, 35, 67, .1)); }
  .kb-hero.kb-hero--wpis { min-height: 22rem; padding: 5.25rem 1em 4rem; }
  .kb-hero.kb-hero--wpis .kb-hero__tekst h1 { font-size: var(--t-xl); }
  .kb-hero.kb-hero--wpis .kb-hero__tekst p { font-size: var(--t-md); }
  .kb-hero.kb-hero--wpis .kb-hero__tekst .wpis-hero__meta { font-size: var(--t-sm); }
}
