/* =====================================================================
   Kalchem EPI — main.css · koncepcja K1 „Domknięta pętla" · v1.0.0
   Paleta: ecru / zieleń łanu / pomarańcz recepty / grafit
   ===================================================================== */

/* ---------- Fonty lokalne (WOFF2 variable, latin + latin-ext) ---------- */
@font-face {
	font-family: 'Sora';
	src: url('../fonts/sora-var-latin-ext.woff2') format('woff2');
	font-weight: 100 800;
	font-display: swap;
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Sora';
	src: url('../fonts/sora-var-latin.woff2') format('woff2');
	font-weight: 100 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Nunito Sans';
	src: url('../fonts/nunitosans-var-latin-ext.woff2') format('woff2');
	font-weight: 200 1000;
	font-display: swap;
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Nunito Sans';
	src: url('../fonts/nunitosans-var-latin.woff2') format('woff2');
	font-weight: 200 1000;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Baza ---------- */
:root {
	--max: 1200px;
	--font-naglowki: 'Sora', system-ui, sans-serif;
	--font-tekst: 'Nunito Sans', system-ui, sans-serif;
	--cien-miekki: 0 18px 50px rgba(34, 38, 42, 0.14);
	--radius: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-tekst);
	font-size: 1.06rem;
	line-height: 1.65;
	color: var(--kolor-grafit);
	background: var(--kolor-tlo);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kolor-zielen); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--kolor-pomarancz); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--kolor-zielen); color: #fff; padding: 10px 18px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

h1, h2, h3, h4 { font-family: var(--font-naglowki); line-height: 1.18; margin: 0 0 0.6em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

/* ---------- Pas brandowy (v5.9d: wyłącznie znaki) + pasek informacyjny ---------- */
.pas-brand {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: 20px 44px; padding: 14px 20px; background: #fff;
}
.pas-brand__znak { height: 58px; width: auto; }
.pas-info { background: #fff; border-bottom: 1px solid #e8e2d4; }
.pas-info__tekst { max-width: var(--max); margin: 0 auto; padding: 8px 20px 12px; text-align: center; font-size: 0.86rem; color: #5b5f52; }

/* ---------- Nagłówek ---------- */
.naglowek { position: sticky; top: 0; z-index: 100; background: rgba(246, 243, 236, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid #e5decf; }
.naglowek__wnetrze { max-width: var(--max); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.naglowek__marka { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--kolor-grafit); }
.naglowek__sygnet { width: 40px; height: 40px; }
.naglowek__nazwa { font-family: var(--font-naglowki); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.naglowek__lista { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.naglowek__lista a { text-decoration: none; color: var(--kolor-grafit); font-weight: 600; font-size: 0.94rem; padding: 8px 11px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.naglowek__lista a:hover { background: var(--kolor-pastel); }
.naglowek__cta { background: var(--kolor-zielen); color: #fff !important; }
.naglowek__cta:hover { background: var(--kolor-zielen-ciemna) !important; }
.naglowek__hamburger { display: none; background: none; border: 2px solid var(--kolor-grafit); border-radius: 10px; width: 44px; height: 40px; position: relative; cursor: pointer; }
.naglowek__hamburger-linia, .naglowek__hamburger-linia::before, .naglowek__hamburger-linia::after {
	content: ''; position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--kolor-grafit); border-radius: 2px;
}
.naglowek__hamburger-linia { top: 50%; transform: translateY(-50%); }
.naglowek__hamburger-linia::before { top: -7px; }
.naglowek__hamburger-linia::after { top: 7px; }

/* ---------- Przyciski ---------- */
.przycisk { display: inline-block; font-family: var(--font-naglowki); font-weight: 700; font-size: 0.98rem; text-decoration: none; padding: 13px 26px; border-radius: 999px; transition: transform 0.18s, background 0.2s, color 0.2s, box-shadow 0.2s; }
.przycisk--pelny { background: var(--kolor-pomarancz); color: #fff; box-shadow: 0 10px 26px rgba(232, 100, 28, 0.35); }
.przycisk--pelny:hover { background: #c95213; transform: translateY(-2px); }
.przycisk--obrys { border: 2.5px solid var(--kolor-zielen); color: var(--kolor-zielen); }
.przycisk--obrys:hover { background: var(--kolor-zielen); color: #fff; }
.przycisk--maly { padding: 9px 18px; font-size: 0.9rem; border: 2px solid var(--kolor-zielen); color: var(--kolor-zielen); }
.przycisk--maly:hover { background: var(--kolor-zielen); color: #fff; }

/* ---------- HERO H1 — film ---------- */
.hero { background: var(--kolor-tlo); }
.hero__film { position: relative; width: 100%; height: clamp(70vh, 78vh, 88vh); background: #101a12; }
.hero__film .asc-wideo__plik { width: 100%; height: 100%; object-fit: cover; display: block; }
.asc-wideo__pauza { position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(20, 25, 20, 0.55); cursor: pointer; display: grid; place-items: center; }
.asc-wideo__pauza-ikona, .rotator__pauza span { display: block; width: 14px; height: 16px; border-left: 4.5px solid #fff; border-right: 4.5px solid #fff; }
.asc-wideo__pauza[aria-pressed="true"] .asc-wideo__pauza-ikona,
.rotator__pauza[aria-pressed="true"] span { border: 0; width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.hero__tekst { max-width: 900px; margin: 0 auto; padding: clamp(38px, 6vw, 68px) 20px 18px; text-align: center; }
.hero__kicker { font-family: var(--font-naglowki); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--kolor-zielen); margin-bottom: 14px; }
.hero__tytul { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
.hero__lead { font-size: 1.14rem; max-width: 760px; margin: 0 auto 26px; color: #43483f; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__petla { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; padding: 26px 20px 54px; font-family: var(--font-naglowki); font-weight: 600; font-size: 0.92rem; color: #6a6f60; }
.hero__wezel { border: 2px solid #d8d1bf; border-radius: 999px; padding: 6px 16px; background: #fff; }
.hero__wezel--akcent { border-color: var(--kolor-pomarancz); color: var(--kolor-pomarancz); }
.hero__strzalka { color: var(--kolor-pomarancz); font-weight: 800; }

/* ---------- Marker (efekt bazowy) + animowane podkreślenia (recykling v5.9e) ---------- */
.marker { position: relative; white-space: nowrap; }
.marker::after {
	content: ''; position: absolute; left: -0.08em; right: -0.08em; bottom: 0.04em; height: 0.42em; z-index: -1;
	background: linear-gradient(100deg, rgba(232, 100, 28, 0.38), rgba(232, 100, 28, 0.52));
	border-radius: 4px; transform: skewX(-8deg) scaleX(0); transform-origin: left center;
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.marker.is-drawn::after { transform: skewX(-8deg) scaleX(1); }

.sekcja__tytul { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; position: relative; padding-bottom: 16px; }
.sekcja__tytul--jasny { color: #fff; }
.akcent { color: var(--kolor-pomarancz); }
.podkreslenie { position: absolute; left: 0; bottom: 0; width: min(300px, 62%); height: 12px; overflow: visible; }
.podkreslenie__kreska { fill: none; stroke: var(--kolor-pomarancz); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sekcja__tytul.is-drawn .podkreslenie__kreska { transition: stroke-dashoffset 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s; stroke-dashoffset: 0; }

/* ---------- Sekcje ---------- */
.sekcja { padding: clamp(56px, 8vw, 104px) 0; }
.sekcja--jasna { background: var(--kolor-tlo); }
.sekcja--pastel { background: var(--kolor-pastel); }
.sekcja--ciemna { background: linear-gradient(160deg, var(--kolor-zielen) 0%, var(--kolor-zielen-ciemna) 100%); color: #f2f5ee; }
.sekcja--podstrona { min-height: 55vh; }
.sekcja__wnetrze { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sekcja__wnetrze--waska { max-width: 820px; }
.sekcja__wnetrze--dwie { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.sekcja__wnetrze--odwrocona { grid-template-columns: 0.95fr 1.05fr; }
.sekcja__kicker { font-family: var(--font-naglowki); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--kolor-pomarancz); margin-bottom: 10px; }
.sekcja__kicker--jasny { color: #ffb27d; }
.sekcja__lead { font-size: 1.12rem; max-width: 780px; }
.sekcja__lead--jasny { color: #d9e2d3; }
.sekcja__nota { font-size: 0.94rem; color: #5b5f52; border-left: 4px solid var(--kolor-pomarancz); padding-left: 16px; margin-top: 22px; }
.sekcja__media { margin: 0; }
.sekcja__media--szeroka { margin-top: 40px; }
.sekcja__foto { width: 100%; border-radius: var(--radius); box-shadow: var(--cien-miekki); object-fit: cover; }
.sekcja__media--szeroka .sekcja__foto { max-height: 460px; }
.sekcja__podpis { font-size: 0.88rem; color: #6a6f60; margin-top: 12px; }
.sekcja__podpis--jasny { color: #c4d1bd; }

.fakty { margin: 26px 0 0; display: grid; gap: 14px; }
.fakty__poz { background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 6px 18px rgba(34, 38, 42, 0.06); }
.fakty__poz dt { font-family: var(--font-naglowki); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--kolor-zielen); margin-bottom: 4px; }
.fakty__poz dd { margin: 0; font-size: 0.97rem; }

/* ---------- Karty / kolumny / piktogramy ---------- */
.kolumny { display: grid; gap: clamp(20px, 3vw, 34px); margin-top: 34px; }
.kolumny--trzy { grid-template-columns: repeat(3, 1fr); }
.kolumny--dwie { grid-template-columns: repeat(2, 1fr); }
.karta { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: 0 10px 30px rgba(34, 38, 42, 0.07); }
.karta--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.karta__foto { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; box-shadow: none; }
.karta__tresc { padding: 24px 26px 28px; }
.karta__tytul { font-size: 1.18rem; font-weight: 700; }
.karta__piktogramy { display: flex; gap: 14px; margin-bottom: 18px; }
.pikto { width: 46px; height: 46px; color: var(--kolor-zielen); }
.pikto--akcent { color: var(--kolor-pomarancz); }

/* ---------- Pętla — sticky-storytelling ---------- */
.petla__uklad { max-width: var(--max); margin: 30px auto 0; padding: 0 20px; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.petla__przypiety { position: sticky; top: 110px; }
.petla__wizual { position: relative; min-height: clamp(380px, 42vw, 560px); display: grid; place-items: center; background: transparent; border-radius: 30px; box-shadow: none; }
.petla__slajd { position: absolute; inset: 0; display: grid; place-items: center; padding: 34px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.97); transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s; }
.petla__slajd.is-active { opacity: 1; visibility: visible; transform: none; }
.petla__png { max-height: clamp(300px, 36vw, 470px); width: auto; max-width: 88%; object-fit: contain; filter: drop-shadow(0 22px 34px rgba(34, 38, 42, 0.22)); }
.petla__postep { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: none; gap: 9px; }
.petla__kropka { width: 11px; height: 11px; border-radius: 50%; background: #cfc7b2; transition: background 0.3s, transform 0.3s; }
.petla__kropka.is-active { background: var(--kolor-pomarancz); transform: scale(1.25); }
.petla__kroki { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(60px, 9vw, 130px); padding-block: clamp(30px, 5vw, 60px); }
.petla__krok { position: relative; padding-left: 74px; min-height: 120px; opacity: 0.45; transition: opacity 0.4s; }
.petla__krok.is-active { opacity: 1; }
.petla__numer { position: absolute; left: 0; top: 0; font-family: var(--font-naglowki); font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--kolor-zielen); width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.petla__krok.is-active .petla__numer { background: var(--kolor-pomarancz); transform: scale(1.06); }
.petla__naglowek { font-size: 1.35rem; }

/* ---------- Aplikacja — rotator 3 mockupów telefonu ---------- */
.sekcja__wnetrze--app { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(24px, 3vw, 48px); align-items: center; max-width: min(1320px, 96vw); }
.app__lista { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 16px; }
.app__poz { background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 6px 18px rgba(34, 38, 42, 0.06); border-left: 5px solid var(--kolor-pomarancz); }
.app__nota { font-size: 0.9rem; color: #6a6f60; }
.app__wizual { display: grid; justify-items: center; }
.rotator { position: relative; width: 100%; display: grid; justify-items: center; }
.rotator__scena { position: relative; width: min(84%, 470px); min-height: clamp(560px, 46vw, 820px); display: grid; place-items: center; }
.rotator__blob { position: absolute; inset: 4% -6% 4% -6%; background: radial-gradient(circle at 48% 42%, rgba(232, 100, 28, 0.16), rgba(30, 77, 43, 0.10) 62%, transparent 78%); border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%; z-index: 0; }
.rotator__slajd { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; z-index: 1; }
.rotator__slajd.is-active { opacity: 1; visibility: visible; }
.rotator__png { max-height: clamp(540px, 44vw, 800px); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 44px rgba(34, 38, 42, 0.28)); }
.rotator__pauza { margin-top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--kolor-zielen); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--kolor-zielen); }
.rotator__pauza span { border-color: var(--kolor-zielen); }
.rotator__pauza[aria-pressed="true"] span { border-left-color: var(--kolor-zielen); border-top-color: transparent; border-bottom-color: transparent; }

/* ---------- Innowacja — wycinanka drona + chipy ---------- */
.innowacja__scena { position: relative; display: grid; place-items: center; min-height: clamp(340px, 34vw, 480px); }
.innowacja__scena::before { content: ''; position: absolute; inset: 6% 2%; background: radial-gradient(circle at 50% 50%, rgba(30, 77, 43, 0.14), transparent 72%); border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%; }
.innowacja__png { position: relative; max-width: min(92%, 520px); max-height: clamp(300px, 30vw, 440px); object-fit: contain; filter: drop-shadow(0 24px 36px rgba(34, 38, 42, 0.24)); }
.chip { position: absolute; background: #fff; border-radius: 999px; padding: 9px 17px; font-family: var(--font-naglowki); font-size: 0.86rem; font-weight: 600; box-shadow: 0 12px 26px rgba(34, 38, 42, 0.16); border: 1.5px solid #ece5d4; }
.chip strong { color: var(--kolor-pomarancz); }
.chip--1 { top: 9%; left: 2%; }
.chip--2 { bottom: 16%; right: 0; }
.chip--3 { bottom: 2%; left: 12%; }
.wymiary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.wymiar { background: #fff; border-radius: 16px; padding: 20px 22px; box-shadow: 0 8px 22px rgba(34, 38, 42, 0.07); }
.wymiar__tytul { font-size: 1.05rem; color: var(--kolor-zielen); margin-bottom: 8px; }
.wymiar p { margin: 0; font-size: 0.94rem; }

/* ---------- KPI — liczniki count-up ---------- */
.liczniki { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); margin: 44px 0 26px; }
.licznik { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.licznik__wartosc { display: block; font-family: var(--font-naglowki); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.5rem); color: #fff; line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.licznik__liczba { color: #ffb27d; }
.licznik__opis { font-size: 1rem; color: #d9e2d3; }
.kpi-karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.kpi-karta { background: rgba(255, 255, 255, 0.05); border-radius: 14px; padding: 16px 20px; font-size: 0.94rem; color: #d9e2d3; border: 1px solid rgba(255, 255, 255, 0.1); }
.kpi-karta strong { color: #ffb27d; font-family: var(--font-naglowki); }
.kpi-media { position: relative; display: grid; grid-template-columns: 1fr; }
.kpi-media__foto { margin: 0; }
.kpi-media__element { position: absolute; right: -14px; bottom: -26px; width: clamp(110px, 12vw, 180px); transform: rotate(8deg); pointer-events: none; }
.kpi-media__png { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3)); }
.kpi-media__element .asc-placeholder { min-height: 120px; padding: 10px; }
.kpi-media__element .asc-placeholder__nazwa { font-size: 0.6rem; }
.kpi-media__element .asc-placeholder__info { font-size: 0.56rem; letter-spacing: 0.04em; }

/* ---------- Akademia ---------- */
.poziomy { display: grid; gap: 14px; margin: 24px 0; }
.poziom { display: grid; grid-template-columns: 118px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 6px 18px rgba(34, 38, 42, 0.06); }
.poziom__etykieta { font-family: var(--font-naglowki); font-weight: 700; color: #fff; background: var(--kolor-zielen); border-radius: 999px; padding: 8px 0; text-align: center; font-size: 0.9rem; }
.poziom p { margin: 0; font-size: 0.95rem; }

/* ---------- Grupa ---------- */
.grupa__uklad { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 30px; }
.grupa__lista { display: grid; gap: 16px; }
.czlonek { background: #fff; border-radius: 16px; padding: 20px 24px; box-shadow: 0 8px 22px rgba(34, 38, 42, 0.07); }
.czlonek__nazwa { font-size: 1.08rem; margin-bottom: 6px; }
.czlonek__rola { margin: 0; font-size: 0.95rem; color: #43483f; }
.grupa__media { margin: 0; position: sticky; top: 110px; }
.grupa__adnotacja { margin-top: 26px; font-size: 0.92rem; color: #5b5f52; background: #fff; border-left: 4px solid var(--kolor-pomarancz); border-radius: 0 12px 12px 0; padding: 12px 18px; }

/* ---------- Harmonogram ---------- */
.kamienie { list-style: none; margin: 34px 0 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 26px; }
.kamienie::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: #d8d1bf; }
.kamien { position: relative; }
.kamien__znacznik { position: absolute; left: -26px; top: 5px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 4px solid #b9b19a; }
.kamien--zakonczone .kamien__znacznik { border-color: var(--kolor-zielen); background: var(--kolor-zielen); }
.kamien--w-trakcie .kamien__znacznik { border-color: var(--kolor-pomarancz); }
.kamien__tresc { background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 6px 18px rgba(34, 38, 42, 0.06); }
.kamien__data { font-family: var(--font-naglowki); font-weight: 700; font-size: 0.84rem; color: var(--kolor-pomarancz); }
.kamien__tytul { font-size: 1.08rem; margin: 4px 0 6px; }
.kamien__opis { margin: 0 0 10px; font-size: 0.94rem; color: #43483f; }
.kamien__status { display: inline-block; font-family: var(--font-naglowki); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 999px; padding: 4px 12px; }
.kamien__status--zakonczone { background: rgba(30, 77, 43, 0.12); color: var(--kolor-zielen); }
.kamien__status--w-trakcie { background: rgba(232, 100, 28, 0.14); color: #b34d10; }
.kamien__status--planowane { background: #ece5d4; color: #6a6f60; }

/* ---------- Finansowanie ---------- */
.finanse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
.finanse__poz { background: #fff; border-radius: var(--radius); padding: 26px 24px; text-align: center; box-shadow: 0 8px 22px rgba(34, 38, 42, 0.07); }
.finanse__kwota { display: block; font-family: var(--font-naglowki); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--kolor-zielen); margin-bottom: 8px; }
.finanse__opis { font-size: 0.92rem; color: #43483f; }
.finanse__transze { font-size: 0.94rem; color: #5b5f52; }

/* ---------- Wpisy / aktualności ---------- */
.wpisy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.wpisy--lista { grid-template-columns: 1fr; max-width: 820px; }
.wpis { background: #fff; border-radius: 16px; padding: 24px 26px; box-shadow: 0 8px 22px rgba(34, 38, 42, 0.07); display: flex; flex-direction: column; align-items: flex-start; }
.wpis__badge { display: inline-block; font-family: var(--font-naglowki); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.wpis__badge--zakonczone { background: rgba(30, 77, 43, 0.12); color: var(--kolor-zielen); }
.wpis__badge--w-trakcie { background: rgba(232, 100, 28, 0.14); color: #b34d10; }
.wpis__badge--planowane { background: #ece5d4; color: #6a6f60; }
.wpis__tytul { font-size: 1.16rem; margin-bottom: 4px; }
.wpis__tytul a { text-decoration: none; color: var(--kolor-grafit); }
.wpis__tytul a:hover { color: var(--kolor-zielen); }
.wpis__tytul--pojedynczy { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.wpis__data { font-size: 0.84rem; color: #8a8f7e; margin-bottom: 10px; }
.wpis__zajawka { font-size: 0.95rem; flex: 1; }
.wpis__akcja { margin: 14px 0 0; }
.wpisy__wiecej { margin-top: 30px; text-align: center; }

/* ---------- Placeholdery mediów (asc_img) ---------- */
.asc-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; max-width: 100%; min-height: 240px; width: 100%; border-radius: var(--radius); background: repeating-linear-gradient(-45deg, #efe9dc, #efe9dc 14px, #e7e0cf 14px, #e7e0cf 28px); border: 2px dashed #c9c1aa; color: #6a6f60; padding: 30px; }
.asc-placeholder--wideo { min-height: 100%; border-radius: 0; }
.asc-placeholder__nazwa { font-family: var(--font-naglowki); font-weight: 700; font-size: 0.95rem; word-break: break-all; max-width: 100%; }
.asc-placeholder__info { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
.petla__slajd .asc-placeholder, .rotator__slajd .asc-placeholder { min-height: 300px; max-width: 380px; }

/* ---------- Stopka ---------- */
.stopka { background: var(--kolor-grafit); color: #cfd3ca; }
.stopka__wnetrze { max-width: var(--max); margin: 0 auto; padding: 48px 20px 34px; }
.stopka__brand { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; background: #fff; border-radius: 14px; padding: 16px 22px; margin-bottom: 24px; }
.stopka__brand .pas-brand__znak { height: 50px; }
.stopka__finansowanie { text-align: center; font-size: 0.92rem; max-width: 860px; margin: 0 auto 10px; }
.stopka__dane { text-align: center; font-size: 0.84rem; color: #a3a89b; max-width: 900px; margin: 0 auto 26px; }
.stopka__dol { display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; border-top: 1px solid #3a3f44; padding-top: 20px; font-size: 0.88rem; }
.stopka a { color: #ffb27d; }

/* ---------- Reveal sekcji (delikatny, nie liczy się jako efekt WOW) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-widoczny { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSYWNOŚĆ
   ===================================================================== */
@media (max-width: 1100px) {
	.kolumny--trzy { grid-template-columns: 1fr 1fr; }
	.liczniki { grid-template-columns: repeat(2, 1fr); }
	.kpi-karty { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.naglowek__hamburger { display: block; }
	.naglowek__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--kolor-tlo); border-bottom: 1px solid #e5decf; box-shadow: 0 20px 30px rgba(34, 38, 42, 0.12); }
	.naglowek__nav.is-otwarte { display: block; }
	.naglowek__lista { flex-direction: column; align-items: stretch; padding: 14px 20px; gap: 2px; }
	.naglowek__lista a { display: block; padding: 12px 14px; border-radius: 12px; }

	.sekcja__wnetrze--dwie, .sekcja__wnetrze--odwrocona { grid-template-columns: 1fr; }
	.sekcja__wnetrze--odwrocona .innowacja__wizual { order: 2; }
	.kolumny--dwie { grid-template-columns: 1fr; }
	.grupa__uklad { grid-template-columns: 1fr; }
	.grupa__media { position: static; }

	/* Pętla: wizual chowa sticky, kroki jedna kolumna z mini-wizualami przez JS-free degradację */
	.petla__uklad { grid-template-columns: 1fr; }
	.petla__przypiety { position: sticky; top: 84px; z-index: 5; }
	.petla__wizual { min-height: clamp(280px, 56vw, 380px); }
	.petla__png { max-height: clamp(220px, 46vw, 320px); }
	.petla__kroki { gap: clamp(40px, 8vw, 70px); }

	/* Aplikacja — lustrzany wpis (v6.4c/d): JEDNA kolumna, mockup POD tekstem */
	.sekcja__wnetrze--app { grid-template-columns: 1fr; }
	.sekcja__wnetrze--app .app__wizual { order: 2; }
	.rotator__scena { width: min(92%, 420px); min-height: clamp(480px, 118vw, 640px); }
	.rotator__png { max-height: clamp(460px, 112vw, 620px); }

	.innowacja__scena { min-height: clamp(280px, 60vw, 380px); }
	.chip { font-size: 0.78rem; padding: 7px 13px; }
	.wpisy { grid-template-columns: 1fr; }
	.finanse { grid-template-columns: 1fr; }
	.kpi-media__element { width: clamp(80px, 16vw, 120px); right: -6px; bottom: -14px; }
}

@media (max-width: 640px) {
	.marker { white-space: normal; background: linear-gradient(100deg, rgba(232, 100, 28, 0.38), rgba(232, 100, 28, 0.52)); -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 4px; padding: 0 0.08em; }
	.marker::after { display: none; }
	.kolumny--trzy { grid-template-columns: 1fr; }
	.liczniki { grid-template-columns: 1fr 1fr; }
	.licznik { padding: 22px 14px; }
	.pas-brand__znak { height: 44px; }
	.poziom { grid-template-columns: 1fr; gap: 8px; }
	.poziom__etykieta { justify-self: start; padding: 8px 18px; }
	.hero__petla { font-size: 0.8rem; }
	.kpi-media__element { display: none; }
}

@media (max-width: 380px) {
	.liczniki { grid-template-columns: 1fr; }
	.rotator__scena { width: min(92%, 340px); }
}

@media print {
	.js .reveal { opacity: 1 !important; transform: none !important; }
	.petla__krok { opacity: 1 !important; }
	.naglowek, .asc-wideo__pauza, .rotator__pauza { display: none !important; }
}

/* =====================================================================
   PREFERS-REDUCED-MOTION — pełna degradacja
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.marker::after { transform: skewX(-8deg) scaleX(1); }
	.podkreslenie__kreska { stroke-dashoffset: 0; }
	.js .reveal { opacity: 1; transform: none; }
	.petla__krok { opacity: 1; }
}


/* ASC-MOBILE-NAKLADKI-LEWO — mobile: swider + telefony przy lewej, opryskiwacz zostaje centralnie */
@media (max-width: 900px) {
	.petla__png[src*="swider"] {
		justify-self: start;
		margin-left: -30px; /* w pusty lewy kanal, bez zaslaniania tekstu */
	}
	.petla__png[src*="telefon"] {
		justify-self: start;
		margin-left: -57px;
		max-height: clamp(165px, 44vw, 200px); /* ASC-TEL-MNIEJSZE */ /* maksymalnie w lewo (flush), minimalne zaslanianie */
	}
}

