/* KMJ: sekcja „Realizacje” na podstronie Generalne wykonawstwo (prototyp 20.10.2026) */
.kr, .kr-panel {
  --kr-granat: #0a096a;
  --kr-tekst: #1d1d2b;
  --kr-szary: #5b5b6b;
  --kr-tlo: #f4f4f6;
  --kr-linia: #e2e2e8;
  --kr-zielony: #1f6b3a;
}
.kr {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--kr-tekst);
  padding: 56px 0 72px;
  background: #fff;
  scroll-margin-top: 90px;
}
.kr__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.kr__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.kr__tytul { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.15; color: var(--kr-granat); }
.kr__lead { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--kr-szary); max-width: 62ch; }

.kr__filtr { display: inline-flex; gap: 4px; padding: 4px; border-radius: 50px; background: var(--kr-tlo); }
.kr__filtr button {
  font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap;
  padding: 10px 18px; border-radius: 50px; cursor: pointer;
  border: 0; background: transparent; color: var(--kr-tekst);
}
.kr__filtr button[aria-pressed="true"] { background: var(--kr-granat); color: #fff; box-shadow: 0 6px 14px -8px rgba(10, 9, 106, .8); }
.kr__filtr button:focus-visible { outline: 2px solid var(--kr-granat); outline-offset: 2px; }
.kr__filtr span { opacity: .65; margin-left: 4px; font-weight: 400; }

.kr__siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.kr__siatka > li[hidden] { display: none; }

.kr__kafel {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: 18px; overflow: hidden; background: var(--kr-tlo); text-align: left; isolation: isolate;
  aspect-ratio: 4 / 3; font: inherit; color: #fff;
}
.kr__kafel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kr__kafel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 22, .8) 0%, rgba(6, 6, 22, .5) 18%, rgba(6, 6, 22, .14) 36%, rgba(6, 6, 22, 0) 50%);
  box-shadow: inset 0 0 0 1px rgba(10, 9, 60, .06); border-radius: inherit;
}
.kr__podpis { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.kr__nazwa { display: block; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.kr__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 5px; font-size: 13.5px; line-height: 1.3; color: rgba(255, 255, 255, .88); }
.kr__miasto { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; color: #fff; }
.kr__miasto::before {
  content: ""; width: 12px; height: 12px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%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'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.kr__typ { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .45); }
.kr__znaczki { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.kr__znak {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; line-height: 1; padding: 7px 11px; border-radius: 50px;
  background: rgba(255, 255, 255, .92); color: var(--kr-tekst);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 4px 14px -6px rgba(6, 6, 22, .35);
}
.kr__znak::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.kr__znak--realizacja::before { background: #e0a100; }
.kr__znak--zakonczona::before { background: var(--kr-zielony); }
.kr__kafel:focus-visible { outline: 3px solid var(--kr-granat); outline-offset: 3px; }
.kr__opis-zrodlo { display: none; }

/* Panel z opisem */
.kr-panel { position: fixed; inset: 0; z-index: 100000; display: none; }
.kr-panel.is-open { display: block; }
.kr-panel__tlo { position: absolute; inset: 0; background: rgba(10, 9, 40, .45); }
.kr-panel__okno {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%);
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  box-shadow: -12px 0 40px rgba(10, 9, 40, .18);
  font-family: "Poppins", system-ui, sans-serif; color: var(--kr-tekst);
  transform: translateX(0); animation: kr-wjazd .28s ease-out;
}
@keyframes kr-wjazd { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.kr-panel__zamknij {
  position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .95); color: var(--kr-granat); font-size: 26px; line-height: 44px; text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.kr-panel__zamknij:focus-visible { outline: 3px solid var(--kr-granat); outline-offset: 2px; }
.kr-panel__foto { aspect-ratio: 4 / 3; background: var(--kr-tlo); }
.kr-panel__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kr-panel__tresc { padding: 24px 28px 36px; }
.kr-panel__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.kr-panel__meta .kr__znak { background: var(--kr-tlo); }
.kr-panel h3 { margin: 0; font-size: 26px; font-weight: 600; color: var(--kr-granat); line-height: 1.2; }
.kr-panel__miasto { margin: 4px 0 18px; color: var(--kr-szary); font-size: 15px; }
.kr-panel__opis p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; }
.kr-panel__etapy { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.kr-panel__etapy button {
  font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 50px; cursor: pointer;
  border: 1px solid var(--kr-linia); background: #fff; color: var(--kr-tekst);
}
.kr-panel__etapy button[aria-pressed="true"] { border-color: var(--kr-granat); box-shadow: inset 0 0 0 1px var(--kr-granat); }
.kr-panel__cta {
  display: inline-block; margin-top: 10px; padding: 12px 24px; border-radius: 50px;
  background: var(--kr-granat); color: #fff !important; text-decoration: none; font-weight: 500; font-size: 15px;
}
.kr-panel__cta:focus-visible { outline: 3px solid var(--kr-granat); outline-offset: 3px; }
html.kr-blokada, html.kr-blokada body { overflow: hidden; }

@media (max-width: 991px) {
}
@media (max-width: 600px) {
  .kr { padding: 40px 0 56px; }
  .kr__wrap { padding: 0 16px; }
  .kr__nazwa { font-size: 19px; }
  .kr-panel__okno {
    top: auto; left: 0; width: 100%; max-height: 90vh; border-radius: 18px 18px 0 0;
    animation-name: kr-wjazd-dol;
  }
  @keyframes kr-wjazd-dol { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .kr-panel__tresc { padding: 20px 18px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .kr-panel__okno { animation: none; }
}

/* Znak „kliknij” na kafelku */
.kr__plus {
  position: absolute; right: 18px; bottom: 20px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; box-shadow: 0 6px 18px -6px rgba(6, 6, 22, .5);
}
.kr__plus::before, .kr__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--kr-granat); transform: translate(-50%, -50%); border-radius: 1px; }
.kr__plus::before { width: 14px; height: 1.5px; }
.kr__plus::after { width: 1.5px; height: 14px; }
.kr__podpis { right: 72px; }

/* Kluczowe informacje w panelu */
.kr-fakty { margin: 0 0 22px; padding: 4px 0; border-top: 1px solid var(--kr-linia); }
.kr-fakty > div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--kr-linia); }
.kr-fakty dt { margin: 0; font-size: 13px; color: var(--kr-szary); }
.kr-fakty dd { margin: 0; font-size: 14px; font-weight: 500; color: var(--kr-tekst); }
.kr-panel__okno { width: min(560px, 100%); }

/* Poprzednia / następna */
.kr-panel__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--kr-linia); }
.kr-panel__nav button {
  font: inherit; font-size: 14px; color: var(--kr-granat); background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-flex; gap: 8px; align-items: center; max-width: 48%; text-align: left;
}
.kr-panel__nav button[data-krok="1"] { margin-left: auto; text-align: right; }
.kr-panel__nav button[hidden] { display: none; }
.kr-panel__nav button:focus-visible { outline: 3px solid var(--kr-granat); outline-offset: 2px; border-radius: 6px; }
.kr-panel__nav-n { font-weight: 500; }
.kr-panel__nav { align-items: center; }
.kr-panel__licznik { order: 0; flex: none; font-size: 13px; color: var(--kr-szary); font-variant-numeric: tabular-nums; }
.kr-panel__nav button[data-krok="-1"] { order: -1; }
.kr-panel__nav button[data-krok="1"] { order: 1; margin-left: 0; }
.kr-panel__miasto { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.kr-panel__miasto span + span { padding-left: 10px; border-left: 1px solid var(--kr-linia); }
@media (max-width: 600px) {
  .kr__plus { width: 34px; height: 34px; right: 14px; bottom: 16px; }
  .kr__podpis { left: 18px; bottom: 16px; right: 60px; }
  .kr__nazwa { font-size: 19px; }
  .kr__filtr { display: flex; width: 100%; }
  .kr__filtr button { flex: 1; padding: 10px 8px; font-size: 13.5px; }
  .kr-fakty > div { grid-template-columns: 96px 1fr; }
}

.kr-panel__etapy:empty { display: none; }
.kr-panel__miasto { margin-bottom: 22px; }

.kr__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kr { padding-top: 40px; }

/* Hero podstrony: spokojny baner jak na podstronach Reha Medica (zdjęcie z budowy, przyciemnienie, okruszki, tytuł).
   Od 992 px zdjęcie wchodzi pod przezroczyste menu motywu (114 px), a menu na górze strony jest białe. */
.kh {
  --kh-granat: #0a096a;
  position: relative; isolation: isolate; overflow: hidden; background: #1d1c3f; color: #fff;
  display: grid; place-items: center; text-align: center;
  min-height: clamp(300px, 30vw, 400px); padding: 56px 24px; font-family: Poppins, sans-serif;
}
@media (min-width: 992px) {
  /* wysokość proporcjonalna do szerokości: na każdym ekranie widać ten sam kadr (kask z zapasem u góry, miejsce pod stopami u dołu) */
  .kh { min-height: max(440px, min(30vw, 760px)); padding: 150px 24px 64px; }
  /* menu motywu nad ciemnym zdjęciem: białe, dopóki strona nie jest przewinięta (motyw dodaje wtedy .sticky-top) */
  body:has(.kh) .nav_top:not(.sticky-top) #menu-glowne > li > a,
  body:has(.kh) .nav_top:not(.sticky-top) #menu-glowne > li > .caret { color: #fff !important; border-color: #fff !important; }
  body:has(.kh) .nav_top:not(.sticky-top) #menu-glowne > li > .caret::after,
  body:has(.kh) .nav_top:not(.sticky-top) #menu-glowne > li > .caret::before { border-top-color: #fff !important; }
  body:has(.kh) .nav_top:not(.sticky-top) #menu-glowne > li > a::after,
  body:has(.kh) .nav_top:not(.sticky-top) #menu-glowne > li > a::before { background-color: #fff !important; border-color: #fff !important; }
  body:has(.kh) .nav_top:not(.sticky-top) .logo_head { filter: brightness(0) invert(1); }
}
.kh__tlo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.kh__tlo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 21%;
  transform-origin: 50% 20%; animation: kh-zoom 30s cubic-bezier(.2, .6, .3, 1) both;
}
.kh__tlo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 13, 56, .36) 0, rgba(14, 13, 56, .2) 170px, rgba(14, 13, 56, .24) 60%, rgba(14, 13, 56, .32) 100%);
}
.kh__tresc { position: relative; max-width: 760px; }
.kh__okruszki { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin: 0 0 18px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.kh__okruszki a { color: rgba(255, 255, 255, .9) !important; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.kh__okruszki a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.kh__okruszki span[aria-hidden] { opacity: .5; }
.kh__tytul { margin: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35), 0 2px 30px rgba(0, 0, 0, .45); }
.kh__opis { margin: 14px auto 0; max-width: 46ch; font-size: 16.5px; line-height: 1.6; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.kh__okruszki { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
body:has(.kh) .nav_top:not(.sticky-top) #menu-glowne > li > a { text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.kr { scroll-margin-top: 90px; }
@keyframes kh-zoom { from { transform: scale(1.06); } to { transform: scale(1.01); } }
@media (prefers-reduced-motion: reduce) {
  .kh__tlo img { animation: none; transform: none; }
}
@media (max-width: 991px) {
  .kh { min-height: 0; padding: 172px 24px 36px; place-items: end center; }
  /* zdjęcie wchodzi pod pasek menu (114 px); po przewinięciu motyw robi z menu biały pasek jak zwykle */
  body:has(.kh) .kh { margin-top: -114px; padding-top: 286px; }
  body:has(.kh) .nav_top:not(.sticky-top) .bg-menu { position: relative; z-index: 30; background: transparent !important; }
  body:has(.kh) .nav_top:not(.sticky-top) .logo_head { filter: brightness(0) invert(1); }
  body:has(.kh) .nav_top:not(.sticky-top) .navbar-toggler .icon-bar { background-color: #fff !important; }
}
@media (max-width: 767px) {
  .kh { padding: 112px 20px 30px; }
  body:has(.kh) .kh { padding-top: 214px; }
  .kh__tlo img { object-position: 15% 50%; transform-origin: 30% 30%; }
  .kh__okruszki { margin-bottom: 12px; font-size: 12.5px; }
  .kh__tytul { font-size: 31px; }
  .kh__opis { margin-top: 10px; font-size: 14.5px; line-height: 1.55; max-width: 34ch; }
}

/* ===== Realizacje: siatka o zmiennym rytmie (rozmiary nadaje realizacje.js wg widocznych kafelków) ===== */
.kr__siatka { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.kr__siatka > li { grid-column: span 4; display: flex; min-width: 0; }
.kr__siatka > li > .kr__kafel { flex: 1; aspect-ratio: auto; height: clamp(300px, 27vw, 380px); }
.kr__siatka > li[data-r="duzy"] { grid-column: span 7; }
.kr__siatka > li[data-r="maly"] { grid-column: span 5; }
.kr__siatka > li[data-r="duzy"] > .kr__kafel, .kr__siatka > li[data-r="maly"] > .kr__kafel { height: clamp(380px, 36vw, 520px); }
.kr__siatka > li[data-r="pelny"] { grid-column: span 12; }
.kr__siatka > li[data-r="pelny"] > .kr__kafel { height: clamp(320px, 42vw, 520px); }
.kr__siatka > li[data-r="pol"] { grid-column: span 6; }
.kr__siatka > li[data-r="duzy"] .kr__nazwa, .kr__siatka > li[data-r="pelny"] .kr__nazwa { font-size: clamp(24px, 2.2vw, 30px); }
.kr__siatka > li[data-r="duzy"] .kr__podpis, .kr__siatka > li[data-r="pelny"] .kr__podpis { left: 28px; bottom: 26px; }
.kr__siatka > li[data-r="duzy"] .kr__plus, .kr__siatka > li[data-r="pelny"] .kr__plus { right: 24px; bottom: 26px; width: 46px; height: 46px; }
.kr__siatka > li[data-r="duzy"] .kr__znaczki, .kr__siatka > li[data-r="pelny"] .kr__znaczki { top: 22px; left: 22px; }
@media (max-width: 1099px) {
  .kr__siatka { gap: 14px; }
  .kr__siatka > li { grid-column: span 6; }
  .kr__siatka > li > .kr__kafel { height: auto; aspect-ratio: 4 / 3; }
  .kr__siatka > li[data-r="pelny"] > .kr__kafel { height: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .kr__siatka { gap: 10px; }
  .kr__siatka > li > .kr__kafel { aspect-ratio: 3 / 4; border-radius: 16px; }
  .kr__siatka > li[data-r="pelny"] > .kr__kafel { aspect-ratio: 4 / 3; }
  .kr__siatka > li[data-r="pol"] .kr__podpis { left: 14px; right: 14px; bottom: 14px; }
  .kr__siatka > li[data-r="pol"] .kr__nazwa { font-size: 16px; line-height: 1.25; }
  .kr__siatka > li[data-r="pol"] .kr__meta { font-size: 12.5px; margin-top: 3px; }
  .kr__siatka > li[data-r="pol"] .kr__typ { display: none; }
  .kr__siatka > li[data-r="pol"] .kr__znaczki { top: 10px; left: 10px; right: 10px; }
  .kr__siatka > li[data-r="pol"] .kr__znak { font-size: 11px; padding: 6px 9px; }
  .kr__siatka > li[data-r="pol"] .kr__znaczki:has(.kr__znak + .kr__znak) .kr__znak:first-child { display: none; }
  .kr__siatka > li[data-r="pol"] .kr__plus { display: none; }
  .kr__siatka > li[data-r="pol"] .kr__kafel::after { background: linear-gradient(to top, rgba(6, 6, 22, .82) 0%, rgba(6, 6, 22, .45) 26%, rgba(6, 6, 22, 0) 52%); }
  .kr__siatka > li[data-r="pelny"] .kr__nazwa { font-size: 22px; }
}

/* ===== Blok „Generalne wykonawstwo z doświadczeniem”: tytuł i tekst obok siebie, szerokie zdjęcie z budowy, pas wyróżników nachodzi na zdjęcie ===== */
.kw {
  --kw-granat: #0a096a; --kw-tekst: #1d1d2b; --kw-szary: #5b5b6b;
  font-family: "Poppins", system-ui, sans-serif; color: var(--kw-tekst); background: #fff; padding: 40px 0 96px;
}
.kw__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.kw__gora { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: start; padding-top: 40px; border-top: 1px solid #e2e2e8; }
.kw__tytul { margin: 0; font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--kw-granat); }
.kw__tekst p { margin: 0 0 16px; font-size: 16px; line-height: 1.75; color: var(--kw-szary); max-width: 64ch; }
.kw__tekst .kw__lead { font-size: 18.5px; line-height: 1.65; color: var(--kw-tekst); }
.kw__tekst p:last-child { margin-bottom: 0; }
.kw__scena { margin-top: 56px; }
.kw__foto { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 2.2 / 1; background: #f4f4f6; }
.kw__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.kw__foto { position: relative; z-index: 0; }
.kw__pas { z-index: 1; }
.kw__pas {
  position: relative; overflow: hidden; margin: -120px 40px 0; padding: 44px 48px 48px; border-radius: 24px;
  background: var(--kw-granat); color: #fff; box-shadow: 0 40px 80px -40px rgba(10, 9, 60, .55);
}
.kw__dach { position: absolute; right: -150px; bottom: -150px; width: 460px; height: auto; color: #fff; opacity: .06; pointer-events: none; }
.kw__lista { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kw__w { position: relative; padding: 0 28px; }
.kw__w:first-child { padding-left: 0; }
.kw__w:last-child { padding-right: 0; }
.kw__w + .kw__w::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .16); }
.kw__ikona { display: block; margin: 0 0 22px; }
.kw__ikona img { display: block; width: 72px; height: 72px; }
.kw__w h3 { text-wrap: balance; margin: 0 0 10px; font-size: 19px; font-weight: 600; line-height: 1.3; color: #fff; }
.kw__w p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
@media (max-width: 1099px) {
  .kw__gora { grid-template-columns: 1fr; gap: 20px; }
  .kw__foto { aspect-ratio: 16 / 9; }
  .kw__pas { margin: -90px 20px 0; padding: 36px 32px; }
  .kw__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .kw__w, .kw__w:first-child, .kw__w:last-child { padding: 0 24px; }
  .kw__w:nth-child(odd) { padding-left: 0; }
  .kw__w:nth-child(odd)::before { display: none; }
}
@media (max-width: 767px) {
  .kw { padding: 16px 0 64px; }
  .kw__wrap { padding: 0 16px; }
  .kw__gora { padding-top: 32px; }
  .kw__tytul { font-size: 30px; }
  .kw__tekst .kw__lead { font-size: 17px; }
  .kw__tekst p { font-size: 15.5px; }
  .kw__scena { margin-top: 32px; }
  .kw__foto { aspect-ratio: 4 / 3; border-radius: 18px; }
  .kw__pas { margin: -40px 10px 0; padding: 8px 22px; border-radius: 20px; }
  .kw__dach { width: 300px; right: -120px; bottom: -110px; }
  .kw__lista { grid-template-columns: 1fr; row-gap: 0; }
  .kw__w, .kw__w:first-child, .kw__w:last-child, .kw__w:nth-child(odd) { padding: 22px 0; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .kw__w + .kw__w { border-top: 1px solid rgba(255, 255, 255, .14); }
  .kw__w + .kw__w::before { display: none; }
  .kw__ikona { margin: 2px 0 0; grid-row: span 2; }
  .kw__ikona img { width: 52px; height: 52px; }
  .kw__w h3 { font-size: 17.5px; margin: 2px 0 6px; }
}

/* Telefon: krótszy wstęp (drugi akapit pod „Czytaj więcej”), mniejsze nagłówki */
.kw__wiecej { display: none; }
@media (max-width: 767px) {
  .kw__tytul { font-size: 26px; line-height: 1.15; }
  .kw__tekst.is-zwiniety p:not(:first-of-type) { display: none; }
  .kw__wiecej {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 500; color: var(--kw-granat); text-decoration: underline; text-underline-offset: 4px;
  }
  .kw__wiecej:focus-visible { outline: 2px solid var(--kw-granat); outline-offset: 3px; border-radius: 2px; }
  .kr__tytul { font-size: 27px; }
  .kr__lead { font-size: 15px; line-height: 1.55; }
}
