/*
 * FabrykaCmyka 2.0 — Strona główna (front witryny).
 * Port stylów z handoffu design_handoff_fabrykacmyka_2.0 (Strona Glowna 2.0), scope pod .fcs-home.
 * Tokeny z motywu (assets/tokens.css) z fallbackami var(--fc-..., #hex).
 * Sekcje są full-bleed (poza kontenerem .fc2), wiec responsywnosc = media queries (nie container queries):
 * container queries handoffu (na .fc2) nie zadzialaja na sekcjach renderowanych poza tym kontenerem.
 * Breakpointy 1080px i 680px 1:1 z handoffem.
 */

.fcs-home {
	--fcs-yellow: var(--fc-yellow, #FFDE2C);
	--fcs-yellow-deep: var(--fc-yellow-deep, #F5C400);
	--fcs-magenta: var(--fc-magenta, #C800A7);
	--fcs-cyan: var(--fc-cyan, #6EC1E4);
	--fcs-ink: var(--fc-ink, #2B2B2B);
	--fcs-text: var(--fc-text, #54595F);
	--fcs-soft: var(--fc-soft, #7A7A7A);
	--fcs-border: var(--fc-border, #ECECEC);
	--fcs-bg-soft: var(--fc-bg-soft, #F7F8F8);
	--fcs-head: var(--fc-font-head, 'Poppins', sans-serif);
	--fcs-body: var(--fc-font-body, 'Lato', sans-serif);

	background: #141418;
	color: #E8E8EA;
	font-family: var(--fcs-body);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.fcs-home h1,
.fcs-home h2,
.fcs-home h3,
.fcs-home h4 {
	font-family: var(--fcs-head);
	margin: 0;
	line-height: 1.12;
}

.fcs-home p {
	margin: 0;
}

.fcs-home a {
	text-decoration: none;
	color: inherit;
}

.fcs-home button {
	font-family: inherit;
	cursor: pointer;
}

.fcs-wrap {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 56px;
}

/* Wspolne */
.fcs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.fcs-eyebrow i {
	width: 22px;
	height: 2px;
	background: currentColor;
	display: block;
	flex: none;
}

.fcs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 52px;
	padding: 0 26px;
	border-radius: 11px;
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 15.5px;
	border: 2px solid transparent;
	transition: .16s;
	white-space: nowrap;
	cursor: pointer;
}

.fcs-btn svg {
	flex: none;
	transition: transform .16s;
}

.fcs-btn:hover svg {
	transform: translateX(3px);
}

.fcs-btn--yellow {
	background: var(--fcs-yellow);
	color: #1a1600;
}

.fcs-btn--yellow:hover,
.fcs-btn--yellow:focus-visible {
	background: #fff;
	color: #1a1600;
	outline: none;
}

.fcs-btn--yellow:active {
	background: var(--fcs-yellow-deep);
	color: #1a1600;
}

.fcs-btn--outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .55);
}

.fcs-btn--outline:hover,
.fcs-btn--outline:focus-visible {
	border-color: var(--fcs-yellow);
	color: var(--fcs-yellow);
	outline: none;
}

.fcs-btn--outline:active {
	border-color: var(--fcs-yellow);
	color: #fff;
}

/* Reveal on scroll */
.fcs-rv {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s cubic-bezier(.16, .8, .24, 1), transform .7s cubic-bezier(.16, .8, .24, 1);
}

.fcs-rv.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.fcs-rv {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Placeholder obrazka (brak wgranego zdjecia) */
.fcs-imgph {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(420px 200px at 82% -8%, rgba(200, 0, 167, .28), transparent 60%),
		radial-gradient(360px 200px at 0% 120%, rgba(110, 193, 228, .2), transparent 60%),
		linear-gradient(180deg, #26262f, #17171c);
}

@keyframes fcs-mq {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ============ HERO ============ */
.fcs-hero {
	position: relative;
	height: clamp(520px, 47.03vw, 840px);
	display: flex;
	align-items: center;
	overflow: hidden;
	/* Tło sekcji = kolor „płyty" zdjęcia (przedłużenie kadru poza obraz), z panelu. */
	background: var(--fcs-hbg, #91d5d7);
}

.fcs-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
}

.fcs-hero__media .fcs-hero__img,
.fcs-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: var(--fcs-hfit, cover);
	object-position: var(--fcs-hpos, right);
	display: block;
}

.fcs-hero__media {
	background: var(--fcs-hbg, #91d5d7);
}

/* Slider hero: slajdy nakładane, crossfade opacity. */
.fcs-hero__slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	transition: opacity .9s ease;
}

.fcs-hero__slide.is-on {
	opacity: 1;
}

/* Obraz mobilny domyślnie ukryty (desktop widoczny); przełączenie w media query hero.
   Selektor MUSI mieć specyficzność ≥ (0,2,0) — sama klasa (0,1,0) przegrywała z
   `.fcs-hero__media img` (0,1,1) ustawiającym display:block → mobilny baner widoczny na desktopie. */
.fcs-hero__media .fcs-hero__img--mob {
	display: none;
}

/* Kropki nawigacji slidera — nad scrimem. */
.fcs-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 9px;
}

.fcs-hero__dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, .45);
	transition: .2s;
}

.fcs-hero__dots button.is-on {
	background: var(--fc-yellow, #FFDE2C);
	transform: scale(1.15);
}

.fcs-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	/* Delikatna nakładka wg wytycznych — kolory zdjęcia zostają widoczne (przezroczysta po prawej). */
	background: linear-gradient(90deg, rgba(8, 26, 30, .44) 0%, rgba(8, 26, 30, .26) 34%, rgba(8, 26, 30, 0) 66%);
}

.fcs-hero__in {
	position: relative;
	z-index: 2;
	width: 100%;
}

.fcs-hero__eyebrow {
	color: #0e2a2e;
}

.fcs-hero h1 {
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 76px;
	line-height: .98;
	letter-spacing: -2px;
	text-transform: uppercase;
	color: var(--fcs-yellow);
	text-shadow: 0 2px 12px rgba(6, 20, 24, .55), 0 6px 40px rgba(6, 20, 24, .4);
	max-width: 820px;
}

.fcs-hero__cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 38px;
}

.fcs-hero__feats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 34px;
	margin: 34px 0 0;
	padding: 0;
}

.fcs-hero__feats li {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 14.5px;
	letter-spacing: .3px;
	color: #0e2a2e;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}

.fcs-hero__feats li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--fcs-magenta);
	flex: none;
	box-shadow: 0 0 0 4px rgba(200, 0, 167, .16);
}

/* Odznaki hero — krokowy slider (panel: „Przewijanie odznak"). Zawsze 3 pełne sloty,
   co N s płynne przesunięcie o 3 (JS w front-home.js), klony pierwszej trójki domykają pętlę. */
.fcs-hero__featsvp {
	overflow: hidden;
	margin-top: 34px;
	/* Okno przesunięte 15px w lewo + sloty z padding-left 15px: kropki optycznie w tym samym
	   miejscu, ale poświata (box-shadow 4px) pierwszej kropki nie jest ucinana lewą krawędzią,
	   a kropka 4. odznaki chowa się 15px ZA prawą krawędzią (nie wystaje w polu widoku). */
	margin-left: -15px;
}
.fcs-hero__feats--scroll {
	flex-wrap: nowrap;
	gap: 0;
	margin-top: 0;
	width: 100%;
	transition: transform .65s cubic-bezier(.4, 0, .2, 1);
}
/* Strona = do 3 odznak naturalnej szerokości, gap 10px (życzenie właściciela: pełne napisy,
   przerwy max 10px), dosunięte do lewej; padding-left 15px = zapas na poświatę kropki. */
.fcs-hero__feats--scroll .fcs-hero__bpage {
	flex: 0 0 100%;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 15px;
	list-style: none;
}
/* Strona nie jest odznaką — bez kropki z reguły bazowej. */
.fcs-hero__feats--scroll .fcs-hero__bpage::before { content: none; }
/* Odznaka wewnątrz strony — typografia i kropka 1:1 z wariantem statycznym (.fcs-hero__feats li). */
.fcs-hero__bit {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	flex: none;
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 14.5px;
	letter-spacing: .3px;
	color: #0e2a2e;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
	white-space: nowrap;
}
.fcs-hero__bit::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--fcs-magenta);
	flex: none;
	box-shadow: 0 0 0 4px rgba(200, 0, 167, .16);
}

/* CTA główne TYLKO w hero (screeny właściciela): domyślnie atrament + żółty napis,
   hover = magenta + biały. Globalny .fcs-btn--yellow poza hero nietknięty. */
.fcs-hero .fcs-btn--yellow {
	background: #0e2a2e;
	color: var(--fcs-yellow);
	border: 2px solid #0e2a2e;
	box-shadow: 0 12px 28px -14px rgba(6, 20, 24, .55); /* 1:1 z referencją heroFull */
}

.fcs-hero .fcs-btn--yellow:hover,
.fcs-hero .fcs-btn--yellow:focus-visible {
	background: var(--fcs-magenta);
	border-color: var(--fcs-magenta);
	color: #fff;
	outline: none;
}

.fcs-hero .fcs-btn--yellow:active {
	background: #a90b8f;
	color: #fff;
}

/* CTA drugorzędne TYLKO w hero (jasne tło mięty) — globalny .fcs-btn--outline poza hero nietknięty. */
.fcs-hero .fcs-btn--outline {
	color: #0e2a2e;
	border-color: rgba(14, 42, 46, .6);
	background: rgba(255, 255, 255, .28);
}

.fcs-hero .fcs-btn--outline:hover,
.fcs-hero .fcs-btn--outline:focus-visible {
	background: #0e2a2e;
	color: #fff;
	border-color: #0e2a2e;
}

/* ============ SEKCJE ============ */
.fcs-sec {
	padding: 100px 0;
}

.fcs-sec--yellow {
	background: var(--fcs-yellow);
	color: #1a1600;
}

.fcs-sec--white {
	background: #fff;
	color: var(--fcs-text);
}

.fcs-shead {
	max-width: 680px;
	margin-bottom: 52px;
}

.fcs-shead--c {
	margin: 0 auto 56px;
	text-align: center;
}

.fcs-shead h2 {
	font-size: 52px;
	font-weight: 800;
	letter-spacing: -1.6px;
	text-transform: uppercase;
	line-height: 1;
	color: #fff;
}

.fcs-shead p {
	font-size: 17px;
	margin-top: 16px;
	text-wrap: pretty;
	opacity: .75;
}

.fcs-sec .fcs-eyebrow {
	color: var(--fcs-yellow);
}

.fcs-sec--yellow .fcs-eyebrow {
	color: #1a1600;
}

.fcs-sec--yellow .fcs-shead h2 {
	color: #1a1600;
}

.fcs-sec--yellow .fcs-shead p {
	opacity: .72;
	color: #3a3200;
}

.fcs-sec--white .fcs-eyebrow {
	color: var(--fcs-magenta);
}

.fcs-sec--white .fcs-shead h2 {
	color: var(--fcs-ink);
}

.fcs-sec--white .fcs-shead p {
	opacity: 1;
	color: var(--fcs-soft);
}

/* ============ METODY (bento) ============ */
.fcs-bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 18px;
}

.fcs-bcard {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #1c1c22;
	border: 1px solid var(--fcs-border);
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .25);
	min-height: 300px;
	display: flex;
	transition: .18s;
	color: inherit;
}

.fcs-bcard:hover,
.fcs-bcard:focus-visible {
	border-color: var(--fcs-magenta);
	transform: translateY(-4px);
	outline: none;
}

.fcs-bcard:active {
	transform: translateY(-2px);
}

.fcs-bcard--big {
	grid-column: span 2;
	grid-row: span 2;
}

.fcs-bcard__im {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #2a2a33, #17171c);
	/* Tło letterboxu przy „Zmieść w całości" (contain) — inline background-image nadpisuje gradient-fallback, kolor zostaje. */
	background-color: #17171c;
	background-size: cover;
	background-position: center;
}

/* Zdjęcie po najechaniu (hover) — leży pod bazowym, wyłania się na hover kafla. */
.fcs-bcard__im--hover {
	z-index: 1;
	opacity: 0;
	transition: opacity .35s ease;
}

.fcs-bcard:hover .fcs-bcard__im--hover {
	opacity: 1;
}

.fcs-bcard__grad {
	position: absolute;
	inset: 0;
	z-index: 2;
	/* Kompromis czytelności (korekta po korekcie właściciela): pełne przyciemnienie usunięte,
	   ale napisy zlewały się z jasnymi zdjęciami — niski, subtelny gradient TYLKO pod strefą
	   tekstu (górne ~55% kafla czyste), do tego text-shadow na h3/p/num. */
	background: linear-gradient(180deg, rgba(10, 10, 14, 0) 55%, rgba(10, 10, 14, .58) 100%);
}

.fcs-bcard__c {
	position: relative;
	z-index: 3;
	margin-top: auto;
	padding: 24px;
}

.fcs-bcard__c h3 {
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 22px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: -.3px;
	/* Czytelność na zdjęciach bez przyciemniania kafla (gradient usunięty na życzenie):
	   warstwowy cień — ostra krawędź + miękka poświata. */
	text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 3px 16px rgba(0, 0, 0, .55);
}

.fcs-bcard--big .fcs-bcard__c h3 {
	font-size: 32px;
}

.fcs-bcard__c p {
	font-size: 14px;
	color: #e8e8ec; /* jaśniej niż #c8c8ce — opis stał na zdjęciach bez tła */
	margin-top: 8px;
	max-width: 420px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 2px 12px rgba(0, 0, 0, .55);
}

.fcs-bcard__n {
	position: absolute;
	z-index: 3;
	right: 18px;
	top: 16px;
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 14px;
	color: var(--fcs-yellow);
	opacity: .9;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}

/* ============ CZYM SIE ZAJMUJEMY ============ */
.fcs-about {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
}

.fcs-about__media {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	overflow: hidden;
	background: #1c1c22;
	border: 1px solid rgba(255, 255, 255, .08);
}

.fcs-about__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fcs-about h2 {
	font-size: 52px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -1.4px;
	color: #fff;
	line-height: 1;
}

.fcs-about p {
	font-size: 16.5px;
	color: #a6a6b0;
	margin-top: 20px;
	line-height: 1.7;
	text-wrap: pretty;
}

.fcs-about__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.fcs-about__tags span {
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 13px;
	color: #fff;
	background: #1c1c22;
	border: 1px solid rgba(255, 255, 255, .12);
	padding: 9px 15px;
	border-radius: 999px;
}

/* ============ DLACZEGO MY (filary) ============ */
.fcs-why {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid rgba(0, 0, 0, .12);
}

.fcs-wcard {
	padding: 34px 26px 30px;
	border-right: 1px solid rgba(0, 0, 0, .12);
}

.fcs-wcard:last-child {
	border-right: 0;
}

.fcs-wcard__n {
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 40px;
	color: rgba(26, 22, 0, .2);
	line-height: 1;
	margin-bottom: 16px;
}

.fcs-wcard h3 {
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 19px;
	text-transform: uppercase;
	letter-spacing: -.2px;
	color: #1a1600;
	margin-bottom: 9px;
}

.fcs-wcard p {
	font-size: 14.5px;
	color: #4a3f00;
	line-height: 1.6;
}

/* ============ KRAJE (mapa + staty + flagi) ============ */
/* Mapa świata: kadr 1:1 z handoffem (.mapwrap) — miękkie tło, ramka, radius 20. */
.fcs-map {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--fcs-bg-soft);
	border: 1px solid var(--fcs-border);
	padding: 16px 8px 4px;
}

.fcs-map svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Ląd wyraźny szary (był #E7EAEC — zbyt jasny, kraje niewidoczne na tel./słabszych ekranach),
   spoczynek = cyan (niebieski), puls/hover = magenta (różowy). Kolory ODWRÓCONE na życzenie
   klientki: „zaznacza się na różowo i zostaje niebieski". */
.fcs-map .land {
	fill: #B4BDC4;
	stroke: #fff;
	stroke-width: .4;
	stroke-linejoin: round;
	transition: fill .5s ease;
}

.fcs-map .land.on {
	fill: var(--fc-cyan, #6EC1E4);
	cursor: pointer; /* wskaźnik tylko na krajach z listy realizacji (reszta = domyślny) */
}

.fcs-map .land.on.pulse {
	fill: var(--fc-magenta, #C800A7);
}

.fcs-mapstat {
	display: flex;
	justify-content: center;
	gap: 64px;
	flex-wrap: wrap;
	margin-top: 38px; /* odstęp statystyk od mapy — 1:1 z projektem (.mapstat) */
}

.fcs-mapstat b {
	display: block;
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 48px;
	color: var(--fcs-magenta);
	line-height: 1;
}

.fcs-mapstat span {
	font-size: 14px;
	color: var(--fcs-soft);
	margin-top: 4px;
	display: block;
	text-align: center;
}

.fcs-flagbar {
	overflow: hidden;
	/* Pionowy oddech pod hover kafla (lift −2px + cień) — overflow:hidden ucinał ramkę.
	   margin-top 44−6 = wizualny odstęp bez zmian. */
	padding: 6px 0 10px;
	margin-top: 38px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.fcs-flagtrack {
	display: flex;
	gap: 12px;
	width: max-content;
	animation: fcs-mq 40s linear infinite;
}

.fcs-flagbar:hover .fcs-flagtrack {
	animation-play-state: paused;
}

.fcs-flag {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	background: #fff;
	border: 1px solid var(--fcs-border);
	border-radius: 999px;
	padding: 8px 18px 8px 9px;
	font-family: var(--fcs-head);
	font-weight: 600;
	font-size: 14px;
	color: var(--fcs-ink);
	transition: .15s;
	white-space: nowrap;
}

.fcs-flag:hover {
	border-color: var(--fcs-magenta);
	box-shadow: 0 8px 22px -14px rgba(200, 0, 167, .5);
	transform: translateY(-2px);
}

.fcs-flag img {
	width: 28px;
	height: 20px;
	border-radius: 3px;
	object-fit: cover;
	flex: none;
	/* Obrys chroni jasne pola flag (PL biały pas) przed zlaniem z białym kaflem.
	   Outline z ujemnym offsetem maluje się NAD obrazkiem (inset box-shadow na img jest zakrywany treścią). */
	box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
	outline: 1px solid rgba(0, 0, 0, .16);
	outline-offset: -1px;
}

@media (prefers-reduced-motion: reduce) {
	.fcs-flagtrack {
		animation: none;
	}
}

/* ============ WAZNE DATY (timeline) ============ */
.fcs-time {
	display: grid;
	gap: 0;
}

.fcs-trow {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 34px;
	padding: 30px 0;
	border-top: 1px solid rgba(0, 0, 0, .14);
	/* Świadome odstępstwo od handoffu (baseline): rok wyrównany do GÓRY tytułu — korekta właściciela. */
	align-items: start;
}

.fcs-trow > div:last-child h3 {
	/* Zdejmujemy górny half-leading tytułu, żeby cap-height roku i tytułu były w jednej linii. */
	line-height: 1.1;
	margin-top: 2px;
}

.fcs-trow:last-child {
	border-bottom: 1px solid rgba(0, 0, 0, .14);
}

.fcs-trow__yr {
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 44px;
	color: #1a1600;
	letter-spacing: -1px;
	line-height: 1;
}

.fcs-trow h3 {
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 20px;
	text-transform: uppercase;
	color: #1a1600;
	margin-bottom: 8px;
}

.fcs-trow p {
	font-size: 15px;
	color: #4a3f00;
	line-height: 1.6;
	max-width: 760px;
}

/* ============ OPINIE ============ */
.fcs-tgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Slider opinii (>3 opinie): viewport z ukrytym przepełnieniem + poziomy track kart.
   Padding + ujemny margines = oddech na hover kafla (lift −4px + magenta ramka + cień) —
   overflow:hidden tnie na krawędzi padding-boxa, więc bez tego ramka była ucinana
   (ten sam wzorzec co pasek flag / karuzela sklepu v1.21.2). */
.fcs-tslider {
	overflow: hidden;
	padding: 10px;
	margin: -10px;
}

.fcs-ttrack {
	display: flex;
	gap: 20px;
	transition: transform .6s ease;
}

.fcs-tslider .fcs-tcard {
	/* Widoczne 3 karty (gap 20px między nimi = 40px na wiersz). */
	flex: 0 0 calc((100% - 40px) / 3);
}

.fcs-tcard {
	background: #fff;
	border: 1px solid var(--fcs-border);
	border-radius: 18px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	transition: .16s;
	box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .25);
}

.fcs-tcard:hover {
	border-color: var(--fcs-magenta);
	transform: translateY(-4px);
	box-shadow: 0 22px 46px -22px rgba(200, 0, 167, .28);
}

.fcs-tstars {
	color: var(--fcs-yellow-deep);
	letter-spacing: 2px;
	font-size: 15px;
	margin-bottom: 12px;
}

.fcs-tcard p {
	font-size: 15px;
	color: var(--fcs-text);
	line-height: 1.62;
	margin-bottom: 24px;
	flex: 1;
	text-wrap: pretty;
}

.fcs-tcard__who {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fcs-tcard__av {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--fcs-head);
	font-weight: 800;
	color: #fff;
	font-size: 15px;
	flex: none;
}

.fcs-tcard__who b {
	display: block;
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 14.5px;
	color: var(--fcs-ink);
}

.fcs-tcard__who small {
	font-size: 12.5px;
	color: var(--fcs-soft);
}

/* ============ NEWSLETTER ============ */
.fcs-news {
	background: var(--fcs-yellow);
	color: #1a1600;
	padding: 84px 0;
}

.fcs-news__in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: center;
}

.fcs-news h2 {
	font-size: 48px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -1.4px;
	line-height: .98;
}

.fcs-news p {
	font-size: 17px;
	color: #3a3200;
	margin-top: 14px;
}

.fcs-news__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fcs-news__row {
	display: flex;
	gap: 11px;
}

.fcs-news__row input {
	flex: 1;
	min-width: 0;
	height: 58px;
	border-radius: 12px;
	border: 2px solid #1a1600;
	background: #fff;
	padding: 0 20px;
	font-size: 15px;
	font-family: var(--fcs-body);
	color: var(--fcs-ink);
	outline: none;
}

.fcs-news__row input:focus,
.fcs-news__row input:focus-visible {
	border-color: var(--fcs-magenta);
}

.fcs-news__row button {
	flex: none;
	height: 58px;
	padding: 0 30px;
	border: 0;
	border-radius: 12px;
	background: #141418;
	color: #fff;
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 15px;
	transition: .15s;
	cursor: pointer;
}

.fcs-news__row button:hover,
.fcs-news__row button:focus-visible {
	background: var(--fcs-magenta);
	outline: none;
}

.fcs-news__row button:active {
	background: var(--fc-magenta-d, #a90b8f);
}

.fcs-news__row button[disabled] {
	opacity: .6;
	cursor: default;
}

.fcs-news__consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	max-width: 560px;
	font-family: var(--fcs-body);
	font-size: 12.5px;
	color: #4a3f00;
	line-height: 1.55;
	cursor: pointer;
	padding-left: 2px;
}

.fcs-news__consent input {
	margin: 1px 0 0;
	width: 18px;
	height: 18px;
	flex: none;
	accent-color: #141418;
	cursor: pointer;
}

.fcs-news__consent span {
	flex: 1;
}

/* Link w zgodzie musi być WIDOCZNY (podkreślenie) na żółtym tle newslettera — ciemny, czytelny. */
.fcs-news__consent a {
	color: #141418;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fcs-news__consent a:hover,
.fcs-news__consent a:focus-visible {
	color: var(--fcs-magenta, #C800A7);
	text-decoration-thickness: 2px;
}

.fcs-news__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Chipy z korzyściami (najmocniejszy element konwersji) */
.fcs-news__chips {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}
.fcs-news__chips li {
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: -.2px;
	padding: 8px 15px;
	border: 2px solid #1a1600;
	border-radius: 999px;
	color: #1a1600;
}

/* Prawa kolumna: min-height, żeby stan „done" nie zmieniał wysokości sekcji */
.fcs-news__right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 196px;
}
/* [hidden] przegrywa z klasą display:flex — jawny reset (gotcha fcs) */
.fcs-news__form[hidden] { display: none; }

/* Komunikat błędu walidacji z ikoną „!" */
.fcs-news__err {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-family: var(--fcs-body);
	font-weight: 700;
	font-size: 14px;
	color: #8f1d1d;
	animation: fcs-nl-rise .18s ease-out;
}
.fcs-news__err[hidden] { display: none; }
.fcs-news__err::before {
	content: "!";
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #8f1d1d;
	color: var(--fcs-yellow, #ffe01b);
	font-size: 13px;
	line-height: 20px;
	text-align: center;
	font-weight: 800;
}

/* Spinner w przycisku (stan loading) */
.fcs-news__spin {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 9px;
	vertical-align: -2px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: fcs-nl-spin .7s linear infinite;
}
@keyframes fcs-nl-spin { to { transform: rotate(360deg); } }
@keyframes fcs-nl-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Stan „done" — potwierdzenie po zapisie (zastępuje formularz) */
.fcs-news__done[hidden] { display: none; }
.fcs-news__done {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	animation: fcs-nl-rise .25s ease-out;
}
.fcs-news__done .fcs-nl-check {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #141418;
	color: var(--fcs-yellow, #ffe01b);
	font-size: 23px;
	line-height: 46px;
	text-align: center;
	font-weight: 800;
}
.fcs-news__done .fcs-nl-body {
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.fcs-news__done h3 {
	font-family: var(--fcs-head);
	font-weight: 800;
	font-size: 27px;
	line-height: 1.12;
	letter-spacing: -.6px;
	color: #1a1600;
	margin: 0;
	text-transform: none;
}
.fcs-news__done p {
	margin: 0;
	font-family: var(--fcs-body);
	font-size: 16px;
	line-height: 1.5;
	color: #3a3200;
	max-width: 520px;
}
.fcs-news__done p b { color: #1a1600; }
.fcs-news__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 2px;
}
.fcs-news__actions button {
	font-family: var(--fcs-head);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	background: transparent;
}
.fcs-news__actions .fcs-nl-resend {
	padding: 10px 18px;
	border: 2px solid #1a1600;
	border-radius: 999px;
	color: #1a1600;
	transition: .15s;
}
.fcs-news__actions .fcs-nl-resend:hover { background: rgba(20, 20, 24, .09); }
.fcs-news__actions .fcs-nl-edit {
	padding: 10px 6px;
	border: 0;
	color: #4a4000;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.fcs-news__actions .fcs-nl-edit:hover { color: #1a1600; }
.fcs-news__micro {
	font-family: var(--fcs-body);
	font-size: 13px;
	color: #6a5e00;
	margin: 0;
}

/* ============ RESPONSYWNOSC (media queries — sekcje poza .fc2) ============ */
@media (max-width: 1080px) {
	.fcs-wrap {
		padding: 0 32px;
	}
	.fcs-hero h1 {
		font-size: 52px;
	}
	.fcs-about,
	.fcs-news__in {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.fcs-bento,
	.fcs-tgrid {
		grid-template-columns: repeat(2, 1fr);
	}
	.fcs-tslider .fcs-tcard {
		flex: 0 0 calc((100% - 20px) / 2);
	}
	.fcs-bcard--big {
		grid-column: span 2;
		grid-row: auto;
	}
	.fcs-why {
		grid-template-columns: repeat(2, 1fr);
	}
	.fcs-wcard:nth-child(2) {
		border-right: 0;
	}
	.fcs-shead h2,
	.fcs-about h2,
	.fcs-news h2 {
		font-size: 38px;
	}
	.fcs-trow {
		grid-template-columns: 1fr;
		gap: 6px;
	}
	.fcs-trow__yr {
		font-size: 34px;
	}
}

@media (max-width: 680px) {
	.fcs-sec {
		padding: 64px 0;
	}
	.fcs-hero {
		height: auto;
		min-height: 520px;
	}
	.fcs-hero h1 {
		font-size: 38px;
	}
	/* Na wąskich ekranach dosuwamy kadr bliżej środka-prawej, by treść nie zasłaniała motywu. */
	.fcs-hero__media img {
		object-position: 70% 50%;
	}
	.fcs-hero__scrim {
		/* Mobile 1:1 z referencją heroFull (strona-glowna-2.0.html). */
		background: linear-gradient(180deg, rgba(10, 10, 14, .35), rgba(10, 10, 14, .72));
	}
	.fcs-hero__cta {
		flex-direction: column;
	}
	.fcs-hero__cta .fcs-btn {
		width: 100%;
	}
	/* Na mobile przycisk drugorzędny leży na CIEMNYM scrimie — półprzezroczysta biel
	   robiła się szara z ciemnym tekstem (nieczytelne, inaczej niż desktop). Pełna biel. */
	.fcs-hero .fcs-btn--outline {
		background: #f2f4f3;
		border-color: #f2f4f3;
		color: #0e2a2e;
	}
	/* Certyfikaty pod przyciskami: na mobilnym CIEMNYM scrimie jasny napis (desktop: ciemny na jasnym tle). */
	.fcs-hero__feats li,
	.fcs-hero__bit {
		color: #eef0ef;
		text-shadow: 0 1px 12px rgba(8, 8, 12, .55);
	}
	/* Eyebrow hero: desktopowy atrament (#0e2a2e) zlewa się z ciemnym mobilnym scrimem — jasny
	   jak certyfikaty; kreska (i) idzie za currentColor. */
	.fcs-hero__eyebrow {
		color: #eef0ef;
		text-shadow: 0 1px 12px rgba(8, 8, 12, .55);
	}
	/* Slajd z dedykowanym zdjęciem mobilnym: pokaż mobile, ukryj desktop (--desk nadawany tylko wtedy). */
	.fcs-hero__slide .fcs-hero__img--mob {
		display: block;
	}
	.fcs-hero__slide .fcs-hero__img--desk {
		display: none;
	}
	.fcs-bento,
	.fcs-why,
	.fcs-tgrid {
		grid-template-columns: 1fr;
	}
	/* Bez resetu span-ów bento przy 1 kolumnie powstawała NIEJAWNA druga kolumna ~2px —
	   połowa kafli metod była niewidoczna („brakujące kafelki"). */
	.fcs-bcard--big {
		grid-column: auto;
		grid-row: auto;
	}
	/* Kadr kafla (zoom% auto) jest strojony pod proporcje desktopu — na wąskiej karcie
	   zostawiał pasy. Na telefonie warstwa PODSTAWY używa osobnego kadru mobilnego:
	   --fcs-bm-size (brak = cover), --fcs-bm-pos (mobilny focus albo desktopowy z inline).
	   Warstwa hover na dotyku nie ma znaczenia — zostaje cover (bez zmian). */
	.fcs-bcard__im:not(.fcs-bcard__im--hover) {
		background-size: var(--fcs-bm-size, cover) !important;
		background-position: var(--fcs-bm-pos, center) !important;
	}
	.fcs-bcard__im--hover {
		background-size: cover !important;
	}
	.fcs-tslider .fcs-tcard {
		flex: 0 0 100%;
	}
	/* Filary w 1 kolumnie: separatory KOLUMN (border-right) wyglądały jak przypadkowe
	   pionowe kreski — zamiana na poziome linie między kartami. */
	.fcs-wcard {
		border-right: 0;
		border-bottom: 1px solid rgba(0, 0, 0, .12);
	}
	.fcs-wcard:last-child {
		border-bottom: 0;
	}
	.fcs-mapstat {
		gap: 32px;
	}
	/* Dedykowana mapa mobilna (zoom regionu zsynchronizowany z paskiem flag) — WYRAŹNIE
	   większa (~+30%), by dozoomowana Europa wypełniała kadr; SVG na pełną szerokość. Kolory .land bez zmian. */
	.fcs-map[data-fcs-map-mobile="1"] {
		padding: 12px 6px 6px;
		min-height: 400px;
	}
	.fcs-map[data-fcs-map-mobile="1"] svg {
		width: 100%;
		height: auto;
		min-height: 380px;
	}
	.fcs-news__row {
		flex-direction: column;
	}
	.fcs-news__row input,
	.fcs-news__row button {
		flex: none;
		width: 100%;
	}
}

/* Dlugie wyrazy (np. niemieckie zlozenia jak Geschaeftspartner) rozpychaly strone w poziomie na mobile.
   overflow-wrap dziedziczy na potomkow i lamie wyraz TYLKO gdy nie miesci sie w kolumnie - zero zmian w normalnym skladzie; "anywhere" (nie break-word) bo wplywa na min-content = dziala tez we flex/grid. */
main[class*="fcs-"]{overflow-wrap:anywhere}
