/*
Theme Name: Natech
Theme URI: https://natechlinear.com/
Author: Natech
Description: Natech – odświeżony wygląd (lifting) strony natechlinear.com. Klasyczny motyw PHP z polami ACF (szablon „Strona główna Natech”). Wersja 1:1 dostępna jako motyw „Natech (1:1 kopia)”.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: natech
*/

/* ==========================================================================
   Zmienne i reset
   ========================================================================== */
:root {
	--nt-red: #e43a45;
	--nt-red-dark: #c92f39;
	--nt-graphite: #53585a;
	--nt-ink: #2d3234;
	--nt-text: #61676a;
	--nt-muted: #8b9194;
	--nt-line: #e7e9ea;
	--nt-light: #f5f6f7;
	--nt-font: Roboto, sans-serif;
	--nt-font-alt: Muli, Helvetica, Arial, sans-serif;
	--nt-radius: 4px;
	--nt-shadow: 0 1px 2px rgba(20, 24, 26, .04), 0 8px 24px rgba(20, 24, 26, .06);
	--nt-shadow-lg: 0 2px 4px rgba(20, 24, 26, .04), 0 20px 50px rgba(20, 24, 26, .10);
	--nt-header-h: 88px;
	--nt-ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
	margin: 0;
	font-family: var(--nt-font);
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
	color: var(--nt-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

a { color: var(--nt-graphite); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--nt-red); }

h1, h2, h3, h4, h5, h6 { color: var(--nt-ink); font-family: var(--nt-font); font-weight: 500; margin: 0; line-height: 1.2; }

p { margin: 0 0 18px; }
ul { margin: 0 0 18px; }

::selection { background: var(--nt-red); color: #fff; }

.skip-link {
	position: absolute;
	left: 10px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--nt-ink);
	color: #fff;
}
.skip-link:focus { top: 10px; color: #fff; }

.container { width: 100%; max-width: 1110px; margin: 0 auto; }
.container-wide { max-width: 1200px; padding-left: 15px; padding-right: 15px; }

.section { padding: 110px 0; }

/* Nagłówki sekcji */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--nt-red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.section-title {
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -.5px;
	margin: 0 0 22px;
}

.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Ikony */
.icon { width: 1em; height: 1em; flex: 0 0 auto; }
.ico {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: currentColor;
	-webkit-mask: var(--ico) no-repeat center / contain;
	mask: var(--ico) no-repeat center / contain;
}
.ico-pdf  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M6 2.8h8l4 4v14.4H6z'/%3E%3Cpath d='M14 2.8v4h4'/%3E%3Ctext x='12' y='17' font-size='5.2' font-family='Arial' font-weight='700' text-anchor='middle' fill='%23000' stroke='none'%3EPDF%3C/text%3E%3C/svg%3E"); }
.ico-file { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M6 2.8h8l4 4v14.4H6z'/%3E%3Cpath d='M14 2.8v4h4M9 13h6M9 16.5h6'/%3E%3C/svg%3E"); }
.ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Przyciski
   ========================================================================== */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 28px;
	border: 1px solid var(--nt-red);
	border-radius: var(--nt-radius);
	background: var(--nt-red);
	color: #fff;
	font-family: var(--nt-font);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .2px;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.btn .icon,
.btn .btn-arrow { width: 18px; height: 18px; transition: transform .25s var(--nt-ease); }
.btn:hover {
	background: var(--nt-red-dark);
	border-color: var(--nt-red-dark);
	color: #fff;
	box-shadow: 0 10px 24px rgba(228, 58, 69, .28);
	transform: translateY(-1px);
}
.btn:hover .icon,
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--nt-ink); outline-offset: 3px; }

.btn-ghost { background: transparent; color: var(--nt-ink); border-color: rgba(45, 50, 52, .25); }
.btn-ghost:hover { background: var(--nt-ink); border-color: var(--nt-ink); color: #fff; box-shadow: none; }

.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }

/* ==========================================================================
   Nagłówek (sticky)
   ========================================================================== */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	transition: box-shadow .3s ease;
}
.admin-bar .header { top: 32px; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--nt-line), 0 10px 30px rgba(20, 24, 26, .06); }

.header-inner {
	display: flex;
	align-items: center;
	height: var(--nt-header-h);
	transition: height .3s var(--nt-ease);
}
.header.is-scrolled .header-inner { height: 70px; }

.header-logo img { display: block; width: 168px; height: auto; transition: width .3s var(--nt-ease); }
.header.is-scrolled .header-logo img { width: 148px; }

.nav { margin-left: 56px; }
.nav-cta-mobile { display: none; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.menu li { position: relative; }
.menu a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	color: var(--nt-ink);
}
.menu a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	background: var(--nt-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--nt-ease);
}
.menu a:hover { color: var(--nt-red); }
.menu a:hover::after,
.menu a.is-active::after { transform: scaleX(1); }
.menu a.is-active { color: var(--nt-red); }

.menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	background: #fff;
	border-radius: var(--nt-radius);
	box-shadow: var(--nt-shadow-lg);
}
.menu li:hover > .sub-menu { display: block; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.header-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--nt-text); }
.header-mail .icon { width: 18px; height: 18px; color: var(--nt-red); }

.burger {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	padding: 10px 8px;
	border: 0;
	background: none;
	cursor: pointer;
	position: relative;
}
.burger span {
	display: block;
	position: absolute;
	left: 8px;
	right: 8px;
	height: 2px;
	background: var(--nt-ink);
	transition: transform .25s ease, opacity .25s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Baner
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background: #f3f3f3;
}
.hero-bg {
	position: absolute;
	inset: 0;
	max-width: 2200px;
	margin: 0 auto;
	background-repeat: no-repeat;
	background-position: 62% center;
	background-size: cover;
	transform: scale(1.04);
	animation: heroZoom 1.6s var(--nt-ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(246, 246, 246, .97) 0%, rgba(246, 246, 246, .9) 30%, rgba(246, 246, 246, .35) 50%, rgba(246, 246, 246, 0) 62%);
	pointer-events: none;
}
.hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: clamp(520px, 40vw, 680px);
	padding-top: 60px;
	padding-bottom: 130px;
}
.hero-content { max-width: 560px; }

.hero-title {
	font-size: 35px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -1px;
	color: var(--nt-ink);
	margin: 0 0 22px;
}
.hero-text { max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--nt-text); margin: 0 0 34px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-buttons .btn-ghost { background: rgba(255, 255, 255, .6); }
.hero-buttons .btn-ghost:hover { background: var(--nt-ink); }

.hero-badges {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-top: 1px solid rgba(255, 255, 255, .9);
}
.hero-badges ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), 1fr);
}
.hero-badges li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 20px;
	font-size: 15px;
	font-weight: 500;
	color: var(--nt-ink);
}
.hero-badges li + li { border-left: 1px solid var(--nt-line); }
.hero-badges li:first-child { padding-left: 0; }
.hero-badge-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--nt-red);
	color: #fff;
	flex: 0 0 30px;
}
.hero-badge-ico .icon { width: 16px; height: 16px; stroke-width: 2.4; }

/* ==========================================================================
   O firmie + atuty
   ========================================================================== */
.about-grid-single { grid-template-columns: 1fr !important; max-width: 820px; }
.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 70px;
	align-items: start;
}
.about-logo { display: block; width: 160px; height: auto; margin: 4px 0 24px; opacity: .9; }
.about-body { font-size: 16px; line-height: 1.75; }
.about-body p { margin: 0 0 16px; }

.features {
	position: sticky;
	top: 110px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding-top: 6px;
}
.feature {
	position: relative;
	padding: 30px 26px 26px;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	transition: transform .35s var(--nt-ease), box-shadow .35s var(--nt-ease), border-color .35s ease;
	overflow: hidden;
}
.feature::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 3px;
	background: var(--nt-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s var(--nt-ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--nt-shadow-lg); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: rgba(228, 58, 69, .08);
	color: var(--nt-red);
	transition: background-color .3s ease, color .3s ease;
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-icon .icon-img { width: 28px; height: 28px; object-fit: contain; }
.feature:hover .feature-icon { background: var(--nt-red); color: #fff; }
.feature-title { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.feature-text { font-size: 15px; line-height: 1.6; margin: 0; }

/* ==========================================================================
   Zastosowania
   ========================================================================== */
.apps { padding-top: 0; }
.apps-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; }

.app {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--nt-radius);
	background: var(--nt-light);
}
.app img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--nt-ease); }
.app::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 24, 26, 0) 40%, rgba(20, 24, 26, .78) 100%);
	transition: opacity .4s ease;
}
.app:hover img { transform: scale(1.07); }

.app-caption {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 22px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #fff;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.25;
	transition: transform .4s var(--nt-ease);
}
.app-caption::after {
	content: "";
	width: 0;
	height: 2px;
	margin-top: 8px;
	background: var(--nt-red);
	transition: width .4s var(--nt-ease);
}
.app:hover .app-caption { transform: translateY(-4px); }
.app:hover .app-caption::after { width: 40px; }
.app-num { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: rgba(255, 255, 255, .7); }

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .85);
	cursor: zoom-out;
}
.lightbox img { max-width: 90vw; max-height: 90vh; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }

/* ==========================================================================
   Oferta (zakładki)
   ========================================================================== */
.offer { background: var(--nt-light); }

.tabs-wrap { display: flex; justify-content: center; margin-bottom: 30px; }
.tabs {
	list-style: none;
	margin: 0;
	padding: 6px;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	background: #fff;
	border-radius: calc(var(--nt-radius) + 4px);
	box-shadow: var(--nt-shadow);
}
.tabs a {
	display: block;
	padding: 0 22px;
	border-radius: var(--nt-radius);
	font-size: 15px;
	font-weight: 500;
	line-height: 46px;
	color: var(--nt-ink);
	transition: background-color .25s ease, color .25s ease;
}
.tabs a:hover { background: var(--nt-light); color: var(--nt-red); }
.tabs .is-active a,
.tabs .is-active a:hover { background: var(--nt-red); color: #fff; box-shadow: 0 6px 16px rgba(228, 58, 69, .25); }

.tab-content {
	background: #fff;
	border-radius: calc(var(--nt-radius) + 2px);
	box-shadow: var(--nt-shadow);
	padding: 50px;
}

.tab-pane { display: none; }
.tab-pane.is-active { display: block; animation: paneIn .45s var(--nt-ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.tab-pane-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.tab-pane-num { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--nt-red); }
.tab-pane-title { font-size: 30px; font-weight: 500; text-transform: capitalize; margin: 0 0 22px; }
.tab-pane-content { margin-bottom: 28px; }
.tab-pane-content p { margin: 0 0 16px; }
.tab-pane-content strong { color: var(--nt-ink); font-weight: 500; }
.tab-pane-content ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tab-pane-content li { position: relative; padding-left: 30px; line-height: 1.5; }
.tab-pane-content li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(228, 58, 69, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e43a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.tab-pane-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	padding: 30px;
	border-radius: var(--nt-radius);
	background: radial-gradient(circle at 50% 45%, #fff 0%, var(--nt-light) 70%);
}
.tab-pane-image img { width: auto; max-width: 100%; max-height: 440px; mix-blend-mode: multiply; transition: transform .6s var(--nt-ease); }
.tab-pane-image:hover img { transform: scale(1.03); }

/* Do pobrania */
.tab-pane-downloads { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--nt-line); }
.downloads-title {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--nt-ink);
}
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.download {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	background: #fff;
	color: var(--nt-ink);
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--nt-ease);
}
.download-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--nt-radius);
	background: rgba(228, 58, 69, .08);
	color: var(--nt-red);
	flex: 0 0 44px;
}
.download-ico .icon { width: 26px; height: 26px; }
.download-text { display: flex; flex-direction: column; font-weight: 500; line-height: 1.35; }
.download-text small { font-size: 12px; font-weight: 400; color: var(--nt-muted); }
.download-meta { margin-left: auto; font-size: 12px; color: var(--nt-muted); white-space: nowrap; }
.download-arrow { display: inline-flex; color: var(--nt-muted); transition: color .25s ease, transform .25s var(--nt-ease); }
.download-arrow .icon { width: 18px; height: 18px; }
.download:hover { border-color: var(--nt-red); box-shadow: var(--nt-shadow); transform: translateY(-2px); color: var(--nt-ink); }
.download:hover .download-arrow { color: var(--nt-red); transform: translateY(2px); }

/* Tabela plików 3D */
.files-table {
	width: 100%;
	max-width: 520px;
	border-collapse: separate;
	border-spacing: 0;
	margin-top: 22px;
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	overflow: hidden;
	font-size: 15px;
}
.files-table th {
	padding: 14px 18px;
	background: var(--nt-ink);
	color: #fff;
	font-weight: 500;
	text-align: left;
}
.files-table td { padding: 12px 18px; border-top: 1px solid var(--nt-line); line-height: 1.4; }
.files-table tbody tr:nth-child(even) td { background: #fafbfb; }
.files-table tbody tr { transition: background-color .2s ease; }
.files-table tbody tr:hover td { background: rgba(228, 58, 69, .05); }
.files-table td:first-child { width: 35%; font-weight: 500; color: var(--nt-ink); }
.files-table td a { display: inline-flex; align-items: center; gap: 8px; color: var(--nt-graphite); }
.files-table td a .icon { width: 16px; height: 16px; color: var(--nt-red); }
.files-table td small { color: var(--nt-muted); font-size: 12px; }
.files-table td a:hover { color: var(--nt-red); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: stretch; }
.contact-lead { font-size: 17px; line-height: 1.65; margin: 0 0 30px; max-width: 460px; }

.contact-media { position: relative; border-radius: var(--nt-radius); overflow: hidden; }
.contact-media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

.contact-card {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	background: rgba(45, 50, 52, .92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: var(--nt-radius);
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	transition: background-color .25s ease, transform .25s var(--nt-ease);
}
.contact-card small { display: block; font-size: 12px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.contact-card:hover { background: var(--nt-red); color: #fff; }
.contact-card-body { display: flex; flex-direction: column; }
.contact-card-body a { color: #fff; }
.contact-card-body a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-card-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	flex: 0 0 46px;
}
.contact-card-ico .icon { width: 22px; height: 22px; }

.contact-form {
	align-self: start;
	padding: 40px;
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: calc(var(--nt-radius) + 2px);
	box-shadow: var(--nt-shadow-lg);
}
.form-wrap { height: 100%; }

/* --- Formularz (Contact Form 7) ------------------------------------------ */
.form { position: relative; }
.form .wpcf7-form { position: relative; margin: 0; }
.form .wpcf7-form-control-wrap { position: static; display: block; }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form .hidden-fields-container { display: none; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 24px;
	row-gap: 18px;
	margin-bottom: 18px;
}

.field { position: relative; }

.field-input {
	display: block;
	width: 100%;
	height: 52px;
	padding: 20px 18px 6px;
	border: 1px solid #dcdcdc;
	border-radius: var(--nt-radius);
	background: #fff;
	font-family: var(--nt-font);
	font-size: 16px;
	line-height: 24px;
	color: var(--nt-ink);
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
textarea.field-input { height: 200px; padding: 28px 18px 10px; resize: vertical; }
.field-input:hover { border-color: #bdbdbd; }
.field-input:focus { border-color: var(--nt-red); box-shadow: 0 0 0 3px rgba(228, 58, 69, .12); }

/* pływająca etykieta */
.field-label {
	position: absolute;
	top: 14px;
	left: 19px;
	right: 19px;
	font-size: 16px;
	line-height: 24px;
	color: var(--nt-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
	transform-origin: left top;
	transition: transform .2s ease, color .2s ease;
}
.field-label em { font-style: normal; color: var(--nt-red); }
.field:focus-within .field-label,
.field.is-filled .field-label { transform: translateY(-9px) scale(.75); }
.field:focus-within .field-label { color: var(--nt-red); }

/* błędy walidacji CF7 */
.field .wpcf7-not-valid { border-color: var(--nt-red); background: #fff8f8; }
.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 18px;
	color: var(--nt-red);
	animation: fadeIn .2s ease;
}

.field-message { margin-bottom: 18px; }

/* zgoda RODO (acceptance) */
.field-consent { font-size: 13px; line-height: 20px; color: var(--nt-text); }
.field-consent .wpcf7-list-item { display: block; margin: 0; }
.field-consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.field-consent input[type="checkbox"] {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background: #fff center / 13px no-repeat;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.field-consent label:hover input[type="checkbox"] { border-color: var(--nt-red); }
.field-consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(228, 58, 69, .2); }
.field-consent input[type="checkbox"]:checked {
	border-color: var(--nt-red);
	background-color: var(--nt-red);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.field-consent .wpcf7-not-valid input[type="checkbox"] { border-color: var(--nt-red); background-color: #fff8f8; }
.field-consent .wpcf7-not-valid-tip { padding-left: 32px; }
.field-consent a { color: var(--nt-graphite); text-decoration: underline; text-underline-offset: 2px; }
.field-consent a:hover { color: var(--nt-red); }
.field-consent em { font-style: normal; color: var(--nt-red); }

/* honeypot */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* przycisk */
.form .btn { width: 100%; height: 54px; margin-top: 24px; }
.form .btn::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .25s var(--nt-ease);
}
.form .btn:hover::after { transform: translateX(4px); }
.form .wpcf7-form.submitting .btn { pointer-events: none; opacity: .85; }
.form .wpcf7-form.submitting .btn::after {
	-webkit-mask: none;
	mask: none;
	background: none;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin .7s linear infinite;
}
.form .wpcf7-spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* komunikat CF7 */
.form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border: 0;
	border-left: 3px solid var(--nt-red);
	background: #fff4f4;
	color: #b4232d;
	font-size: 14px;
	line-height: 22px;
}
.form .wpcf7-form.init .wpcf7-response-output,
.form .wpcf7-form.sent .wpcf7-response-output,
.form .wpcf7-form.resetting .wpcf7-response-output,
.form .wpcf7-form.submitting .wpcf7-response-output { display: none; }

.form-missing { padding: 20px; border: 1px dashed var(--nt-line); color: var(--nt-muted); text-align: center; }

/* stan po wysłaniu */
.form-success {
	display: none;
	min-height: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: #fff;
	text-align: center;
	animation: fadeIn .4s ease;
}
.form-wrap.is-sent .form { display: none; }
.form-wrap.is-sent .form-success { display: flex; }

.form-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 25px;
	border-radius: 50%;
	background: rgba(228, 58, 69, .1);
	color: var(--nt-red);
}
.form-success-icon svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 28px; line-height: 38px; margin: 0 0 10px; }
.form-success p { max-width: 380px; margin: 0 0 25px; }
.form-again {
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--nt-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--nt-red);
	cursor: pointer;
}
.form-again:hover { text-decoration: underline; }

/* ==========================================================================
   Stopka
   ========================================================================== */
.footer { background: var(--nt-ink); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer a { color: rgba(255, 255, 255, .85); }
.footer a:hover { color: #fff; }

.footer-top { padding: 80px 0 60px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }

.footer-logo img { display: block; width: 180px; height: auto; margin-bottom: 22px; }
.footer-col p { max-width: 320px; margin: 0; line-height: 1.7; }

.footer-heading {
	margin: 6px 0 22px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
}

.footer-links,
.footer-col .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col .menu a { padding: 0; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, .85); }
.footer-col .menu a::after { display: none; }
.footer-links a { display: inline-block; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { transform: translateX(3px); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer-contact a { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--nt-red); flex: 0 0 18px; }
.footer-contact-nip { padding-left: 28px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-cta { margin-top: 24px; }
.footer-cta:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; padding-right: 80px; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }

/* Przycisk „do góry” */
.to-top {
	position: fixed;
	right: 26px;
	bottom: 26px;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--nt-red);
	color: #fff;
	box-shadow: 0 8px 20px rgba(228, 58, 69, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .3s ease, visibility .3s ease, transform .3s var(--nt-ease), background-color .2s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--nt-ink); color: #fff; }

/* Podstrony */
.page-wrap { padding: 80px 15px 100px; }
.page-title { font-size: 42px; line-height: 52px; margin-bottom: 40px; }
.page-content { max-width: 820px; }
.page-content h2 { font-size: 24px; line-height: 32px; margin: 40px 0 15px; }
.page-content h3 { font-size: 19px; line-height: 28px; margin: 30px 0 10px; }
.page-content ul { padding-left: 20px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--nt-red); }

.footer-bottom-link { margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .25); }

/* ==========================================================================
   Animacje przy przewijaniu
   ========================================================================== */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s var(--nt-ease), transform .8s var(--nt-ease);
	transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1199px) {
	.header-mail { display: none; }
	.about-grid { gap: 50px; }
}

@media (max-width: 991px) {
	:root { --nt-header-h: 72px; }
	.section { padding: 80px 0; }

	.header-actions { display: none; }
	.header-logo img { width: 140px; }
	.burger { display: block; }
	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		padding: 10px 15px 24px;
		background: #fff;
		box-shadow: 0 20px 30px rgba(20, 24, 26, .08);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s var(--nt-ease), visibility .25s ease;
	}
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.menu { flex-direction: column; gap: 0; }
	.menu a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--nt-line); }
	.menu a::after { display: none; }
	.menu .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 15px; }
	.nav-cta-mobile { display: flex; width: 100%; margin-top: 18px; }

	.hero::before { background: linear-gradient(180deg, rgba(246, 246, 246, .97) 0%, rgba(246, 246, 246, .9) 45%, rgba(246, 246, 246, 0) 70%); }
	.features { position: static; }
	.hero-bg { background-position: 70% bottom; background-size: auto 62%; background-color: #f3f3f3; }
	.hero-inner { align-items: flex-start; min-height: 0; padding-top: 50px; padding-bottom: calc(52vw + 40px); }
	.hero-badges { position: relative; background: #fff; }
	.hero-badges ul { grid-template-columns: 1fr; }
	.hero-badges li { padding: 14px 0; }
	.hero-badges li + li { border-left: 0; border-top: 1px solid var(--nt-line); }

	.about-grid,
	.contact-row { grid-template-columns: 1fr; gap: 50px; }

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

	.tab-content { padding: 30px; }
	.tab-pane-row { grid-template-columns: 1fr; gap: 30px; }
	.tab-pane-image { order: -1; min-height: 280px; }
	.tab-pane-image img { max-height: 300px; }

	.footer-cols { grid-template-columns: 1fr 1fr; }
	.footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
	.section { padding: 64px 0; }
	.hero-title { font-size: 27px; }
	.hero-text { font-size: 16px; }
	.hero-buttons .btn { flex: 1 1 100%; }
	.features { grid-template-columns: 1fr; }
	.apps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.app-caption { left: 14px; right: 14px; bottom: 14px; font-size: 15px; }
	.tabs-wrap { display: block; }
	.tabs { display: grid; grid-template-columns: 1fr 1fr; }
	.tabs a { padding: 8px 10px; line-height: 1.3; text-align: center; height: 100%; display: flex; align-items: center; justify-content: center; }
	.tab-content { padding: 22px 18px; }
	.tab-pane-title { font-size: 24px; }
	.downloads { grid-template-columns: 1fr; }
	.files-table td small { display: none; }
	.files-table th, .files-table td { padding: 12px 14px; }
	.files-table td:first-child { width: 32%; }
	.download-meta { display: none; }
	.contact-form { padding: 24px 18px; }
	.form-grid { grid-template-columns: 1fr; }
	.contact-card { left: 12px; right: 12px; bottom: 12px; font-size: 15px; }
	.footer-cols { grid-template-columns: 1fr; gap: 36px; }
	.footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
