/*
Theme Name: WLK
Theme URI: https://laboratorium-kompetencji.pl
Description: Wielkopolskie Laboratorium Kompetencji. Motyw pisany ręcznie według projektu z Figmy „Laboratorium Kompetencji - Final" (14 ekranów, 1440 px). Bez Elementora, bez WooCommerce. Źródło: projekty/www-wlk/.
Author: Fundacja Laboratorium Marzeń (@cto)
Version: 0.1.0
Text Domain: wlk
*/

/* ===== 1. TOKENY (1:1 z Figmy, get_variable_defs 16.09.2026) ===== */
:root {
	/* Granat Z LOGO WLK (dlon), nie elektryczny kobalt z Figmy (decyzja Jolanty 17.09: kolory pod logo i marke). Uzywany tylko jako akcent. */
	--cobalt-700: #082c6a;
	--cobalt-500: #0f3f8e;
	--cobalt-300: #3a63b3;
	--cobalt-200: #9fb3d9;
	/* Kontrast WCAG AA (audyt UX 17.09): tekst i przyciski na ciemniejszym pomaranczu, jak na laboratoriummarzen.pl (#b05000). Jasne pomarancze zostaja do tla i dekoracji. */
	--pumpkin-700: #b05000;
	--pumpkin-650: #c2540f;
	--grad-cta: linear-gradient(28deg, var(--pumpkin-650) 0%, var(--pumpkin-700) 100%);
	--pumpkin-600: #eb6e29;
	--pumpkin-500: #ff7100;
	--pumpkin-300: #ff9e51;
	--pumpkin-200: #ffbb85;
	--pumpkin-100: #ffead9;
	--sun-700: #9a6f00;
	--sun-500: #ffc11f;
	--sun-300: #ffd870;
	--sun-200: #ffe8ad;
	--sun-100: #fff5db;
	--grey-700: #352f2c;
	--grey-500: #6d6b6a;
	--grey-200: #f1f1f1;
	--white: #ffffff;
	--ivory: #fbf8f4;
	--ivory-80: rgba(251,248,244,.85);
	--white-80: rgba(255,255,255,.8);
	--white-32: rgba(255,255,255,.32);
	--white-16: rgba(255,255,255,.16);

	--grad-cobalt: linear-gradient(235deg, var(--cobalt-300) 0%, var(--cobalt-500) 100%);
	--grad-cobalt-section: linear-gradient(246deg, var(--cobalt-300) 0%, var(--cobalt-500) 100%);
	--grad-cobalt-footer: linear-gradient(219deg, var(--cobalt-300) 0%, var(--cobalt-500) 100%);
	--grad-pumpkin: linear-gradient(28deg, var(--pumpkin-500) 0%, var(--pumpkin-200) 100%);
	--grad-pumpkin-hero: linear-gradient(41deg, var(--pumpkin-500) 0%, var(--pumpkin-200) 100%);
	--grad-pumpkin-banner: linear-gradient(16deg, var(--pumpkin-500) 0%, var(--pumpkin-200) 100%);
	--grad-pumpkin-bg: linear-gradient(45deg, var(--pumpkin-500) 0%, var(--pumpkin-200) 100%);
	--grad-sun-strong: linear-gradient(241deg, var(--sun-200) 0%, var(--sun-300) 100%);
	--grad-sun-soft: linear-gradient(241deg, var(--sun-100) 0%, var(--sun-200) 100%);

	--shadow: 0 4px 24px rgba(109,107,106,.08);
	--border-glass: 4px solid var(--white-32);
	--r-pill: 200px;
	--r-card: 24px;
	--r-big: 32px;
	--r-hero: 240px;

	--font: "Outfit", "Segoe UI", system-ui, sans-serif;
	--pad-x: 96px;
	--wrap: 1440px;
}

/* ===== 2. BAZA ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 24px;
	color: var(--grey-700);
	/* Ciepla kosc sloniowa z briefu stylu 01.07 zamiast czystej bieli: cieplej, a biale karty i zdjecia zyskuja kontrast. */
	background: var(--ivory);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pumpkin-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--grey-700); }
h1, .h1 { font-size: 48px; line-height: 64px; }
h2, .h2 { font-size: 32px; line-height: 48px; }
h3, .h3 { font-size: 24px; line-height: 32px; font-weight: 500; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 24px; }
.small { font-size: 14px; line-height: 20px; }
.label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em; }
.muted { color: var(--grey-500); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cobalt-500); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun-500); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== 3. PRZYCISKI (pill, z Figmy: h 56, px 32) ===== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 56px; padding: 0 32px; border-radius: var(--r-pill);
	font: 600 16px/24px var(--font); text-decoration: none; cursor: pointer; border: 0;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.05); }
.btn-cobalt { background: var(--grad-cobalt); color: #fff; }
.btn-pumpkin { background: var(--grad-cta); color: #fff; }
.btn-white { background: var(--white-80); color: var(--cobalt-500); backdrop-filter: blur(12px); }
.btn-outline { background: transparent; color: var(--cobalt-500); box-shadow: inset 0 0 0 2px var(--cobalt-500); }
.btn-outline.on-dark { color: #fff; box-shadow: inset 0 0 0 2px var(--white-80); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; line-height: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pumpkin-700); }
.link-arrow:hover { text-decoration: none; gap: 12px; }
.link-arrow.cobalt { color: var(--cobalt-500); }
.link-arrow svg { width: 24px; height: 24px; flex: none; }
.icon-btn {
	width: 56px; height: 56px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 2px solid var(--pumpkin-700); color: var(--pumpkin-700); cursor: pointer;
}
.icon-btn:disabled { border-color: var(--pumpkin-200); color: var(--pumpkin-200); cursor: default; }
.icon-btn.cobalt { border-color: var(--cobalt-500); color: var(--cobalt-500); }
.icon-btn.cobalt:disabled { border-color: var(--cobalt-200); color: var(--cobalt-200); }
.icon-btn svg { width: 24px; height: 24px; }

/* ===== 4. NAWIGACJA (sticky, blur, h 120) ===== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	/* Biel jak w Figmie. Kosc sloniowa z przezroczystoscia dawala w pasku menu cielisty bez („gaciowy", uwaga Jolanty 17.09). */
	background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	border-bottom: 1px solid rgba(53,47,44,.06);
}
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.utility { background: var(--sun-100); border-bottom: 1px solid var(--sun-200); }
.utility .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 24px; height: 36px; }
.utility a { font: 500 13px/16px var(--font); color: var(--grey-700); display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--pumpkin-700); text-decoration: none; }
.utility-tel { font-weight: 600 !important; }
.utility-tel svg { width: 14px; height: 14px; color: var(--pumpkin-700); }
.logo { display: inline-flex; align-items: center; height: 56px; padding: 4px 0; }
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font: 600 15px/24px var(--font); color: var(--grey-700); padding: 8px 0; position: relative; white-space: nowrap; }
.main-nav a:hover { text-decoration: none; color: var(--pumpkin-600); }
.main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--pumpkin-500); }
.main-nav .mobile-only { display: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--pumpkin-600); }
.header-cta { display: inline-flex; }

/* Lupka: pastylka w jezyku menu (ikona + „Szukaj"), pasek w kolorach marki */
.header-tools { display: flex; align-items: center; gap: 12px; }
.search-toggle { height: 40px; padding: 0 14px 0 12px; border-radius: var(--r-pill); border: 1.5px solid var(--sun-200); background: var(--sun-100); color: var(--grey-700); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 600 15px/20px var(--font); transition: background .2s ease, border-color .2s ease; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--sun-200); border-color: var(--sun-300); color: var(--grey-700); }
.search-toggle svg { width: 18px; height: 18px; color: var(--pumpkin-600); }
.search-bar { background: linear-gradient(180deg, rgba(255,245,219,.9) 0%, rgba(255,255,255,.95) 100%); border-top: 1px solid var(--sun-200); box-shadow: 0 18px 40px rgba(53,47,44,.08); }
.search-bar[hidden] { display: none; }
.search-bar .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.search-form { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 20px; border-radius: var(--r-pill); background: #fff; border: 2px solid var(--sun-300); }
.search-form .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-pumpkin); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.search-form .ico svg { width: 18px; height: 18px; }
.search-form input[type="search"] { flex: 1; border: 0; background: transparent; font: 400 18px/24px var(--font); color: var(--grey-700); outline: none; min-width: 0; }
.search-form input[type="search"]::placeholder { color: var(--grey-500); }
.search-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--grey-500); font-size: 24px; line-height: 1; cursor: pointer; }
.search-close:hover { background: var(--grey-200); color: var(--grey-700); }
.search-hints { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-left: 20px; }
.search-hints .chip { height: 32px; padding: 0 14px; font-size: 13px; background: #fff; border: 1px solid var(--sun-200); color: var(--grey-700); }
.search-hints .chip:hover { background: var(--sun-100); }

/* Wyszukiwarka kontekstowa w sekcji („Znajdź terapię") */
.find { max-width: 560px; margin: 0 auto 28px; display: flex; flex-direction: column; gap: 8px; }
.find-label { font: 600 14px/20px var(--font); color: var(--grey-700); text-align: center; }
.find-box { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 18px; border-radius: var(--r-pill); background: #fff; border: 2px solid var(--sun-200); box-shadow: var(--shadow); transition: border-color .2s ease; }
.find-box:focus-within { border-color: var(--pumpkin-300); }
.find-box .ico { color: var(--pumpkin-600); display: inline-flex; flex: none; }
.find-box .ico svg { width: 20px; height: 20px; }
.find-box input[type="search"] { flex: 1; border: 0; background: transparent; font: 400 16px/24px var(--font); color: var(--grey-700); outline: none; min-width: 0; }
.find-clear { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--grey-200); color: var(--grey-700); font-size: 20px; line-height: 1; cursor: pointer; }
.find-empty { text-align: center; margin: 0; }
.find-all { border: 0; background: transparent; color: var(--pumpkin-600); font: 600 14px/20px var(--font); cursor: pointer; text-decoration: underline; padding: 0; }
.tiles-sun .find-label { color: var(--grey-700); }
.tiles-sun .find-box { border-color: rgba(255,255,255,.8); }
.grid-3 .card-photo[hidden], .tiles .tile[hidden], .posts .post-card[hidden], .price-table tr[hidden] { display: none; }
.search-inline { display: flex; gap: 12px; margin-top: 24px; max-width: 640px; }
.search-inline input[type="search"] { flex: 1; border: 2px solid var(--grey-200); border-radius: var(--r-pill); padding: 0 20px; height: 56px; font: 400 16px/24px var(--font); background: #fff; color: var(--grey-700); min-width: 0; }
.search-inline input[type="search"]:focus { border-color: var(--pumpkin-300); outline: none; }

/* ===== 5. HERO (h 576, tło pomarańczowe z zaokrągleniem 240 na dole) ===== */
.hero { position: relative; isolation: isolate; color: #fff; }
.hero::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: -140px; z-index: -1;
	background: var(--grad-pumpkin-hero);
	border-bottom-left-radius: var(--r-hero); border-bottom-right-radius: var(--r-hero);
}
.hero .wrap { display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; gap: 40px; min-height: 576px; padding-top: 48px; padding-bottom: 96px; }
.hero-photos { display: grid; gap: 24px; }
.hero-photos figure { margin: 0; position: relative; border: var(--border-glass); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; }
.hero-photos.left figure:nth-child(1) { transform: rotate(-4deg); }
.hero-photos.left figure:nth-child(2) { transform: rotate(3deg) translateX(-24px); }
.hero-photos.right figure:nth-child(1) { transform: rotate(4deg); }
.hero-photos.right figure:nth-child(2) { transform: rotate(-3deg) translateX(24px); }
.hero-text { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-text h1 { color: #fff; }
/* Podswietlenie z Figmy: pociagniecie pedzla (kobaltowy gradient, 478x66) zamiast plaskiej pastylki. */
.hero-text h1 .pill {
	display: inline-block; color: #fff; padding: 0 28px; line-height: 64px;
	background: var(--grad-cobalt); border-radius: 16px;
	background-image: url("assets/img/pociagniecie.svg"); background-size: 100% 100%; background-repeat: no-repeat; background-position: center;
}
.hero-text .lead { color: #fff; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ===== 6. SEKCJE OGÓLNE ===== */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { flex: 1; }
.section-actions { display: flex; gap: 12px; }

/* O nas */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { border: var(--border-glass); border-top-left-radius: var(--r-big); border-bottom-right-radius: var(--r-big); overflow: hidden; height: 270px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.about-text p { align-self: stretch; }
.about-text p { color: var(--grey-500); }

/* Baner Fundacji */
.fund-banner {
	margin-top: 40px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
	background: var(--grad-pumpkin-banner); color: #fff;
	border-top-right-radius: var(--r-big); border-bottom-left-radius: var(--r-big); border-bottom-right-radius: var(--r-big);
	position: relative; overflow: hidden;
}
.fund-banner .fb-text { display: flex; flex-direction: column; gap: 8px; }
.fund-banner .fb-text h2 { color: #fff; }
.fund-banner .fb-text .link-arrow { color: #fff; }
.fund-banner .fb-arrow { flex: 1; display: flex; justify-content: center; opacity: .9; }
.fund-banner .fb-arrow img { max-width: 330px; }
.fund-banner .fb-logo { background: #fff; border-radius: 16px; padding: 32px; flex: none; }
.fund-banner .fb-logo img { height: 56px; width: auto; }

/* Przewagi: sekcja na zolci z logo (byla: elektryczny kobalt z Figmy) */
.advantages {
	background: var(--grad-sun-strong); color: var(--grey-700);
	border-top-left-radius: 80px; border-bottom-right-radius: 80px;
	padding: 80px var(--pad-x);
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px;
}
.adv { display: flex; flex-direction: column; gap: 16px; }
.adv-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); color: var(--pumpkin-600); display: inline-flex; align-items: center; justify-content: center; }
.adv-icon img, .adv-icon svg { width: 24px; height: 24px; }
.adv h3 { color: var(--grey-700); font-weight: 600; }
.adv p { color: var(--grey-700); opacity: .85; }

/* Karuzela (terapie, historie) */
.carousel { position: relative; }
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: none; }
.card-photo {
	position: relative; width: 390px; height: 320px; border-radius: var(--r-card); overflow: hidden;
	border: var(--border-glass); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end;
	color: var(--grey-700); text-decoration: none;
}
.card-photo:hover { text-decoration: none; }
.card-photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-photo:hover img.bg { transform: scale(1.04); }
.card-photo .panel {
	position: relative; margin: 8px; padding: 20px 24px; border-radius: 16px;
	background: var(--white-80); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	display: flex; flex-direction: column; gap: 4px; transition: background .25s ease, color .25s ease;
}
.card-photo .panel .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-photo .panel h3 { font-size: 18px; line-height: 24px; font-weight: 600; color: inherit; }
.card-photo .panel p { font-size: 14px; line-height: 20px; color: var(--grey-500); }
.card-photo .panel svg { width: 32px; height: 32px; flex: none; opacity: 0; transition: opacity .25s ease; }
.card-photo:hover .panel { background: var(--grad-pumpkin); color: #fff; }
.card-photo:hover .panel p { color: var(--white-80); }
.card-photo:hover .panel svg { opacity: 1; }
.card-photo.big { width: 490px; height: 384px; border-radius: var(--r-big); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 600 12px/16px var(--font); background: var(--pumpkin-100); color: var(--pumpkin-700); }
.tag.cobalt { background: var(--sun-100); color: var(--sun-700); }

/* Proces (5 kroków, karty słonecznikowe) */
.process { display: grid; grid-template-columns: 40px 1fr; gap: 24px; }
.process-rail { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; font: 600 12px/16px var(--font); color: var(--grey-500); }
.process-rail::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 50%; width: 2px; background: var(--grey-200); transform: translateX(-50%); }
.process-rail .dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--sun-500); }
.steps { display: flex; flex-direction: column; gap: 24px; }
.step {
	display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 56px; align-items: start;
	padding: 40px; border-radius: var(--r-big); border: 4px solid rgba(255,216,112,.32); background: var(--grad-sun-soft);
}
.step.is-first { background: var(--grad-sun-strong); border-color: rgba(255,193,31,.32); }
.step .label { color: var(--sun-700); }
.step h3 { margin-top: 8px; font-weight: 600; }
.step p, .step li { color: var(--grey-700); }
.step ul { margin: 12px 0 0; padding-left: 20px; }
.step-photo { border: var(--border-glass); border-radius: var(--r-card); overflow: hidden; height: 224px; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Partnerzy */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.partner img { height: 90px; width: 173px; object-fit: contain; }
.partner .small { color: var(--grey-500); }

/* Historie + baner na pomarańczowym tle */
.orange-zone { position: relative; isolation: isolate; color: #fff; }
.orange-zone::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-pumpkin-bg); border-top-left-radius: 80px; border-bottom-right-radius: 80px; }
.orange-zone h2 { color: #fff; }
.cta-banner {
	position: relative; overflow: hidden; height: 280px; border-radius: var(--r-big); border: var(--border-glass);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px; text-align: center; color: #fff;
}
.cta-banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: rgba(15,63,142,.78); z-index: -1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--white-80); max-width: 760px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact-list { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.contact-item { display: flex; align-items: center; gap: 16px; font-weight: 500; color: var(--grey-700); }
.contact-item .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-sun-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-item .ico img, .contact-item .ico svg { width: 24px; height: 24px; }
.contact-item a { color: var(--grey-700); }
.contact-item .link-arrow { margin-left: 12px; font-size: 14px; }
.contact-photo { border: var(--border-glass); border-top-right-radius: var(--r-big); border-bottom-left-radius: var(--r-big); overflow: hidden; min-height: 320px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Stopka */
.site-footer { background: var(--grad-cobalt-footer); color: #fff; border-top-left-radius: 40px; border-top-right-radius: 40px; padding: 56px 0; margin-top: 48px; }
.site-footer .footer-logo img { width: 40px; height: auto; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { color: #fff; font-weight: 500; }
.footer-contact { color: #fff; }
.footer-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom .small { color: var(--white-80); }
.pills { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-link { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--white-32); color: #fff; font: 600 12px/16px var(--font); }
.pill-link:hover { background: var(--white-16); text-decoration: none; }

/* Treść stron wewnętrznych (szablon ogólny) */
.page-hero { padding: 48px 0 40px; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { color: var(--grey-500); margin-top: 16px; max-width: 760px; }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose p, .prose li { color: var(--grey-700); margin-bottom: 16px; font-size: 18px; line-height: 28px; }
.prose ul, .prose ol { padding-left: 24px; }

/* ===== 6a. SZABLONY PODSTRON (Usługa, Trudność, Filar, Zespół, Cennik, Pierwszy krok) ===== */
.center { text-align: center; }
.crumbs { color: var(--grey-500); margin: 8px 0 16px; }
.crumbs a { color: var(--grey-500); }
.crumbs span { color: var(--grey-700); font-weight: 600; }

/* Karta hero podstrony: górna część na gradiencie (tytuł + lead + zdjęcie), dolna jasna z blokami */
.hero-card { border-radius: var(--r-big); overflow: hidden; box-shadow: var(--shadow); }
.hero-card-top { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 56px; align-items: center; padding: 56px; color: #fff; }
.hero-card.cobalt .hero-card-top { background: linear-gradient(235deg, var(--pumpkin-300) 0%, var(--pumpkin-600) 100%); }
.hero-card.sun .hero-card-top { background: var(--grad-sun-strong); color: var(--grey-700); }
.hero-card.pumpkin .hero-card-top { background: var(--grad-pumpkin-banner); }
.hero-card-text { display: flex; flex-direction: column; gap: 16px; }
.hero-card-text h1 { color: inherit; font-size: 40px; line-height: 52px; }
.hero-card-text .lead { color: inherit; opacity: .92; }
.hero-card-photo { border: var(--border-glass); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; }
.hero-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; padding: 48px 56px; }
.hero-card.cobalt .hero-card-panel { background: linear-gradient(200deg, var(--pumpkin-100) 0%, #fff7ef 100%); }
.hero-card.sun .hero-card-panel { background: var(--grad-sun-soft); }
.hero-card.pumpkin .hero-card-panel { background: linear-gradient(200deg, var(--pumpkin-100) 0%, #fff6ee 100%); }
.blok h2 { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--pumpkin-700); margin-bottom: 8px; }
.hero-card.sun .blok h2 { color: var(--sun-700); }
.hero-card.pumpkin .blok h2 { color: var(--pumpkin-600); }
.blok p { color: var(--grey-700); }

/* Szczegóły usługi: czas, cena */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { border: 2px solid var(--sun-300); background: var(--sun-100); border-radius: var(--r-card); padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 24px; line-height: 32px; color: var(--sun-700); font-weight: 600; }
.stat .small { color: var(--grey-500); }

/* Chipy */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: var(--r-pill); background: var(--pumpkin-100); color: var(--pumpkin-700); font: 600 14px/20px var(--font); text-decoration: none; }
a.chip:hover { background: var(--pumpkin-200); text-decoration: none; }
.chips.grey .chip { background: var(--grey-200); color: var(--grey-700); font-weight: 500; }
.note { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-pill); background: var(--sun-100); color: var(--sun-700); font-weight: 500; margin: 0 auto 32px; }
.note svg { width: 20px; height: 20px; }
.section-head + .note, .center.note { display: flex; width: fit-content; }

/* Karty osób */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Karta specjalisty wg Figmy: zdjecie na calym kaflu, mrozony panel u dolu, chipy zachodza na jego krawedz. */
.card-person { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; border: var(--border-glass); box-shadow: var(--shadow); min-height: 420px; aspect-ratio: 5 / 6; color: var(--grey-700); }
.card-person:hover { text-decoration: none; }
.card-person img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card-person:hover img.bg { transform: scale(1.04); }
.card-person .panel { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 20px; border-radius: 24px 24px var(--r-card) var(--r-card); background: rgba(255,255,255,.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 4px; }
.card-person .tags { gap: 6px; margin-top: -14px; margin-bottom: 6px; }
.card-person .tag { height: 26px; background: #fff; color: var(--grey-700); box-shadow: 0 2px 8px rgba(53,47,44,.10); }
.card-person h3 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--grey-700); }
.card-person p.small { color: var(--grey-500); }
.card-person.is-hidden { display: none; }
.filtr-spec { margin: 0 auto 32px; display: flex; }

/* Układy pomocnicze */
.split { display: grid; grid-template-columns: 1fr minmax(0, 490px); gap: 56px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 16px; }
.arrows { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; }
.arrows li { display: flex; align-items: center; gap: 12px; color: var(--grey-700); }
.arrows svg { width: 20px; height: 20px; color: var(--pumpkin-500); flex: none; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-3 .card-photo { width: auto; height: 320px; }
.split .card-photo.big { width: auto; }

/* Kafle trudności na słoneczniku (Figma: sekcja „Schorzenia") */
.tiles-sun { background: var(--grad-sun-strong); border-top-left-radius: 80px; border-bottom-right-radius: 80px; padding: 64px var(--pad-x); display: flex; flex-direction: column; gap: 40px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-card); color: var(--grey-700); text-decoration: none; border: 2px solid transparent; transition: background .2s ease, border-color .2s ease; }
.tile:hover { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.7); text-decoration: none; }
.tile .adv-icon { background: rgba(255,255,255,.45); border-color: rgba(255,255,255,.7); color: var(--sun-700); }
.tile .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile .row svg { width: 24px; height: 24px; color: var(--grey-700); flex: none; }
.tile h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.tile p { color: var(--grey-700); }

/* Pakiety i cennik */
.pack { background: #fff; border: 2px solid var(--grey-200); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.pack.is-main { border-color: var(--pumpkin-300); background: linear-gradient(200deg, var(--pumpkin-100) 0%, #fff 60%); }
.pack .price { font-size: 24px; font-weight: 600; color: var(--cobalt-500); }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc { background: #fff; border: 2px solid var(--grey-200); border-radius: var(--r-card); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font: 600 18px/24px var(--font); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 24px; height: 24px; color: var(--pumpkin-500); transition: transform .2s ease; }
.acc[open] summary svg { transform: rotate(90deg); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 12px 24px; border-top: 1px solid var(--grey-200); vertical-align: middle; }
.price-table .price-cell { text-align: right; font-weight: 600; white-space: nowrap; }

/* Rekrutacja (/dolacz-do-zespolu/) */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.job { background: #fff; border: 2px solid var(--grey-200); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.job.is-main { border-color: var(--pumpkin-300); background: linear-gradient(200deg, var(--pumpkin-100) 0%, #fff 60%); }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.job-head h3 { font-size: 24px; line-height: 32px; font-weight: 600; }
.job-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 4px; }
.job-cols h4 { font: 600 14px/20px var(--font); color: var(--pumpkin-700); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.job-cols ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.job-cols li { font-size: 15px; line-height: 22px; color: var(--grey-700); }
.job .btn { align-self: flex-start; margin-top: auto; }
.form-card select { width: 100%; border: 0; border-radius: 16px; background: #fff; padding: 16px 20px; font: 400 16px/24px var(--font); color: var(--grey-700); appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23352f2c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; }

/* FAQ (pytania z gabinetu) */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 2px solid var(--grey-200); border-radius: 20px; overflow: hidden; transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--sun-300); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font: 600 17px/24px var(--font); color: var(--grey-700); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; color: var(--pumpkin-700); flex: none; transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(90deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--grey-700); font-size: 17px; line-height: 26px; }

/* Pierwszy krok */
.steps-min { padding-left: 24px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.steps-min li { color: var(--grey-700); }
.booking { border-radius: var(--r-big); overflow: hidden; border: 2px solid var(--grey-200); background: #fff; min-height: 420px; box-shadow: var(--shadow); }
.booking iframe { width: 100%; height: 640px; border: 0; }
.booking-empty { padding: 40px; display: flex; flex-direction: column; gap: 12px; }
.booking-empty code { background: var(--grey-200); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* ===== 6b. O NAS, ZESPÓŁ, HISTORIE, BAZA WIEDZY, KONTAKT ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tag.light { background: var(--white-80); color: var(--grey-700); }
.hero-card.solid .hero-card-top { background: var(--grad-cobalt); }
.hero-card-photo.portrait { aspect-ratio: 7 / 8; max-width: 320px; margin-left: auto; }

/* Wartości: 6 kafli ze zdjęciem, pierwszy na kobalcie */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px; background: #fff; border-radius: var(--r-big); box-shadow: var(--shadow); }
.value { position: relative; height: 300px; border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.value img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.value .panel { position: relative; margin: 8px; padding: 16px 20px; border-radius: 16px; background: var(--white-80); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: 6px; }
.value .panel .adv-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--sun-100); border-color: transparent; color: var(--pumpkin-600); margin-top: -36px; margin-bottom: 4px; }
.value .panel .adv-icon svg { width: 20px; height: 20px; }
.value h3 { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--pumpkin-600); }
.value p { color: var(--grey-500); }
.value.is-first .panel { background: var(--grad-pumpkin); color: #fff; }
.value.is-first h3, .value.is-first p { color: #fff; }
.value.is-first .adv-icon { background: var(--white-16); color: #fff; }

/* Zakładki-pastylki */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--sun-100); flex-wrap: wrap; }
.tabs.center { margin: 0 auto; }
.tab { border: 0; background: transparent; cursor: pointer; height: 44px; padding: 0 20px; border-radius: var(--r-pill); font: 600 14px/20px var(--font); color: var(--pumpkin-600); text-decoration: none; display: inline-flex; align-items: center; }
.tab.is-active { background: var(--grad-pumpkin); color: #fff; }
.tab:hover { text-decoration: none; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* Dział badawczy: pomarańczowa sekcja z kartami */
.research { background: var(--grad-pumpkin-bg); border-top-left-radius: 80px; border-bottom-right-radius: 80px; padding: 64px var(--pad-x); display: flex; flex-direction: column; gap: 32px; color: #fff; }
.research h2 { color: #fff; }
.research .tabs { background: var(--white-80); }
.rcard { background: #fff; border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); color: var(--grey-700); }
.rcard h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.rcard p { color: var(--grey-500); }
.rcard.paper { background: linear-gradient(200deg, var(--sun-100) 0%, #fff 70%); }
.rcard .tag { align-self: flex-start; }

/* Historie */
.grid-2.stories .card-photo { width: auto; height: 380px; border-radius: var(--r-big); }
.empty-box { background: #fff; border: 2px dashed var(--grey-200); border-radius: var(--r-big); padding: 48px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* Baza wiedzy */
.featured { display: grid; grid-template-columns: minmax(0, 600px) 1fr; gap: 56px; align-items: center; margin-bottom: 40px; color: var(--grey-700); }
.featured:hover { text-decoration: none; }
.featured-img, .post-img { position: relative; border-radius: var(--r-card); overflow: hidden; border: var(--border-glass); box-shadow: var(--shadow); }
.featured-img img, .post-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.pill-cat { position: absolute; left: 16px; bottom: 16px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--white-80); backdrop-filter: blur(8px); color: var(--grey-700); font: 600 12px/32px var(--font); }
.pill-cat.static { position: static; display: inline-block; margin-bottom: 16px; background: var(--sun-100); color: var(--sun-700); }
.featured-text { display: flex; flex-direction: column; gap: 12px; }
.meta { color: var(--grey-500); display: flex; align-items: center; gap: 12px; }
.meta.center { justify-content: center; }
.meta .sep { display: inline-block; width: 32px; height: 1px; background: var(--grey-200); }
.tabs.links { display: flex; width: fit-content; margin: 0 auto 40px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.post-card { display: flex; flex-direction: column; gap: 12px; color: var(--grey-700); }
.post-card:hover { text-decoration: none; }
.post-card:hover h3 { color: var(--pumpkin-600); }
.post-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.pagination .nav-links { display: inline-flex; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 2px solid var(--pumpkin-500); color: var(--pumpkin-500); font: 600 14px/20px var(--font); }
.pagination .page-numbers.current { background: var(--pumpkin-500); color: #fff; }

/* Artykuł */
.center-col { max-width: 760px; margin: 0 auto; }
.art-head { text-align: center; }
.art-head h1 { margin: 0 auto; }
.art-hero { border-radius: var(--r-big); overflow: hidden; border: var(--border-glass); box-shadow: var(--shadow); margin-top: 32px; max-height: 420px; }
.art-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose .callout { border-radius: 16px; padding: 20px 24px; margin: 24px 0; background: var(--pumpkin-100); border: 1px solid var(--pumpkin-200); }
.prose .callout.sun { background: var(--sun-100); border-color: var(--sun-300); }
.prose blockquote { margin: 32px 0; padding: 32px; border-radius: var(--r-card); background: var(--grad-pumpkin-banner); color: #fff; font-size: 22px; line-height: 32px; font-weight: 500; }
.prose blockquote p { color: #fff; margin: 0; font-size: inherit; line-height: inherit; }
.prose img { border-radius: var(--r-card); margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; line-height: 22px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--grey-200); }
.prose th { background: var(--sun-100); color: var(--grey-700); font-weight: 600; }
.prose h3 { margin-top: 28px; }
.prose .tags { margin-top: 32px; }
.do-weryfikacji { display: inline-block; font: 600 11px/14px var(--font); color: var(--sun-700); background: var(--sun-100); border: 1px dashed var(--sun-500); border-radius: 6px; padding: 1px 6px; vertical-align: middle; }
.lm-disclaimer { font-size: 14px; line-height: 20px; color: var(--grey-500); margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--grey-200); }
@media (max-width: 720px) { .prose table { display: block; overflow-x: auto; } }
.author { display: flex; align-items: center; gap: 16px; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid var(--grey-200); }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Kontakt */
.map-link { display: flex; align-items: center; gap: 20px; padding: 32px; border-radius: var(--r-big); border: var(--border-glass); background: linear-gradient(200deg, var(--sun-100) 0%, var(--grey-200) 100%); color: var(--grey-700); min-height: 280px; box-shadow: var(--shadow); }
.map-link:hover { text-decoration: none; }
.map-pin { width: 64px; height: 64px; border-radius: 50%; background: var(--pumpkin-500); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.map-pin svg { width: 28px; height: 28px; }
.map-text { display: flex; flex-direction: column; gap: 4px; }
.sun-zone { background: var(--grad-sun-strong); border-top-left-radius: 80px; border-bottom-right-radius: 80px; padding: 64px var(--pad-x); }
.split-photo { border: var(--border-glass); border-radius: var(--r-big); overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.form-card { background: rgba(255,255,255,.55); border: 2px solid rgba(255,255,255,.7); border-radius: var(--r-big); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.form-card label { display: block; }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea { width: 100%; border: 0; border-radius: 16px; background: #fff; padding: 16px 20px; font: 400 16px/24px var(--font); color: var(--grey-700); }
.form-card textarea { resize: vertical; min-height: 140px; }
.form-card .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.form-card .check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.form-card .btn { align-self: flex-start; }
.form-card .hp { position: absolute; left: -9999px; }
.form-ok { padding: 12px 16px; border-radius: 12px; background: var(--sun-100); color: var(--sun-700); font-weight: 600; }
.form-err { padding: 12px 16px; border-radius: 12px; background: var(--pumpkin-100); color: var(--pumpkin-600); font-weight: 600; }

/* ===== 6c. WARSTWA „WOW" (@designer 17.09): ksztalty z logo, glebia, ruch ===== */
/* Gradienty z glebia: liniowy + dwa radialne rozblyski (zolc z logo, jasny pomarancz), zamiast plaskiego przejscia. */
.hero-v2::before {
	background:
		radial-gradient(60% 55% at 18% 18%, rgba(255,216,112,.5) 0%, rgba(255,216,112,0) 60%),
		radial-gradient(55% 60% at 85% 85%, rgba(255,158,81,.6) 0%, rgba(255,158,81,0) 60%),
		linear-gradient(41deg, var(--pumpkin-600) 0%, var(--pumpkin-300) 100%);
}
/* Czytelnosc tekstu hero: lekkie przyciemnienie pod kolumna tekstu (WCAG dla duzego tekstu 3:1). */
.hero-v2 .hero-text { position: relative; padding: 24px 16px; }
.hero-v2 .hero-text::before { content: ""; position: absolute; inset: -8px -24px; border-radius: 40px; background: radial-gradient(60% 60% at 50% 50%, rgba(90,35,0,.22) 0%, rgba(90,35,0,0) 100%); z-index: -1; pointer-events: none; }
.hero-shapes { position: absolute; inset: -120px 0 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.shape { position: absolute; display: block; }
.shape-heart { width: 560px; height: 560px; right: 32%; top: -80px; color: rgba(255,255,255,.14); transform: rotate(-12deg); animation: heart-breathe 9s ease-in-out infinite; }
.shape-heart svg { width: 100%; height: 100%; fill: currentColor; }
.shape-blob { border-radius: 58% 42% 45% 55% / 55% 48% 52% 45%; background: rgba(255,255,255,.08); filter: blur(2px); }
.shape-blob-1 { width: 380px; height: 340px; left: -120px; bottom: -80px; animation: blob-drift 14s ease-in-out infinite alternate; }
.shape-blob-2 { width: 300px; height: 280px; right: -90px; top: 60px; animation: blob-drift 11s ease-in-out infinite alternate-reverse; }

/* Zdjecia hero w organicznych ksztaltach (jak dlonie w logo), zamiast prostokatow pod katem. */
.hero-v2 .hero-photos { gap: 28px; }
.hero-v2 .hero-photos figure { border: 5px solid rgba(255,255,255,.7); box-shadow: 0 24px 60px rgba(120,50,0,.22); transform: none; aspect-ratio: 1 / 1; }
.hero-v2 .hero-photos img { filter: saturate(1.05) contrast(1.03); }
.hero-v2 .hero-photos figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255,113,0,.12), rgba(255,113,0,0) 60%); pointer-events: none; }
.blob-a { border-radius: 62% 38% 32% 68% / 58% 34% 66% 42%; }
.blob-b { border-radius: 36% 64% 66% 34% / 42% 60% 40% 58%; width: 78%; margin-left: auto; }
.blob-c { border-radius: 40% 60% 34% 66% / 64% 38% 62% 36%; }
.blob-d { border-radius: 66% 34% 58% 42% / 40% 64% 36% 60%; width: 78%; }
.hero-v2 .hero-photos.left figure:nth-child(2) { transform: none; }
.hero-v2 .hero-photos.right figure:nth-child(1) { margin-left: auto; width: 88%; }
.float-1 { animation: float 7s ease-in-out infinite; }
.float-2 { animation: float 8.5s ease-in-out infinite 1.2s; }
.float-3 { animation: float 7.5s ease-in-out infinite .6s; }
.float-4 { animation: float 9s ease-in-out infinite 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes heart-breathe { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-10deg) scale(1.05); } }
@keyframes blob-drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(24px, -18px) rotate(8deg); } }

.hero-v2 .wrap { grid-template-columns: minmax(240px, 1fr) minmax(0, 680px) minmax(240px, 1fr); gap: 28px; }
.hero-v2 .hero-text h1 { font-size: 56px; line-height: 66px; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(120,50,0,.15); }
.hero-v2 .hero-text h1 .pill { line-height: 66px; padding: 0 28px; white-space: nowrap; display: inline-block; margin-top: 6px; }
.hero-v2 .hero-text .lead { font-size: 20px; line-height: 30px; max-width: 520px; font-weight: 600; text-shadow: 0 1px 12px rgba(90,35,0,.25); }
.eyebrow { margin: 0 0 6px; font: 600 12px/16px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--pumpkin-700); }
.eyebrow.light { color: #3b2410; }
.section-head.stack { flex-direction: column; gap: 4px; }
.btn-arrow svg { width: 20px; height: 20px; transition: transform .2s ease; }
.btn-arrow:hover svg { transform: translateX(4px); }

/* Pasek zaufania nachodzacy na dol hero: 4 fakty z oferty, bez liczb bez zrodla. */
.trust { position: relative; z-index: 2; margin-top: -44px; }
.trust-strip { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #fff; border-radius: 28px; box-shadow: 0 18px 50px rgba(53,47,44,.10); border: 1px solid rgba(53,47,44,.06); }
.trust-strip li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 20px; color: var(--grey-700); }
.trust-strip li:hover { background: var(--sun-100); }
.trust-strip .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-pumpkin); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.trust-strip .ico svg { width: 20px; height: 20px; }

/* Pojawianie sie sekcji przy przewijaniu (JS dodaje .in). Bez ruchu przy prefers-reduced-motion. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2n) { transition-delay: .06s; }

/* Karty: uniesienie i glebszy cien na hover; zdjecie lekko sie przybliza (juz bylo). */
.card-photo, .card-person, .pack, .value, .tile, .rcard { transition: transform .25s ease, box-shadow .25s ease; }
.card-photo:hover, .card-person:hover, .pack:hover, .value:hover, .rcard:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(53,47,44,.14); }
.tile:hover { transform: translateY(-4px); }

/* Sekcje na kolorze: glebia zamiast plaskiego wypelnienia. */
.advantages { background: radial-gradient(70% 60% at 85% 20%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%), var(--grad-sun-strong); }
.orange-zone::before { background: radial-gradient(55% 50% at 15% 15%, rgba(255,216,112,.45) 0%, rgba(255,216,112,0) 60%), var(--grad-pumpkin-bg); }
.site-footer { background: radial-gradient(60% 70% at 90% 0%, rgba(58,99,179,.7) 0%, rgba(58,99,179,0) 60%), var(--grad-cobalt-footer); }
.fund-banner { background: radial-gradient(50% 80% at 90% 50%, rgba(255,216,112,.35) 0%, rgba(255,216,112,0) 60%), var(--grad-pumpkin-banner); }
.step.is-first { box-shadow: 0 18px 40px rgba(154,111,0,.12); }

/* Podstrony: karta hero z ksztaltem z logo i glebia, jak hero strony glownej. */
.hero-card-top { position: relative; overflow: hidden; }
.hero-card-top::before { content: ""; position: absolute; width: 420px; height: 420px; right: 38%; top: -160px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 21s-7.5-4.6-9.6-9.2C.7 8 3.2 4 7.2 4c2 0 3.5 1 4.8 2.7C13.3 5 14.8 4 16.8 4c4 0 6.5 4 4.8 7.8C19.5 16.4 12 21 12 21Z'/></svg>") center / contain no-repeat; opacity: .10; transform: rotate(-12deg); pointer-events: none; }
.hero-card-top > * { position: relative; }
.hero-card.cobalt .hero-card-top { background: radial-gradient(60% 60% at 15% 15%, rgba(255,216,112,.45) 0%, rgba(255,216,112,0) 60%), linear-gradient(235deg, var(--pumpkin-300) 0%, var(--pumpkin-600) 100%); }
.hero-card.sun .hero-card-top { background: radial-gradient(60% 60% at 85% 20%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%), var(--grad-sun-strong); }
.hero-card.pumpkin .hero-card-top { background: radial-gradient(60% 60% at 15% 15%, rgba(255,216,112,.45) 0%, rgba(255,216,112,0) 60%), var(--grad-pumpkin-banner); }
.hero-card.sun .hero-card-top::before { opacity: .18; }
.hero-card-photo { border-radius: 40% 60% 34% 66% / 64% 38% 62% 36%; border-width: 5px; }
.hero-card .eyebrow { margin-bottom: 10px; }
.hero-card.sun .eyebrow { color: var(--sun-700); }
.page-hero .eyebrow { margin-bottom: 10px; }
a.pack { text-decoration: none; color: var(--grey-700); }
a.pack:hover { text-decoration: none; }

/* Naglowek: cien i nizszy pasek po przewinieciu (JS dodaje .scrolled): wiecej tresci na ekranie. */
.site-header > .wrap { transition: height .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(53,47,44,.08); }
.site-header.scrolled > .wrap { height: 76px; }
.site-header.scrolled .utility { display: none; }

/* Telefon: staly pasek na dole z dwoma dzialaniami (audyt UX 17.09). Rodzic w stresie nie szuka kontaktu w stopce. */
.mobile-bar { display: none; }
@media (max-width: 720px) {
	body { padding-bottom: 76px; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--grey-200); }
	.mobile-bar .btn { height: 48px; padding: 0 12px; font-size: 15px; }
	.site-header.scrolled > .wrap { height: 64px; }
	.main-nav { top: 64px; }
}

/* Dane kontaktowe jako przyciski (telefon ma wygladac jak cos, co sie klika). */
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.contact-buttons .btn svg { width: 20px; height: 20px; }

/* Formularz: widoczne etykiety zamiast samych placeholderow (WCAG, mniej bledow). */
.form-card label.field { display: flex; flex-direction: column; gap: 6px; font: 600 14px/20px var(--font); color: var(--grey-700); }
.form-card label.field input, .form-card label.field textarea { font-weight: 400; }

/* Cennik na telefonie: wiersz tabeli jako karta (nazwa u gory, czas i cena pod nia), zamiast ucietej tabeli. */
@media (max-width: 720px) {
	.price-table, .price-table tbody { display: block; }
	.price-table tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 14px; border-top: 1px solid var(--grey-200); }
	.price-table td { display: block; padding: 0; border: 0; }
	.price-table td:first-child { flex: 1 1 100%; font-weight: 600; }
	.price-table .price-cell { margin-left: auto; white-space: normal; text-align: left; }
}

@media (max-width: 1024px) {
	.hero-v2 .wrap { grid-template-columns: 1fr; }
	.hero-v2 .hero-text h1 { font-size: 44px; line-height: 54px; }
	.hero-v2 .hero-text h1 .pill { line-height: 54px; }
	.hero-v2 .hero-photos.right figure:nth-child(1) { width: 100%; }
	.shape-heart { width: 360px; height: 360px; right: 10%; }
	.trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.hero-v2 .hero-text h1 { font-size: 34px; line-height: 42px; }
	.hero-v2 .hero-text h1 .pill { line-height: 42px; padding: 0 14px; white-space: normal; }
	.hero-v2 .hero-text .lead { font-size: 17px; line-height: 26px; }
	.hero-v2 .hero-photos { gap: 12px; grid-template-columns: 1fr 1fr; }
	.hero-v2 .hero-photos figure { border-width: 3px; }
	.blob-b, .blob-d { width: 100%; margin-left: 0; }
	.shape-heart { width: 240px; height: 240px; right: -40px; top: -20px; }
	.trust { margin-top: -24px; }
	.trust-strip { grid-template-columns: 1fr; padding: 8px; border-radius: 20px; }
	.trust-strip li { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.float-1, .float-2, .float-3, .float-4, .shape-heart, .shape-blob { animation: none; }
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* Notka robocza (widoczna tylko w podglądzie, ukryta na produkcji przez klasę body) */
.wip { display: inline-block; font: 600 12px/16px var(--font); color: var(--sun-700); background: var(--sun-100); border: 1px dashed var(--sun-500); border-radius: 8px; padding: 4px 8px; margin: 8px 0; }
body.prod .wip { display: none; }

/* ===== 7. RESPONSYWNOŚĆ (projekt ma tylko 1440 px; poniżej wyprowadzone) ===== */
@media (max-width: 1280px) {
	:root { --pad-x: 48px; }
	.hero .wrap { grid-template-columns: 1fr minmax(0, 520px) 1fr; }
	.card-photo { width: 340px; height: 300px; }
	.card-photo.big { width: 420px; height: 340px; }
}
@media (max-width: 1024px) {
	:root { --pad-x: 32px; }
	h1, .h1 { font-size: 40px; line-height: 52px; }
	.hero-text h1 .pill { line-height: 52px; }
	.hero .wrap { grid-template-columns: 1fr; text-align: center; min-height: 0; }
	.hero-photos { grid-template-columns: 1fr 1fr; }
	.hero-photos.right { display: none; }
	.hero-photos.left figure:nth-child(2) { transform: rotate(3deg); }
	.hero::before { border-bottom-left-radius: 120px; border-bottom-right-radius: 120px; }
	.about, .contact { grid-template-columns: 1fr; }
	.hero-card-top { grid-template-columns: 1fr; padding: 40px; }
	.hero-card-text h1 { font-size: 32px; line-height: 40px; }
	.hero-card-panel { grid-template-columns: 1fr; padding: 32px 40px; gap: 24px; }
	.people, .grid-3, .tiles, .values, .posts { grid-template-columns: repeat(2, 1fr); }
	.jobs { grid-template-columns: 1fr; }
	.split, .featured { grid-template-columns: 1fr; }
	.research, .sun-zone { border-top-left-radius: 48px; border-bottom-right-radius: 48px; padding: 48px var(--pad-x); }
	.tiles-sun { border-top-left-radius: 48px; border-bottom-right-radius: 48px; padding: 48px var(--pad-x); }
	.advantages { grid-template-columns: repeat(2, 1fr); padding: 56px var(--pad-x); border-top-left-radius: 48px; border-bottom-right-radius: 48px; }
	.step { grid-template-columns: 1fr; }
	.fund-banner { flex-wrap: wrap; }
	.fund-banner .fb-arrow { display: none; }
	.partners { grid-template-columns: 1fr; }
	.footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
	:root { --pad-x: 16px; }
	h1, .h1 { font-size: 32px; line-height: 40px; }
	.hero-text h1 .pill { line-height: 40px; padding: 0 12px; border-radius: 12px; }
	h2, .h2 { font-size: 26px; line-height: 34px; }
	h3, .h3 { font-size: 20px; line-height: 28px; }
	.site-header > .wrap { height: 72px; }
	.utility { display: none; }
	.logo { height: 48px; padding: 4px 12px; }
	.logo img { height: 32px; }
	.nav-toggle { display: flex; }
	.header-cta { display: none; }
	.header-tools { gap: 4px; }
	.search-toggle { width: 40px; padding: 0; justify-content: center; }
	.search-toggle span { display: none; }
	.search-form { height: 52px; gap: 8px; padding-left: 12px; }
	.search-form .btn { display: none; }
	.search-hints { padding-left: 0; }
	.search-inline { flex-direction: column; }
	.main-nav {
		display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; padding: 8px 16px 16px; box-shadow: var(--shadow); border-bottom-left-radius: 24px; border-bottom-right-radius: 24px;
	}
	.main-nav.open { display: flex; }
	.main-nav a { padding: 14px 8px; border-bottom: 1px solid var(--grey-200); }
	.main-nav .mobile-only { display: inline-flex; }
	.main-nav .btn { margin-top: 12px; border-bottom: 0; justify-content: center; }
	.hero::before { top: -80px; border-bottom-left-radius: 64px; border-bottom-right-radius: 64px; }
	.hero .wrap { padding-top: 24px; padding-bottom: 56px; gap: 24px; }
	.hero-photos { gap: 12px; }
	.hero-actions .btn { width: 100%; }
	.section { padding: 48px 0; }
	.section-tight { padding: 32px 0; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
	.advantages { grid-template-columns: 1fr; gap: 32px; padding: 40px var(--pad-x); border-top-left-radius: 32px; border-bottom-right-radius: 32px; }
	.card-photo, .card-photo.big { width: 82vw; height: 300px; }
	.process { grid-template-columns: 1fr; }
	.process-rail { display: none; }
	.hero-card { border-radius: var(--r-card); }
	.hero-card-top { padding: 24px; gap: 24px; }
	.hero-card-text h1 { font-size: 26px; line-height: 34px; }
	.hero-card-panel { padding: 24px; }
	.stats, .people, .grid-3, .tiles, .grid-2, .values, .posts, .jobs, .job-cols { grid-template-columns: 1fr; }
	.values { padding: 12px; gap: 12px; }
	.value { height: 260px; }
	.research, .sun-zone { border-top-left-radius: 32px; border-bottom-right-radius: 32px; padding: 32px var(--pad-x); }
	.form-card { padding: 24px; }
	.hero-card-photo.portrait { margin-left: 0; max-width: none; aspect-ratio: 4 / 3; }
	.tabs { width: 100%; justify-content: center; }
	.map-link { min-height: 0; }
	.grid-3 .card-photo, .split .card-photo.big { width: auto; height: 280px; }
	.tiles-sun { border-top-left-radius: 32px; border-bottom-right-radius: 32px; padding: 32px var(--pad-x); }
	.booking iframe { height: 520px; }
	.price-table td { padding: 10px 12px; }
	.acc summary { padding: 16px; font-size: 16px; }
	.step { padding: 24px; gap: 24px; }
	.fund-banner { padding: 24px; }
	.fund-banner .fb-logo { padding: 16px; }
	.cta-banner { height: auto; padding: 32px 20px; }
	.orange-zone::before { border-top-left-radius: 32px; border-bottom-right-radius: 32px; }
	.contact-photo { min-height: 240px; }
	.site-footer { border-top-left-radius: 24px; border-top-right-radius: 24px; padding: 40px 0; }
	.footer-nav { flex-direction: column; gap: 12px; }
	.btn { height: 52px; padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .card-photo img.bg, .card-photo .panel { transition: none; }
}
