/*
Theme Name:   namioty-nowit
Template:     generatepress
Author:       vs
Author URI:   https://namioty-nowit.pl
Version:      1.1.0
Text Domain:  namioty-nowit
Update URI:   false
License:      GPL-2.0-or-later
*/

/* =========================================================
   1. Zmienne
   ========================================================= */
:root {
	--nw-green: #7ac142;
	--nw-green-hover: #68ab33;
	--nw-green-text: #5a9a2b;
	--nw-green-light: #f1f8ea;
	--nw-green-soft: #d9edc6;
	--nw-dark: #10121a;
	--nw-dark-2: #1a1d27;
	--nw-text: #2b2f36;
	--nw-muted: #5b616b;
	--nw-border: #e3e6ea;
	--nw-radius: 14px;
	--nw-radius-lg: 20px;
	--nw-container: 1140px;
	--nw-gutter: 20px;
	--nw-font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nw-font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nw-section: clamp(56px, 8vw, 100px);
	--nw-header-h: 88px;
}

/* =========================================================
   2. Typografia i podstawy
   ========================================================= */
body {
	font-family: var(--nw-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--nw-text);
	background: #fff;
}

h1, h2, h3, h4, h5, h6,
.main-navigation .main-nav ul li a,
.wp-block-button__link,
.nw-btn,
button, input[type="submit"] {
	font-family: var(--nw-font-head);
}

h1, h2, h3, h4 {
	color: var(--nw-dark);
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: .6em;
}
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
h4 { font-size: 18px; }

a { color: var(--nw-green-text); }
a:hover, a:focus { color: var(--nw-green-hover); }

p { margin-bottom: 1.2em; }

:focus-visible {
	outline: 2px solid var(--nw-green);
	outline-offset: 3px;
}

.screen-reader-text:focus { z-index: 100001; }

/* Mały zielony napis wersalikami */
.nw-eyebrow {
	font-family: var(--nw-font-head);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--nw-green-text);
	margin-bottom: .6em;
	line-height: 1.5;
}
.nw-dark-section .nw-eyebrow,
.nw-slide .nw-eyebrow { color: var(--nw-green); }

.nw-accent { color: var(--nw-green); }
.nw-center { text-align: center; }
.nw-lead { font-size: 17px; color: var(--nw-muted); }

/* =========================================================
   3. Przyciski
   ========================================================= */
.wp-block-button a.wp-block-button__link,
.nw-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 28px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	background: var(--nw-green);
	color: #fff;
	border: 1.5px solid var(--nw-green);
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.wp-block-button a.wp-block-button__link:hover,
.wp-block-button a.wp-block-button__link:focus,
.nw-btn:hover,
.nw-btn:focus {
	background: var(--nw-green-hover);
	border-color: var(--nw-green-hover);
	color: #fff;
}

/* Przycisk z obramowaniem i strzałką */
.wp-block-button.nw-btn-outline .wp-block-button__link,
.nw-btn.nw-btn-outline {
	background: transparent;
	color: var(--nw-dark);
	border-color: var(--nw-dark);
}
.wp-block-button.nw-btn-outline .wp-block-button__link:hover,
.wp-block-button.nw-btn-outline .wp-block-button__link:focus,
.nw-btn.nw-btn-outline:hover {
	background: var(--nw-dark);
	color: #fff;
}
.wp-block-button.nw-btn-outline .wp-block-button__link::after,
.wp-block-button.nw-btn-arrow .wp-block-button__link::after,
.nw-btn.nw-btn-arrow::after {
	content: "";
	width: 10px;
	height: 10px;
	flex: none;
	background: var(--nw-green);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 9 9 1M3 1h6v6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%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 10 10'%3E%3Cpath d='M1 9 9 1M3 1h6v6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s, background .2s;
}
.wp-block-button.nw-btn-arrow .wp-block-button__link::after,
.nw-btn.nw-btn-arrow::after { background: currentColor; }
.wp-block-button.nw-btn-outline .wp-block-button__link:hover::after,
.wp-block-button.nw-btn-arrow .wp-block-button__link:hover::after { transform: translate(2px, -2px); }

/* Przycisk z obramowaniem na ciemnym tle */
.nw-dark-section .wp-block-button.nw-btn-outline .wp-block-button__link {
	color: #fff;
	border-color: rgba(255, 255, 255, .7);
}
.nw-dark-section .wp-block-button.nw-btn-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--nw-dark);
}

/* Link telefoniczny obok przycisku */
.nw-phone-link a,
a.nw-phone-link {
	font-family: var(--nw-font-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--nw-green-text);
	text-underline-offset: 4px;
}
.wp-block-buttons.nw-cta-row,
.nw-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
}

/* =========================================================
   4. Nagłówek
   ========================================================= */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent;
	transition: background .3s, box-shadow .3s, padding .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header .inside-header {
	max-width: 1320px;
	padding: 18px 30px;
	align-items: center;
}
.site-header.nw-scrolled {
	position: fixed;
	background: rgba(16, 18, 26, .96);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
	animation: nwSlideDown .35s ease;
}
.site-header.nw-scrolled .inside-header { padding-top: 10px; padding-bottom: 10px; }
@keyframes nwSlideDown { from { transform: translateY(-100%); } to { transform: none; } }

.site-logo img,
.site-header .header-image {
	width: auto;
	max-height: 52px;
	transition: max-height .3s;
}
.nw-scrolled .site-logo img { max-height: 44px; }
.site-header .main-title, .site-description { display: none; }

/* Menu */
.main-navigation,
.main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	padding-left: 14px;
	padding-right: 14px;
	line-height: 48px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}
.main-navigation .main-nav ul li:not(.nw-menu-cta):hover > a,
.main-navigation .main-nav ul li.sfHover:not(.nw-menu-cta) > a,
.main-navigation .main-nav ul li:not(.nw-menu-cta):focus-within > a,
.main-navigation .main-nav ul li.current-menu-item:not(.nw-menu-cta) > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a,
.main-navigation .main-nav ul li.current-menu-parent > a {
	color: var(--nw-green);
	background: transparent;
}
.main-navigation .menu-item-has-children .dropdown-menu-toggle { padding-left: 4px; }

/* Podmenu */
.main-navigation .main-nav ul ul {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(16, 18, 26, .18);
	padding: 8px 0;
	width: 250px;
	top: calc(100% - 4px);
}
.main-navigation .main-nav ul ul li a {
	color: var(--nw-text);
	text-shadow: none;
	line-height: 1.4;
	padding: 10px 20px;
	font-size: 14px;
}
.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li:focus-within > a,
.main-navigation .main-nav ul ul li.current-menu-item > a {
	color: var(--nw-green-text);
	background: var(--nw-green-light);
}

/* Zielony zaokrąglony przycisk w menu */
.main-navigation .main-nav ul li.nw-menu-cta { margin-left: 12px; display: flex; align-items: center; }
.main-navigation .main-nav ul li.nw-menu-cta > a {
	background: var(--nw-green);
	color: #fff;
	border-radius: 999px;
	line-height: 1;
	padding: 13px 22px;
	font-weight: 600;
	text-shadow: none;
	transition: background .2s;
}
.main-navigation .main-nav ul li.nw-menu-cta > a:hover,
.main-navigation .main-nav ul li.nw-menu-cta > a:focus,
.main-navigation .main-nav ul li.nw-menu-cta.current-menu-item > a {
	background: var(--nw-green-hover);
	color: #fff;
}

/* Menu mobilne */
.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus,
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus {
	color: #fff;
	background: transparent;
	font-size: 22px;
	padding: 0 6px;
	line-height: 48px;
}
@media (min-width: 1025px) and (max-width: 1200px) {
	.main-navigation .main-nav ul li a { padding-left: 9px; padding-right: 9px; font-size: 13px; }
	.main-navigation .main-nav ul li.nw-menu-cta { margin-left: 6px; }
}
@media (max-width: 1024px) {
	:root { --nw-header-h: 72px; }
	.site-header .inside-header { padding: 12px 18px; flex-wrap: wrap; }
	.site-logo img { max-height: 42px; }
	.mobile-menu-control-wrapper,
	.mobile-menu-control-wrapper.toggled { flex-basis: auto; margin: 0 0 0 auto; }
	#site-navigation.toggled { flex-basis: 100%; margin-top: 0; }
	.main-navigation.toggled .main-nav {
		background: var(--nw-dark);
		border-radius: 14px;
		margin-top: 10px;
		padding: 8px 0 16px;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}
	.main-navigation.toggled .main-nav > ul { display: block; }
	.main-navigation.toggled .main-nav ul li a { line-height: 1.4; padding: 13px 20px; font-size: 15px; text-shadow: none; }
	.main-navigation.toggled .main-nav ul ul {
		background: rgba(255, 255, 255, .04);
		box-shadow: none;
		border-radius: 0;
		width: auto;
		padding: 0;
	}
	.main-navigation.toggled .main-nav ul ul li a { color: rgba(255, 255, 255, .85); padding-left: 34px; }
	.main-navigation.toggled .main-nav ul ul li:hover > a { background: transparent; color: var(--nw-green); }
	.main-navigation.toggled .main-nav ul li.nw-menu-cta { margin: 12px 20px 0; display: block; width: auto; }
	.main-navigation.toggled .main-nav ul li.nw-menu-cta > a { display: block; text-align: center; padding: 15px 20px; }
	.site-header.nw-menu-open { background: rgba(16, 18, 26, .98); }
}

/* =========================================================
   5. Układ treści
   ========================================================= */
.site-content { display: block; }
.separate-containers .site-main,
.one-container .site-main,
.site-main { margin: 0; }
.one-container .site-content,
.separate-containers .inside-article,
.one-container.container .site-content,
.inside-article { padding: 0; }
.separate-containers .inside-article,
.inside-article { background: transparent; }
.site.grid-container,
.full-width-content .container.grid-container { max-width: none; }
.entry-content:not(:first-child),
.entry-summary:not(:first-child),
.page-content:not(:first-child) { margin-top: 0; }

/* Każdy element treści strony trzyma się kontenera, sekcje .alignfull idą na całą szerokość */
.page .entry-content > *:not(.alignfull):not(.nw-slider) {
	max-width: var(--nw-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--nw-gutter);
	padding-right: var(--nw-gutter);
}
.page .entry-content > :first-child.alignfull { margin-top: 0; }
.entry-content .alignfull,
.no-sidebar .entry-content .alignfull,
.one-container.no-sidebar .entry-content .alignfull {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	left: auto;
	right: auto;
}
html, body { overflow-x: clip; }
.page .entry-content > p:first-child,
.page .entry-content > h2:first-child { margin-top: var(--nw-section); }
.page .entry-content > *:last-child:not(.alignfull) { margin-bottom: var(--nw-section); }

.nw-section {
	padding-top: var(--nw-section);
	padding-bottom: var(--nw-section);
	margin: 0;
}
.nw-section > * {
	max-width: var(--nw-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--nw-gutter);
	padding-right: var(--nw-gutter);
}
/* Bezpośrednie dzieci sekcji zawsze wyśrodkowane w kontenerze (tabele, listy itp. mają własne marginesy pionowe) */
section.wp-block-group.nw-section > * {
	margin-left: auto;
	margin-right: auto;
}
.nw-section > .nw-narrow,
.nw-narrow { max-width: 820px; }
.nw-section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.nw-section-head h1,
.nw-section-head h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.nw-section-head p:not(.nw-eyebrow) { max-width: 760px; margin-left: auto; margin-right: auto; color: var(--nw-muted); }
.nw-section-head > :last-child { margin-bottom: 0; }

.nw-bg-light { background: var(--nw-green-light); }
.nw-dark-section { background: var(--nw-dark); color: rgba(255, 255, 255, .82); }
.nw-dark-section h1, .nw-dark-section h2, .nw-dark-section h3, .nw-dark-section h4 { color: #fff; }
.nw-dark-section a:not(.wp-block-button__link) { color: var(--nw-green); }

/* =========================================================
   6. Slider
   ========================================================= */
.nw-slider {
	position: relative;
	overflow: hidden;
	background: var(--nw-dark);
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	max-height: 860px;
	margin: 0;
	color: #fff;
}
.nw-slider .nw-slide {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	text-align: left;
	padding: 140px max(30px, calc((100vw - 1260px) / 2)) clamp(80px, 12vh, 130px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s ease, visibility .9s;
	margin: 0;
}
.nw-slider .nw-slide:first-child { position: absolute; }
.nw-slider .nw-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.nw-slider:not(.nw-ready) .nw-slide:first-child { opacity: 1; visibility: visible; }

.nw-slide > .wp-block-image,
.nw-bg-image {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: -1;
}
.nw-slide { isolation: isolate; }
.nw-slide > .wp-block-image img,
.nw-bg-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}
.nw-slide > .wp-block-image img { transform: scale(1.06); transition: transform 7s ease-out; }
.nw-slide.is-active > .wp-block-image img { transform: scale(1); }
.nw-slide > .wp-block-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 12, 18, .55) 0%, rgba(10, 12, 18, 0) 28%),
		linear-gradient(0deg, rgba(10, 12, 18, .72) 0%, rgba(10, 12, 18, .15) 55%, rgba(10, 12, 18, 0) 100%);
}
.nw-slide > :not(.wp-block-image) { position: relative; max-width: 900px; }
.nw-slide .nw-eyebrow {
	color: #fff;
	font-weight: 600;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
	margin-bottom: 10px;
}
.nw-slide .nw-eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	background: var(--nw-green);
	vertical-align: middle;
	margin: -2px 10px 0 0;
}
.nw-slide .nw-slide-title {
	font-family: var(--nw-font-head);
	font-weight: 700;
	font-size: clamp(36px, 6.4vw, 78px);
	line-height: 1.08;
	color: #fff;
	margin: 0 0 14px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.nw-slide .nw-slide-text {
	font-size: clamp(16px, 1.8vw, 21px);
	color: rgba(255, 255, 255, .92);
	margin: 0 0 26px;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.nw-slide .wp-block-buttons { justify-content: flex-start; margin: 0; }
.nw-slide > .wp-block-image::after {
	background:
		linear-gradient(180deg, rgba(10, 12, 18, .55) 0%, rgba(10, 12, 18, 0) 30%),
		linear-gradient(90deg, rgba(10, 12, 18, .72) 0%, rgba(10, 12, 18, .35) 50%, rgba(10, 12, 18, 0) 80%);
}
.nw-slide .wp-block-button__link { padding: 15px 30px; font-size: 15px; }

/* Wejście treści slajdu */
.nw-slide > :not(.wp-block-image) { opacity: 0; transform: translateY(18px); transition: opacity .7s ease .35s, transform .7s ease .35s; }
.nw-slide.is-active > :not(.wp-block-image),
.nw-slider:not(.nw-ready) .nw-slide:first-child > :not(.wp-block-image) { opacity: 1; transform: none; }

.nw-slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .45);
	background: rgba(16, 18, 26, .25);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	transition: background .2s, border-color .2s;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.nw-slider .nw-slider-arrow:hover,
.nw-slider .nw-slider-arrow:focus,
.nw-slider .nw-slider-arrow:focus-visible { background: var(--nw-green); border-color: var(--nw-green); color: #fff; }
.nw-slider-arrow svg { width: 18px; height: 18px; }
.nw-slider-prev { left: 22px; }
.nw-slider-next { right: 22px; }
.nw-slider-dots {
	position: absolute;
	z-index: 5;
	left: 0;
	right: 0;
	bottom: 28px;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.nw-slider-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 999px;
	border: 0;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: width .3s, background .3s;
}
.nw-slider-dots button[aria-current="true"] { width: 30px; background: var(--nw-green); }

@media (max-width: 768px) {
	.nw-slider { min-height: 520px; height: 88svh; }
	.nw-slider .nw-slide { align-items: flex-start; text-align: left; padding: 120px 22px 76px; }
	.nw-slide .wp-block-buttons { justify-content: flex-start; }
	.nw-slider-arrow { display: none; }
}

/* =========================================================
   7. Karty oferty (2 kolumny)
   ========================================================= */
.nw-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
}
.nw-cards.nw-cards-1 { grid-template-columns: minmax(0, 1fr); }
.nw-card {
	display: grid;
	grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin: 0;
}
.nw-card > .wp-block-image { margin: 0; overflow: hidden; border-radius: var(--nw-radius); aspect-ratio: 9 / 10; }
.nw-card > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--nw-radius);
	transition: transform .6s ease;
}
.nw-card:hover > .wp-block-image img { transform: scale(1.05); }
.nw-card-body > * { margin-top: 0; }
.nw-card-body h3 { margin-bottom: 10px; font-size: clamp(18px, 1.8vw, 21px); }
.nw-card-body p:not(.nw-eyebrow) { font-size: 14.5px; color: var(--nw-muted); margin-bottom: 20px; }
.nw-card-body .wp-block-buttons { margin: 0; }
.nw-card .wp-block-button__link { padding: 11px 24px; font-size: 13.5px; }
.nw-card.nw-card-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); }
.nw-card.nw-card-reverse > .wp-block-image { order: 2; }

@media (max-width: 900px) {
	.nw-cards { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
	.nw-card,
	.nw-card.nw-card-reverse { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.nw-card.nw-card-reverse > .wp-block-image { order: 0; }
	.nw-card > .wp-block-image { aspect-ratio: 4 / 3; }
}

/* =========================================================
   8. Sekcja "Sprawdź również" (jasnozielona, 2 kolumny)
   ========================================================= */
.nw-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(36px, 6vw, 90px);
	align-items: start;
}
.nw-split > * { margin: 0; }
.nw-split.nw-split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (min-width: 901px) {
	.nw-split-even > .nw-photo { position: sticky; top: 110px; }
}
.nw-split.nw-split-reverse > :first-child { order: 2; }
.nw-sticky { position: sticky; top: 110px; }
.nw-sticky h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.25; }
.nw-sticky h3 { font-size: 17px; margin-top: 36px; margin-bottom: 6px; }
.nw-split .nw-cards { grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (max-width: 900px) {
	.nw-split,
	.nw-split.nw-split-even { grid-template-columns: minmax(0, 1fr); }
	.nw-split.nw-split-reverse > :first-child { order: 0; }
	.nw-sticky { position: static; }
}

/* Zdjęcie w sekcji tekstowej */
.nw-photo { margin: 0; }
.nw-photo img { border-radius: var(--nw-radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* =========================================================
   9. Listy z wyróżnikami
   ========================================================= */
.nw-checklist { list-style: none; margin: 0 0 1.4em; padding: 0; }
.nw-checklist li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 14px;
}
.nw-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--nw-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.nw-checklist strong { color: var(--nw-dark); font-family: var(--nw-font-head); font-weight: 600; }
.nw-dark-section .nw-checklist strong { color: #fff; }

/* Kafelki zalet */
.nw-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}
.nw-feature {
	margin: 0;
	padding: 28px 26px;
	border-radius: var(--nw-radius);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.nw-feature h3 { font-size: 17px; margin-bottom: 8px; }
.nw-feature h3::before {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	border-radius: 3px;
	background: var(--nw-green);
	margin-bottom: 16px;
}
.nw-feature p { font-size: 14.5px; margin: 0; }
@media (max-width: 980px) { .nw-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nw-features { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   10. Sekcja ciemna ze zdjęciem w tle + liczby
   ========================================================= */
.nw-bg-section { position: relative; isolation: isolate; overflow: hidden; }
.nw-bg-section > .nw-bg-image { max-width: none; padding: 0; }
.nw-bg-section > .nw-bg-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 18, 26, .84), rgba(16, 18, 26, .72));
}
.nw-dark-section .nw-section-head p:not(.nw-eyebrow) { color: rgba(255, 255, 255, .82); }
.nw-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(36px, 5vw, 56px);
	margin-bottom: 0;
}
.nw-stat {
	margin: 0;
	padding: 6px 16px;
	text-align: center;
	border-left: 1px solid rgba(122, 193, 66, .45);
}
.nw-stat:first-child { border-left: 0; }
.nw-stat .nw-stat-num {
	font-family: var(--nw-font-head);
	font-weight: 600;
	font-size: clamp(26px, 3.4vw, 42px);
	white-space: nowrap;
	line-height: 1.1;
	color: var(--nw-green);
	margin: 0 0 8px;
}
.nw-stat .nw-stat-label {
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .85);
	margin: 0;
}
@media (max-width: 768px) {
	.nw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
	.nw-stat:nth-child(3) { border-left: 0; }
}

/* =========================================================
   11. Galeria realizacji
   ========================================================= */
.nw-gallery-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px 40px;
	margin-bottom: 36px;
}
.nw-gallery-head > * { margin: 0; }
.nw-gallery-head .nw-gallery-intro { max-width: 680px; }
.nw-gallery-head .nw-gallery-intro > :last-child { margin-bottom: 0; }
.nw-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.nw-gallery .wp-block-image { margin: 0; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; }
.nw-gallery .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform .6s ease; }
.nw-gallery .wp-block-image:hover img { transform: scale(1.05); }
@media (max-width: 768px) { .nw-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   12. FAQ
   ========================================================= */
.nw-faq-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
}
.nw-faq-grid > * { margin: 0; }
.wp-block-details {
	background: var(--nw-green-light);
	border-radius: 12px;
	margin: 0 0 14px;
	transition: background .2s;
}
.wp-block-details[open] { background: var(--nw-green-soft); }
.wp-block-details summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 18px 56px 18px 22px;
	font-family: var(--nw-font-head);
	font-weight: 500;
	font-size: 15px;
	color: var(--nw-dark);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 2px solid var(--nw-green-text);
	border-bottom: 2px solid var(--nw-green-text);
	transform: rotate(45deg);
	transition: transform .25s;
}
.wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.wp-block-details > :not(summary) { padding: 0 22px; font-size: 15px; }
.wp-block-details > :last-child { padding-bottom: 20px; margin-bottom: 0; }
.nw-faq-side {
	position: sticky;
	top: 110px;
	padding: 30px 28px;
	border-radius: var(--nw-radius-lg);
	border: 1px solid var(--nw-border);
	background: #fff;
}
.nw-faq-side h3 { font-size: 19px; }
.nw-faq-side p { font-size: 14.5px; color: var(--nw-muted); }
.nw-faq-side .nw-contact-list { margin-bottom: 22px; }
@media (max-width: 900px) {
	.nw-faq-grid { grid-template-columns: minmax(0, 1fr); }
	.nw-faq-side { position: static; }
}

/* Lista kontaktowa z ikonami */
.nw-contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.nw-contact-list li { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 15px; }
.nw-contact-list li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: var(--nw-green);
	-webkit-mask: var(--nw-ico) center / contain no-repeat;
	mask: var(--nw-ico) center / contain no-repeat;
}
.nw-contact-list .nw-ico-phone { --nw-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.nw-contact-list .nw-ico-mail { --nw-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4.2 7v.1L12 12.3l7.8-5.2V7z'/%3E%3C/svg%3E"); }
.nw-contact-list .nw-ico-pin { --nw-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 4.5A2.5 2.5 0 1 0 12 11.5 2.5 2.5 0 0 0 12 6.5z'/%3E%3C/svg%3E"); }
.nw-contact-list .nw-ico-doc { --nw-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v13a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm7 1.5V9h5.5zM8 13h8v1.6H8zm0 3.5h8v1.6H8z'/%3E%3C/svg%3E"); }
.nw-contact-list .nw-ico-clock { --nw-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm1 5h-2v6l5 3 1-1.7-4-2.4z'/%3E%3C/svg%3E"); }
.nw-contact-list a { color: var(--nw-text); text-decoration: none; font-weight: 600; }
.nw-contact-list a:hover { color: var(--nw-green-text); }
.nw-dark-section .nw-contact-list a,
.nw-footer .nw-contact-list a { color: #fff; }

/* =========================================================
   13. Logotypy klientów
   ========================================================= */
.nw-logos-section { padding-top: 46px; padding-bottom: 46px; border-top: 1px solid var(--nw-border); }
.nw-logos-section .nw-eyebrow { margin-bottom: 20px; }
.nw-logos {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 26px 34px;
	align-items: center;
}
.nw-logos .wp-block-image { margin: 0; text-align: center; }
.nw-logos .wp-block-image img {
	max-height: 46px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .7;
	transition: filter .3s, opacity .3s;
}
.nw-logos .wp-block-image:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .nw-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .nw-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   14. Nagłówek podstron (hero)
   ========================================================= */
.nw-hero {
	position: relative;
	isolation: isolate;
	background: var(--nw-dark);
	color: #fff;
	padding: calc(var(--nw-header-h) + clamp(50px, 8vw, 90px)) var(--nw-gutter) clamp(50px, 7vw, 80px);
	overflow: hidden;
}
.nw-hero-bg { position: absolute; inset: 0; z-index: -1; }
.nw-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.nw-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(16, 18, 26, .92) 0%, rgba(16, 18, 26, .7) 55%, rgba(16, 18, 26, .45) 100%);
}
.nw-hero-inner { max-width: var(--nw-container); margin: 0 auto; padding: 0 var(--nw-gutter); }
.nw-hero h1 { color: #fff; margin: 0; max-width: 820px; font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; }
.nw-hero .nw-hero-lead { max-width: 680px; margin: 14px 0 0; font-size: 17px; color: rgba(255, 255, 255, .85); }
.nw-breadcrumbs { font-size: 13px; margin-bottom: 16px; color: rgba(255, 255, 255, .7); }
.nw-breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.nw-breadcrumbs a:hover { color: var(--nw-green); }
.nw-breadcrumbs .nw-sep { margin: 0 8px; color: var(--nw-green); }

.nw-has-hero .page-header-image,
.nw-has-hero .page-header-image-single { display: none; }

/* Header na zwykłych stronach bez hero (wpisy, 404, wyszukiwanie) */
body:not(.nw-has-hero) .site-header:not(.nw-scrolled) { position: relative; background: var(--nw-dark); }
body:not(.nw-has-hero) .site-content { padding-top: 50px; padding-bottom: 50px; }
body:not(.nw-has-hero) .site-content .content-area { max-width: var(--nw-container); margin: 0 auto; padding: 0 var(--nw-gutter); }

/* =========================================================
   15. Pasek CTA przed stopką
   ========================================================= */
.nw-prefooter { background: var(--nw-green-light); padding: clamp(44px, 6vw, 70px) var(--nw-gutter); }
.nw-prefooter-inner {
	max-width: var(--nw-container);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 22px 40px;
}
.nw-prefooter h2 { margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 30px); }
.nw-prefooter p { margin: 0; color: var(--nw-muted); }

/* =========================================================
   16. Stopka
   ========================================================= */
.site-footer .footer-widgets, .site-info { display: none; }
.nw-footer {
	background: var(--nw-dark);
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
}
.nw-footer-main {
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(50px, 7vw, 76px) var(--nw-gutter) 40px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 40px;
}
.nw-footer-brand img { max-height: 54px; width: auto; margin-bottom: 18px; }
.nw-footer-brand p { margin: 0 0 8px; }
.nw-footer-brand .nw-footer-claim { font-family: var(--nw-font-head); font-weight: 600; color: #fff; font-size: 16px; }
.nw-footer h2 {
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--nw-green);
	font-weight: 500;
	margin: 6px 0 18px;
}
.nw-footer ul.menu,
.nw-footer .nw-footer-links { list-style: none; margin: 0; padding: 0; }
.nw-footer ul.menu li { margin: 0 0 9px; }
.nw-footer ul.menu ul { display: none; }
.nw-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.nw-footer a:hover, .nw-footer a:focus { color: var(--nw-green); }
.nw-footer .nw-contact-list li { font-size: 14px; }
.nw-footer .nw-btn { margin-top: 8px; }
.nw-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.nw-footer-bottom-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 20px var(--nw-gutter);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}
.nw-footer-bottom a { color: var(--nw-green); }
@media (max-width: 980px) { .nw-footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nw-footer-main { grid-template-columns: 1fr; gap: 30px; } }

/* =========================================================
   17. Formularz wyceny
   ========================================================= */
.nw-form-wrap {
	background: #fff;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius-lg);
	padding: clamp(24px, 4vw, 44px);
	box-shadow: 0 20px 50px rgba(16, 18, 26, .06);
}
.nw-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.nw-form .nw-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.nw-form .nw-field-full { grid-column: 1 / -1; }
.nw-form label,
.nw-form legend {
	font-family: var(--nw-font-head);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--nw-dark);
}
.nw-form .nw-req { color: #c0392b; }
.nw-form input[type="text"],
.nw-form input[type="email"],
.nw-form input[type="tel"],
.nw-form input[type="number"],
.nw-form input[type="date"],
.nw-form select,
.nw-form textarea {
	width: 100%;
	border: 1.5px solid var(--nw-border);
	border-radius: 10px;
	background: #fafbfc;
	padding: 12px 14px;
	font-size: 15px;
	font-family: var(--nw-font-body);
	color: var(--nw-text);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.nw-form select { appearance: none; background: #fafbfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235a9a2b' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 38px; }
.nw-form textarea { min-height: 140px; resize: vertical; }
.nw-form input:focus,
.nw-form select:focus,
.nw-form textarea:focus {
	outline: none;
	border-color: var(--nw-green);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(122, 193, 66, .15);
}
.nw-form .nw-field-error input,
.nw-form .nw-field-error select,
.nw-form .nw-field-error textarea { border-color: #c0392b; }
.nw-form .nw-error-msg { color: #c0392b; font-size: 13px; }
.nw-form fieldset { border: 0; padding: 0; margin: 0; }
.nw-form .nw-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.nw-form .nw-chip { position: relative; }
.nw-form .nw-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.nw-form .nw-chip span {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--nw-border);
	font-size: 14px;
	background: #fafbfc;
	transition: all .2s;
}
.nw-form .nw-chip input:checked + span { border-color: var(--nw-green); background: var(--nw-green-light); color: var(--nw-dark); font-weight: 600; }
.nw-form .nw-chip input:focus-visible + span { outline: 2px solid var(--nw-green); outline-offset: 2px; }
.nw-form .nw-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--nw-muted); font-family: var(--nw-font-body); font-weight: 400; }
.nw-form .nw-consent input { margin-top: 4px; accent-color: var(--nw-green); width: 18px; height: 18px; flex: none; }
.nw-form .nw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nw-form button[type="submit"] {
	justify-self: start;
	background: var(--nw-green);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 15px 36px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.nw-form button[type="submit"]:hover,
.nw-form button[type="submit"]:focus { background: var(--nw-green-hover); }
.nw-form-note { font-size: 13px; color: var(--nw-muted); margin: 0; align-self: center; }
.nw-alert { border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; font-size: 15px; }
.nw-alert-ok { background: var(--nw-green-light); border: 1px solid var(--nw-green); color: var(--nw-dark); }
.nw-alert-err { background: #fdf0ee; border: 1px solid #e3a59c; color: #8a2a1e; }
@media (max-width: 640px) { .nw-form { grid-template-columns: minmax(0, 1fr); } }

/* Układ strony z formularzem */
.nw-quote-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
}
.nw-quote-grid > * { margin: 0; }
.nw-quote-aside h2 { font-size: 24px; }
.nw-steps { counter-reset: nwstep; list-style: none; padding: 0; margin: 0 0 26px; }
.nw-steps li { counter-increment: nwstep; position: relative; padding-left: 50px; margin-bottom: 20px; font-size: 15px; }
.nw-steps li::before {
	content: counter(nwstep);
	position: absolute;
	left: 0;
	top: -2px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--nw-green-light);
	color: var(--nw-green-text);
	font-family: var(--nw-font-head);
	font-weight: 600;
	display: grid;
	place-items: center;
}
.nw-steps strong { display: block; color: var(--nw-dark); font-family: var(--nw-font-head); font-weight: 600; }
@media (max-width: 900px) { .nw-quote-grid { grid-template-columns: minmax(0, 1fr); } .nw-quote-grid .nw-form-wrap { order: -1; } }

/* Siatka produktów (sprzęt, meble) */
.nw-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 22px;
}
.nw-products .wp-block-image {
	margin: 0;
	background: #fff;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius);
	padding: 18px 18px 14px;
	text-align: center;
}
.nw-products .wp-block-image img { height: 170px; width: 100%; object-fit: contain; }
.nw-products .wp-block-image figcaption {
	margin: 12px 0 0;
	font-family: var(--nw-font-head);
	font-weight: 500;
	font-size: 14px;
	color: var(--nw-dark);
}

/* Kafle oferty (siatka 4/2/1) */
.nw-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 22px;
}
.nw-tile {
	position: relative;
	margin: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius);
	overflow: hidden;
	transition: box-shadow .3s, transform .3s;
}
.nw-tile:hover { box-shadow: 0 18px 40px rgba(16, 18, 26, .1); transform: translateY(-3px); }
.nw-tile > .wp-block-image { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.nw-tile > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nw-tile:hover > .wp-block-image img { transform: scale(1.05); }
.nw-tile > :not(.wp-block-image) { padding-left: 20px; padding-right: 20px; }
.nw-tile h3 { font-size: 17px; margin: 18px 0 8px; }
.nw-tile p { font-size: 14px; color: var(--nw-muted); margin: 0 0 14px; }
.nw-tile .nw-tile-link { margin-top: auto; padding-bottom: 20px; }
.nw-tile .nw-tile-link a {
	font-family: var(--nw-font-head);
	font-weight: 600;
	font-size: 14px;
	color: var(--nw-green-text);
	text-decoration: none;
}
.nw-tile .nw-tile-link a::after { content: ""; position: absolute; inset: 0; }
.nw-tile .nw-tile-link a:focus-visible { outline: none; }
.nw-tile:focus-within { outline: 2px solid var(--nw-green); outline-offset: 3px; }
@media (max-width: 1024px) { .nw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nw-tiles { grid-template-columns: minmax(0, 1fr); } }

/* Pasek faktów pod sliderem */
.nw-facts-bar { background: var(--nw-dark); padding: 0; }
.nw-facts-bar .nw-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: var(--nw-container);
	margin: 0 auto;
	padding: 0 var(--nw-gutter);
}
.nw-fact { margin: 0; padding: 22px 18px; border-left: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-size: 13.5px; line-height: 1.5; }
.nw-fact:first-child { border-left: 0; padding-left: 0; }
.nw-fact strong { display: block; font-family: var(--nw-font-head); font-size: 20px; font-weight: 600; color: var(--nw-green); margin-bottom: 2px; }
@media (max-width: 768px) {
	.nw-facts-bar .nw-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw-fact:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Tabele */
.wp-block-table.nw-table { margin: 1.6em 0; overflow-x: auto; }
.wp-block-table.nw-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--nw-border);
	border-radius: 12px;
	overflow: hidden;
	font-size: 14.5px;
	margin: 0;
}
.wp-block-table.nw-table th,
.wp-block-table.nw-table td { border: 0; border-bottom: 1px solid var(--nw-border); padding: 12px 16px; text-align: left; vertical-align: top; }
.wp-block-table.nw-table thead th { background: var(--nw-green-soft); font-family: var(--nw-font-head); font-weight: 600; color: var(--nw-dark); font-size: 14px; }
.wp-block-table.nw-table tbody tr:last-child td { border-bottom: 0; }
.wp-block-table.nw-table tbody td:first-child { font-weight: 600; color: var(--nw-dark); }
.wp-block-table.nw-table tbody tr:nth-child(even) td { background: #fafbfc; }
.nw-bg-light .wp-block-table.nw-table table { background: #fff; }
@media (max-width: 640px) { .wp-block-table.nw-table table { min-width: 520px; } }

/* Lista linków do kategorii */
.nw-linklist { list-style: none; padding: 0; margin: 0 0 1.4em; columns: 2; column-gap: 40px; }
.nw-linklist li { break-inside: avoid; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--nw-border); position: relative; font-size: 15px; }
.nw-linklist li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 2px; background: var(--nw-green); }
.nw-linklist a { font-weight: 600; text-decoration: none; }
@media (max-width: 700px) { .nw-linklist { columns: 1; } }

/* Usługi – pasek 3 kolumn na jasnym tle */
.nw-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nw-service { margin: 0; padding: 28px 26px; background: #fff; border-radius: var(--nw-radius); border: 1px solid var(--nw-border); }
.nw-service h3 { font-size: 18px; margin-bottom: 8px; }
.nw-service p { font-size: 14.5px; color: var(--nw-muted); }
.nw-service p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .nw-services { grid-template-columns: minmax(0, 1fr); } }

/* Wstęp strony głównej */
.nw-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.nw-intro > * { margin: 0; }
.nw-intro h1 { font-size: clamp(28px, 3.6vw, 40px); }
.nw-intro-box { background: var(--nw-green-light); border-radius: var(--nw-radius-lg); padding: 28px 26px; }
.nw-intro-box h2 { font-size: 18px; margin-bottom: 14px; }
.nw-intro-box .nw-checklist { margin-bottom: 18px; }
.nw-intro-box .nw-checklist li { font-size: 14.5px; margin-bottom: 10px; }
@media (max-width: 900px) { .nw-intro { grid-template-columns: minmax(0, 1fr); } }

/* Prosta treść podstron */
.nw-prose h2 { margin-top: 1.4em; }
.nw-prose > :first-child { margin-top: 0; }

/* =========================================================
   18. Animacje przy przewijaniu
   ========================================================= */
.nw-js .nw-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.nw-js .nw-reveal.nw-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.nw-js .nw-reveal { opacity: 1; transform: none; }
}
