/* ==========================================================================
   YourCount – główny arkusz stylów
   ========================================================================== */

@font-face {
	font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('../fonts/marcellus-latinext-400.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('../fonts/marcellus-latin-400.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
	src: url('../fonts/inter-latinext-300.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
	src: url('../fonts/inter-latin-300.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('../fonts/inter-latinext-400.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
	src: url('../fonts/inter-latin-400.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
	src: url('../fonts/inter-latinext-500.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
	src: url('../fonts/inter-latin-500.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
	src: url('../fonts/inter-latinext-600.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
	src: url('../fonts/inter-latin-600.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
	src: url('../fonts/inter-latinext-700.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
	src: url('../fonts/inter-latin-700.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {

	--c-primary: #163477;
	--c-primary-dark: #112a60;
	--c-primary-darker: #0d2350;
	--c-accent: #F4B340;
	--c-accent-dark: #e09f28;
	--c-text: #15233b;
	--c-body: #2d2f33;
	--c-muted: #45484e;
	--c-line: #e6eaf0;
	--c-bg: #ffffff;
	--c-bg-soft: #f5f8fc;
	--c-footer-bar: #24468c;
	--hero-overlay: rgba(22, 52, 119, 0.4);

	--font-head: 'Marcellus', Georgia, serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--container-max: 1440px;
	--container-pad: 10px;
	--section-pad-y: 60px;
	--header-h: 84px;

	--radius: 10px;
	--radius-sm: 6px;
	--shadow-header: 0 8px 28px rgba(0, 40, 95, 0.10);
	--shadow-drawer: -12px 0 40px rgba(0, 40, 95, 0.18);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--c-body);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 400;
	line-height: 1.15;
	color: var(--c-text);
	margin: 0 0 0.5em;
	letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

a { color: var(--c-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

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

.section--plain + .section--plain { padding-top: 30px; }
.section--plain:has(+ .section--plain) { padding-bottom: 30px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px;
	width: auto; height: auto; clip: auto;
	z-index: 1000; padding: 10px 16px;
	background: var(--c-primary); color: #fff; border-radius: var(--radius-sm);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-bg);

	box-shadow: 0 0 0 rgba(0, 40, 95, 0);
	transition: box-shadow 0.35s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
	box-shadow: var(--shadow-header);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	height: var(--header-h);
}
.site-nav + .site-header__actions { margin-left: 4px; }

.site-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.site-header__brand img,
.site-header__brand .custom-logo { max-height: 64px; width: auto; }
.custom-logo { max-height: 52px; width: auto; }
.site-title {
	font-family: var(--font-head);
	font-size: 1.6rem;
	color: var(--c-primary);
	white-space: nowrap;
}

.site-nav { margin-left: auto; }
.main-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
}
.main-menu a {
	position: relative;
	display: inline-block;
	font-weight: 500;
	font-size: 1rem;
	color: var(--c-text);
	padding: 6px 2px;
	transition: color 0.25s var(--ease);
}
.main-menu .menu-item-has-children { position: relative; }

.main-menu a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 80%;
	height: 1px;
	background: var(--c-accent);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.35s var(--ease);
}
.main-menu a:hover { color: var(--c-primary); }
.main-menu a:hover::after,
.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after {
	transform: translateX(-50%) scaleX(1);
}

.main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	min-width: 220px;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	background: #fff;
	border: 1px solid var(--c-line);
	box-shadow: 0 14px 34px rgba(0, 40, 95, 0.12);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
	z-index: 60;
}
.main-menu .menu-item-has-children:hover > .sub-menu,
.main-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.main-menu .sub-menu li { width: 100%; }
.main-menu .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-size: 0.95rem;
	white-space: nowrap;
}
.main-menu .sub-menu a::after { display: none; }
.main-menu .sub-menu a:hover { background: var(--c-bg-soft); color: var(--c-primary); }

.site-header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

/* ==========================================================================
   PRZYCISKI – kwadratowe, bez zaokrągleń i cieni
   ========================================================================== */

.btn-phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 0;
	background: var(--c-accent);
	color: #fff;
	font-weight: 500;
	font-size: 0.98rem;
	white-space: nowrap;
	line-height: 1;
	border: 1.5px solid var(--c-accent);
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-phone:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }
.btn-phone__icon { display: inline-flex; transition: transform 0.25s var(--ease); }
.btn-phone__icon svg { display: block; }
.btn-phone:hover .btn-phone__icon { transform: rotate(-8deg) scale(1.08); }
.btn-phone--block { width: 100%; justify-content: center; }

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 0;
	background: var(--c-primary);
	color: #fff;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0.01em;
	border: 1.5px solid var(--c-primary);
	cursor: pointer;
	overflow: hidden;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn .btn__arrow {
	display: inline-flex;
	width: 0;
	overflow: hidden;
	transform: translateX(-8px);
	opacity: 0;
	transition: width 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.btn .btn__arrow svg { display: block; }
.btn:hover .btn__arrow { width: 20px; transform: translateX(0); opacity: 1; }
.btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }

.btn--accent { background: var(--c-accent); border-color: var(--c-accent); color: #fff; font-weight: 500; }
.btn--accent:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }

.btn--light { background: transparent; border-color: rgba(255, 255, 255, 0.85); color: #fff; font-weight: 500; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--c-primary); }

.btn--ghost { background: transparent; color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-text);
	cursor: pointer;
	border-radius: var(--radius-sm);
}
.nav-toggle:hover { color: var(--c-primary); }

/* ==========================================================================
   MOBILNE MENU (drawer wysuwany z boku)
   ========================================================================== */
.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(8, 22, 45, 0.45);
	opacity: 0;
	z-index: 200;
	transition: opacity 0.35s var(--ease);
}
.drawer-overlay.is-visible { opacity: 1; }

.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100dvh;
	width: min(360px, 86vw);
	background: var(--c-bg);
	z-index: 210;
	display: flex;
	flex-direction: column;
	padding: 22px;
	transform: translateX(100%);
	transition: transform 0.4s var(--ease);
	box-shadow: var(--shadow-drawer);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mobile-drawer.is-open { transform: translateX(0); }

.mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--c-line);
}
.mobile-drawer__head .custom-logo { max-height: 44px; }
.mobile-drawer__head .site-title { font-size: 1.3rem; }

.drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border: 0; background: var(--c-bg-soft);
	color: var(--c-text); cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
	flex: 0 0 auto;
}
.drawer-close:hover { background: var(--c-primary); color: #fff; }

.mobile-drawer__nav { flex: 1 1 auto; padding-top: 8px; }
.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--c-line); }
.mobile-menu a {
	display: block;
	padding: 16px 4px;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--c-text);
	transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.mobile-menu a:hover,
.mobile-menu .current-menu-item > a {
	color: var(--c-primary);
	padding-left: 12px;
}
.mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 6px 14px; }
.mobile-menu .sub-menu li { border-bottom: 0; }
.mobile-menu .sub-menu a { padding: 11px 4px; font-size: 1rem; opacity: 0.9; }
.mobile-drawer__foot { padding-top: 18px; border-top: 1px solid var(--c-line); }

body.drawer-open { overflow: hidden; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--c-primary); color: #fff; margin-top: 60px; }
.site-footer a { color: #fff; }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding-block: 56px 40px;
}

.footer-logo .custom-logo { max-height: 56px; width: auto; filter: invert(1); }
.footer-logo .site-title { color: #fff; font-size: 1.5rem; }
.footer-desc { margin: 16px 0 0; font-size: 0.95rem; line-height: 1.6; opacity: 0.82; max-width: 32ch; }

.footer-social { list-style: none; display: flex; gap: 12px; margin: 22px 0 0; padding: 0; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-text); }

.footer-col__title {
	font-family: var(--font-head);
	font-size: 1.2rem;
	color: #fff;
	margin: 0 0 18px;
	position: relative;
	padding-bottom: 12px;
}
.footer-col__title::after {
	content: ''; position: absolute; left: 0; bottom: 0;
	width: 36px; height: 1px; background: var(--c-accent);
}

.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 11px; }
.footer-menu a {
	position: relative;
	font-size: 0.97rem;
	opacity: 0.85;
	transition: opacity 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.footer-menu a:hover { opacity: 1; padding-left: 8px; }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.97rem; line-height: 1.55; }
.footer-contact__icon { flex: 0 0 auto; color: #fff; margin-top: 2px; }
.footer-contact__icon svg { display: block; }
.footer-contact a { opacity: 0.9; transition: opacity 0.2s var(--ease); }
.footer-contact a:hover { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-footer__bar { background: transparent; }
.site-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 28px;
	padding-block: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.8125rem;
}
.site-footer__bar p { margin: 0; opacity: 0.9; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.footer-legal a { opacity: 0.9; transition: opacity 0.2s var(--ease); }
.footer-legal a:hover { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-credit a { text-decoration: none; }
.footer-credit a:hover { color: var(--c-accent); }

/* ==========================================================================
   ANIMACJE WEJŚCIA (reveal)
   ========================================================================== */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	will-change: opacity, transform;
}
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="left"]  { transform: translateX(-40px); }
.js [data-reveal="zoom"]  { transform: scale(0.96); }

.js [data-reveal="image"] {
	opacity: 1;
	transform: scale(0.97);
	transition: transform 1s var(--ease);
}
.js .is-visible[data-reveal] { opacity: 1; transform: none; }

.js .hero [data-reveal] { transition-duration: 1.2s; }

/* ==========================================================================
   HERO – tło-zdjęcie + nakładka + kontener treści 50%
   ========================================================================== */
.hero {
	position: relative;
	isolation: isolate;
	background: var(--c-primary);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--hero-overlay);
}
.hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: clamp(480px, 70vh, 720px);
	padding-block: 64px;
}

.hero__box {
	width: 50%;
	max-width: 640px;
	text-align: left;
	color: #fff;
}
.hero__title {
	color: #fff;
	font-size: clamp(2rem, 3.6vw, 3rem);
	line-height: 1.12;
	margin: 0 0 18px;
}
.hero__lead {
	font-family: var(--font-body);
	font-size: clamp(1.02rem, 1.3vw, 1.18rem);
	font-weight: 500;
	color: #fff;
	line-height: 1.5;
	margin: 0 0 16px;
	opacity: 0.96;
}
.hero__desc {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.06rem;
	font-weight: 400;
	line-height: 1.7;
	margin: 0 0 30px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   SEKCJE + KAFELKI
   ========================================================================== */
.section-head {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin-bottom: 10px;
}
.section-title {
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	margin: 0;
}

.section-divider {
	display: block;
	width: 56px;
	height: 1px;
	background: var(--c-accent);
	margin: 20px auto 22px;
}

.section-head--left {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}
.section-head--left .section-divider { margin-left: 0; margin-right: 0; }
.section-lead { color: var(--c-muted); font-size: 1.06rem; line-height: 1.7; }
.section-lead p { margin: 0 0 12px; }
.section-lead p:last-child { margin-bottom: 0; }

.tiles-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}
.tiles-grid > * { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }

.tile {
	position: relative;
	padding: 34px 30px;
	background: #fff;
	border: 1px solid var(--c-line);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile:hover {
	border-color: rgba(244, 179, 64, 0.6);
	transform: translateY(-6px);
	box-shadow: var(--shadow-header);
}

.js .tile[data-reveal] {
	transition: opacity 0.6s var(--ease), transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.js .tile.is-visible:hover { transform: translateY(-6px); }

.tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 22px;
	color: #fff;
	background: var(--c-accent);
}
.tile__title { font-size: 1.28rem; line-height: 1.2; margin: 0 0 10px; }
.tile__desc { color: var(--c-muted); font-size: 1rem; line-height: 1.65; margin: 0; }
.tile__link {
	display: inline-flex; align-items: center; gap: 7px;
	margin-top: 18px; font-weight: 600; font-size: 0.97rem; color: var(--c-primary);
}
.tile__arrow { display: inline-flex; transition: transform 0.25s var(--ease); }
.tile__link:hover .tile__arrow { transform: translateX(4px); }

/* ==========================================================================
   TIMELINE (Jak wygląda współpraca)
   ========================================================================== */
.timeline-section { background: var(--c-bg-soft); }
.timeline { --node: 58px; --tl-gap: 30px; }
.timeline__track { display: flex; gap: var(--tl-gap); }

.timeline-step {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.timeline-step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: calc(var(--node) / 2);
	left: 50%;
	width: calc(100% + var(--tl-gap));
	height: 1px;
	background: var(--c-accent);
	z-index: 0;
}
.timeline-step__node {
	position: relative;
	z-index: 1;
	width: var(--node);
	height: var(--node);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
	background: var(--c-primary);
	color: #fff;
	border: 1.5px solid var(--c-accent);
	transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.timeline-step__num { font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }
.timeline-step:hover .timeline-step__node { transform: translateY(-4px); background: var(--c-primary-dark); }
.timeline-step:last-child .timeline-step__node { background: var(--c-accent); border-color: var(--c-accent); }
.timeline-step:last-child:hover .timeline-step__node { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }
.timeline-step__title { font-size: 1.2rem; line-height: 1.2; margin: 0 0 8px; }
.timeline-step__desc { color: var(--c-muted); font-size: 0.98rem; line-height: 1.6; margin: 0; max-width: 30ch; }

/* ==========================================================================
   KARUZELA (marquee – nieskończona pętla, czysty CSS)
   ========================================================================== */
.marquee {
	margin-top: 44px;
	overflow: hidden;

	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: yc-marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: 0 0 auto; padding-inline: 30px; }
.marquee__item a { display: inline-flex; }
.marquee__item img {
	height: 56px;
	width: auto;
	max-width: none;
	object-fit: contain;
	display: block;
	opacity: 0.82;
	transition: opacity 0.3s var(--ease);
}
.marquee__item img:hover { opacity: 1; }

@keyframes yc-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(calc(-1 * var(--marquee-distance, 0px))); }
}
@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none !important; }
}

/* ==========================================================================
   OPINIE (karty + karuzela ze strzałkami)
   ========================================================================== */
.reviews-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}
.reviews-head .section-head { margin-bottom: 0; }

.reviews-nav { display: flex; gap: 10px; flex: 0 0 auto; }
.carousel-arrow {
	width: 48px; height: 48px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--c-line);
	background: #fff;
	color: var(--c-primary);
	cursor: pointer;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.carousel-arrow:hover:not(:disabled) { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.carousel-arrow--prev svg { transform: scaleX(-1); }

.reviews-carousel { position: relative; }
.reviews-track {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px;
	margin: -4px;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review {

	flex: 0 0 36%;
	scroll-snap-align: start;
	margin: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-line);
	padding: 30px 28px;
	transition: border-color 0.3s var(--ease);
}
.review:hover { border-color: rgba(244, 179, 64, 0.6); }
.review__mark {
	font-family: var(--font-head);
	font-size: 5.4rem;
	line-height: 0.5;
	color: var(--c-accent);
	margin-bottom: 18px;
}
.review__quote {
	margin: 0 0 22px;
	font-size: 1.08rem;
	line-height: 1.6;
	color: var(--c-text);
	flex: 1 1 auto;
}
.review__author {
	border-top: 1px solid var(--c-line);
	padding-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.review__name { font-weight: 500; color: var(--c-primary); }
.review__role { font-size: 0.9rem; color: var(--c-muted); }

/* ==========================================================================
   FAQ (akordeon)
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item:first-child { border-top: 1px solid var(--c-line); }
.faq-item__q {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 22px 4px;
	font-family: var(--font-head);
	font-size: 1.2rem;
	line-height: 1.3;
	color: var(--c-text);
	transition: color 0.2s var(--ease);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--c-primary); }
.faq-item__icon { flex: 0 0 auto; color: var(--c-accent-dark); transition: transform 0.3s var(--ease); }
.faq-item__icon svg { display: block; }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item[open] .faq-item__q { color: var(--c-primary); }
.faq-item__a { padding: 0 4px 24px; color: var(--c-muted); line-height: 1.7; max-width: 70ch; }
.faq-item__a p { margin: 0 0 10px; }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item[open] .faq-item__a { animation: yc-faq-in 0.35s var(--ease); }
@keyframes yc-faq-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}
.faq-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

.page-banner {
	background: var(--c-primary);
	color: #fff;
	min-height: 220px;
	padding-block: 52px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.page-banner__eyebrow {
	display: inline-block;
	font-weight: 300;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin-bottom: 12px;
}
.page-banner__title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.14; margin: 0; max-width: 26ch; }
.page-banner__lead { color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; line-height: 1.7; max-width: 72ch; margin-top: 18px; }
.page-banner__lead p { margin: 0 0 12px; }
.page-banner__lead p:last-child { margin-bottom: 0; }
.page-banner__meta { margin-top: 16px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.page-banner__meta a { color: #fff; }
.page-banner__meta a:hover { color: var(--c-accent); }
.page-banner__sep { margin: 0 8px; opacity: 0.6; }

.faq-page__inner { max-width: 840px; margin: 0 auto; }
.faq-page .faq-list { max-width: none; margin: 0 0 8px; }
.faq-intro { margin-bottom: 12px; }
.faq-intro__title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.2; margin: 0 0 16px; }
.faq-intro__lead { color: var(--c-muted); font-size: 1.06rem; line-height: 1.7; }
.faq-intro__lead p { margin: 0 0 12px; }
.faq-intro__lead p:last-child { margin-bottom: 0; }
.faq-topic {
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	line-height: 1.2;
	margin: 48px 0 16px;
	padding-left: 14px;
	border-left: 3px solid var(--c-accent);
}
.faq-page__inner > .faq-topic:first-child { margin-top: 0; }

/* ==========================================================================
   STRONY USŁUGOWE (template-service.php / template-services.php)
   ========================================================================== */

.section--soft { background: var(--c-bg-soft); }

.page-banner--image { position: relative; isolation: isolate; overflow: hidden; }
.page-banner__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.page-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;

	background: linear-gradient(90deg, rgba(13, 35, 80, 0.92) 0%, rgba(17, 42, 96, 0.78) 60%, rgba(22, 52, 119, 0.62) 100%);
}
.page-banner--image .page-banner__content { position: relative; z-index: 2; }

.page-banner--image { min-height: 360px; }

.page-banner--center { text-align: center; padding-block: 72px; }
.page-banner--center.page-banner--image { min-height: 400px; }
.page-banner--center .page-banner__content {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.page-banner--center .page-banner__title { max-width: 24ch; }
.page-banner--center .page-banner__lead { margin-left: auto; margin-right: auto; }
.page-banner__subtitle {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.96);
	margin: 12px 0 0;
	max-width: 60ch;
}

.tiles-grid--bare .tile__icon {
	width: auto;
	height: auto;
	margin-bottom: 18px;
	background: none;
	color: var(--c-accent);
}
.tiles-grid--bare .tile__icon svg { display: block; }

.tiles-grid--bare .tile__icon svg[stroke] { stroke-width: 0.75; }

.tile--link { position: relative; }
.tile--link .tile__link::after { content: ''; position: absolute; inset: 0; }

.prose {
	max-width: 820px;
	margin: 0 auto;
	color: var(--c-body);
	font-size: 1.06rem;
	line-height: 1.8;
}
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose--flush { max-width: none; margin: 0; }

.media-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.media-split--reverse .media-split__text { order: 2; }
.media-split--reverse .media-split__media { order: 1; }
.media-split__text .section-title { text-align: left; }
.section-divider--left { margin-left: 0; margin-right: 0; }
.media-split__media { align-self: stretch; }
.media-split__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.why-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--c-primary);
}
.why-section__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.why-section__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(17, 42, 96, 0.85);
}
.why-section__content { position: relative; z-index: 2; }
.why-section .section-title { color: #fff; }
.why-section .tile {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.4);
}
.why-section .tile:hover {
	border-color: rgba(255, 255, 255, 0.85);
	box-shadow: none;
}
.why-section .tile__title { color: #fff; }
.why-section .tile__desc { color: rgba(255, 255, 255, 0.85); }

.carousel-side { position: relative; padding-inline: 64px; }
.carousel-arrow--side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	background: #fff;
}
.carousel-arrow--side.carousel-arrow--prev { left: 0; }
.carousel-arrow--side.carousel-arrow--next { right: 0; }

.related-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;

	padding: 16px 4px;
	margin-inline: -4px;
}
.related-track::-webkit-scrollbar { display: none; }
.related-track .tile {
	flex: 0 0 calc((100% - 48px) / 3);
	scroll-snap-align: start;
}

.cta-band { background: var(--c-bg-soft); color: var(--c-text); padding-block: 56px; }
.cta-band__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 22px;
}
.cta-band__text { max-width: 760px; }
.cta-band__title { color: var(--c-text); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; margin: 0 0 12px; }
.cta-band__desc { color: var(--c-muted); font-size: 1.06rem; line-height: 1.7; margin: 0; }
.cta-band__action { flex: 0 0 auto; }

.site-main:has(.cta-band) + .site-footer { margin-top: 0; }

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}
.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 44px 40px;
	background: #fff;
	border: 1px solid var(--c-line);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover {
	border-color: rgba(244, 179, 64, 0.6);
	transform: translateY(-6px);
	box-shadow: var(--shadow-header);
}
.js .service-card[data-reveal] {
	transition: opacity 0.6s var(--ease), transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.js .service-card.is-visible:hover { transform: translateY(-6px); }
.service-card__title {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 16px;
}
.service-card__divider { display: block; width: 56px; height: 1px; background: var(--c-accent); margin: 0 0 24px; }
.service-card__list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	width: 100%;
	max-width: 380px;
	text-align: left;
}
.service-card__list li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 8px 0;
	color: var(--c-body);
	line-height: 1.5;
}
.service-card__check { flex: 0 0 auto; color: var(--c-accent); margin-top: 1px; }
.service-card__check svg { display: block; }
.service-card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
	font-size: 0.97rem;
	color: var(--c-primary);
}
.service-card__link .tile__arrow { display: inline-flex; transition: transform 0.25s var(--ease); }
.service-card__link:hover .tile__arrow { transform: translateX(4px); }

.service-card--link .service-card__link::after { content: ''; position: absolute; inset: 0; }

.services-cta { text-align: center; margin-top: 52px; }
.services-cta__text { font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--c-text); margin: 0 0 20px; }

/* ==========================================================================
   BLOG – karty, archiwum, filtr
   ========================================================================== */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.posts-grid > * { display: flex; min-width: 0; }

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	background: #fff;
	border: 1px solid var(--c-line);
	overflow: hidden;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.post-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}
.post-card:hover {
	border-color: rgba(244, 179, 64, 0.6);
	transform: translateY(-6px);
	box-shadow: var(--shadow-header);
}
.js .post-card.is-visible:hover,
.js div[data-reveal].is-visible:hover .post-card { transform: translateY(-6px); }

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--c-bg-soft);
	overflow: hidden;
}
.post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ease);
}
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c-bg-soft), #e7eef7); }

.post-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 24px; }
.post-card__cat {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-accent-dark);
	margin-bottom: 10px;
}
.post-card__title { font-size: 1.28rem; line-height: 1.25; margin: 0 0 10px; }
.post-card__title a { color: var(--c-text); transition: color 0.2s var(--ease); }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__excerpt { color: var(--c-muted); font-size: 0.98rem; line-height: 1.6; margin: 0 0 18px; }
.post-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--c-line);
	font-size: 0.86rem;
	color: var(--c-muted);
}
.post-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--c-primary); font-weight: 500; }
.post-card__more svg { transition: transform 0.25s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.blog-filter__btn {
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 500;
	padding: 9px 18px;
	border: 1.5px solid var(--c-line);
	background: #fff;
	color: var(--c-text);
	cursor: pointer;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.blog-filter__btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.blog-filter__btn.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.posts-grid.is-switching { opacity: 0.45; transition: opacity 0.25s var(--ease); }
.blog-sentinel { height: 1px; }
.blog-sentinel.is-done { display: none; }
.blog-loader { display: flex; justify-content: center; padding: 30px 0 4px; }
.blog-loader[hidden] { display: none; }
.blog-loader__spinner {
	width: 30px; height: 30px;
	border: 3px solid var(--c-line);
	border-top-color: var(--c-primary);
	border-radius: 50%;
	animation: yc-spin 0.8s linear infinite;
}
@keyframes yc-spin { to { transform: rotate(360deg); } }
.posts-empty { color: var(--c-muted); }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 64px;
	align-items: start;
}
.single { min-width: 0; }
.single__cat {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-accent-dark);
	margin-bottom: 14px;
}
.single__title { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; margin: 0 0 16px; }
.single__meta { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 28px; }
.single__sep { margin: 0 8px; }
.single__media { margin: 0 0 32px; }
.single__media img { width: 100%; height: auto; display: block; }
.single__tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.single__tags a {
	font-size: 0.85rem; padding: 5px 12px;
	border: 1px solid var(--c-line); color: var(--c-muted);
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.single__tags a:hover { border-color: var(--c-primary); color: var(--c-primary); }

.single__sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.widget__title {
	font-size: 1.25rem;
	margin: 0 0 20px;
	padding-bottom: 12px;
	position: relative;
}
.widget__title::after {
	content: ''; position: absolute; left: 0; bottom: 0;
	width: 36px; height: 1px; background: var(--c-accent);
}
.recent-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.recent-item:last-child { border-bottom: 0; }
.recent-item__thumb { flex: 0 0 72px; }
.recent-item__thumb img { width: 72px; height: 56px; object-fit: cover; display: block; }
.recent-item__body { display: flex; flex-direction: column; gap: 4px; }
.recent-item__title { font-weight: 500; line-height: 1.3; color: var(--c-text); transition: color 0.2s var(--ease); }
.recent-item:hover .recent-item__title { color: var(--c-primary); }
.recent-item__date { font-size: 0.82rem; color: var(--c-muted); }

.news-section__cta { text-align: center; margin-top: 40px; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 64px;
	align-items: start;
}

.contact-col__title {
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 26px;
	padding-bottom: 12px;
	position: relative;
}
.contact-col__title::after {
	content: ''; position: absolute; left: 0; bottom: 0;
	width: 48px; height: 2px; background: var(--c-accent);
}

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.05rem; }
.contact-list__icon { color: var(--c-primary); flex: 0 0 auto; }
.contact-list__icon svg { display: block; }
.contact-company { font-style: normal; line-height: 1.8; color: var(--c-body); }
.contact-company strong { color: var(--c-text); }
.contact-extra { margin-top: 22px; }

.contact-form-wrap { border-left: 1px solid var(--c-line); padding-left: 64px; }

/* ==========================================================================
   FORMULARZE (kontakt, wycena) – wspólne style
   ========================================================================== */
.form-field { margin: 0 0 16px; }
.yc-form input[type="text"],
.yc-form input[type="email"],
.yc-form input[type="tel"],
.yc-form textarea,
.yc-form .form-select {
	width: 100%;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--c-text);
	padding: 14px 16px;
	border: 1px solid var(--c-line);
	border-radius: 0;
	background: #fff;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.yc-form textarea { resize: vertical; min-height: 120px; }

.yc-form .form-select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2315233b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.yc-form .form-select:invalid { color: var(--c-muted); }

.yc-form input:focus,
.yc-form textarea:focus,
.yc-form .form-select:focus {
	outline: none;
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px rgba(22, 52, 119, 0.08);
}
.yc-form .has-error input,
.yc-form .has-error textarea,
.yc-form .has-error .form-select { border-color: #c0392b; }

.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 4px; font-size: 0.9rem; line-height: 1.55; color: var(--c-muted); }
.form-consent input { margin-top: 3px; flex: 0 0 auto; }
.form-consent a { color: var(--c-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.form-consent.has-error { color: #c0392b; }
.form-required { font-size: 0.85rem; color: var(--c-muted); margin: 4px 0 20px; }

.form-submit { text-transform: uppercase; letter-spacing: 0.06em; }

.form-msg { margin-top: 16px; font-size: 0.95rem; min-height: 1.2em; }
.form-msg.is-ok { color: #1e7e34; }
.form-msg.is-error { color: #c0392b; }
.form-msg.is-pending { color: var(--c-muted); }

.quote-wrap { max-width: 920px; margin: 0 auto; }
.quote-wrap .section-head { margin-bottom: 28px; }
.quote-intro { margin-bottom: 26px; color: var(--c-muted); }

#quote-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; }
#quote-form .form-field--full,
#quote-form .form-consent,
#quote-form .form-required,
#quote-form .form-submit,
#quote-form .form-msg { grid-column: 1 / -1; }
#quote-form .form-submit { justify-content: center; }
@media (max-width: 600px) {
	#quote-form { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TREŚĆ (entry-content)
   ========================================================================== */
.entry-content { max-width: 78ch; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width: 1024px) {
	.site-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.btn-phone__text { display: inline; }

	.site-header__inner { justify-content: space-between; }

	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {

	.hero__inner { min-height: clamp(420px, 64vh, 560px); padding-block: 48px; }
	.hero__box { width: 100%; max-width: none; }

	.tiles-grid > * { flex-basis: calc((100% - 24px) / 2); }

	.review { flex: 0 0 calc((100% - 28px) / 2); }

	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.single-grid { grid-template-columns: 1fr; gap: 48px; }
	.single { max-width: none; }
	.single__sidebar { position: static; }

	.contact-grid { grid-template-columns: 1fr; gap: 44px; }
	.contact-form-wrap { border-left: 0; padding-left: 0; }

	.related-track .tile { flex: 0 0 calc((100% - 24px) / 2); }

	.carousel-side { padding-inline: 56px; }
}

@media (max-width: 768px) {

	:root { --section-pad-y: 42px; }

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

	.media-split { grid-template-columns: 1fr; gap: 32px; }
	.media-split--reverse .media-split__text,
	.media-split--reverse .media-split__media { order: 0; }
	.media-split__img { aspect-ratio: 16 / 9; }

	.timeline__track { flex-direction: column; gap: 0; }
	.timeline-step {
		flex: none;
		display: grid;
		grid-template-columns: var(--node) 1fr;
		gap: 0 18px;
		align-items: start;
		text-align: left;
		padding-bottom: 30px;
	}
	.timeline-step__node { margin-bottom: 0; }
	.timeline-step:not(:last-child)::after {
		top: var(--node);
		left: calc(var(--node) / 2);
		transform: translateX(-50%);
		width: 1px;
		height: calc(100% - var(--node));
	}
	.timeline-step__desc { max-width: none; }
}

@media (max-width: 600px) {

	.tiles-grid > * { flex-basis: 100%; }
	.posts-grid { grid-template-columns: 1fr; }
	.section-head { margin-bottom: 36px; }

	.review { flex: 0 0 100%; }
	.related-track .tile { flex: 0 0 100%; }

	.carousel-side { padding-inline: 46px; }
	.carousel-arrow { width: 40px; height: 40px; }
}

@media (max-width: 640px) {
	:root { --header-h: 72px; --container-pad: 15px; --section-pad-y: 20px; }
	body { font-size: 16px; }
	.site-header__inner { gap: 14px; }
	.btn-phone { padding: 11px 14px; }
	.btn-phone__text { display: none; }
	.btn-phone--block .btn-phone__text { display: inline; }

	.site-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 30px; }
	.site-footer__bar-inner { flex-direction: column; align-items: flex-start; text-align: left; }

	/* Przyciski: pełna szerokość, napis na środku; gdy jest ich kilka – jeden pod drugim */
	.btn { width: 100%; justify-content: center; }
	.hero__actions,
	.faq-cta { flex-direction: column; align-items: stretch; }
	.cta-band__action { width: 100%; }

	/* Karuzela na mobile: bez bocznych strzałek, karta na pełną szerokość z „zajawką"
	   kolejnej (przewijanie palcem); czytelniej niż ściśnięte strzałki. */
	.carousel-side { padding-inline: 0; }
	.carousel-arrow--side { display: none; }
	.related-track .tile,
	.review { flex: 0 0 88%; }
	.tile,
	.service-card { padding: 30px 24px; }
	.review { padding: 28px 24px; }

	/* Łączenie dwóch białych sekcji – mniejszy odstęp niż baza (spójnie z 20px) */
	.section--plain + .section--plain { padding-top: 10px; }
	.section--plain:has(+ .section--plain) { padding-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
