/* Kroje pisma z własnego serwera. Wygenerowane przez
   tools/fonty-lokalne.py, nie poprawiaj ręcznie.
   Rodziny 'X zapasowy' mają miary policzone z POMIARU w przeglądarce,
   osobno dla grubości lekkiej i pogrubionej, żeby zajmowały tyle samo
   miejsca co krój właściwy. Podmiana po wczytaniu nie rusza układu.  */
@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/andika-400-pl.woff2) format('woff2');
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}

@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/andika-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/andika-700-pl.woff2) format('woff2');
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}

@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/andika-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/baloo-2-pl.woff2) format('woff2');
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/baloo-2-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Andika zapasowy';
  font-weight: 1 600;
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 102.19%;
  ascent-override: 119.45%;
  descent-override: 38.22%;
  line-gap-override: 0.0%;
}

@font-face {
  font-family: 'Andika zapasowy';
  font-weight: 601 1000;
  src: local('Arial Bold'), local('Helvetica Bold'), local('Liberation Sans Bold'), local('Arial');
  size-adjust: 102.19%;
  ascent-override: 119.45%;
  descent-override: 38.22%;
  line-gap-override: 0.0%;
}

@font-face {
  font-family: 'Baloo 2 zapasowy';
  font-weight: 1 600;
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 95.21%;
  ascent-override: 113.22%;
  descent-override: 55.03%;
  line-gap-override: 0.0%;
}

@font-face {
  font-family: 'Baloo 2 zapasowy';
  font-weight: 601 1000;
  src: local('Arial Bold'), local('Helvetica Bold'), local('Liberation Sans Bold'), local('Arial');
  size-adjust: 94.46%;
  ascent-override: 114.12%;
  descent-override: 55.47%;
  line-gap-override: 0.0%;
}

/* =====================================================================
   HAPPY KIDS — arkusz motywu (składany przez _tools/arkusz.py: kroje + ten plik)
   Język graficzny: KLOCKI z logo (zaokrąglone kwadraty, cztery barwy, lekki obrót).
   Barwy zmierzone z pikseli logo (PROJEKT-DESIGNU.md).
   ===================================================================== */

:root {
	/* barwy logo: tylko ozdoby bez tekstu i pola sekcji */
	--logo-czerwony: #FE0000;
	--logo-niebieski: #00B5FE;
	--logo-pomaranczowy: #FF7514;
	--logo-zielony: #00FF01;

	/* klocki z białą literą: ten sam odcień, biel ≥ 3,1:1 */
	--k-czerwony: #FE0000;
	--k-niebieski: #009AE0;
	--k-pomaranczowy: #F16900;
	--k-zielony: #00AA00;
	--k-turkusowy: #00A497;

	/* tekst i przyciski: biel ≥ 4,6:1 */
	--i-czerwony: #E00000;
	--i-niebieski: #007BB6;
	--i-pomaranczowy: #C64F00;
	--i-zielony: #008800;
	--i-turkusowy: #008377;

	/* pola sekcji (granat na nich ≥ 6,7:1, do bieli ≥ 1,6:1) */
	--p-zielony: #87DD81;
	--p-pomaranczowy: #FF9858;
	--p-niebieski: #00B5FE;
	--p-turkusowy: #4CD7C8;
	--p-czerwony: #FB817A;

	/* jasne odcienie tylko wewnątrz kart */
	--j-czerwony: #FFEBE6;
	--j-niebieski: #E2F6FF;
	--j-pomaranczowy: #FFEDE0;
	--j-zielony: #E7FAE4;
	--j-turkusowy: #DAFCF7;

	--granat: #14233F;
	--granat-2: #1F3358;
	--tekst: #14233F;
	--tekst-2: #3A4A66;
	--na-ciemnym: #FFFFFF;
	--na-ciemnym-2: #C9D4E8;
	--linia: #A3B0C6;
	--linia-klik: #7C8AA5;
	--bialy: #FFFFFF;
	--papier: #F6F8FC;

	--f-naglowki: 'Baloo 2', 'Baloo 2 zapasowy', system-ui, sans-serif;
	--f-tekst: 'Andika', 'Andika zapasowy', system-ui, sans-serif;

	--fs-h1: clamp(2rem, 1.45rem + 1.9vw, 2.75rem);
	--fs-h2: clamp(1.625rem, 1.35rem + 1vw, 2rem);
	--fs-h3: clamp(1.1875rem, 1.12rem + 0.25vw, 1.3125rem);
	--fs-lead: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
	--fs-tekst: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);
	--fs-maly: 0.9375rem;

	--w-tresc: min(78rem, 100% - 32px); /* margines 16 px na każdym telefonie (było clamp(20rem…): przy 320 px zero) */
	--sekcja: clamp(4rem, 2.6rem + 5vw, 6.5rem);
	--odstep: clamp(1.25rem, 0.9rem + 1.4vw, 2.5rem);

	--r-karta: 28px;
	--r-maly: 16px;
	--r-przycisk: 14px;

	--cien-klocka: 0 8px 0 rgba(20, 35, 63, 0.18);
	--cien-karty: 0 1px 2px rgba(20, 35, 63, 0.08), 0 18px 38px -22px rgba(20, 35, 63, 0.45);
	--cien-lekki: 0 12px 26px -20px rgba(20, 35, 63, 0.5);

	--ease: cubic-bezier(0.25, 1, 0.5, 1);
	--t-szybki: 160ms;
	--t-sredni: 240ms;

	--naglowek-h: 78px;
}

/* ------------------------------------------------------------- baza */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--naglowek-h) + 64px); }
body {
	margin: 0;
	background: var(--bialy);
	color: var(--tekst);
	font-family: var(--f-tekst);
	font-size: var(--fs-tekst);
	line-height: 1.62;
	overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-naglowki); font-weight: 700; line-height: 1.12; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

.hk-wrap { width: var(--w-tresc); margin-inline: auto; }
.hk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hk-pomin { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--granat); color: #fff; padding: 12px 18px; border-radius: var(--r-maly); font-weight: 700; }
.hk-pomin:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--granat); outline-offset: 3px; border-radius: 6px; }
.hk-sekcja--granat :focus-visible, .hk-stopka :focus-visible, .hk-pasek :focus-visible { outline-color: #fff; }

.hk-ikona { flex: none; }

/* ------------------------------------------------------------- klocki */
.hk-klocek {
	--rozmiar: 48px;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: var(--rozmiar);
	height: var(--rozmiar);
	border-radius: 24%;
	background: var(--kolor-klocka, var(--k-niebieski));
	color: #fff;
	font-family: var(--f-naglowki);
	font-weight: 800;
	font-size: calc(var(--rozmiar) * 0.5);
	line-height: 1;
	rotate: var(--obrot, 0deg);
}
.hk-klocek span { translate: 0 0.06em; }
.hk-klocek .hk-ikona { width: 54%; height: 54%; }
.hk-klocek--s { --rozmiar: 38px; font-size: 19px; }
.hk-klocek--m { --rozmiar: 50px; }
.hk-klocek--l { --rozmiar: 64px; }
.hk-klocek--xl { --rozmiar: clamp(96px, 7vw + 40px, 136px); border-radius: 26%; }
.hk-klocek--czerwony { --kolor-klocka: var(--k-czerwony); }
.hk-klocek--niebieski { --kolor-klocka: var(--k-niebieski); }
.hk-klocek--pomaranczowy { --kolor-klocka: var(--k-pomaranczowy); }
.hk-klocek--zielony { --kolor-klocka: var(--k-zielony); }
.hk-klocek--turkusowy { --kolor-klocka: var(--k-turkusowy); }

.hk-klocki-napis { display: inline-flex; align-items: center; }
.hk-klocki-napis .hk-klocek { margin-right: -3px; }

/* ------------------------------------------------------------- typografia */
.hk-nadtytul {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-family: var(--f-naglowki);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--tekst-2);
}
.hk-nadtytul--jasny, .hk-sekcja--granat .hk-nadtytul { color: var(--na-ciemnym-2); }
.hk-h2 { font-size: var(--fs-h2); }
.hk-lead { font-size: var(--fs-lead); color: var(--tekst-2); }
.hk-sekcja__lead { font-size: var(--fs-lead); }
.hk-sekcja__lead p { margin-bottom: 16px; }
.hk-sekcja__lead p:last-child { margin-bottom: 0; }
.hk-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hk-link:hover { color: var(--i-czerwony); text-decoration-color: var(--i-czerwony); }

/* ------------------------------------------------------------- przyciski */
.hk-btn {
	--tlo: var(--granat);
	--kolor: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 24px;
	border: 2px solid var(--tlo);
	border-radius: var(--r-przycisk);
	background: var(--tlo);
	color: var(--kolor);
	font-family: var(--f-naglowki);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--t-szybki) var(--ease), box-shadow var(--t-szybki) var(--ease), background-color var(--t-szybki) var(--ease);
}
.hk-btn:hover { transform: translateY(-2px); box-shadow: var(--cien-lekki); }
.hk-btn:active { transform: translateY(1px); box-shadow: none; }
.hk-btn .hk-ikona { transition: translate var(--t-szybki) var(--ease); }
.hk-btn:hover .hk-ikona:last-child { translate: 3px 0; }
.hk-btn--czerwony { --tlo: var(--i-czerwony); }
.hk-btn--niebieski { --tlo: var(--i-niebieski); }
.hk-btn--pomaranczowy { --tlo: var(--i-pomaranczowy); }
.hk-btn--zielony { --tlo: var(--i-zielony); }
.hk-btn--turkusowy { --tlo: var(--i-turkusowy); }
.hk-btn--granat { --tlo: var(--granat); }
.hk-btn--obrys { --tlo: #fff; --kolor: var(--granat); border-color: var(--granat); }
.hk-btn--obrys:hover { --tlo: var(--j-niebieski); }
.hk-btn--obrys-jasny { --tlo: transparent; --kolor: #fff; border-color: #fff; box-shadow: none; }
.hk-btn--obrys-jasny:hover { --tlo: rgba(255, 255, 255, 0.12); box-shadow: none; }
.hk-btn--maly { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.hk-btn--pelny { width: 100%; }
.hk-akcje { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ------------------------------------------------------------- pasek rekrutacji */
.hk-pasek { background: var(--i-niebieski); color: #fff; font-size: var(--fs-maly); }
.hk-pasek__w { display: flex; align-items: center; justify-content: center; gap: 12px 16px; min-height: 46px; padding-block: 6px; flex-wrap: wrap; }
.hk-pasek__tekst { margin: 0; font-weight: 700; text-align: center; }
.hk-pasek__link {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 44px; padding: 4px 16px; border-radius: 999px;
	background: #fff; color: var(--i-niebieski);
	font-family: var(--f-naglowki); font-weight: 700; text-decoration: none; white-space: nowrap;
	transition: background-color var(--t-szybki) var(--ease);
}
.hk-pasek__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 639px) {
	.hk-pasek__w { display: block; padding-block: 8px; text-align: center; line-height: 1.45; }
	.hk-pasek__ikona { display: none; }
	.hk-pasek { position: relative; font-size: 0.875rem; }
	.hk-pasek__tekst { display: inline; }
	.hk-pasek__link { display: inline; position: static; min-height: 0; padding: 0; margin-left: 2px; background: none; color: #fff; }
	.hk-pasek__link::after { content: ''; position: absolute; inset: 0; }
	.hk-pasek__napis { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.hk-pasek__link .hk-ikona { display: inline-block; vertical-align: -3px; }
	.hk-pasek__link:hover { background: none; }
}
@media (max-width: 479px) {
	.hk-akcje .hk-btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------- nagłówek */
.hk-naglowek {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: box-shadow var(--t-sredni) var(--ease), border-color var(--t-sredni) var(--ease);
}
.hk-naglowek.przewiniety { box-shadow: 0 8px 24px -16px rgba(20, 35, 63, 0.45); border-color: var(--linia); }
.hk-naglowek__w { display: flex; align-items: center; gap: 24px; min-height: var(--naglowek-h); }
.hk-logo { flex: none; display: flex; align-items: center; min-height: 48px; }
.hk-logo img { transition: transform var(--t-sredni) var(--ease); }
.hk-logo:hover img { transform: rotate(-1.5deg) scale(1.03); }
.hk-logo img { width: clamp(190px, 14vw + 60px, 260px); height: auto; }

.hk-menu { margin-left: auto; }
.hk-menu__lista { display: flex; align-items: center; gap: 4px; list-style: none; }
.hk-menu__poz { position: relative; display: flex; align-items: center; }
.hk-menu__link {
	display: block; padding: 10px 6px 10px 10px;
	font-family: var(--f-naglowki); font-weight: 700; font-size: 1.0625rem;
	color: var(--granat); text-decoration: none; white-space: nowrap;
	transition: color var(--t-szybki) var(--ease);
}
.hk-menu__poz:not([data-rozwijane]) .hk-menu__link { padding-right: 10px; }
.hk-menu__poz--zielony { --akcent: var(--i-zielony); }
.hk-menu__poz--pomaranczowy { --akcent: var(--i-pomaranczowy); }
.hk-menu__poz--niebieski { --akcent: var(--i-niebieski); }
.hk-menu__poz--turkusowy { --akcent: var(--i-turkusowy); }
/* menu = napisy: po najechaniu tylko barwa, bieżąca strona wygląda jak pozostałe (Paweł 17.08.2026) */
.hk-menu__link:hover { color: var(--akcent, var(--i-czerwony)); }
.hk-menu__strzalka {
	display: grid; place-items: center; width: 28px; height: 44px; padding: 0;
	border: 0; background: none; color: var(--granat); cursor: pointer;
	transition: color var(--t-szybki) var(--ease);
}
.hk-menu__strzalka:hover { color: var(--akcent, var(--i-czerwony)); }
.hk-menu__strzalka .hk-ikona { transition: rotate var(--t-szybki) var(--ease); }
.hk-menu__strzalka[aria-expanded="true"] .hk-ikona { rotate: 180deg; }
.hk-menu__panel {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 10;
	min-width: 240px; padding: 10px;
	background: #fff; border-radius: 20px;
	border-top: 6px solid var(--akcent, var(--granat));
	box-shadow: 0 22px 48px -20px rgba(20, 35, 63, 0.45), 0 2px 0 rgba(20, 35, 63, 0.06);
	opacity: 0; visibility: hidden; translate: 0 6px;
	transition: opacity var(--t-szybki) var(--ease), translate var(--t-szybki) var(--ease), visibility 0s linear var(--t-szybki);
}
.hk-menu__panel ul { list-style: none; }
.hk-menu__panel a {
	display: block; padding: 9px 14px; border-radius: 12px;
	font-weight: 700; color: var(--granat); text-decoration: none;
}
.hk-menu__panel a:hover { background: var(--papier); color: var(--akcent); }
.hk-menu__poz.otwarte .hk-menu__panel,
.hk-menu__poz:focus-within .hk-menu__panel { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
@media (hover: hover) {
	.hk-menu__poz[data-rozwijane]:hover .hk-menu__panel { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
}

.hk-naglowek__akcje { display: flex; align-items: center; gap: 14px; }
.hk-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--f-naglowki); font-weight: 700; font-size: 1.0625rem; color: var(--granat); text-decoration: none; white-space: nowrap; }
.hk-tel .hk-ikona { color: var(--i-czerwony); }
.hk-tel:hover { color: var(--i-czerwony); }
.hk-naglowek__akcje .hk-btn { white-space: nowrap; }


.hk-burger {
	display: none; place-items: center;
	width: 48px; height: 48px; padding: 0;
	border: 2px solid var(--granat); border-radius: 14px; background: #fff; cursor: pointer;
}
.hk-burger__k, .hk-burger__k::before, .hk-burger__k::after {
	display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--granat); content: '';
}
.hk-burger__k { position: relative; }
.hk-burger__k::before { position: absolute; top: -7px; }
.hk-burger__k::after { position: absolute; top: 7px; }

@media (max-width: 1239px) {
	.hk-menu { display: none; }
	.hk-burger { display: grid; }
	.hk-naglowek__akcje { margin-left: auto; }
}
@media (max-width: 639px) {
	:root { --naglowek-h: 66px; }
	.hk-tel span { display: none; }
	.hk-tel { width: 48px; height: 48px; justify-content: center; border-radius: 14px; background: #fff; border: 2px solid var(--i-czerwony); }
	.hk-naglowek__akcje .hk-btn { display: none; }
	.hk-logo img { width: 168px; }
	.hk-naglowek__w { gap: 12px; }
}

/* menu na telefonie: pełny ekran */
.hk-mobilne {
	position: fixed; inset: 0; z-index: 9999;
	background: #fff;
	overflow-y: auto; overscroll-behavior: contain;
	translate: 100% 0;
	transition: translate 320ms var(--ease);
}
.hk-mobilne.otwarte { translate: 0 0; }
.hk-mobilne__w { display: flex; flex-direction: column; min-height: 100%; padding: 14px clamp(16px, 4vw, 32px) 28px; }
.hk-mobilne__gora { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 18px; }
.hk-mobilne__gora img { width: 168px; }
.hk-mobilne__zamknij { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--granat); border-radius: 14px; background: #fff; cursor: pointer; }
.hk-mobilne__lista { list-style: none; display: grid; gap: 10px; }
.hk-mobilne__poz details, .hk-mobilne__link { border-radius: 18px; background: var(--papier); }
.hk-mobilne__poz summary, .hk-mobilne__link {
	display: flex; align-items: center; gap: 14px;
	min-height: 60px; padding: 10px 16px;
	font-family: var(--f-naglowki); font-weight: 700; font-size: 1.25rem;
	color: var(--granat); text-decoration: none; cursor: pointer; list-style: none;
}
.hk-mobilne__poz summary::-webkit-details-marker { display: none; }
.hk-mobilne__strz { margin-left: auto; transition: rotate var(--t-szybki) var(--ease); }
.hk-mobilne__poz details[open] .hk-mobilne__strz { rotate: 180deg; }
.hk-mobilne__poz details ul { list-style: none; padding: 0 12px 12px 68px; display: grid; }
.hk-mobilne__poz details a { display: block; padding: 10px 4px; min-height: 44px; font-weight: 700; color: var(--granat); text-decoration: none; border-bottom: 1px solid var(--linia); }
.hk-mobilne__poz details li:last-child a { border-bottom: 0; }
.hk-mobilne__dol { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
body.menu-otwarte { overflow: hidden; }

/* ------------------------------------------------------------- sekcje i tła */
.hk-sekcja { position: relative; padding-block: var(--sekcja); overflow-x: clip; }
/* tor siatki 1fr = minmax(auto, 1fr): bez min-width 0 długa opcja listy rozpycha kolumnę (320 px, +33 px) */
.hk-hero__siatka > *, .hk-glowa__siatka > *, .hk-zapisy__siatka > *, .hk-kontakt-ed__siatka > *, .hk-form__siatka > *, .hk-wsparcie__siatka > *, .hk-ed-pas__siatka > *, .hk-ed-zapr__siatka > * { min-width: 0; }
.hk-pole select { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 599px) {
	.hk-ramka--plaska, .hk-ramka--glowa, .hk-cecha--wyrozniona { rotate: 0deg; }
	.hk-hero__kolaz { padding-inline: 6px; }
}
.hk-sekcja--bialy { background: var(--bialy); }
.hk-sekcja--granat { background: var(--granat); color: var(--na-ciemnym); }
.hk-sekcja--granat p { color: var(--na-ciemnym-2); }
.hk-sekcja--niebieski-logo { background: var(--logo-niebieski); }
.hk-sekcja--pomaranczowy-logo { background: var(--logo-pomaranczowy); }
.hk-sekcja--pole-zielony { background: var(--p-zielony); }
.hk-sekcja--pole-pomaranczowy { background: var(--p-pomaranczowy); }
.hk-sekcja--pole-niebieski { background: var(--p-niebieski); }
.hk-sekcja--pole-turkusowy { background: var(--p-turkusowy); }
.hk-sekcja--pole-czerwony { background: var(--p-czerwony); }
/* niebieskie na niebieskim polu ginie: przycisk i klocek w granat, ramka w biel */
.hk-sekcja--pole-niebieski .hk-btn--niebieski { --tlo: var(--granat); }
.hk-sekcja--pole-niebieski .hk-klocek--niebieski { --kolor-klocka: var(--granat); }
.hk-sekcja--pole-niebieski .hk-ramka--niebieski { --kolor-ramki: #fff; }
.hk-sekcja--niebieski-logo .hk-nadtytul,
.hk-sekcja--pomaranczowy-logo .hk-nadtytul,
.hk-sekcja--pole .hk-nadtytul { color: var(--granat); }

.hk-sekcja__glowa { display: grid; gap: 16px 48px; margin-bottom: 32px; }
@media (min-width: 900px) { .hk-sekcja__glowa { margin-bottom: 48px; } }
.hk-sekcja__glowa .hk-nadtytul { margin-bottom: 0; }
@media (min-width: 900px) {
	.hk-sekcja__glowa:has(.hk-sekcja__lead) { grid-template-columns: 5fr 7fr; align-items: end; }
	.hk-sekcja__glowa:has(.hk-sekcja__lead) .hk-nadtytul { grid-column: 1 / -1; }
	.hk-sekcja__glowa .hk-sekcja__lead { margin: 0; }
}
.hk-sekcja__glowa--srodek { text-align: center; justify-items: center; }
@media (min-width: 900px) {
	.hk-sekcja__glowa--srodek:has(.hk-sekcja__lead) { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- pierwszy ekran */
.hk-hero { position: relative; padding-block: clamp(36px, 5vw, 72px) clamp(56px, 6vw, 88px); overflow: clip; }
.hk-hero__siatka { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hk-hero__siatka { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.hk-hero__tytul { font-size: var(--fs-h1); line-height: 1.08; margin-bottom: 18px; }
.hk-nadtytul--hero { color: var(--i-czerwony); font-size: 1.125rem; }
.hk-hero__fakty { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; list-style: none; font-weight: 700; color: var(--tekst-2); }
.hk-hero__fakty li { display: inline-flex; align-items: center; gap: 8px; }
.hk-hero__fakty .hk-ikona { color: var(--i-niebieski); }
.hk-hero__skroty { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; list-style: none; }
.hk-hero__skroty a {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	font-family: var(--f-naglowki); font-weight: 700; color: var(--granat); text-decoration: none;
}
.hk-hero__skroty a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* kolaż: trzy zdjęcia w ramkach-klockach */
.hk-hero__kolaz { position: relative; aspect-ratio: 1 / 0.98; }
.hk-ramka {
	--kolor-ramki: var(--k-niebieski);
	position: relative; display: block;
	border: clamp(5px, 0.45vw, 7px) solid var(--kolor-ramki);
	border-radius: clamp(22px, 2.4vw, 34px);
	background: var(--kolor-ramki);
	box-shadow: var(--cien-karty);
	text-decoration: none; color: var(--granat);
}
.hk-ramka--zielony { --kolor-ramki: var(--k-zielony); }
.hk-ramka--pomaranczowy { --kolor-ramki: var(--k-pomaranczowy); }
.hk-ramka--niebieski { --kolor-ramki: var(--k-niebieski); }
.hk-ramka--turkusowy { --kolor-ramki: var(--k-turkusowy); }
.hk-ramka--czerwony { --kolor-ramki: var(--k-czerwony); }
.hk-ramka__foto { display: block; aspect-ratio: 1; overflow: hidden; border-radius: calc(clamp(22px, 2.4vw, 34px) - 6px); }
.hk-ramka__foto--3x2 { aspect-ratio: 3 / 2; }
.hk-ramka__foto--4x3 { aspect-ratio: 4 / 3; }
.hk-ramka__foto picture, .hk-ramka__foto img { width: 100%; height: 100%; object-fit: cover; }
.hk-ramka__etykieta {
	position: absolute; left: 50%; bottom: -22px; translate: -50% 0;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 18px 6px 8px; border-radius: 999px; background: #fff;
	font-family: var(--f-naglowki); font-weight: 800; font-size: 1.0625rem; white-space: nowrap;
	box-shadow: var(--cien-lekki), 0 0 0 1px rgba(20, 35, 63, 0.06);
}
.hk-hero__kolaz .hk-ramka { position: absolute; width: 47%; transition: rotate var(--t-sredni) var(--ease), translate var(--t-sredni) var(--ease); }
.hk-hero__kolaz .hk-ramka--1 { left: 1%; top: 1%; width: 46%; rotate: -5deg; z-index: 2; }
.hk-hero__kolaz .hk-ramka--2 { right: 0; top: 8%; width: 44%; rotate: 4deg; z-index: 1; }
.hk-hero__kolaz .hk-ramka--3 { left: 19%; top: 54%; width: 43%; rotate: -2deg; z-index: 3; }
.hk-hero__kolaz .hk-ramka { transition: rotate var(--t-sredni) var(--ease), transform var(--t-sredni) var(--ease), box-shadow var(--t-sredni) var(--ease); }
.hk-hero__kolaz .hk-ramka:hover { rotate: 0deg; transform: translateY(-6px); box-shadow: 0 1px 2px rgba(20, 35, 63, 0.08), 0 30px 48px -24px rgba(20, 35, 63, 0.55); z-index: 4; }
@media (max-width: 999px) {
	.hk-hero__kolaz { aspect-ratio: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 30px; }
	.hk-hero__kolaz .hk-ramka { position: relative; width: auto; inset: auto; }
	.hk-hero__kolaz .hk-ramka--2 { width: auto; top: 14px; }
	.hk-hero__kolaz .hk-ramka--3 { width: auto; }
	.hk-ramka__etykieta { font-size: 0.875rem; padding: 4px 10px 4px 4px; gap: 6px; bottom: -20px; }
	.hk-ramka__etykieta .hk-klocek { --rozmiar: 26px; font-size: 14px; }
}
@media (max-width: 479px) {
	.hk-ramka__etykieta { display: none; }
	.hk-hero__kolaz { padding-bottom: 10px; }
}

/* ------------------------------------------------------------- karty placówek */
.hk-wybor .hk-h2 { color: var(--granat); }
.hk-karty { display: grid; gap: clamp(22px, 2.4vw, 32px); }
@media (min-width: 760px) and (max-width: 1099px) { .hk-karty { grid-template-columns: 1fr 1fr; } .hk-karta:last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hk-karty { grid-template-columns: repeat(3, 1fr); } }
.hk-karta {
	--akcent: var(--k-niebieski); --akcent-i: var(--i-niebieski); --akcent-j: var(--j-niebieski);
	position: relative; display: flex; flex-direction: column;
	padding: 12px; border-radius: var(--r-karta);
	background: #fff; box-shadow: var(--cien-karty);
	transition: transform var(--t-sredni) var(--ease);
}
/* hover na transform, wejście na translate: osobne właściwości (CLAUDE.md, fill-mode both) */
.hk-karta:hover { transform: translateY(-4px); }
.hk-karta--zielony { --akcent: var(--k-zielony); --akcent-i: var(--i-zielony); --akcent-j: var(--j-zielony); }
.hk-karta--pomaranczowy { --akcent: var(--k-pomaranczowy); --akcent-i: var(--i-pomaranczowy); --akcent-j: var(--j-pomaranczowy); }
.hk-karta--niebieski { --akcent: var(--k-niebieski); --akcent-i: var(--i-niebieski); --akcent-j: var(--j-niebieski); }
.hk-karta__foto { position: relative; }
.hk-karta__foto picture { aspect-ratio: 3 / 2; overflow: hidden; border-radius: calc(var(--r-karta) - 10px); }
.hk-karta__foto img { width: 100%; height: 100%; object-fit: cover; }
.hk-karta__foto .hk-klocek { position: absolute; left: 22px; bottom: -26px; box-shadow: 0 0 0 5px #fff; }
.hk-karta__tresc { display: flex; flex-direction: column; flex: 1; padding: 38px 14px 14px; }
.hk-karta__tytul { font-size: 1.75rem; color: var(--akcent-i); margin-bottom: 8px; }
.hk-karta__tytul a { text-decoration: none; }
.hk-karta__tytul a:hover { color: var(--granat); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hk-karta__tytul a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.hk-karta__opis { color: var(--tekst-2); }
.hk-fakty { margin: 6px 0 22px; padding: 6px 16px; border-radius: var(--r-maly); background: var(--akcent-j); }
.hk-fakty div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding-block: 10px; border-bottom: 2px dashed rgba(20, 35, 63, 0.14); }
.hk-fakty div:last-child { border-bottom: 0; }
.hk-fakty dt { font-family: var(--f-naglowki); font-weight: 700; color: var(--akcent-i); }
.hk-fakty dd { margin: 0; font-size: 1rem; line-height: 1.45; }
.hk-karta .hk-btn { margin-top: auto; position: relative; z-index: 1; pointer-events: none; }

/* ------------------------------------------------------------- dlaczego (granat) */
.hk-dlaczego .hk-h2 { color: #fff; }
.hk-kafle { display: grid; gap: clamp(18px, 2vw, 28px); list-style: none; }
@media (min-width: 640px) { .hk-kafle { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .hk-kafle { grid-template-columns: repeat(3, 1fr); } }
.hk-kafel { padding: 28px; border-radius: var(--r-karta); background: var(--granat-2); border: 2px solid rgba(255, 255, 255, 0.08); }
.hk-kafel .hk-klocek { margin-bottom: 20px; }
.hk-kafel__tytul { font-size: var(--fs-h3); color: #fff; margin-bottom: 8px; }

/* ------------------------------------------------------------- edukacja domowa: pas na głównej */
.hk-ed-pas__siatka, .hk-ed-zapr__siatka { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hk-ed-pas__siatka { grid-template-columns: 1fr 1fr; } .hk-ed-zapr__siatka { grid-template-columns: 7fr 5fr; } }
.hk-ed-pas .hk-h2, .hk-ed-zapr .hk-h2 { margin-bottom: 16px; }
.hk-ramka--plaska { rotate: -2deg; }
.hk-pakiety-mini { display: grid; gap: 10px; margin: 26px 0 30px; list-style: none; }
.hk-pakiety-mini__poz {
	--akcent: var(--k-zielony); --akcent-i: var(--i-zielony);
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
	padding: 12px 18px; border-radius: var(--r-maly); background: var(--papier);
	border-left: 8px solid var(--akcent);
}
.hk-pakiety-mini__poz--pomaranczowy { --akcent: var(--k-pomaranczowy); --akcent-i: var(--i-pomaranczowy); }
.hk-pakiety-mini__poz--turkusowy { --akcent: var(--k-turkusowy); --akcent-i: var(--i-turkusowy); }
.hk-pakiety-mini__nazwa { font-family: var(--f-naglowki); font-weight: 700; font-size: 1.125rem; }
.hk-pakiety-mini__nazwa em { font-style: normal; color: var(--tekst-2); font-weight: 600; }
.hk-pakiety-mini__cena { font-family: var(--f-naglowki); font-weight: 800; font-size: 1.375rem; color: var(--akcent-i); }
.hk-pakiety-mini__cena small { font-size: 0.875rem; font-weight: 600; color: var(--tekst-2); }

/* ------------------------------------------------------------- zapisy + formularz */
.hk-zapisy__siatka { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (min-width: 1000px) { .hk-zapisy__siatka { grid-template-columns: 5fr 7fr; } }
.hk-zapisy .hk-h2 { margin-bottom: 14px; }
.hk-zapisy__ed { margin-top: 24px; font-weight: 700; }
.hk-zapisy__ed a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hk-kontakt-lista { display: grid; gap: 14px; margin-top: 28px; list-style: none; }
.hk-kontakt-lista li { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.hk-kontakt-lista a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-family: var(--f-naglowki); font-size: 1.1875rem; }
.hk-kontakt-lista a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hk-kontakt-lista--duza li { align-items: flex-start; }
.hk-kontakt-lista--duza li > span { display: grid; gap: 4px; font-size: 1.0625rem; }
.hk-kontakt-lista--duza small { font-family: var(--f-naglowki); font-size: 0.9375rem; color: var(--tekst-2); font-weight: 700; }
.hk-kontakt-lista--karta { padding: 22px; border-radius: var(--r-karta); background: #fff; box-shadow: var(--cien-karty); margin-top: 22px; }

.hk-zapisy__form, .hk-kontakt-ed .hk-zapisy__form { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-karta); background: #fff; box-shadow: var(--cien-karty); color: var(--tekst); }
.hk-form__siatka { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .hk-form__siatka { grid-template-columns: 1fr 1fr; } .hk-pole--cale { grid-column: 1 / -1; } }
.hk-pole { margin: 0; display: grid; gap: 6px; }
.hk-pole label, .hk-pole legend { font-family: var(--f-naglowki); font-weight: 700; font-size: 1.0625rem; color: var(--granat); }
.hk-pole input[type="text"], .hk-pole input[type="tel"], .hk-pole input[type="email"], .hk-pole select, .hk-pole textarea {
	width: 100%; min-height: 54px; padding: 12px 16px;
	border: 2px solid var(--linia-klik); border-radius: var(--r-przycisk);
	background: #fff; color: var(--tekst); font: inherit; font-size: 1.0625rem;
	transition: border-color var(--t-szybki) var(--ease), box-shadow var(--t-szybki) var(--ease);
}
.hk-pole textarea { min-height: 120px; resize: vertical; }
.hk-pole input:focus, .hk-pole select:focus, .hk-pole textarea:focus { outline: 0; border-color: var(--granat); box-shadow: 0 0 0 4px rgba(0, 154, 224, 0.28); }
.hk-pole ::placeholder { color: #66748C; }
.hk-pole.blad input, .hk-pole.blad select, .hk-pole.blad textarea { border-color: var(--i-czerwony); }
.hk-pole__blad { min-height: 0; color: var(--i-czerwony); font-size: var(--fs-maly); font-weight: 700; }
.hk-pole__blad:empty { display: none; }
.hk-opcja-placowki { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hk-opcja-placowki legend { margin-bottom: 8px; padding: 0; width: 100%; }
.hk-opcja-placowki__opcja { position: relative; cursor: pointer; }
.hk-opcja-placowki__opcja input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hk-opcja-placowki__opcja span {
	display: inline-flex; align-items: center; min-height: 48px; padding: 8px 18px;
	border: 2px solid var(--linia-klik); border-radius: 999px; background: #fff;
	font-family: var(--f-naglowki); font-weight: 700; color: var(--granat);
	transition: background-color var(--t-szybki) var(--ease), border-color var(--t-szybki) var(--ease), color var(--t-szybki) var(--ease);
}
.hk-opcja-placowki__opcja--zlobek { --akcent: var(--i-zielony); }
.hk-opcja-placowki__opcja--przedszkole { --akcent: var(--i-pomaranczowy); }
.hk-opcja-placowki__opcja--szkola { --akcent: var(--i-niebieski); }
.hk-opcja-placowki__opcja--ed { --akcent: var(--i-turkusowy); }
.hk-opcja-placowki__opcja:hover span { border-color: var(--akcent); }
.hk-opcja-placowki__opcja input:checked + span { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.hk-opcja-placowki__opcja input:focus-visible + span { outline: 3px solid var(--granat); outline-offset: 3px; }
.hk-zgoda { grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; }
.hk-zgoda input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--i-czerwony); }
.hk-zgoda label { font-family: var(--f-tekst); font-weight: 400; font-size: var(--fs-maly); color: var(--tekst-2); }
.hk-zgoda .hk-pole__blad { grid-column: 1 / -1; }
.hk-form__dol { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.hk-form__info { margin: 0; font-weight: 700; }
.hk-form__info.ok { color: var(--i-zielony); }
.hk-form__info.zle { color: var(--i-czerwony); }
.hk-form__pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hk-form[aria-busy="true"] button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* ------------------------------------------------------------- nagłówek podstrony */
.hk-glowa { position: relative; padding-block: clamp(36px, 4vw, 64px) clamp(48px, 5vw, 80px); background: #fff; overflow: clip; }
.hk-glowa__siatka { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hk-glowa__siatka { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hk-glowa__tytul { font-size: var(--fs-h1); line-height: 1.08; margin-bottom: 18px; }
.hk-glowa__foto { position: relative; padding: 0 12px 12px 0; }
.hk-ramka--glowa { rotate: 2.5deg; }
.hk-glowa__foto > .hk-klocek { position: absolute; left: -14px; bottom: -6px; z-index: 2; box-shadow: 0 0 0 6px #fff; }
.hk-glowa--prosta { padding-block: clamp(40px, 5vw, 72px) clamp(36px, 4vw, 56px); }
.hk-lead--haslo { font-family: var(--f-naglowki); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); color: var(--i-niebieski); }
.hk-glowa__mapa .hk-mapa { min-height: 420px; }
.hk-fb-lista { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 24px; list-style: none; }

/* podmenu przyklejone pod nagłówkiem */
.hk-podmenu {
	--akcent: var(--i-niebieski); --akcent-k: var(--k-niebieski);
	position: sticky; top: var(--naglowek-h); z-index: 90;
	background: #fff; border-top: 1px solid var(--linia); border-bottom: 4px solid var(--akcent-k);
}
.hk-podmenu--zielony { --akcent: var(--i-zielony); --akcent-k: var(--k-zielony); }
.hk-podmenu--pomaranczowy { --akcent: var(--i-pomaranczowy); --akcent-k: var(--k-pomaranczowy); }
.hk-podmenu--turkusowy { --akcent: var(--i-turkusowy); --akcent-k: var(--k-turkusowy); }
.hk-podmenu ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.hk-podmenu ul::-webkit-scrollbar { display: none; }
.hk-podmenu a {
	display: flex; align-items: center; min-height: 52px; padding: 6px 14px;
	font-family: var(--f-naglowki); font-weight: 700; color: var(--granat); text-decoration: none; white-space: nowrap;
	border-bottom: 4px solid transparent; margin-bottom: -4px;
	transition: color var(--t-szybki) var(--ease), border-color var(--t-szybki) var(--ease);
}
.hk-podmenu a:hover { color: var(--akcent); }
.hk-podmenu a.aktywny { color: var(--akcent); border-bottom-color: var(--granat); }

/* ------------------------------------------------------------- cechy placówki */
.hk-cechy { display: grid; gap: clamp(18px, 2vw, 28px); list-style: none; }
@media (min-width: 640px) { .hk-cechy { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hk-cechy:has(> li:nth-child(5)) { grid-template-columns: repeat(6, 1fr); } .hk-cechy:has(> li:nth-child(5)) > li { grid-column: span 2; } .hk-cechy:has(> li:nth-child(5)) > li:nth-child(n+4) { grid-column: span 3; } .hk-cechy:not(:has(> li:nth-child(5))) { grid-template-columns: repeat(4, 1fr); } }
.hk-cecha { padding: 28px; border-radius: var(--r-karta); background: #fff; box-shadow: var(--cien-karty); color: var(--tekst); }
.hk-cecha .hk-klocek { margin-bottom: 18px; }
.hk-cecha__tytul { font-size: var(--fs-h3); margin-bottom: 8px; }
.hk-cecha p { color: var(--tekst-2); font-size: 1.0625rem; }

/* ------------------------------------------------------------- plan dnia */
.hk-plan-sek__siatka { display: grid; gap: 32px; }
@media (min-width: 1000px) { .hk-plan-sek__siatka { grid-template-columns: 4fr 8fr; align-items: start; } .hk-plan-sek .hk-sekcja__glowa { position: sticky; top: calc(var(--naglowek-h) + 90px); grid-template-columns: 1fr; } }
.hk-plan { --akcent: var(--k-niebieski); --akcent-i: var(--i-niebieski); list-style: none; position: relative; display: grid; gap: 12px; }
.hk-plan--zielony { --akcent: var(--k-zielony); --akcent-i: var(--i-zielony); }
.hk-plan--pomaranczowy { --akcent: var(--k-pomaranczowy); --akcent-i: var(--i-pomaranczowy); }
.hk-plan li {
	position: relative; display: grid; grid-template-columns: 148px 1fr; align-items: center; gap: 18px;
	padding: 14px 20px 14px 14px; border-radius: 20px; background: #fff; box-shadow: var(--cien-lekki);
	color: var(--tekst);
}
.hk-sekcja--bialy .hk-plan li { background: var(--papier); box-shadow: none; border: 2px solid var(--linia); }
.hk-plan__czas {
	display: grid; place-items: center; min-height: 48px; padding: 6px 10px; border-radius: 14px;
	background: var(--akcent); color: #fff;
	font-family: var(--f-naglowki); font-weight: 800; font-size: 1.1875rem; line-height: 1; white-space: nowrap;
}
.hk-plan li:nth-child(even) .hk-plan__czas { rotate: 1.5deg; }
.hk-plan li:nth-child(odd) .hk-plan__czas { rotate: -1.5deg; }
.hk-plan__opis { font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 559px) { .hk-plan li { grid-template-columns: 1fr; gap: 10px; } .hk-plan__czas { justify-self: start; } }

/* ------------------------------------------------------------- posiłki */
.hk-posilki__siatka { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hk-posilki__siatka { grid-template-columns: 4fr 8fr; gap: 64px; } }
.hk-posilki__znak { position: relative; display: grid; place-items: center; min-height: 220px; }
.hk-posilki__znak .hk-klocek--m { position: absolute; }
.hk-posilki__znak .hk-klocek--m:nth-of-type(2) { right: 18%; top: 10%; }
.hk-posilki__znak .hk-klocek--m:nth-of-type(3) { left: 16%; bottom: 8%; }
.hk-posilki .hk-h2 { margin-bottom: 16px; }
.hk-posilki .hk-btn { margin-top: 24px; }
.hk-sekcja--granat .hk-posilki .hk-h2, .hk-sekcja--granat.hk-posilki .hk-h2 { color: #fff; }

/* ------------------------------------------------------------- zajęcia dodatkowe */
.hk-zajecia__tytul { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hk-plakietka {
	--akcent: var(--k-niebieski);
	justify-self: start; display: inline-block; margin: 0; padding: 6px 16px; border-radius: 999px;
	background: #fff; border: 3px solid var(--akcent); rotate: -2deg;
	font-family: var(--f-naglowki); font-weight: 800; color: var(--granat);
}
.hk-plakietka--zielony { --akcent: var(--k-zielony); }
.hk-plakietka--pomaranczowy { --akcent: var(--k-pomaranczowy); }
.hk-zajecia { display: grid; gap: 14px; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hk-zajecia { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hk-zajecia { grid-template-columns: repeat(3, 1fr); } }
.hk-zajecia--opisy { gap: 20px; }
.hk-zajecie { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: var(--cien-lekki); color: var(--tekst); }
.hk-sekcja--bialy .hk-zajecie { background: var(--papier); box-shadow: none; border: 2px solid var(--linia); }
.hk-zajecia--opisy .hk-zajecie { align-items: flex-start; padding: 22px; }
.hk-zajecie__nazwa { font-size: 1.1875rem; }
.hk-zajecia--opisy .hk-zajecie__nazwa { margin-bottom: 6px; }
.hk-zajecie p { font-size: 1.0625rem; color: var(--tekst-2); }
.hk-sekcja--granat .hk-zajecie p { color: var(--tekst-2); }

/* ------------------------------------------------------------- angielski */
.hk-angielski__siatka { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hk-angielski__siatka { grid-template-columns: 4fr 8fr; gap: 64px; } }
.hk-angielski__znak { display: grid; place-items: center; }
.hk-angielski__znak .hk-klocek { --rozmiar: clamp(72px, 6vw + 24px, 104px); font-size: calc(var(--rozmiar) * 0.52); margin-right: -8px; }
.hk-angielski .hk-h2 { margin-bottom: 16px; }
.hk-sekcja--granat.hk-angielski .hk-h2 { color: #fff; }

/* ------------------------------------------------------------- galeria */
.hk-galeria { display: grid; gap: 16px; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.hk-galeria__poz a { display: block; overflow: hidden; border-radius: 22px; border: 6px solid #fff; box-shadow: var(--cien-karty); }
.hk-galeria__poz:nth-child(odd) a { rotate: -1deg; }
.hk-galeria__poz:nth-child(even) a { rotate: 1.2deg; }
.hk-galeria__poz picture, .hk-galeria__poz img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale 400ms var(--ease); }
.hk-galeria__poz a:hover img { scale: 1.04; }

/* ------------------------------------------------------------- FAQ */
.hk-faq-sek__siatka { display: grid; gap: 28px; }
@media (min-width: 1000px) { .hk-faq-sek__siatka { grid-template-columns: 4fr 8fr; align-items: start; } .hk-faq-sek .hk-sekcja__glowa { grid-template-columns: 1fr; } }
.hk-faq { --akcent: var(--k-niebieski); display: grid; gap: 12px; }
.hk-faq--zielony { --akcent: var(--k-zielony); }
.hk-faq--pomaranczowy { --akcent: var(--k-pomaranczowy); }
.hk-faq--turkusowy { --akcent: var(--k-turkusowy); }
.hk-faq__poz { border-radius: 20px; background: #fff; border: 2px solid var(--linia-klik); color: var(--tekst); }
.hk-sekcja--bialy .hk-faq__poz { background: var(--papier); }
/* na kolorowym polu obwódka klikalnego musi mieć 3:1 wobec pola, nie wobec bieli karty */
.hk-sekcja--pole .hk-faq__poz, .hk-sekcja--niebieski-logo .hk-faq__poz, .hk-sekcja--pomaranczowy-logo .hk-faq__poz { border-color: var(--granat); }
.hk-faq__poz summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 14px 18px 14px 22px; cursor: pointer; list-style: none;
	font-family: var(--f-naglowki); font-weight: 700; font-size: 1.1875rem; line-height: 1.25;
}
.hk-faq__poz summary::-webkit-details-marker { display: none; }
.hk-faq__znak {
	display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 24%;
	background: var(--akcent); color: #fff;
	transition: rotate var(--t-sredni) var(--ease);
}
.hk-faq__poz[open] .hk-faq__znak { rotate: 45deg; }
.hk-faq__odp { padding: 0 22px 20px; color: var(--tekst-2); font-size: 1.0625rem; }
.hk-faq__poz summary:hover { color: var(--i-niebieski); }

/* ------------------------------------------------------------- edukacja domowa */
.hk-wsparcie__siatka { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hk-wsparcie__siatka { grid-template-columns: 6fr 6fr; gap: 56px; } }
.hk-wsparcie .hk-h2 { margin-bottom: 18px; }
.hk-wsparcie__kafle { display: grid; gap: 16px; list-style: none; }
@media (min-width: 560px) { .hk-wsparcie__kafle { grid-template-columns: 1fr 1fr; } }
.hk-wsparcie__kafle .hk-cecha { padding: 22px; }
.hk-cecha--wyrozniona { background: var(--granat); color: #fff; rotate: 1.5deg; }
.hk-cecha--wyrozniona p { color: var(--na-ciemnym-2); }

.hk-pakiety { display: grid; gap: clamp(22px, 2.4vw, 32px); align-items: stretch; }
@media (min-width: 1000px) { .hk-pakiety { grid-template-columns: repeat(3, 1fr); } }
.hk-pakiet {
	--akcent: var(--k-zielony); --akcent-i: var(--i-zielony); --akcent-j: var(--j-zielony);
	position: relative; display: flex; flex-direction: column;
	border: 3px solid var(--akcent); border-radius: var(--r-karta); background: #fff;
	box-shadow: var(--cien-karty);
	padding: 0 0 24px;
}
.hk-pakiet--pomaranczowy { --akcent: var(--k-pomaranczowy); --akcent-i: var(--i-pomaranczowy); --akcent-j: var(--j-pomaranczowy); }
.hk-pakiet--turkusowy { --akcent: var(--k-turkusowy); --akcent-i: var(--i-turkusowy); --akcent-j: var(--j-turkusowy); }
.hk-pakiet__znacznik {
	position: absolute; top: -18px; right: 20px; z-index: 1; rotate: 4deg;
	padding: 6px 16px; border-radius: 12px; background: var(--granat); color: #fff;
	font-family: var(--f-naglowki); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.9375rem;
}
.hk-pakiet__glowa { padding: 28px 26px 22px; border-radius: calc(var(--r-karta) - 6px) calc(var(--r-karta) - 6px) 0 0; background: var(--akcent-j); }
.hk-pakiet__glowa .hk-klocek { margin-bottom: 16px; }
.hk-pakiet__nazwa { font-size: 1.5rem; }
.hk-pakiet__nazwa span { display: block; font-size: 1.125rem; color: var(--tekst-2); font-weight: 600; }
.hk-pakiet__cena { margin: 14px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.hk-pakiet__cena strong { font-family: var(--f-naglowki); font-weight: 800; font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem); line-height: 1; color: var(--akcent-i); }
.hk-pakiet__cena span { color: var(--tekst-2); font-weight: 700; }
.hk-pakiet__opis { font-weight: 700; margin: 0; }
.hk-pakiet__dla, .hk-pakiet__zawiera { padding: 22px 26px 0; }
.hk-pakiet h4 { font-size: 1.1875rem; margin-bottom: 8px; color: var(--akcent-i); }
.hk-pakiet__dla p { color: var(--tekst-2); font-size: 1.0625rem; }
.hk-pakiet__wstep { font-weight: 700; font-size: 1.0625rem; margin-bottom: 10px; }
.hk-ptaszki { display: grid; gap: 12px; list-style: none; font-size: 1.0625rem; line-height: 1.5; }
.hk-ptaszki li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.hk-ptaszki__znak { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 8px; background: var(--akcent); color: #fff; }
.hk-ptaszki strong { font-weight: 700; color: var(--granat); }
.hk-pakiet__przycisk { margin: 26px 26px 0; width: auto; }
.hk-pakiet__zawiera { flex: 1; }

.hk-rekrutacja-ed .hk-h2 { color: #fff; }
.hk-rekrutacja-ed__siatka { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hk-rekrutacja-ed__siatka { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hk-rekrutacja-ed__pod { font-family: var(--f-naglowki); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); color: var(--logo-zielony) !important; margin-top: 10px; }
.hk-kroki { display: grid; gap: 12px; list-style: none; margin-bottom: 24px; }
.hk-kroki li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: var(--granat-2); font-family: var(--f-naglowki); font-weight: 700; font-size: 1.125rem; }

.hk-kontakt-ed__siatka { display: grid; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (min-width: 1000px) { .hk-kontakt-ed__siatka { grid-template-columns: 7fr 5fr; } }

/* ------------------------------------------------------------- mapa */
.hk-mapa { position: relative; min-height: 320px; border-radius: var(--r-karta); overflow: hidden; background: #EAF3E4; box-shadow: var(--cien-karty); }
.hk-mapa__zaslona {
	position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
	background:
		linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 180px 180px,
		linear-gradient(0deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 180px 180px,
		linear-gradient(135deg, transparent 49%, #F7E9C8 49%, #F7E9C8 52%, transparent 52%) 0 0 / 420px 420px,
		#E3F0DB;
}
.hk-mapa__pin .hk-klocek { --rozmiar: 72px; }
.hk-mapa__adres { margin: 0; padding: 12px 20px; border-radius: 16px; background: #fff; box-shadow: var(--cien-lekki); color: var(--tekst); font-size: 1.0625rem; }
.hk-mapa__akcje { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.9); }
.hk-mapa__uwaga { margin: 0; padding: 4px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.9); font-size: var(--fs-maly); color: var(--tekst-2); }
.hk-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------- treść długa i wpisy */
.hk-proza { font-size: var(--fs-tekst); }
.hk-proza--karta { padding: clamp(24px, 4vw, 56px); border-radius: var(--r-karta); background: #fff; box-shadow: var(--cien-karty); }
.hk-proza h2 { font-size: var(--fs-h2); margin: 48px 0 12px; }
.hk-proza > h2:first-child { margin-top: 0; }
/* kolumna z kontaktem skraca wiersz prozy bez max-width na tekście (bramka czytelnosc.py) */
.hk-strona__siatka { display: grid; gap: 32px; align-items: start; }
.hk-strona__siatka > * { min-width: 0; }
@media (min-width: 1000px) { .hk-strona__siatka { grid-template-columns: 4fr 8fr; gap: 48px; } .hk-strona__bok { position: sticky; top: calc(var(--naglowek-h) + 24px); } }
.hk-strona__bok .hk-kontakt-lista--karta { margin-top: 0; }
.hk-proza h3 { font-size: var(--fs-h3); margin: 32px 0 8px; }
.hk-proza ul, .hk-proza ol { padding-left: 1.4em; margin-bottom: 1em; }
.hk-proza a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hk-proza__foto { margin: 0 0 28px; border-radius: 20px; overflow: hidden; }
.hk-wpisy { display: grid; gap: 24px; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.hk-wpis { border-radius: var(--r-karta); background: #fff; box-shadow: var(--cien-karty); overflow: hidden; }
.hk-wpis__foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hk-wpis__tresc { padding: 22px 24px 26px; }
.hk-wpis time { font-weight: 700; color: var(--tekst-2); font-size: var(--fs-maly); }
.hk-wpis__tytul { font-size: var(--fs-h3); margin: 6px 0 10px; }
.hk-wpis__tytul a { text-decoration: none; }
.hk-wpis__tytul a:hover { color: var(--i-niebieski); }

/* ------------------------------------------------------------- stopka */
.hk-stopka { position: relative; background: var(--granat); color: var(--na-ciemnym-2); padding-top: clamp(64px, 6vw, 96px); }
.hk-stopka__klocki { position: absolute; top: -22px; left: 50%; translate: -50% 0; display: flex; gap: 6px; }
.hk-stopka__siatka { display: grid; gap: 40px 32px; padding-bottom: 48px; }
@media (min-width: 760px) { .hk-stopka__siatka { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hk-stopka__siatka { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.hk-stopka__marka img { width: 260px; margin-bottom: 20px; }
.hk-stopka__tytul { font-size: 1.25rem; color: #fff; margin-bottom: 14px; }
.hk-stopka ul { list-style: none; display: grid; gap: 4px; }
.hk-stopka a { color: #fff; text-decoration: none; }
.hk-stopka__kol a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.hk-stopka a { transition: color var(--t-szybki) var(--ease); }
.hk-stopka a:hover { color: var(--logo-niebieski); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hk-stopka__fb { margin-top: 18px; }
.hk-stopka__fb a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.hk-stopka__adres address { display: grid; gap: 10px; margin-top: 14px; }
.hk-stopka__adres address > * { display: flex; align-items: flex-start; gap: 10px; }
.hk-stopka__adres address > a { align-items: center; min-height: 44px; }
.hk-stopka__adres address > a .hk-ikona { margin-top: 0; }
.hk-stopka__adres .hk-ikona { margin-top: 4px; color: var(--logo-niebieski); }
.hk-stopka__dol { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: var(--fs-maly); }
.hk-stopka__dol p { margin: 0; }
.hk-stopka__dol a { display: inline-block; padding-block: 12px; }

/* ------------------------------------------------------------- telefon na telefonach, ciasteczka */
.hk-dzwon {
	position: fixed; right: 16px; bottom: 16px; z-index: 90;
	display: none; place-items: center; width: 60px; height: 60px; border-radius: 22px;
	background: var(--i-czerwony); color: #fff; box-shadow: 0 6px 0 rgba(20, 35, 63, 0.3), 0 14px 30px -10px rgba(20, 35, 63, 0.5);
	opacity: 0; translate: 0 16px; pointer-events: none;
	transition: opacity var(--t-sredni) var(--ease), translate var(--t-sredni) var(--ease);
}
.hk-dzwon.widoczny { opacity: 1; translate: 0 0; pointer-events: auto; }
.hk-dzwon .hk-ikona { animation: hkDzwon 2.6s ease-in-out infinite; }
@keyframes hkDzwon { 0%, 70%, 100% { rotate: 0deg; } 75% { rotate: -14deg; } 80% { rotate: 12deg; } 85% { rotate: -8deg; } 90% { rotate: 6deg; } }
@media (max-width: 899px) { .hk-dzwon { display: grid; } }

.hk-cookies {
	position: fixed; left: 16px; bottom: 16px; z-index: 95;
	display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap;
	width: min(560px, calc(100vw - 32px)); padding: 14px 18px;
	border-radius: 18px; background: #fff; color: var(--tekst); box-shadow: 0 18px 40px -16px rgba(20, 35, 63, 0.55), 0 0 0 2px var(--linia);
	font-size: var(--fs-maly); line-height: 1.45;
}
.hk-cookies p { flex: 1 1 260px; margin: 0; }
.hk-cookies a { font-weight: 700; }
@media (max-width: 899px) { .hk-cookies { left: 12px; bottom: 12px; width: calc(100vw - 96px); } }

/* ------------------------------------------------------------- powiększenie zdjęcia */
.hk-lightbox { padding: 0; border: 0; border-radius: 20px; background: transparent; max-width: min(1200px, 94vw); }
.hk-lightbox::backdrop { background: rgba(20, 35, 63, 0.86); }
.hk-lightbox img { max-height: 86vh; width: auto; border-radius: 20px; }
.hk-lightbox__x { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border: 0; border-radius: 14px; background: #fff; color: var(--granat); font-size: 30px; line-height: 1; cursor: pointer; }

/* ------------------------------------------------------------- ruch */
.hk-js .hk-wejscie { opacity: 0; translate: 0 16px; }
.hk-js .hk-wejscie.widoczne { opacity: 1; translate: none; animation: hkWejscie 520ms var(--ease) backwards; }
@keyframes hkWejscie { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
