/* FutureCoding 2.0 – komponenty: przyciski, hero, terminal, karty, proces, pakiety, CTA. */

/* ---------- Przyciski ----------
 * .fc-button (w szablonach PHP) oraz przyciski bloku core/button
 * z klasą fc-button--primary / fc-button--ghost na .wp-block-button.
 */
.fc-button,
.wp-block-button.fc-button--primary .wp-block-button__link,
.wp-block-button.fc-button--ghost .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 48px;
	padding: .75rem 1.5rem;
	border-radius: var(--fc-radius-sm);
	font-family: var(--fc-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	border: 1px solid transparent;
	box-sizing: border-box;
	transition: background var(--fc-duration) var(--fc-ease), border-color var(--fc-duration) var(--fc-ease), color var(--fc-duration) var(--fc-ease), transform var(--fc-duration) var(--fc-ease);
}

.fc-button .fc-icon { width: 18px; height: 18px; transition: transform var(--fc-duration) var(--fc-ease); }
.fc-button:hover .fc-icon { transform: translateX(3px); }

.fc-button--primary,
.wp-block-button.fc-button--primary .wp-block-button__link {
	background: var(--fc-primary-strong);
	color: var(--fc-on-primary) !important;
}

.fc-button--primary:hover,
.wp-block-button.fc-button--primary .wp-block-button__link:hover {
	background: var(--fc-primary-hover);
	color: var(--fc-on-primary) !important;
}

.fc-button--ghost,
.wp-block-button.fc-button--ghost .wp-block-button__link {
	background: transparent;
	border-color: var(--fc-border-strong);
	color: var(--fc-text) !important;
}

.fc-button--ghost:hover,
.wp-block-button.fc-button--ghost .wp-block-button__link:hover {
	border-color: var(--fc-primary);
	color: var(--fc-text) !important;
}

.fc-button--small { min-height: 42px; padding: .5rem 1rem; font-size: .9375rem; }

.wp-block-button.fc-button--primary .wp-block-button__link::after,
.wp-block-button.fc-button--arrow .wp-block-button__link::after {
	content: "→";
	font-weight: 500;
	transition: transform var(--fc-duration) var(--fc-ease);
}

.wp-block-button.fc-button--primary .wp-block-button__link:hover::after { transform: translateX(3px); }

.fc-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	color: var(--fc-primary);
}

.fc-link-arrow::after { content: "→"; transition: transform var(--fc-duration) var(--fc-ease); }
.fc-link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.fc-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
	isolation: isolate;
}

.fc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 60% 55% at 78% 35%, rgba(79, 91, 245, .22), transparent 70%),
		linear-gradient(var(--fc-border) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, var(--fc-border) 1px, transparent 1px) 0 0 / 56px 56px;
	mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, #000 30%, transparent 85%);
	-webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, #000 30%, transparent 85%);
	opacity: .55;
}

.fc-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.fc-hero h1 { margin: var(--fc-space-2) 0 var(--fc-space-3); }
.fc-hero h1 .fc-accent-text,
.fc-accent-text { color: var(--fc-primary); }

.fc-hero__lead {
	font-size: var(--fc-text-lg);
	color: var(--fc-text-2);
	max-width: 36em;
	margin: 0 0 var(--fc-space-4);
}

.fc-hero .wp-block-buttons { gap: .75rem; margin-bottom: var(--fc-space-4); }

.fc-checks {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .9375rem;
	color: var(--fc-text-2);
}

.fc-checks li { display: flex; align-items: center; gap: .5rem; }

.fc-checks li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: var(--fc-success);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Terminal ---------- */
.fc-terminal {
	background: rgba(14, 25, 44, .92);
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius);
	box-shadow: var(--fc-shadow), 0 0 0 1px rgba(130, 147, 255, .08), 0 0 80px -20px rgba(79, 91, 245, .45);
	font-family: var(--fc-font-mono);
	font-size: .875rem;
	overflow: hidden;
}

.fc-terminal__bar {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .75rem 1rem;
	border-bottom: 1px solid var(--fc-border);
	color: var(--fc-text-2);
	font-size: .75rem;
}

.fc-terminal__dots { display: inline-flex; gap: 6px; margin-right: .5rem; }
.fc-terminal__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--fc-border-strong); }
.fc-terminal__dots i:nth-child(1) { background: #EF6B6B; }
.fc-terminal__dots i:nth-child(2) { background: var(--fc-accent); }
.fc-terminal__dots i:nth-child(3) { background: var(--fc-success); }

.fc-terminal__body { padding: .75rem 1rem 1rem; }

.fc-terminal__list { list-style: none; margin: 0; padding: 0; counter-reset: fc-line; }

.fc-terminal__line {
	display: grid;
	grid-template-columns: 1.75rem 1rem minmax(0, 1fr) auto;
	align-items: center;
	gap: .25rem;
	padding: .45rem .5rem;
	border-radius: 6px;
	color: var(--fc-text);
	counter-increment: fc-line;
	transition: background var(--fc-duration) var(--fc-ease), opacity .4s var(--fc-ease);
}

.fc-terminal__line::before { content: counter(fc-line); color: #5E6E8C; font-size: .75rem; }
.fc-terminal__line > span:first-child { color: var(--fc-primary); }

.fc-terminal__status {
	font-size: .6875rem;
	padding: .15rem .5rem;
	border-radius: 999px;
	color: #6B7A96;
}

.fc-terminal__line[data-state="done"] .fc-terminal__status { color: var(--fc-success); background: rgba(34, 197, 94, .12); }
.fc-terminal__line[data-state="active"] { background: var(--fc-primary-soft); }
.fc-terminal__line[data-state="active"] .fc-terminal__status { color: var(--fc-primary); background: rgba(130, 147, 255, .16); }
.fc-terminal__line[data-state="todo"] { color: var(--fc-text-2); }

.fc-terminal__progress {
	margin-top: .75rem;
	padding: .75rem .5rem 0;
	border-top: 1px solid var(--fc-border);
	color: var(--fc-text-2);
	font-size: .8125rem;
}

.fc-terminal__progress-row { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.fc-terminal__progress-row strong { color: var(--fc-text); font-weight: 600; }

.fc-terminal__bar-track { height: 6px; border-radius: 999px; background: var(--fc-surface-2); overflow: hidden; }

.fc-terminal__bar-fill {
	display: block;
	height: 100%;
	width: var(--fc-progress, 45%);
	border-radius: inherit;
	background: linear-gradient(90deg, var(--fc-primary-strong), var(--fc-primary));
	transition: width .6s var(--fc-ease);
}

/* ---------- Pas klientów ---------- */
.fc-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fc-space-2) clamp(1.5rem, 4vw, 3.5rem);
	color: var(--fc-text-2);
}

.fc-trust__label { font-size: var(--fc-text-sm); }

.fc-trust__name {
	font-family: var(--fc-font-display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	color: #C5D0E3;
}

/* ---------- Karty ---------- */
.fc-grid {
	display: grid;
	gap: var(--fc-space-3);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.fc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) { .fc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fc-grid--4 { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 960px) { .fc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fc-grid--3 { grid-template-columns: minmax(0, 1fr); } }

.fc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .75rem;
	padding: var(--fc-space-4) var(--fc-space-4) var(--fc-space-3);
	background: linear-gradient(180deg, rgba(27, 46, 72, .55), rgba(20, 34, 56, .55));
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	transition: border-color var(--fc-duration) var(--fc-ease), transform var(--fc-duration) var(--fc-ease), box-shadow var(--fc-duration) var(--fc-ease);
}

.fc-card:hover,
.fc-card:focus-within {
	border-color: var(--fc-primary);
	transform: translateY(-3px);
	box-shadow: 0 20px 50px -28px rgba(79, 91, 245, .6);
}

.fc-card h3 { font-size: 1.25rem; margin: .25rem 0 0; }
.fc-card p { color: var(--fc-text-2); margin: 0; font-size: .9375rem; }

.fc-card__icon,
.fc-card .fc-icon-box {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	color: var(--fc-primary);
	background: var(--fc-primary-soft);
	border: 1px solid rgba(130, 147, 255, .25);
}

.fc-icon-box .fc-icon,
.fc-card__icon .fc-icon { width: 24px; height: 24px; }

.fc-card__more {
	margin-top: auto;
	padding-top: .5rem;
	display: flex;
	justify-content: flex-end;
}

.fc-card__more a {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--fc-border-strong);
	color: var(--fc-text) !important;
	text-decoration: none;
	font-size: 1rem;
}

.fc-card__more a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fc-card:hover .fc-card__more a { background: var(--fc-primary-strong); border-color: var(--fc-primary-strong); }

.fc-card--featured { border-color: var(--fc-primary); background: linear-gradient(180deg, rgba(79, 91, 245, .18), rgba(20, 34, 56, .6)); }

/* ---------- Proces ---------- */
.fc-process {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: var(--fc-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: fc-step;
}

.fc-process__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .5rem;
	counter-increment: fc-step;
}

.fc-process__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 26px;
	left: calc(50% + 34px);
	right: calc(-50% + 34px);
	height: 1px;
	background: linear-gradient(90deg, var(--fc-primary), var(--fc-border));
}

.fc-process__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--fc-surface);
	border: 1px solid var(--fc-border-strong);
	color: var(--fc-primary);
}

.fc-process__icon .fc-icon { width: 24px; height: 24px; }

.fc-process__step::before {
	content: "0" counter(fc-step);
	order: 2;
	font-family: var(--fc-font-mono);
	font-size: var(--fc-text-sm);
	font-weight: 600;
	color: var(--fc-text);
}

.fc-process__icon { order: 1; }
.fc-process__name { order: 3; font-weight: 600; font-size: .9375rem; }
.fc-process__desc { order: 4; color: var(--fc-text-2); font-size: var(--fc-text-sm); margin: 0; }

@media (max-width: 900px) {
	.fc-process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--fc-space-4); }
	.fc-process__step::after { display: none; }
}

@media (max-width: 520px) {
	.fc-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Pakiety opieki ---------- */
.fc-plan { gap: 1rem; }
.fc-plan__price { font-family: var(--fc-font-display); font-weight: 800; font-size: 2.75rem; letter-spacing: -0.03em; line-height: 1; color: var(--fc-text); margin: .25rem 0 0 !important; }
.fc-plan__price small { font-family: var(--fc-font-body); font-size: .9375rem; font-weight: 500; color: var(--fc-text-2); letter-spacing: 0; }

.fc-plan ul {
	list-style: none;
	margin: .5rem 0 1rem;
	padding: 1rem 0 0;
	border-top: 1px solid var(--fc-border);
	display: grid;
	gap: .625rem;
	font-size: .9375rem;
}

.fc-plan ul li { display: flex; gap: .5rem; }

.fc-plan ul li::before {
	content: "";
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex-shrink: 0;
	background: var(--fc-success);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fc-plan .wp-block-buttons { margin-top: auto; }
.fc-plan .wp-block-button,
.fc-plan .wp-block-button__link { width: 100%; justify-content: center; }

.fc-badge {
	display: inline-block;
	width: fit-content;
	font-family: var(--fc-font-mono);
	font-size: .6875rem;
	font-weight: 600;
	padding: .2rem .6rem;
	border-radius: 999px;
	background: var(--fc-accent);
	color: var(--fc-bg);
}

.fc-note { color: var(--fc-text-2); font-family: var(--fc-font-mono); font-size: var(--fc-text-sm); margin-top: var(--fc-space-3); }

/* ---------- Karta projektu ---------- */
.fc-project {
	padding: 0;
	overflow: hidden;
	gap: 0;
}

.fc-project__media {
	aspect-ratio: 16 / 10;
	background: var(--fc-surface-2);
	display: grid;
	place-items: center;
	color: var(--fc-text-2);
	font-family: var(--fc-font-mono);
	font-size: var(--fc-text-xs);
	border-bottom: 1px solid var(--fc-border);
	margin: 0 !important;
}

.fc-project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fc-project__body { display: flex; flex-direction: column; gap: .5rem; padding: var(--fc-space-3); flex-grow: 1; }

.fc-tag {
	display: inline-block;
	width: fit-content;
	font-family: var(--fc-font-mono);
	font-size: .6875rem;
	padding: .2rem .55rem;
	border-radius: 6px;
	background: rgba(11, 21, 37, .8);
	border: 1px solid var(--fc-border-strong);
	color: var(--fc-text-2);
}

/* ---------- Kompetencje ---------- */
.fc-team__role { font-weight: 600; font-size: .9375rem; color: var(--fc-text); margin: 0; }

/* ---------- Baner CTA ---------- */
.fc-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fc-space-3);
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: var(--fc-radius-lg);
	background:
		radial-gradient(ellipse 70% 120% at 90% 0%, rgba(130, 147, 255, .35), transparent 60%),
		linear-gradient(135deg, #3442D9, #4F5BF5);
	color: var(--fc-on-primary);
}

.fc-cta h2 { color: #FFFFFF; font-size: clamp(1.75rem, 3vw, 2.375rem); margin: .5rem 0; }
.fc-cta p { color: #E3E7FF; margin: 0; max-width: 46em; }
.fc-cta .fc-eyebrow { color: #E3E7FF; }

.fc-cta .wp-block-button.fc-button--light .wp-block-button__link,
.fc-button--light {
	background: #FFFFFF;
	color: var(--fc-bg) !important;
	min-height: 48px;
	padding: .75rem 1.5rem;
	border-radius: var(--fc-radius-sm);
	font-weight: 600;
	text-decoration: none;
}

.fc-cta .wp-block-button.fc-button--light .wp-block-button__link::after { content: " →"; }

/* ---------- Pojawianie się sekcji (tylko z JS) ---------- */
.fc-js .fc-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .6s var(--fc-ease), transform .6s var(--fc-ease);
}

.fc-js .fc-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
	.fc-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Odstępy bloków ----------
 * WordPress dodaje margin-block-start kolejnym blokom w układzie "flow".
 * W siatkach i kartach odstępy daje gap, więc marginesy zerujemy.
 */
.fc-grid > *,
.fc-card > *,
.fc-hero__grid > *,
.fc-section__head > *,
.fc-cta > *,
.fc-project__body > * {
	margin-block: 0 !important;
}

/* Wyższa specyficzność niż style akapitów Blocksy. */
.fc-site .fc-card p.fc-badge { color: var(--fc-bg); font-size: .6875rem; }
.fc-site .fc-card p.fc-plan__price { font-size: 2.75rem; color: var(--fc-text); font-family: var(--fc-font-display); font-weight: 800; }
.fc-site .fc-card p.fc-team__role { color: var(--fc-text); }

/* ---------- Formularz wyceny ---------- */
.fc-form {
	display: grid;
	gap: var(--fc-space-4);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--fc-surface);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-lg);
}

.fc-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--fc-space-2); min-width: 0; }
.fc-form legend { font-family: var(--fc-font-display); font-size: 1.375rem; font-weight: 700; color: var(--fc-text); margin-bottom: var(--fc-space-2); padding: 0; }
.fc-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fc-form__label { margin: var(--fc-space-1) 0 0; font-weight: 600; font-size: .9375rem; }

.fc-form__steps { display: none; }

.fc-form.is-stepped .fc-form__steps {
	display: flex;
	gap: var(--fc-space-1);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fc-text-sm);
	color: var(--fc-text-2);
}

.fc-form__steps li {
	flex: 1;
	padding: .625rem .75rem;
	border-radius: var(--fc-radius-sm);
	background: var(--fc-bg);
	border: 1px solid var(--fc-border);
}

.fc-form__steps li.is-current { color: var(--fc-text); border-color: var(--fc-primary); background: var(--fc-primary-soft); }
.fc-form__steps li.is-done { color: var(--fc-success); }

.fc-form__options { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fc-form__options--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }

.fc-option { position: relative; display: block; cursor: pointer; }
.fc-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.fc-option span {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: .875rem 1rem;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	background: var(--fc-bg);
	font-weight: 500;
	transition: border-color var(--fc-duration) var(--fc-ease), background var(--fc-duration) var(--fc-ease);
}

.fc-option:hover span { border-color: var(--fc-primary); }
.fc-option input:checked + span { border-color: var(--fc-primary); background: var(--fc-primary-soft); box-shadow: inset 0 0 0 1px var(--fc-primary); }
.fc-option input:focus-visible + span { box-shadow: var(--fc-focus); }

.fc-form__row { display: grid; gap: var(--fc-space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.fc-field { display: grid; gap: .375rem; font-size: .9375rem; font-weight: 500; }
.fc-field small { color: var(--fc-text-2); font-weight: 400; }

.fc-site .fc-field input,
.fc-site .fc-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .875rem 1rem;
	min-height: 48px;
	background: var(--fc-bg);
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	color: var(--fc-text);
	font: inherit;
	font-weight: 400;
}

.fc-site .fc-field input:focus,
.fc-site .fc-field textarea:focus { outline: none; border-color: var(--fc-primary); box-shadow: 0 0 0 3px var(--fc-primary-soft); }

.fc-consent { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fc-text-sm); color: var(--fc-text-2); }
.fc-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fc-primary-strong); flex-shrink: 0; }

.fc-form__nav { display: flex; justify-content: space-between; gap: var(--fc-space-2); flex-wrap: wrap; }
.fc-form__nav button { cursor: pointer; }
.fc-form__nav [data-fc-next],
.fc-form__nav [data-fc-submit] { margin-left: auto; }
.fc-form__nav [hidden] { display: none; }

.fc-form__error { margin: 0; color: #FCA5A5; font-size: var(--fc-text-sm); }

.fc-form-message { padding: var(--fc-space-3); border-radius: var(--fc-radius); border: 1px solid var(--fc-border); background: var(--fc-surface); }
.fc-form-message--ok { border-color: rgba(34, 197, 94, .5); }
.fc-form-message--error { border-color: rgba(239, 68, 68, .6); color: #FCA5A5; }
.fc-site .fc-form-message__title { font-family: var(--fc-font-mono); color: var(--fc-success); margin: 0 0 .5rem; }

/* ---------- Kontakt: układ strony ---------- */
.fc-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fc-contact__info { display: grid; gap: var(--fc-space-2); }
@media (max-width: 900px) { .fc-contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Nagłówek podstrony ---------- */
.fc-page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); position: relative; isolation: isolate; overflow: hidden; }
.fc-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 85% 0%, rgba(79, 91, 245, .2), transparent 70%); }
.fc-page-hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); margin: var(--fc-space-2) 0; max-width: 18ch; }
.fc-page-hero .fc-hero__lead { margin-bottom: var(--fc-space-3); }
.fc-breadcrumbs { font-size: var(--fc-text-sm); color: var(--fc-text-2); display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.fc-breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--fc-border-strong); }
.fc-breadcrumbs a { color: var(--fc-text-2); text-decoration: none; }

/* ---------- Filtr realizacji ---------- */
.fc-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--fc-space-4); }
.fc-filter button {
	min-height: 44px;
	padding: .5rem 1.125rem;
	border-radius: 999px;
	border: 1px solid var(--fc-border-strong);
	background: transparent;
	color: var(--fc-text-2);
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}
.fc-filter button[aria-pressed="true"] { background: var(--fc-text); color: var(--fc-bg); border-color: var(--fc-text); }
.fc-project[hidden] { display: none; }
.fc-project__title a { color: var(--fc-text); text-decoration: none; }
.fc-project__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Case study ---------- */
.fc-case__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--fc-space-2); margin: var(--fc-space-4) 0; padding: var(--fc-space-3); border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: var(--fc-surface); }
.fc-case__meta dt { font-family: var(--fc-font-mono); font-size: var(--fc-text-xs); color: var(--fc-text-2); }
.fc-case__meta dd { margin: .25rem 0 0; font-weight: 600; }
.fc-case__results { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.fc-case__results li { font-family: var(--fc-font-mono); color: var(--fc-success); }
.fc-case__content { max-width: 760px; }
.fc-case__content > * + * { margin-top: 1.25rem; }
.fc-case__image { border-radius: var(--fc-radius); overflow: hidden; border: 1px solid var(--fc-border); margin: 0 0 var(--fc-space-4); }
.fc-case__image img { display: block; width: 100%; height: auto; }

/* ---------- FAQ (blok Szczegóły) ---------- */
.fc-faq { display: grid; gap: .75rem; max-width: 860px; }
.fc-faq details { border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: var(--fc-surface); padding: 0; }
.fc-faq summary { cursor: pointer; padding: 1.125rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.fc-faq summary::-webkit-details-marker { display: none; }
.fc-faq summary::after { content: "+"; font-family: var(--fc-font-mono); color: var(--fc-primary); }
.fc-faq details[open] summary::after { content: "−"; }
.fc-faq details > :not(summary) { padding: 0 1.25rem 1.125rem; margin: 0; color: var(--fc-text-2); }

/* ---------- Lista z checkami w treści ---------- */
.fc-list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.fc-list-check li { display: flex; gap: .625rem; }
.fc-list-check li::before { content: "✓"; color: var(--fc-success); font-weight: 700; }

/* Dwie kolumny: tekst + lista/obraz */
.fc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fc-split > * { margin-block: 0 !important; }
@media (max-width: 900px) { .fc-split { grid-template-columns: minmax(0, 1fr); } }
.fc-faq > *, .fc-contact > * { margin-block: 0 !important; }

/* =====================================================================
 * Brief FutureCoding 2.0: terminal procesu, sekcje strony głównej, case study
 * ===================================================================== */

/* Terminal jako interaktywna lista etapów */
.fc-terminal__comment { margin: .25rem .5rem .75rem; color: #8090AE; font-size: .8125rem; }
.fc-terminal__list li { list-style: none; }
.fc-terminal button.fc-terminal__line {
	width: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	text-align: left;
	cursor: pointer;
	grid-template-columns: 1.75rem 1rem minmax(0, 1fr) auto;
	min-height: 40px;
}
.fc-terminal button.fc-terminal__line:hover { background: rgba(130, 147, 255, .07); }
.fc-terminal__line[data-state="todo"] .fc-terminal__status { color: #8090AE; }
.fc-terminal__output {
	margin-top: .75rem;
	padding: .875rem .5rem 0;
	border-top: 1px solid var(--fc-border);
	min-height: 6.5rem;
}
.fc-site .fc-terminal__step { margin: 0 0 .375rem; font-size: .75rem; color: var(--fc-accent); }
.fc-site .fc-terminal__desc { margin: 0; color: var(--fc-text); font-family: var(--fc-font-body); font-size: .9375rem; line-height: 1.55; }

/* Pasek realizacji */
.fc-trust__list { display: flex; flex-wrap: wrap; gap: .5rem clamp(1.5rem, 4vw, 3rem); margin: 0; padding: 0; list-style: none; }
.fc-site a.fc-trust__name { color: #C5D0E3; text-decoration: none; }
.fc-site a.fc-trust__name:hover { color: var(--fc-text); }

/* Dlaczego FutureCoding */
.fc-why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.fc-why > * { margin-block: 0 !important; }
.fc-why__intro { position: sticky; top: 110px; }
.fc-why__list { display: grid; gap: 0; border-top: 1px solid var(--fc-border); }
.fc-why__list > * { margin-block: 0 !important; }
.fc-why__item {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	column-gap: var(--fc-space-2);
	padding-block: var(--fc-space-4);
	border-bottom: 1px solid var(--fc-border);
}
.fc-why__item > * { margin-block: 0 !important; grid-column: 2; }
.fc-why__item > .fc-why__num { grid-column: 1; grid-row: 1 / span 2; }
.fc-why__num { font-family: var(--fc-font-mono); color: var(--fc-accent); font-size: var(--fc-text-sm); padding-top: .3rem; }
.fc-why__item h3 { font-size: 1.375rem; margin-bottom: .5rem !important; }
.fc-why__item p { color: var(--fc-text-2); }
@media (max-width: 900px) {
	.fc-why { grid-template-columns: minmax(0, 1fr); }
	.fc-why__intro { position: static; }
}

/* Blok kodu */
.fc-code {
	margin: 0;
	background: #0A1322;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius);
	overflow: hidden;
	box-shadow: var(--fc-shadow);
}
.fc-code__bar { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid var(--fc-border); font-family: var(--fc-font-mono); font-size: .75rem; color: var(--fc-text-2); }
.fc-code__pre { margin: 0; padding: 1.25rem; overflow-x: auto; font-family: var(--fc-font-mono); font-size: .8125rem; line-height: 1.75; color: var(--fc-text); background: transparent; tab-size: 4; }
.fc-code__pre code { font-family: inherit; background: none; padding: 0; color: inherit; }
.fc-code .c { color: #8090AE; }
.fc-code .k { color: var(--fc-primary); }
.fc-code .s { color: #7EE2A8; }
.fc-code .t { color: var(--fc-accent); }
.fc-code .n { color: #F6C46A; }
.fc-code__caption { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--fc-border); color: var(--fc-text-2); font-size: .9375rem; }
.fc-code__caption strong { color: var(--fc-text); }
.fc-expertise { align-items: center; }

/* O mnie */
.fc-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.fc-about > * { margin-block: 0 !important; }
.fc-about__photo { margin: 0; }
.fc-about__photo img { width: 100%; height: auto; border-radius: var(--fc-radius-lg); display: block; }
.fc-about__placeholder {
	aspect-ratio: 4 / 5;
	border-radius: var(--fc-radius-lg);
	border: 1px dashed var(--fc-border-strong);
	background: var(--fc-surface);
	display: grid;
	place-content: center;
	gap: .5rem;
	text-align: center;
	padding: 2rem;
	color: var(--fc-text-2);
	font-family: var(--fc-font-mono);
}
.fc-about__placeholder small { font-family: var(--fc-font-body); font-size: var(--fc-text-sm); max-width: 26ch; }
.fc-about__text > * + * { margin-top: 1rem !important; }
.fc-about__text p { color: var(--fc-text-2); }
@media (max-width: 900px) { .fc-about { grid-template-columns: minmax(0, 1fr); } .fc-about__photo { max-width: 360px; } }

/* Kontakt */
.fc-contact__info > * + * { margin-top: 1rem !important; }
.fc-contact__list { list-style: none; margin: var(--fc-space-3) 0 0; padding: 0; display: grid; gap: .75rem; }
.fc-contact__list li { display: flex; align-items: center; gap: .75rem; font-size: 1.0625rem; }
.fc-contact__list .fc-icon { width: 22px; height: 22px; color: var(--fc-primary); }
.fc-site .fc-contact__list a { color: var(--fc-text); text-decoration: none; }
.fc-site .fc-contact__list a:hover { color: var(--fc-primary); }

/* Karta projektu */
.fc-project__initial { font-family: var(--fc-font-display); font-weight: 800; font-size: 3.5rem; color: var(--fc-border-strong); }
.fc-project__more { margin-top: auto; padding-top: .5rem; font-size: var(--fc-text-sm); font-weight: 600; color: var(--fc-primary); }
.fc-project { position: relative; }
.fc-site .fc-project__title { font-size: 1.1875rem; margin: 0; }
.fc-project__media > * { margin: 0; }

/* Sekcje i case study */
.fc-section--flush-top { padding-top: 0; }
.fc-case__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fc-case__content h2 { font-size: 1.625rem; margin-top: 2rem; }
.fc-case__content h2:first-child { margin-top: 0; }
.fc-case__content p { color: var(--fc-text-2); }
.fc-case__aside { display: grid; gap: var(--fc-space-3); }
.fc-site .fc-card__title { font-size: 1.125rem; margin: 0; }
.fc-case__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fc-case__gallery-title { margin-top: var(--fc-space-6); }
.fc-case__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fc-space-3); margin-top: var(--fc-space-3); }
.fc-case__gallery figure { margin: 0; border-radius: var(--fc-radius); overflow: hidden; border: 1px solid var(--fc-border); }
.fc-case__gallery img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
	.fc-case__grid, .fc-case__gallery { grid-template-columns: minmax(0, 1fr); }
}

/* Paginacja */
.fc-site .nav-links { display: flex; gap: .5rem; margin-top: var(--fc-space-4); }
.fc-site .nav-links .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--fc-border-strong); border-radius: var(--fc-radius-sm); color: var(--fc-text); text-decoration: none; }
.fc-site .nav-links .current { background: var(--fc-primary-strong); border-color: var(--fc-primary-strong); }

/* =====================================================================
 * Podstrony usług
 * ===================================================================== */

.fc-page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fc-page-hero__grid > *, .fc-page-hero__text > * { margin-block: 0 !important; }
.fc-page-hero__text > * + * { margin-top: 1rem !important; }
.fc-page-hero .fc-container > * + * { margin-top: 1rem; }
.fc-page-hero .wp-block-buttons { gap: .75rem; }
@media (max-width: 900px) { .fc-page-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* Szkic przeglądarki (dekoracja) */
.fc-browser { margin: 0; border: 1px solid var(--fc-border-strong); border-radius: var(--fc-radius); background: var(--fc-surface); overflow: hidden; box-shadow: var(--fc-shadow); }
.fc-browser__bar { display: flex; align-items: center; gap: 6px; padding: .625rem .875rem; border-bottom: 1px solid var(--fc-border); font-family: var(--fc-font-mono); font-size: .75rem; color: var(--fc-text-2); }
.fc-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--fc-border-strong); }
.fc-browser__bar span { margin-left: .75rem; padding: .15rem .75rem; border-radius: 999px; background: var(--fc-bg); }
.fc-browser__body { padding: 1.75rem; display: grid; gap: .75rem; }
.fc-browser__line { height: 10px; border-radius: 6px; background: var(--fc-surface-2); }
.fc-browser__line--h { height: 22px; width: 70%; background: rgba(130, 147, 255, .35); }
.fc-browser__line--short { width: 55%; }
.fc-browser__btn { width: 120px; height: 30px; border-radius: 8px; background: var(--fc-primary-strong); margin: .5rem 0; }
.fc-browser__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.fc-browser__cards span { height: 70px; border-radius: 10px; border: 1px solid var(--fc-border); background: var(--fc-bg); }

/* Korzyści (2 kolumny) */
.fc-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--fc-border); }
.fc-benefits > * { margin-block: 0 !important; }
@media (max-width: 760px) { .fc-benefits { grid-template-columns: minmax(0, 1fr); } }

/* Problemy i rozwiązania */
.fc-problems { display: grid; gap: var(--fc-space-3); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-problems > * { margin-block: 0 !important; }
.fc-problem { padding: var(--fc-space-4); border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: var(--fc-surface); display: grid; gap: .5rem; align-content: start; }
.fc-problem > * { margin-block: 0 !important; }
.fc-site .fc-problem__label { font-family: var(--fc-font-mono); font-size: .75rem; color: #FCA5A5; }
.fc-site .fc-problem__label--ok { color: var(--fc-success); margin-top: .75rem !important; padding-top: .75rem; border-top: 1px dashed var(--fc-border-strong); }
.fc-site .fc-problem__text { color: var(--fc-text); font-weight: 600; }
.fc-site .fc-problem__solution { color: var(--fc-text-2); }
@media (max-width: 960px) { .fc-problems { grid-template-columns: minmax(0, 1fr); } }

/* Proces realizacji (lista kroków) */
.fc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fc-space-3); counter-reset: none; }
.fc-steps__item { position: relative; padding-top: var(--fc-space-3); border-top: 2px solid var(--fc-border-strong); display: grid; gap: .5rem; }
.fc-steps__item:first-child { border-top-color: var(--fc-primary); }
.fc-steps__num { font-family: var(--fc-font-mono); font-size: var(--fc-text-sm); color: var(--fc-accent); }
.fc-site .fc-steps h3 { font-size: 1.1875rem; margin: 0 0 .375rem; }
.fc-site .fc-steps p { color: var(--fc-text-2); margin: 0; font-size: .9375rem; }
@media (max-width: 900px) { .fc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fc-steps { grid-template-columns: minmax(0, 1fr); } }

/* Przepływ (ścieżka zakupowa) */
.fc-flow { margin: 0; }
.fc-flow__caption { font-family: var(--fc-font-mono); font-size: var(--fc-text-sm); color: var(--fc-text-2); margin-bottom: var(--fc-space-3); }
.fc-flow__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--fc-space-2); }
.fc-flow__node { position: relative; display: grid; gap: .375rem; align-content: start; padding: 1.25rem 1rem; border: 1px solid var(--fc-border-strong); border-radius: var(--fc-radius); background: var(--fc-surface); }
.fc-flow__node:not(:last-child)::after { content: "→"; position: absolute; right: -1.05rem; top: 50%; transform: translateY(-50%); color: var(--fc-primary); font-family: var(--fc-font-mono); z-index: 1; }
.fc-flow__index { font-family: var(--fc-font-mono); font-size: .75rem; color: var(--fc-accent); }
.fc-flow__node strong { font-family: var(--fc-font-display); font-size: 1.0625rem; }
.fc-flow__node span:last-child { color: var(--fc-text-2); font-size: var(--fc-text-sm); line-height: 1.5; }
@media (max-width: 1100px) { .fc-flow__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--fc-space-3); } .fc-flow__node:nth-child(3n)::after { display: none; } }
@media (max-width: 600px) { .fc-flow__list { grid-template-columns: minmax(0, 1fr); } .fc-flow__node::after { content: "↓" !important; display: block !important; right: auto; left: 50%; top: auto; bottom: -1.35rem; transform: translateX(-50%); } .fc-flow__node:last-child::after { display: none !important; } }

/* Architektura aplikacji */
.fc-arch { margin: 0; display: grid; gap: .75rem; }
.fc-arch__layer { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--fc-space-2); align-items: center; padding: 1rem; border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: var(--fc-surface); }
.fc-arch__layer--core { border-color: var(--fc-primary); background: linear-gradient(180deg, rgba(79, 91, 245, .14), var(--fc-surface)); }
.fc-arch__label { font-family: var(--fc-font-mono); font-size: var(--fc-text-sm); color: var(--fc-accent); }
.fc-arch__boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.fc-arch__boxes span { padding: .75rem 1rem; border: 1px solid var(--fc-border-strong); border-radius: var(--fc-radius-sm); background: var(--fc-bg); font-weight: 600; font-size: .9375rem; text-align: center; }
.fc-arch__arrow { text-align: center; font-family: var(--fc-font-mono); font-size: .8125rem; color: var(--fc-primary); }
@media (max-width: 760px) { .fc-arch__layer { grid-template-columns: minmax(0, 1fr); } .fc-arch__boxes { grid-template-columns: minmax(0, 1fr); } }

/* Schemat wymiany danych */
.fc-dataflow { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 6rem minmax(0, 1fr) 6rem minmax(0, 1fr); align-items: center; gap: .5rem; }
.fc-dataflow__col { display: grid; gap: .75rem; }
.fc-dataflow__node { display: grid; gap: .25rem; padding: 1rem 1.125rem; border: 1px solid var(--fc-border-strong); border-radius: var(--fc-radius); background: var(--fc-surface); font-weight: 600; text-align: center; }
.fc-dataflow__node small { font-weight: 400; font-size: var(--fc-text-xs); font-family: var(--fc-font-mono); color: var(--fc-text-2); }
.fc-dataflow__node--main { border-color: var(--fc-primary); }
.fc-dataflow__node--hub { border-color: var(--fc-accent); background: linear-gradient(180deg, rgba(240, 165, 22, .1), var(--fc-surface)); }
.fc-dataflow__col--targets .fc-dataflow__node { padding-block: .75rem; }
.fc-dataflow__link { display: grid; gap: .25rem; justify-items: center; font-family: var(--fc-font-mono); font-size: .6875rem; color: var(--fc-primary); }
.fc-dataflow__link span { width: 100%; text-align: center; border-bottom: 1px dashed var(--fc-primary); padding-bottom: .125rem; }
.fc-dataflow__link span:last-child { border-bottom: 0; border-top: 1px dashed var(--fc-border-strong); padding-top: .125rem; color: var(--fc-text-2); }
@media (max-width: 900px) {
	.fc-dataflow { grid-template-columns: minmax(0, 1fr); }
	.fc-dataflow__link { grid-auto-flow: column; justify-content: center; gap: 1rem; }
	.fc-dataflow__link span { width: auto; border: 0 !important; padding: 0 !important; }
	.fc-dataflow__link::before { content: "↓"; }
}

/* Tabela porównawcza */
.fc-table-wrap { overflow-x: auto; border: 1px solid var(--fc-border); border-radius: var(--fc-radius); }
.fc-table-wrap:focus-visible { box-shadow: var(--fc-focus); }
.fc-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.fc-compare th, .fc-compare td { padding: .875rem 1rem; text-align: left; border-bottom: 1px solid var(--fc-border); vertical-align: top; }
.fc-compare thead th { font-family: var(--fc-font-display); font-size: 1.0625rem; background: var(--fc-surface); color: var(--fc-text); }
.fc-compare thead th:nth-child(3) { color: var(--fc-primary); }
.fc-compare tbody th { font-weight: 500; color: var(--fc-text-2); }
.fc-compare tbody tr:first-child td { font-family: var(--fc-font-display); font-weight: 700; font-size: 1.125rem; color: var(--fc-text); }
.fc-compare tbody tr:last-child th, .fc-compare tbody tr:last-child td { border-bottom: 0; }
.fc-yes { color: var(--fc-success); font-weight: 600; }
.fc-yes::before { content: "✓ "; }
.fc-no { color: #8090AE; }
.fc-no::before { content: "– "; }

/* Podział usług (design i marketing) */
.fc-compare-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fc-space-3); }
.fc-compare-split__col { padding: var(--fc-space-4); border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: var(--fc-surface); display: grid; gap: .75rem; align-content: start; }
.fc-compare-split__col--own { border-color: var(--fc-primary); }
.fc-site .fc-compare-split h3 { margin: 0; }
.fc-compare-split .fc-tag { margin: 0; }
@media (max-width: 760px) { .fc-compare-split { grid-template-columns: minmax(0, 1fr); } }

/* Treść dokumentów */
.fc-prose { max-width: 760px; }

/* =====================================================================
 * Blog, wpis, 404
 * ===================================================================== */
.fc-chip { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.125rem; border-radius: 999px; border: 1px solid var(--fc-border-strong); color: var(--fc-text-2) !important; text-decoration: none; font-weight: 500; }
.fc-chip:hover, .fc-chip.is-active { background: var(--fc-text); color: var(--fc-bg) !important; border-color: var(--fc-text); }
.fc-post-card { padding: 0; overflow: hidden; gap: 0; }
.fc-post-card__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fc-post-card__body { display: flex; flex-direction: column; gap: .625rem; padding: var(--fc-space-3); flex-grow: 1; }
.fc-post-card__body > * { margin: 0 !important; }
.fc-site .fc-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: var(--fc-text-sm); color: var(--fc-text-2); margin: 0; }
.fc-site .fc-post-card__title { font-size: 1.25rem; margin: 0; }
.fc-post-card__title a { color: var(--fc-text) !important; text-decoration: none; }
.fc-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.fc-empty { padding: var(--fc-space-5); border: 1px dashed var(--fc-border-strong); border-radius: var(--fc-radius-lg); display: grid; gap: 1rem; justify-items: start; max-width: 640px; }
.fc-empty p { margin: 0; color: var(--fc-text-2); }

.fc-article__head { max-width: 860px; }
.fc-article__image { margin: 0 0 var(--fc-space-5); border-radius: var(--fc-radius-lg); overflow: hidden; border: 1px solid var(--fc-border); }
.fc-article__image img { display: block; width: 100%; height: auto; }
.fc-article__content { margin-inline: auto; font-size: 1.0625rem; line-height: 1.75; }
.fc-article__content > * + * { margin-top: 1.25em; }
.fc-article__content h2 { font-size: 1.75rem; margin-top: 2em; }
.fc-article__content h3 { font-size: 1.375rem; margin-top: 1.75em; }
.fc-article__content p, .fc-article__content li { color: #C9D3E3; }
.fc-article__content a { text-decoration: underline; }
.fc-article__content code { font-family: var(--fc-font-mono); font-size: .9em; background: var(--fc-surface); padding: .1em .35em; border-radius: 4px; }
.fc-article__content pre { background: #0A1322; border: 1px solid var(--fc-border-strong); border-radius: var(--fc-radius); padding: 1.25rem; overflow-x: auto; font-size: .875rem; }
.fc-article__content pre code { background: none; padding: 0; }
.fc-article__content blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--fc-accent); color: var(--fc-text); }
.fc-author { max-width: 760px; margin: var(--fc-space-6) auto 0; display: flex; gap: 1rem; align-items: flex-start; padding: var(--fc-space-3); border: 1px solid var(--fc-border); border-radius: var(--fc-radius); background: var(--fc-surface); }
.fc-author__mark { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--fc-primary-soft); color: var(--fc-primary); }
.fc-author__mark .fc-icon { width: 24px; height: 24px; }
.fc-author p { margin: 0; color: var(--fc-text-2); font-size: .9375rem; }
.fc-site .fc-author__name { color: var(--fc-text); font-weight: 600; margin-bottom: .25rem; }
.fc-article__nav { max-width: 760px; margin: var(--fc-space-4) auto var(--fc-space-6); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fc-article__nav a { text-decoration: none; font-weight: 600; }

.fc-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--fc-space-3); }
.fc-404__term p { margin: 0 0 .5rem; font-family: var(--fc-font-mono); font-size: .875rem; color: var(--fc-text); overflow-wrap: anywhere; }
.fc-404__prompt { color: var(--fc-accent); }
.fc-site .fc-404__err { color: #FCA5A5; }
.fc-site .fc-404__hint { color: #8090AE; }
.fc-404__title { font-size: 1.5rem; }
.fc-404__links { list-style: none; margin: var(--fc-space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem 2rem; }

/* Kroki formularza ukrywane przez JS (atrybut hidden musi wygrać z display: grid). */
.fc-form [hidden] { display: none !important; }

/* =====================================================================
 * Dopasowanie do wizualizacji (wariant 3): poświaty, karty, terminal, typografia
 * ===================================================================== */

/* Tło serwisu: granat z delikatnymi fioletowymi poświatami jak na wizualizacjach. */
body.fc-site {
	background:
		radial-gradient(1200px 700px at 85% -5%, rgba(79, 91, 245, .20), transparent 60%),
		radial-gradient(900px 600px at -10% 35%, rgba(130, 147, 255, .07), transparent 60%),
		var(--fc-bg);
	background-attachment: scroll;
}

/* Typografia bliżej wizualizacji: mniejszy H1, szersze nagłówki sekcji. */
:root { --fc-h1: clamp(2.5rem, 4.6vw, 4.25rem); --fc-h2: clamp(1.875rem, 3vw, 2.625rem); }
.fc-section__head > :first-child { max-width: 900px; }
.fc-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.fc-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 5vw, 4.5rem); }

/* Smuga światła za terminalem (jak w hero wizualizacji). */
.fc-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -10%;
	top: 10%;
	width: 70%;
	height: 80%;
	background:
		radial-gradient(closest-side, rgba(99, 102, 241, .35), transparent 70%),
		linear-gradient(115deg, transparent 40%, rgba(130, 147, 255, .18) 50%, transparent 60%);
	filter: blur(20px);
	pointer-events: none;
}

/* Przyciski: nasycony indygo z poświatą. */
.fc-button--primary,
.wp-block-button.fc-button--primary .wp-block-button__link {
	background: linear-gradient(180deg, #5F6BFF, #4F5BF5);
	box-shadow: 0 8px 24px -10px rgba(79, 91, 245, .75), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.fc-button--primary:hover,
.wp-block-button.fc-button--primary .wp-block-button__link:hover {
	background: linear-gradient(180deg, #6F7AFF, #5A66FF);
}

/* Karty: pełna powierzchnia #142238, ikona fioletowa bez tła, poświata przy hover. */
.fc-card {
	background: var(--fc-surface);
	border-color: var(--fc-border);
}
.fc-card:hover,
.fc-card:focus-within {
	border-color: var(--fc-primary);
	box-shadow: 0 0 0 1px rgba(130, 147, 255, .35), 0 24px 60px -30px rgba(99, 102, 241, .8);
}
.fc-card .fc-icon-box {
	background: transparent;
	border: 0;
	width: auto;
	height: auto;
	justify-content: start;
	place-items: start;
}
.fc-card .fc-icon-box .fc-icon { width: 30px; height: 30px; stroke-width: 1.5; }
.fc-card--featured {
	background: linear-gradient(180deg, rgba(79, 91, 245, .16), var(--fc-surface) 70%);
	border-color: var(--fc-primary);
	box-shadow: 0 0 0 1px rgba(130, 147, 255, .25), 0 24px 60px -34px rgba(99, 102, 241, .9);
}
#oferta .fc-grid > .fc-card:first-child { border-color: var(--fc-primary); box-shadow: 0 0 0 1px rgba(130, 147, 255, .3), 0 24px 60px -34px rgba(99, 102, 241, .9); }
.fc-card__more a { background: transparent; }

/* Terminal jak na wizualizacji: statusy w etykietach i pasek etapu. */
.fc-terminal {
	background: linear-gradient(180deg, rgba(20, 34, 56, .96), rgba(14, 25, 44, .96));
	border-color: rgba(130, 147, 255, .35);
	box-shadow: 0 0 0 1px rgba(130, 147, 255, .12), 0 30px 80px -30px rgba(79, 91, 245, .7);
}
.fc-terminal__line .fc-terminal__status { min-width: 6.5rem; text-align: center; font-size: .6875rem; padding: .2rem .55rem; border-radius: 999px; }
.fc-terminal__line[data-state="done"] .fc-terminal__status { color: var(--fc-success); background: rgba(34, 197, 94, .12); }
.fc-terminal__line[data-state="active"] { background: rgba(130, 147, 255, .12); }
.fc-terminal__line[data-state="active"] .fc-terminal__status { color: #C7CEFF; background: rgba(130, 147, 255, .22); }
.fc-terminal__line[data-state="todo"] { color: var(--fc-text-2); }
.fc-terminal__progress-row { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--fc-font-mono); font-size: .8125rem; color: var(--fc-text-2); margin: 0 0 .5rem; }
.fc-terminal__progress-row strong { color: var(--fc-text); }
.fc-terminal__bar-track { height: 6px; border-radius: 999px; background: var(--fc-surface-2); overflow: hidden; margin-bottom: .875rem; }
.fc-terminal__bar-fill { display: block; height: 100%; width: var(--fc-progress, 50%); border-radius: inherit; background: linear-gradient(90deg, #4F5BF5, var(--fc-primary)); transition: width .5s var(--fc-ease); }

/* Pasek realizacji w jednym rzędzie, jak w wizualizacji. */
.fc-trust { flex-wrap: nowrap; justify-content: space-between; }
.fc-trust__label { white-space: nowrap; }
.fc-trust__list { flex-wrap: nowrap; justify-content: space-between; flex: 1; overflow: hidden; }
.fc-trust__list li { white-space: nowrap; }
.fc-site a.fc-trust__name { font-size: 1.125rem; color: #DCE3EF; }
@media (max-width: 1100px) {
	.fc-trust { flex-wrap: wrap; }
	.fc-trust__list { flex-wrap: wrap; justify-content: flex-start; gap: .75rem 2rem; }
}

/* Proces: kółka z ikonami połączone linią, jak na wizualizacji. */
.fc-process__icon { border-radius: 50%; border-color: rgba(130, 147, 255, .45); background: rgba(79, 91, 245, .12); }

/* Pojawianie się: tylko delikatne przesunięcie, treść nigdy nie jest niewidoczna. */
.fc-js .fc-reveal { opacity: 1; transform: translateY(10px); transition: transform .5s var(--fc-ease); }
.fc-js .fc-reveal.is-visible { transform: none; }

/* =====================================================================
 * Układ z wizualizacji „screen 1” (wariant 1)
 * ===================================================================== */

/* Zaufali mi */
.fc-clients__inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.fc-site .fc-clients__label { margin: 0; color: var(--fc-text-2); font-size: var(--fc-text-sm); white-space: nowrap; }
.fc-clients__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); flex: 1; flex-wrap: wrap; }
.fc-clients__item { font-family: var(--fc-font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; color: #E3E9F3; line-height: 1; white-space: nowrap; }
.fc-clients__item span { font-weight: 600; }
.fc-clients__item sup { font-size: .5em; vertical-align: super; }
.fc-clients__item--serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .12em; font-size: 1.5rem; }
.fc-clients__item--caps { font-size: 1.0625rem; letter-spacing: .02em; }
.fc-clients__item--stack { display: grid; line-height: 1.05; }
.fc-clients__item--stack small { font-family: var(--fc-font-body); font-weight: 500; font-size: .75rem; letter-spacing: 0; color: var(--fc-text-2); }
.fc-clients__item--light { font-weight: 600; }
.fc-clients__item--logo { display: flex; align-items: center; }
.fc-clients__item--logo img { display: block; width: auto; height: 2.75rem; max-width: 9rem; object-fit: contain; opacity: .9; }
.fc-clients__item--wide img { height: 2rem; }
@media (max-width: 900px) { .fc-clients__inner { flex-direction: column; align-items: flex-start; } .fc-clients__list { justify-content: flex-start; } }

/* Karty usług z numerami */
.fc-service { gap: .625rem; padding: var(--fc-space-4); }
.fc-service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.fc-service__icon { color: var(--fc-primary); }
.fc-service__icon .fc-icon { width: 34px; height: 34px; stroke-width: 1.5; }
.fc-service__num { font-family: var(--fc-font-mono); font-size: var(--fc-text-sm); color: var(--fc-accent); }
.fc-site .fc-service h3 { font-size: 1.3125rem; }
.fc-site .fc-service .fc-service__link { margin-top: auto !important; padding-top: .75rem; }
.fc-stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fc-service:focus-within { outline: none; }

/* Schemat kompetencji */
.fc-competence {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding: clamp(1.75rem, 4vw, 3rem);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-lg);
	background:
		radial-gradient(600px 300px at 80% 50%, rgba(79, 91, 245, .18), transparent 70%),
		linear-gradient(180deg, #13203A, #0F1A2E);
}
.fc-competence > * { margin-block: 0 !important; }
.fc-competence__text > * + * { margin-top: 1rem !important; }
.fc-competence__text p { color: var(--fc-text-2); }
.fc-network { position: relative; margin: 0; min-height: 320px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; align-items: center; }
.fc-network__lines { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(240, 165, 22, .45)); }
.fc-network__node { position: relative; z-index: 1; display: flex; gap: .75rem; align-items: center; padding: 1rem 1.125rem; border-radius: var(--fc-radius); border: 1px solid var(--fc-border-strong); background: rgba(20, 34, 56, .92); }
.fc-network__node strong { display: block; font-family: var(--fc-font-display); font-size: 1.0625rem; }
.fc-network__node small { display: block; color: var(--fc-text-2); font-size: var(--fc-text-sm); }
.fc-network__node--main { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; border-color: var(--fc-primary); box-shadow: 0 0 0 1px rgba(130, 147, 255, .25), 0 0 50px -10px rgba(99, 102, 241, .7); justify-self: start; }
.fc-network__node--main .fc-logo__svg { height: 26px; }
.fc-network__role { color: var(--fc-text-2); font-size: var(--fc-text-sm); }
.fc-network__node--top { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
.fc-network__node--bottom { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }
.fc-network__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(240, 165, 22, .12); color: var(--fc-accent); flex-shrink: 0; }
.fc-network__icon .fc-icon { width: 22px; height: 22px; }
@media (max-width: 960px) {
	.fc-competence { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.fc-network { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: .75rem; min-height: 0; }
	.fc-network__lines { display: none; }
	.fc-network__node--main, .fc-network__node--top, .fc-network__node--bottom { grid-column: 1; grid-row: auto; justify-self: stretch; }
}

/* Oś procesu w kółkach */
.fc-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--fc-space-2); }
.fc-timeline__step { position: relative; display: grid; justify-items: center; text-align: center; gap: .375rem; }
.fc-timeline__step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 32px); right: calc(-50% + 32px); height: 2px; background: linear-gradient(90deg, rgba(130, 147, 255, .7), rgba(130, 147, 255, .25)); }
.fc-timeline__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fc-font-mono); font-weight: 600; color: var(--fc-text); background: var(--fc-surface); border: 2px solid rgba(130, 147, 255, .55); margin-bottom: .5rem; }
.fc-timeline__step.is-highlight .fc-timeline__dot { background: var(--fc-primary-strong); border-color: var(--fc-primary); box-shadow: 0 0 0 6px rgba(79, 91, 245, .18), 0 0 30px rgba(99, 102, 241, .6); }
.fc-timeline__name { font-weight: 600; font-size: .9375rem; }
.fc-timeline__desc { color: var(--fc-text-2); font-size: var(--fc-text-sm); }
@media (max-width: 900px) { .fc-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--fc-space-4); } .fc-timeline__step::after { display: none; } }
@media (max-width: 480px) { .fc-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Karty projektów jak na wizualizacji: nazwa ze strzałką, kategoria pod spodem */
.fc-project__media img { object-position: top center; }
.fc-project__title a::before { content: none; }
.fc-project__title a span[aria-hidden] { color: var(--fc-text-2); }

/* Formularz: zakładki kroków i kafelki z ikonami */
.fc-form.is-stepped .fc-form__steps { gap: 0; border: 1px solid var(--fc-border-strong); border-radius: var(--fc-radius-sm); overflow: hidden; }
.fc-form__steps li { border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 600; }
.fc-form__steps li + li { border-left: 1px solid var(--fc-border-strong); }
.fc-form__steps li.is-current { background: var(--fc-primary-strong); color: #fff; box-shadow: none; }
.fc-option span { flex-direction: column; justify-content: center; gap: .5rem; text-align: center; min-height: 104px; font-size: .9375rem; }
.fc-option .fc-icon { width: 28px; height: 28px; color: var(--fc-primary); }
.fc-form__options--compact .fc-option span { min-height: 56px; flex-direction: row; }
.fc-option input:checked + span { background: rgba(79, 91, 245, .2); }

/* Hero jak na screen 1: nagłówek w dwóch liniach na desktopie. */
:root { --fc-h1: clamp(2.375rem, 4vw, 3.625rem); }
.fc-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.fc-hero h1 { max-width: 12.5em; }
.fc-hero .fc-checks { flex-wrap: nowrap; gap: .75rem 1.5rem; }
@media (max-width: 640px) { .fc-hero .fc-checks { flex-wrap: wrap; } }
.fc-network__node--main { padding: 1.5rem 1.75rem; }
.fc-network__node--main .fc-logo__svg { height: 32px; }

/* =====================================================================
 * Interaktywny schemat kompetencji (hover z gradientem, płynące połączenia)
 * ===================================================================== */
.fc-network {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	row-gap: 1rem;
	min-height: 0;
}
.fc-network__lines { inset: 0 0 auto 0; height: 330px; filter: none; }
.fc-network__path { fill: none; stroke: rgba(130, 147, 255, .28); stroke-width: 2; transition: stroke .3s var(--fc-ease); }
.fc-network__flow {
	fill: none;
	stroke: url(#fc-net-grad);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 18 82;
	stroke-dashoffset: 100;
	opacity: 0;
	filter: drop-shadow(0 0 6px rgba(240, 165, 22, .7));
	transition: opacity .3s var(--fc-ease);
}
.fc-network[data-active="main"] .fc-network__flow,
.fc-network[data-active="top"] .fc-network__flow--top,
.fc-network[data-active="bottom"] .fc-network__flow--bottom { opacity: 1; animation: fc-flow 2.4s linear infinite; }
.fc-network[data-active="top"] .fc-network__path--top,
.fc-network[data-active="bottom"] .fc-network__path--bottom,
.fc-network[data-active="main"] .fc-network__path { stroke: rgba(130, 147, 255, .6); }
@keyframes fc-flow { to { stroke-dashoffset: 0; } }

.fc-network__node {
	font: inherit;
	color: var(--fc-text);
	text-align: left;
	cursor: pointer;
	min-height: 64px;
	border: 1px solid var(--fc-border-strong);
	transition: transform .3s var(--fc-ease), box-shadow .3s var(--fc-ease), border-color .3s var(--fc-ease), background .3s var(--fc-ease);
}
.fc-network__node--main { grid-row: 1 / span 2; align-self: center; height: auto; }
.fc-network__node--top { grid-row: 1; }
.fc-network__node--bottom { grid-row: 2; }

/* Aktywny węzeł: gradientowa ramka (fiolet → pomarańcz) i poświata. */
.fc-network__node[aria-pressed="true"],
.fc-network__node:hover {
	border: 1px solid transparent;
	background:
		linear-gradient(180deg, #1A2A49, #121F37) padding-box,
		linear-gradient(135deg, #8293FF, #4F5BF5 45%, #F0A516) border-box;
	box-shadow: 0 0 0 1px rgba(130, 147, 255, .15), 0 14px 40px -12px rgba(99, 102, 241, .75), 0 0 60px -20px rgba(240, 165, 22, .55);
	transform: translateY(-3px);
}
.fc-network__node[aria-pressed="true"] .fc-network__icon,
.fc-network__node:hover .fc-network__icon { background: linear-gradient(135deg, rgba(130, 147, 255, .35), rgba(240, 165, 22, .35)); color: #fff; }
.fc-network__node:focus-visible { outline: none; box-shadow: var(--fc-focus); }

.fc-network__desc {
	grid-column: 1 / -1;
	grid-row: 3;
	margin-top: .5rem;
	padding: 1rem 1.25rem;
	border-radius: var(--fc-radius);
	border: 1px solid var(--fc-border);
	background: rgba(11, 21, 37, .6);
	min-height: 5.5rem;
}
.fc-site .fc-network__desc p { margin: 0; color: var(--fc-text-2); font-size: .9375rem; }
.fc-site .fc-network__desc strong { color: var(--fc-text); }

@media (max-width: 560px) {
	.fc-network { grid-template-columns: minmax(0, 1fr); }
	.fc-network__node--main, .fc-network__node--top, .fc-network__node--bottom, .fc-network__desc { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.fc-network__flow { animation: none !important; stroke-dasharray: none; }
	.fc-network__node:hover, .fc-network__node[aria-pressed="true"] { transform: none; }
}

/* Gradientowy hover także na kartach usług i projektów. */
.fc-service:hover,
.fc-service:focus-within,
.fc-project:hover,
.fc-project:focus-within {
	border-color: transparent;
	background:
		linear-gradient(180deg, #172744, var(--fc-surface)) padding-box,
		linear-gradient(135deg, #8293FF, #4F5BF5 50%, #F0A516) border-box;
	border: 1px solid transparent;
}

/* =====================================================================
 * Grafiki: tła z Dostosuj, złote ikony, ramki laptopa i przeglądarki
 * ===================================================================== */

/* Tło hero z obrazu (podmienialne w Wygląd → Dostosuj → FutureCoding – grafiki). */
.fc-hero::before,
.fc-page-hero::before {
	background: var(--fc-img-hero) center right / cover no-repeat;
	mask-image: none;
	-webkit-mask-image: none;
	opacity: .9;
}
.fc-page-hero::before { opacity: .55; }
.fc-hero::after { display: none; }

.fc-competence,
.fc-cta {
	background-image: linear-gradient(90deg, rgba(11, 21, 37, .82), rgba(11, 21, 37, .2)), var(--fc-img-section);
	background-size: cover;
	background-position: center;
}

/* Złote ikony (gradient) */
.fc-service__icon .fc-icon,
.fc-card .fc-icon-box .fc-icon,
.fc-network__icon .fc-icon,
.fc-option .fc-icon,
.fc-author__mark .fc-icon,
.fc-contact__list .fc-icon,
.fc-footer__contact .fc-icon {
	stroke: url(#fc-gold);
	color: var(--fc-accent);
	filter: drop-shadow(0 0 10px rgba(240, 165, 22, .25));
}
.fc-service:hover .fc-service__icon .fc-icon,
.fc-card:hover .fc-icon-box .fc-icon { filter: drop-shadow(0 0 14px rgba(240, 165, 22, .55)); }
.fc-network__icon { background: rgba(240, 165, 22, .1); border: 1px solid rgba(240, 165, 22, .3); }

/* Ilustracje podstron */
.fc-illustration { margin: 0; border-radius: var(--fc-radius-lg); overflow: hidden; border: 1px solid var(--fc-border-strong); box-shadow: var(--fc-shadow), 0 0 80px -30px rgba(79, 91, 245, .7); }
.fc-illustration img { display: block; width: 100%; height: auto; }

/* Ramka laptopa */
.fc-laptop { margin: 0; position: relative; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.fc-laptop__lid { padding: 2.2% 2.2% 3%; background: linear-gradient(180deg, #2A3650, #161F31); border-radius: 18px 18px 6px 6px; border: 1px solid #3A4D6E; }
.fc-laptop__screen { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #0B1525; }
.fc-laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.fc-laptop__base { height: 18px; margin: 0 -6%; background: linear-gradient(180deg, #3A4A66, #1A2338); border-radius: 0 0 22px 22px; position: relative; }
.fc-laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #0F1626; }
.fc-laptop::after { content: ""; position: absolute; inset: 15% 10% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(99, 102, 241, .55), transparent); filter: blur(30px); }

/* Ramka przeglądarki na kartach realizacji */
.fc-project__media { position: relative; padding-top: 22px; background: #1A2640; }
.fc-project__media::before { content: ""; position: absolute; top: 8px; left: 12px; width: 34px; height: 7px; background: radial-gradient(circle at 3.5px 3.5px, #EF6B6B 3.5px, transparent 4px), radial-gradient(circle at 15.5px 3.5px, #F0A516 3.5px, transparent 4px), radial-gradient(circle at 27.5px 3.5px, #22C55E 3.5px, transparent 4px); }
.fc-project__media img { border-top: 1px solid var(--fc-border); }
.fc-project:hover .fc-project__media img { transform: scale(1.03); }
.fc-project__media img { transition: transform .5s var(--fc-ease); }
.fc-project__media { overflow: hidden; }
.fc-case__device { max-width: 900px; margin: 0 auto var(--fc-space-6); }
.fc-page-hero h1 { font-size: clamp(2.125rem, 3.4vw, 3.125rem); max-width: 20ch; }

@media (max-width: 520px) {
	.fc-terminal { font-size: .8125rem; }
	.fc-terminal__body { padding: .5rem .5rem .75rem; }
	.fc-terminal button.fc-terminal__line { grid-template-columns: 1.25rem .75rem minmax(0, 1fr) auto; padding-inline: .375rem; }
	.fc-terminal__line .fc-terminal__status { min-width: 0; padding-inline: .4rem; }
	.fc-terminal__line span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.fc-hero__grid > *, .fc-page-hero__grid > * { min-width: 0; }
.fc-terminal { max-width: 100%; }
.fc-terminal__bar span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Widok mobilny musi wygrać z regułami desktopowymi dopisanymi wyżej. */
@media (max-width: 900px) {
	.fc-hero__grid,
	.fc-page-hero__grid,
	.fc-competence,
	.fc-about,
	.fc-why,
	.fc-split,
	.fc-case__grid,
	.fc-contact { grid-template-columns: minmax(0, 1fr); }
	.fc-hero .fc-checks { flex-wrap: wrap; }
	.fc-hero h1 { max-width: none; }
}

/* Baner zgód cookies (Blocksy Companion) w palecie FutureCoding. */
.fc-site .cookie-notification {
	--backgroundColor: var(--fc-surface);
	background: var(--fc-surface) !important;
	color: var(--fc-text) !important;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius);
	box-shadow: var(--fc-shadow);
}
.fc-site .cookie-notification p { color: var(--fc-text-2) !important; }
.fc-site .cookie-notification .ct-cookies-accept-button { background: var(--fc-primary-strong) !important; color: #fff !important; border-radius: var(--fc-radius-sm); min-height: 44px; }
.fc-site .cookie-notification .ct-cookies-decline-button { background: transparent !important; color: var(--fc-text) !important; border: 1px solid var(--fc-border-strong) !important; border-radius: var(--fc-radius-sm); min-height: 44px; }

/* Schemat kompetencji v3: nawias klamrowy z impulsami do kafelków. */
.fc-network { display: block; }
.fc-network__diagram { display: grid; grid-template-columns: auto minmax(70px, 1fr) minmax(0, 15rem); align-items: center; min-height: 300px; }
.fc-network__node--main, .fc-network__node--top, .fc-network__node--bottom { grid-column: auto; grid-row: auto; justify-self: stretch; align-self: center; }
.fc-network__brace { width: 100%; height: 100%; overflow: visible; }
.fc-network__targets { display: grid; grid-template-rows: 1fr 1fr; height: 100%; }
.fc-network__targets .fc-network__node { position: relative; }
.fc-network__targets .fc-network__node::before,
.fc-network__node--main::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--fc-accent); transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(240, 165, 22, .6); animation: fc-node-hit 2.4s ease-out infinite; }
.fc-network__targets .fc-network__node::before { left: 0; }
.fc-network__node--main { position: relative; }
.fc-network__node--main::after { left: 100%; background: var(--fc-primary); animation-delay: 0s; animation-name: fc-node-send; }
.fc-network__node--bottom::before { animation-delay: 1.2s !important; }
.fc-network__path { stroke: rgba(130, 147, 255, .45); stroke-width: 2; fill: none; }
.fc-network__pulse { fill: none; stroke: url(#fc-net-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 12 88; stroke-dashoffset: 100; filter: drop-shadow(0 0 5px rgba(240, 165, 22, .9)); animation: fc-pulse 2.4s linear infinite; }
.fc-network__pulse--bottom { animation-delay: 1.2s; }
@keyframes fc-pulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -12; } }
@keyframes fc-node-hit { 0%, 80% { box-shadow: 0 0 0 0 rgba(240, 165, 22, 0); } 88% { box-shadow: 0 0 0 6px rgba(240, 165, 22, .55); } 100% { box-shadow: 0 0 0 14px rgba(240, 165, 22, 0); } }
@keyframes fc-node-send { 0% { box-shadow: 0 0 0 6px rgba(130, 147, 255, .5); } 30%, 100% { box-shadow: 0 0 0 14px rgba(130, 147, 255, 0); } }
.fc-network[data-active="top"] .fc-network__path--top,
.fc-network[data-active="bottom"] .fc-network__path--bottom { stroke: rgba(240, 165, 22, .7); }
@media (max-width: 760px) {
	.fc-network__diagram { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
	.fc-network__brace { display: none; }
	.fc-network__targets { gap: .75rem; }
	.fc-network__targets .fc-network__node::before, .fc-network__node--main::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.fc-network__pulse { animation: none; stroke-dasharray: none; opacity: .5; }
	.fc-network__targets .fc-network__node::before, .fc-network__node--main::after { animation: none; }
}

/* Opis etapu w terminalu: zapas na 3 linie także bez JS; JS ustawia dokładną wysokość najdłuższego opisu. */
.fc-site .fc-terminal__desc { min-height: calc(3 * 1.55em); }
.fc-terminal__output { min-height: 0; }

/* =====================================================================
 * JEDEN hover dla wszystkich kafelków (zastępuje wcześniejsze warianty).
 * Karty usług, projektów, pakietów, wpisów, problemów, przepływów, kolumn porównania,
 * węzły schematu kompetencji i kafelki formularza.
 * ===================================================================== */
.fc-card,
.fc-problem,
.fc-compare-split__col,
.fc-flow__node,
.fc-network__node,
.fc-option span {
	transition: transform .3s var(--fc-ease), box-shadow .3s var(--fc-ease), border-color .3s var(--fc-ease), background .3s var(--fc-ease);
}

.fc-card:hover,
.fc-card:focus-within,
.fc-problem:hover,
.fc-compare-split__col:hover,
.fc-flow__node:hover,
.fc-network__node:hover,
.fc-network__node[aria-pressed="true"],
.fc-option:hover span,
.fc-option input:focus-visible + span,
.fc-option input:checked + span {
	border: 1px solid transparent !important;
	background: var(--fc-hover-bg) padding-box, var(--fc-hover-border) border-box !important;
	box-shadow: var(--fc-hover-shadow) !important;
	outline: none;
}

.fc-card:hover,
.fc-card:focus-within,
.fc-problem:hover,
.fc-compare-split__col:hover,
.fc-flow__node:hover,
.fc-network__node:hover,
.fc-network__node[aria-pressed="true"] { transform: var(--fc-hover-lift); }

/* Wyróżnione kafelki (np. pakiet Biznes, pierwsza usługa) nie udają hovera w spoczynku: tylko fioletowa ramka. */
.fc-card--featured,
#oferta .fc-grid > .fc-card:first-child { box-shadow: 0 0 0 1px rgba(130, 147, 255, .25); }

@media (prefers-reduced-motion: reduce) {
	.fc-card:hover, .fc-card:focus-within, .fc-problem:hover, .fc-compare-split__col:hover,
	.fc-flow__node:hover, .fc-network__node:hover, .fc-network__node[aria-pressed="true"] { transform: none; }
}

/* =====================================================================
 * Formularz: wszystkie kafelki tej samej szerokości i wysokości
 * ===================================================================== */
.fc-form__options,
.fc-form__options--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
}
.fc-option { display: flex; height: 100%; }
.fc-option span,
.fc-form__options--compact .fc-option span {
	width: 100%;
	height: 100%;
	min-height: 112px;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.fc-form__options--compact .fc-option span { min-height: 64px; }
@media (max-width: 640px) {
	.fc-form__options,
	.fc-form__options--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =====================================================================
 * Tła sekcji (obraz z Dostosuj → FutureCoding – grafiki → Tło sekcji)
 * ===================================================================== */
#oferta,
#portfolio,
#proces,
#kontakt,
.fc-section:has(> .fc-contact),
.fc-section:has(> .wp-block-group > .fc-contact) {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
#oferta::before,
#portfolio::before,
#proces::before,
#kontakt::before,
.fc-section:has(.fc-contact)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--fc-img-section) center / cover no-repeat;
	opacity: .45;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 20%, transparent 75%);
	pointer-events: none;
}
#portfolio::before { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 10% 60%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 10% 60%, #000 15%, transparent 70%); }
#proces::before { opacity: .35; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 70%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 80% 60% at 50% 70%, #000 10%, transparent 70%); }
#kontakt::before,
.fc-section:has(.fc-contact)::before { opacity: .6; background-image: var(--fc-img-hero); -webkit-mask-image: radial-gradient(ellipse 80% 90% at 75% 50%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse 80% 90% at 75% 50%, #000 25%, transparent 80%); }
.fc-form { background: rgba(20, 34, 56, .88); backdrop-filter: blur(6px); }
.fc-form__options:not(.fc-form__options--compact) .fc-option span { justify-content: flex-start; padding-top: 1.5rem; gap: .625rem; }

/* Fraza kluczowa w H1: wygląda jak etykieta „// …” nad nagłówkiem */
h1 .fc-h1-kicker {
	display: block;
	max-width: none;
	margin: 0 0 var(--fc-space-2);
	font-family: var(--fc-font-mono);
	font-size: var(--fc-text-sm);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: .01em;
	color: var(--fc-primary);
	-webkit-text-fill-color: currentColor;
	background: none;
}

/* O mnie: oś doświadczenia i narzędzia */
.fc-site .fc-experience .fc-experience__role { font-family: var(--fc-font-mono); font-size: var(--fc-text-sm); color: var(--fc-primary); margin: 0 0 .375rem; }
.fc-tools { list-style: none; margin: var(--fc-space-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.fc-tools li { padding: .3rem .7rem; border: 1px solid var(--fc-border-strong); border-radius: 999px; font-size: var(--fc-text-sm); color: var(--fc-text-2); line-height: 1.3; }
