/* ==========================================================================
   FindSolution.pl - strona glowna
   Ciemny motyw techniczny. Plik samodzielny (nie zalezy od styles.css).
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
	--bg: #07090f;
	--bg-elev: #0d111a;
	--surface: rgba(255, 255, 255, 0.032);
	--surface-hover: rgba(255, 255, 255, 0.058);
	--border: rgba(255, 255, 255, 0.09);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: #eef1f7;
	--text-soft: #c3cad8;
	--muted: #8e99ad;
	--accent: #4f6bff;
	--accent-bright: #7e93ff;
	--accent-cyan: #4fd3ff;
	--grad: linear-gradient(120deg, #4f6bff 0%, #7c6bff 45%, #4fd3ff 100%);
	--radius: 18px;
	--radius-sm: 12px;
	--radius-pill: 999px;
	--shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
	--shadow-accent: 0 18px 46px -18px rgba(79, 107, 255, 0.65);
	--max: 1200px;
	--pad: clamp(1.25rem, 4vw, 2.5rem);
	--section-y: clamp(4.5rem, 9vw, 8rem);
	--font: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

/* ----------------------------------------------------------------- base -- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.12;
	letter-spacing: -0.022em;
	font-weight: 700;
}

p {
	margin: 0;
}

::selection {
	background: rgba(79, 107, 255, 0.35);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--accent-bright);
	outline-offset: 3px;
	border-radius: 6px;
}

/* ------------------------------------------------------------- helpers -- */
.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--pad);
}

.section {
	padding-block: var(--section-y);
	position: relative;
}

.section--tint {
	background: linear-gradient(180deg, transparent, rgba(79, 107, 255, 0.045) 45%, transparent);
}

.section-head {
	max-width: 46rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.775rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-bright);
	margin-bottom: 1.1rem;
}

.eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.section-head--center .eyebrow::before {
	display: none;
}

.section-title {
	font-size: clamp(1.85rem, 4.2vw, 2.9rem);
}

.section-sub {
	margin-top: 1.1rem;
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 42rem;
}

.section-head--center .section-sub {
	margin-inline: auto;
}

.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ------------------------------------------------------------- buttons -- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.95rem 1.7rem;
	border-radius: var(--radius-pill);
	font-size: 1rem;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
	white-space: nowrap;
}

.btn i {
	font-size: 0.95em;
}

.btn--primary {
	background: var(--grad);
	background-size: 160% 160%;
	color: #fff;
	box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
	transform: translateY(-2px);
	background-position: 100% 0;
	box-shadow: 0 22px 54px -16px rgba(79, 107, 255, 0.8);
}

.btn--ghost {
	background: var(--surface);
	border-color: var(--border-strong);
	color: var(--text);
	backdrop-filter: blur(8px);
}

.btn--ghost:hover {
	transform: translateY(-2px);
	background: var(--surface-hover);
	border-color: rgba(255, 255, 255, 0.3);
}

.btn--lg {
	padding: 1.1rem 2.2rem;
	font-size: 1.06rem;
}

.btn--sm {
	padding: 0.68rem 1.3rem;
	font-size: 0.925rem;
}

/* ----------------------------------------------------------------- nav -- */
.nav {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background 0.3s ease, border-color 0.3s ease;
	border-bottom: 1px solid transparent;
}

.nav.is-stuck {
	background: rgba(7, 9, 15, 0.82);
	backdrop-filter: blur(16px) saturate(160%);
	border-bottom-color: var(--border);
}

.nav__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 74px;
}

.nav__logo {
	height: 42px;
	width: auto;
	/* plik ma 10px marginesu u gory i 26px u dolu - bez tego znak siedzi za wysoko */
	transform: translateY(2px);
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
}

.nav__link {
	padding: 0.5rem 0.9rem;
	border-radius: var(--radius-pill);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-soft);
	transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
	color: #fff;
	background: var(--surface);
}

.nav__cta {
	margin-left: 0.6rem;
}

.nav__toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-size: 1.15rem;
	cursor: pointer;
}

/* ---------------------------------------------------------------- hero -- */
.hero {
	position: relative;
	padding-top: clamp(8rem, 15vw, 11.5rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
}

.hero__bg::before,
.hero__bg::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(110px);
	opacity: 0.5;
}

.hero__bg::before {
	width: 46rem;
	height: 46rem;
	top: -20rem;
	left: -12rem;
	background: radial-gradient(circle, rgba(79, 107, 255, 0.55), transparent 68%);
}

.hero__bg::after {
	width: 38rem;
	height: 38rem;
	top: -8rem;
	right: -14rem;
	background: radial-gradient(circle, rgba(155, 107, 255, 0.4), transparent 68%);
}

.hero__grid-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 30%, transparent 78%);
	mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 30%, transparent 78%);
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.45rem 1rem 0.45rem 0.75rem;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	border-radius: var(--radius-pill);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-soft);
	backdrop-filter: blur(8px);
}

.badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
	animation: pulse 2.4s infinite;
}

@keyframes pulse {
	70% {
		box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
	}
}

.hero__title {
	margin-top: 1.6rem;
	font-size: clamp(2.35rem, 5.6vw, 4.05rem);
	letter-spacing: -0.035em;
}

.hero__lead {
	margin-top: 1.5rem;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	color: var(--text-soft);
	max-width: 34rem;
}

.hero__actions {
	margin-top: 2.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

.hero__note {
	margin-top: 1.5rem;
	font-size: 0.95rem;
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.hero__note a {
	color: var(--accent-bright);
	font-weight: 600;
	border-bottom: 1px solid rgba(126, 147, 255, 0.35);
}

.hero__note a:hover {
	border-bottom-color: currentColor;
}

.hero__points {
	margin-top: 2.6rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.6rem;
}

.hero__points li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.93rem;
	color: var(--muted);
}

.hero__points i {
	color: var(--accent-cyan);
	font-size: 0.85rem;
}

/* hero - karta "dzis / po wdrozeniu" */
.showcase {
	position: relative;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(24, 29, 44, 0.95), rgba(10, 13, 21, 0.95));
	box-shadow: var(--shadow);
	overflow: hidden;
}

.showcase::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, rgba(79, 107, 255, 0.6), transparent 40%, rgba(79, 211, 255, 0.35));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	pointer-events: none;
}

.showcase__bar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.95rem 1.25rem;
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.025);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.showcase__bar i {
	color: var(--accent-bright);
	font-size: 0.85rem;
}

.showcase__body {
	display: grid;
	gap: 0.85rem;
	padding: 1.5rem 1.5rem 1.7rem;
}

.ba {
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.15rem 1.25rem;
	background: rgba(255, 255, 255, 0.022);
}

.ba--after {
	border-color: rgba(79, 107, 255, 0.35);
	background: rgba(79, 107, 255, 0.07);
}

.ba__head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.9rem;
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.ba--after .ba__head {
	color: var(--accent-bright);
}

.ba__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.94rem;
	color: var(--text-soft);
}

.ba__list li + li {
	margin-top: 0.55rem;
}

.ba__list i {
	flex-shrink: 0;
	margin-top: 0.42rem;
	font-size: 0.75rem;
}

.ba--before .ba__list i {
	color: #ff8080;
}

.ba--after .ba__list i {
	color: #5ee9a4;
}

.ba__arrow {
	display: grid;
	place-items: center;
	color: var(--accent-bright);
	font-size: 0.9rem;
}

.showcase__foot {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--border);
}

.showcase__item {
	padding: 1.05rem 0.9rem;
	text-align: center;
	border-right: 1px solid var(--border);
}

.showcase__item:last-child {
	border-right: 0;
}

.showcase__item b {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.showcase__item span {
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--muted);
}

/* --------------------------------------------------------------- cards -- */
.cards {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.6rem, 2.6vw, 2.1rem);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
	transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card:hover {
	transform: translateY(-5px);
	border-color: var(--border-strong);
	background: var(--surface-hover);
}

.card__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	font-size: 1.25rem;
	color: #fff;
	background: linear-gradient(140deg, rgba(79, 107, 255, 0.9), rgba(124, 107, 255, 0.55));
	box-shadow: 0 12px 30px -12px rgba(79, 107, 255, 0.9);
	margin-bottom: 1.4rem;
}

.card__title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.card__desc {
	color: var(--muted);
	font-size: 0.98rem;
	flex: 1;
}

.card__list {
	margin-top: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.chip {
	padding: 0.32rem 0.75rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-size: 0.78rem;
	color: var(--text-soft);
	background: rgba(255, 255, 255, 0.03);
}

/* ------------------------------------------------------------- problem -- */
.problems {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.problem {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--border);
	border-left: 2px solid rgba(79, 107, 255, 0.55);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text-soft);
	font-size: 0.98rem;
}

.problem i {
	color: var(--accent-bright);
	margin-top: 0.4rem;
	font-size: 0.85rem;
}

/* ------------------------------------------------------------ projekty -- */
.projects {
	display: grid;
	gap: 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-elev);
	overflow: hidden;
	transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.project:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow);
}

.project__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0b0e16;
}

.project__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease, filter 0.4s ease;
	filter: saturate(0.85) brightness(0.88);
}

.project:hover .project__media img {
	transform: scale(1.05);
	filter: saturate(1) brightness(1);
}

.project__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(13, 17, 26, 0.92), transparent 58%);
}

/* wariant bez zdjecia - do czasu podmiany na zrzut ekranu */
.project__media--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(150deg, rgba(79, 107, 255, 0.24), rgba(155, 107, 255, 0.1) 55%, rgba(79, 211, 255, 0.14));
}

.project__media--empty::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 34px 34px;
}

.project__media--empty::after {
	background: linear-gradient(to top, rgba(13, 17, 26, 0.7), transparent 62%);
}

.project__media--empty i {
	position: relative;
	z-index: 1;
	font-size: 2.9rem;
	color: rgba(255, 255, 255, 0.62);
	transition: transform 0.4s ease;
}

.project:hover .project__media--empty i {
	transform: scale(1.08);
}

.project__tag {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	z-index: 2;
	padding: 0.3rem 0.7rem;
	border-radius: var(--radius-pill);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: rgba(7, 9, 15, 0.72);
	border: 1px solid var(--border-strong);
	color: var(--accent-bright);
	backdrop-filter: blur(6px);
}

.project__body {
	padding: 1.5rem 1.6rem 1.7rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.project__title {
	font-size: 1.2rem;
	margin-bottom: 0.7rem;
}

.project__desc {
	color: var(--muted);
	font-size: 0.95rem;
	flex: 1;
}

.project__links {
	margin-top: 1.3rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.project__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.86rem;
	color: var(--text-soft);
	font-family: var(--mono);
	transition: color 0.2s ease;
	word-break: break-all;
}

.project__links i {
	color: var(--accent);
	font-size: 0.72rem;
	flex-shrink: 0;
}

.project__links a:hover {
	color: var(--accent-bright);
}

.projects-more {
	margin-top: 2.5rem;
	padding: 1.6rem 1.8rem;
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	color: var(--muted);
	font-size: 0.98rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.018);
}

/* -------------------------------------------------------------- proces -- */
.steps {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
	position: relative;
	padding: 2rem 1.6rem 1.8rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.28s ease, transform 0.28s ease;
}

.step:hover {
	border-color: var(--border-strong);
	transform: translateY(-4px);
}

.step__num {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 1.2rem;
	border-radius: 12px;
	border: 1px solid rgba(79, 107, 255, 0.4);
	background: rgba(79, 107, 255, 0.12);
	color: var(--accent-bright);
	font-weight: 700;
	font-size: 0.95rem;
	font-family: var(--mono);
}

.step__title {
	font-size: 1.1rem;
	margin-bottom: 0.6rem;
}

.step__desc {
	color: var(--muted);
	font-size: 0.94rem;
}

/* ------------------------------------------------------------ dlaczego -- */
.reasons {
	display: grid;
	gap: 1.5rem 2.2rem;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.reason {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.reason__icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: rgba(79, 107, 255, 0.12);
	border: 1px solid rgba(79, 107, 255, 0.28);
	color: var(--accent-bright);
	font-size: 1rem;
}

.reason__title {
	font-size: 1.03rem;
	margin-bottom: 0.35rem;
}

.reason__desc {
	color: var(--muted);
	font-size: 0.93rem;
}

/* -------------------------------------------------------------- o mnie -- */
.about {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
	padding: clamp(1.8rem, 4vw, 3.2rem);
	border: 1px solid var(--border);
	border-radius: clamp(20px, 3vw, 28px);
	background: linear-gradient(150deg, rgba(79, 107, 255, 0.08), rgba(255, 255, 255, 0.02) 45%);
}

.about__media img {
	width: 190px;
	height: 190px;
	border-radius: 50%;
	/* kadr na twarz - dolny pasek grafik zostaje poza kolem */
	object-fit: cover;
	object-position: 50% 20%;
	border: 1px solid var(--border-strong);
	box-shadow: 0 0 0 6px rgba(79, 107, 255, 0.12);
}

.about__name {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 0.35rem;
}

.about__role {
	color: var(--accent-bright);
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 1.3rem;
}

.about__desc {
	color: var(--text-soft);
	font-size: 1rem;
}

.about__desc + .about__desc {
	margin-top: 1rem;
}

.about__stack {
	margin-top: 1.7rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

/* ----------------------------------------------------------------- cta -- */
.cta {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: clamp(3rem, 6vw, 4.8rem) clamp(1.5rem, 5vw, 4rem);
	border: 1px solid var(--border-strong);
	border-radius: clamp(20px, 3vw, 30px);
	background: linear-gradient(150deg, rgba(79, 107, 255, 0.16), rgba(155, 107, 255, 0.08) 50%, rgba(79, 211, 255, 0.08));
}

.cta::before {
	content: "";
	position: absolute;
	width: 34rem;
	height: 34rem;
	top: -22rem;
	left: 50%;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(79, 107, 255, 0.45), transparent 66%);
	filter: blur(70px);
	pointer-events: none;
}

.cta > * {
	position: relative;
}

.cta__title {
	font-size: clamp(1.9rem, 4.4vw, 3rem);
	max-width: 22ch;
	margin-inline: auto;
}

.cta__sub {
	margin-top: 1.2rem;
	color: var(--text-soft);
	font-size: 1.06rem;
	max-width: 46ch;
	margin-inline: auto;
}

.cta__actions {
	margin-top: 2.3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	justify-content: center;
}

.cta__note {
	margin-top: 1.7rem;
	color: var(--muted);
	font-size: 0.93rem;
}

.cta__note a {
	color: var(--accent-bright);
	font-weight: 600;
}

/* -------------------------------------------------------------- footer -- */
.footer {
	border-top: 1px solid var(--border);
	padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
	background: #05070c;
}

.footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	gap: 2.5rem;
}

.footer__logo {
	height: 40px;
	width: auto;
	margin-bottom: 1.1rem;
}

.footer__about {
	color: var(--muted);
	font-size: 0.94rem;
	max-width: 30rem;
}

.footer__heading {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: var(--text);
	margin-bottom: 1.1rem;
}

.footer__list li {
	margin-bottom: 0.6rem;
}

.footer__list a,
.footer__list span {
	color: var(--muted);
	font-size: 0.94rem;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.footer__list a:hover {
	color: var(--accent-bright);
}

.footer__bottom {
	margin-top: 3rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	color: var(--muted);
	font-size: 0.87rem;
}

.footer__bottom a:hover {
	color: var(--accent-bright);
}

/* ------------------------------------------------------- scroll reveal -- */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

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

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1024px) {
	.hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__visual {
		max-width: 34rem;
	}

	.about {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.about__media {
		justify-self: center;
	}

	.about__stack {
		justify-content: center;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.nav__toggle {
		display: inline-flex;
	}

	.nav__links {
		position: fixed;
		inset: 74px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
		margin: 0;
		padding: 1rem var(--pad) 1.6rem;
		background: rgba(7, 9, 15, 0.97);
		backdrop-filter: blur(18px);
		border-bottom: 1px solid var(--border);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	}

	.nav__links.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav__link {
		padding: 0.85rem 1rem;
		font-size: 1.02rem;
	}

	.nav__cta {
		margin: 0.6rem 0 0;
	}
}

@media (max-width: 640px) {
	.hero__points {
		flex-direction: column;
		gap: 0.55rem;
	}

	.hero__actions .btn,
	.cta__actions .btn {
		flex: 1 1 100%;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.showcase__foot {
		grid-template-columns: 1fr;
	}

	.showcase__item {
		border-right: 0;
		border-bottom: 1px solid var(--border);
	}

	.showcase__item:last-child {
		border-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   KONTAKT
   ========================================================================== */

.page-head {
	position: relative;
	overflow: hidden;
	padding-top: clamp(7.5rem, 13vw, 10rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.page-head__title {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	letter-spacing: -0.03em;
	max-width: 20ch;
	margin-inline: auto;
}

.page-head__lead {
	margin-top: 1.3rem;
	margin-inline: auto;
	max-width: 48ch;
	color: var(--text-soft);
	font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.contact {
	padding-bottom: var(--section-y);
}

.contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
	gap: clamp(1.5rem, 3.5vw, 2.75rem);
	align-items: start;
}

/* ------------------------------------------------------------ form card -- */
.form-card {
	position: relative;
	padding: clamp(1.5rem, 3.5vw, 2.6rem);
	border: 1px solid var(--border);
	border-radius: clamp(18px, 2.5vw, 24px);
	background: linear-gradient(160deg, rgba(24, 29, 44, 0.6), rgba(10, 13, 21, 0.6));
	box-shadow: var(--shadow);
}

/* przelacznik trybu */
.switch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.3rem;
	padding: 0.35rem;
	margin-bottom: 1.1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.03);
}

.switch__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.switch__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.8rem 0.9rem;
	border-radius: var(--radius-pill);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--muted);
	cursor: pointer;
	text-align: center;
	transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.switch__label:hover {
	color: var(--text);
}

.switch__input:checked + .switch__label {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 10px 26px -12px rgba(79, 107, 255, 0.9);
}

.switch__input:focus-visible + .switch__label {
	outline: 2px solid var(--accent-bright);
	outline-offset: 2px;
}

.switch__label i {
	font-size: 0.9em;
}

.form-intro {
	margin-bottom: 1.9rem;
	color: var(--muted);
	font-size: 0.94rem;
}

/* fieldset uzywamy tylko po to, zeby jednym atrybutem wylaczyc caly panel */
.form-panel {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

/* pola */
.form-grid {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.field--full {
	grid-column: 1 / -1;
}

.field__label {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--text-soft);
}

.field__label span {
	color: var(--muted);
	font-weight: 400;
}

.field__input,
.field__select,
.field__area {
	width: 100%;
	padding: 0.85rem 1.05rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: rgba(7, 9, 15, 0.55);
	color: var(--text);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field__input::placeholder,
.field__area::placeholder {
	color: #6d768a;
}

.field__input:hover,
.field__select:hover,
.field__area:hover {
	border-color: rgba(255, 255, 255, 0.26);
}

.field__input:focus,
.field__select:focus,
.field__area:focus {
	outline: none;
	border-color: var(--accent);
	background: rgba(7, 9, 15, 0.85);
	box-shadow: 0 0 0 3px rgba(79, 107, 255, 0.18);
}

.field__area {
	min-height: 9.5rem;
	resize: vertical;
}

.field__select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2.6rem;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238e99ad'%3E%3Cpath d='M8 11L3 5.5h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 14px;
	cursor: pointer;
}

.field__select option {
	background: #0d111a;
	color: var(--text);
}

.field__hint {
	font-size: 0.83rem;
	color: var(--muted);
}

.field-validation-error {
	display: block;
	font-size: 0.85rem;
	color: #ff8f8f;
}

/* komunikaty */
.form-alert {
	margin-bottom: 1.6rem;
	padding: 1rem 1.2rem;
	border: 1px solid rgba(255, 122, 122, 0.4);
	border-left: 3px solid #ff7a7a;
	border-radius: var(--radius-sm);
	background: rgba(255, 90, 90, 0.09);
	color: #ffc9c9;
	font-size: 0.93rem;
}

.form-alert ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.form-alert li + li {
	margin-top: 0.35rem;
}

.form-alert li::before {
	content: "\2022";
	margin-right: 0.55rem;
	color: #ff7a7a;
}

.validation-summary-valid {
	display: none;
}

/* recaptcha + wyslij */
.form-foot {
	margin-top: 1.9rem;
	padding-top: 1.7rem;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.3rem;
}

.recaptcha-wrap {
	min-width: 0;
	overflow: hidden;
	border-radius: var(--radius-sm);
}

.form-foot .btn {
	margin-left: auto;
}

.form-note {
	margin-top: 1.3rem;
	color: var(--muted);
	font-size: 0.85rem;
}

/* ---------------------------------------------------------- panel boczny -- */
.contact__aside {
	display: grid;
	gap: 1.1rem;
	position: sticky;
	top: 100px;
}

.aside-card {
	padding: 1.6rem 1.7rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.aside-card--accent {
	border-color: rgba(79, 107, 255, 0.3);
	background: linear-gradient(150deg, rgba(79, 107, 255, 0.12), rgba(255, 255, 255, 0.02) 60%);
}

.aside-card__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.2rem;
	font-size: 1rem;
}

.aside-card__title i {
	color: var(--accent-bright);
	font-size: 0.9rem;
}

.aside-steps {
	counter-reset: aside;
}

.aside-steps li {
	position: relative;
	padding-left: 2.1rem;
	color: var(--text-soft);
	font-size: 0.93rem;
}

.aside-steps li + li {
	margin-top: 1rem;
}

.aside-steps li::before {
	counter-increment: aside;
	content: counter(aside);
	position: absolute;
	left: 0;
	top: 0.05rem;
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	border: 1px solid rgba(79, 107, 255, 0.4);
	background: rgba(79, 107, 255, 0.12);
	color: var(--accent-bright);
	font-size: 0.75rem;
	font-weight: 700;
	font-family: var(--mono);
}

.aside-contact li + li {
	margin-top: 0.9rem;
}

.aside-contact a,
.aside-contact span {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	color: var(--text-soft);
	font-size: 0.94rem;
	transition: color 0.2s ease;
	word-break: break-word;
}

.aside-contact a:hover {
	color: var(--accent-bright);
}

.aside-contact i {
	flex-shrink: 0;
	margin-top: 0.32rem;
	width: 1rem;
	text-align: center;
	color: var(--accent);
	font-size: 0.85rem;
}

.aside-quote {
	color: var(--text-soft);
	font-size: 0.94rem;
	font-style: italic;
}

.aside-quote + .aside-sign {
	margin-top: 1rem;
	color: var(--muted);
	font-size: 0.85rem;
	font-style: normal;
}

/* --------------------------------------------------------------- podziekowanie -- */
.thanks {
	display: grid;
	place-items: center;
	text-align: center;
	padding-top: clamp(8rem, 16vw, 12rem);
	padding-bottom: clamp(5rem, 10vw, 8rem);
}

.thanks__icon {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin-bottom: 2rem;
	border-radius: 50%;
	background: linear-gradient(140deg, rgba(94, 233, 164, 0.9), rgba(79, 211, 255, 0.6));
	color: #06210f;
	font-size: 2rem;
	box-shadow: 0 20px 50px -18px rgba(94, 233, 164, 0.75);
}

.thanks__title {
	font-size: clamp(2rem, 4.6vw, 3rem);
}

/* duzy numer bledu na stronach 404 / 500 */
.error-code {
	margin-bottom: 0.5rem;
	font-family: var(--mono);
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.error-code--warn {
	background: linear-gradient(120deg, #ff8f5e 0%, #ff6b8a 55%, #9b6bff 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.thanks__lead {
	margin-top: 1.3rem;
	max-width: 46ch;
	color: var(--text-soft);
	font-size: 1.06rem;
}

.thanks__actions {
	margin-top: 2.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	justify-content: center;
}

/* ---------------------------------------------------- kontakt responsive -- */
@media (max-width: 960px) {
	.contact__inner {
		grid-template-columns: 1fr;
	}

	.contact__aside {
		position: static;
	}
}

@media (max-width: 640px) {
	.switch {
		grid-template-columns: 1fr;
	}

	.form-foot {
		flex-direction: column;
		align-items: stretch;
	}

	.form-foot .btn {
		margin-left: 0;
		width: 100%;
	}

	.recaptcha-wrap {
		overflow-x: auto;
	}
}
