/*
Theme Name: MagBet Księgowość
Theme URI: https://magbet-ksiegowosc.pl/
Author: MagBet Księgowość
Description: Motyw dla biura rachunkowego MagBet. Dane kontaktowe i teksty edytujesz w Wygląd → Dostosuj → Ustawienia strony MagBet, usługi w menu „Usługi”, a ceny w menu „Cennik”.
Version: 2.1.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magbet
*/

/* ------------------------------------------------------------------
   Fonty (w motywie – bez łączenia z Google Fonts)
   ------------------------------------------------------------------ */
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2-variations");
	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: "Newsreader";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations");
	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: "Instrument Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	src: url("assets/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
	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: "Instrument Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	src: url("assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
	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;
}

/* ------------------------------------------------------------------
   Kolory i wymiary
   ------------------------------------------------------------------ */
:root {
	--ink: #0b2545;          /* granat z logo – nagłówki, ciemne sekcje */
	--ink-2: #12335c;
	--blue: #1f5fae;         /* przyciski i linki */
	--blue-hover: #174a8b;
	--blue-soft: #8db6ea;
	--page: #e4edf8;         /* tło strony */
	--sky: #c7d9ef;
	--mist: #d3e2f3;         /* tło banerów i sekcji */
	--line: #c2d4ea;
	--line-strong: #9fb9da;
	--brass: #b08a4f;        /* złoto z logo – drobne akcenty */
	--text: #1c2a3a;
	--muted: #4f6078;
	--white: #ffffff;

	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 14px;
	--radius-sm: 10px;
	--section: clamp(64px, 9vw, 112px);
	--ledger-lines: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, rgba(31, 95, 174, 0.11) 35px, rgba(31, 95, 174, 0.11) 36px);
}

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

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

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

img,
svg,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

h3 {
	font-size: 1.375rem;
	line-height: 1.25;
}

p {
	margin: 0;
}

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--blue-hover);
}

:focus-visible {
	outline: 3px solid var(--blue-soft);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
	color: var(--white);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
}

/* ------------------------------------------------------------------
   Przyciski
   ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.8em 1.3em;
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-large {
	padding: 0.95em 1.5em;
	font-size: 1.05rem;
}

.btn-primary {
	background: var(--blue);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--blue-hover);
	color: var(--white);
}

.btn-ghost {
	background: var(--white);
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn-ghost:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.btn-light {
	background: var(--white);
	color: var(--ink);
}

.btn-light:hover {
	background: var(--sky);
	color: var(--ink);
}

/* ------------------------------------------------------------------
   Nagłówek
   ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(8px)) {
	.site-header {
		background: rgba(255, 255, 255, 0.9);
		backdrop-filter: saturate(1.4) blur(10px);
	}
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 104px;
}

.brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	padding-block: 10px;
}

.brand-logo {
	display: block;
	width: auto;
	height: 82px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list > li {
	position: relative;
}

.nav-list a {
	position: relative;
	display: block;
	padding: 10px 14px;
	color: var(--ink);
	font-size: 0.98rem;
	font-weight: 550;
	text-decoration: none;
}

.nav-list > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 2px;
	background: var(--brass);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.nav-list a:hover {
	color: var(--blue);
}

.nav-list > .current-menu-item > a::after,
.nav-list > .current_page_item > a::after,
.nav-list > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

/* podmenu */
.nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: 0 18px 40px -24px rgba(11, 37, 69, 0.45);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
}

.header-phone {
	padding: 0.7em 1.1em;
	font-size: 0.97rem;
	white-space: nowrap;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: var(--white);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	color: var(--ink);
	font: 600 0.95rem/1 var(--sans);
	cursor: pointer;
}

.nav-toggle-close {
	display: none;
}

.header-call {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-left: auto;
	background: var(--blue);
	border-radius: var(--radius-sm);
	color: var(--white);
}

.header-call:hover {
	background: var(--blue-hover);
	color: var(--white);
}

.header-call .icon {
	width: 21px;
	height: 21px;
}

.nav-toggle .icon {
	width: 22px;
	height: 22px;
}

@media (max-width: 999px) {
	.header-inner {
		min-height: 80px;
	}

	.brand-logo {
		height: 60px;
	}

	.header-inner {
		gap: 10px;
	}

	.nav-toggle,
	.header-call {
		display: inline-flex;
	}

	.nav-toggle {
		min-height: 46px;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 12px var(--gutter) 24px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -28px rgba(11, 37, 69, 0.45);
	}

	.site-header[data-open="true"] .site-nav {
		display: flex;
	}

	.site-header[data-open="true"] .nav-toggle-open {
		display: none;
	}

	.site-header[data-open="true"] .nav-toggle-close {
		display: inline-flex;
	}

	.nav-toggle-open,
	.nav-toggle-close {
		align-items: center;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-list > li {
		border-bottom: 1px solid var(--line);
	}

	.nav-list a {
		padding: 15px 2px;
		font-size: 1.1rem;
	}

	.nav-list > li > a::after {
		left: 0;
		right: auto;
		top: 50%;
		bottom: auto;
		width: 3px;
		height: 22px;
		margin-left: -12px;
		transform: translateY(-50%) scaleY(0);
	}

	.nav-list > .current-menu-item > a::after,
	.nav-list > .current_page_item > a::after {
		transform: translateY(-50%) scaleY(1);
	}

	.nav-list .sub-menu {
		position: static;
		visibility: visible;
		opacity: 1;
		padding: 0 0 8px 14px;
		border: 0;
		box-shadow: none;
	}

	.header-phone {
		justify-content: center;
		padding: 0.9em 1.2em;
		font-size: 1.05rem;
	}
}

@media (max-width: 420px) {
	.brand-logo {
		height: 54px;
	}

	.nav-toggle-label {
		display: none;
	}
}

/* ------------------------------------------------------------------
   Baner strony głównej
   ------------------------------------------------------------------ */
.hero {
	position: relative;
	padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px);
	background-color: var(--mist);
	background-image: var(--ledger-lines);
	border-bottom: 1px solid var(--line);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.hero h1 {
	max-width: 15ch;
	font-size: clamp(2.5rem, 5.4vw, 4.1rem);
	font-weight: 450;
	line-height: 1.04;
	letter-spacing: -0.022em;
}

.hero-lead {
	max-width: 54ch;
	margin-top: 26px;
	color: var(--muted);
	font-size: clamp(1.08rem, 1.5vw, 1.2rem);
	line-height: 1.6;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

/* Karta terminów – „kartka z księgi” */
.ledger {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 1px 0 rgba(11, 37, 69, 0.04), 0 30px 60px -36px rgba(11, 37, 69, 0.42);
	overflow: hidden;
}

.ledger-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 22px 26px 18px;
	border-bottom: 1px solid var(--line);
}

.ledger-month {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

.ledger-title {
	color: var(--muted);
	font-size: 0.92rem;
}

.ledger-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ledger-row {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	padding: 18px 26px;
	border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
	border-bottom: 0;
}

.ledger-day {
	display: flex;
	align-items: baseline;
	gap: 6px;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 2.6rem;
	font-weight: 400;
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
}

.ledger-do {
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.85rem;
	font-weight: 500;
}

.ledger-text {
	color: var(--text);
	font-size: 0.98rem;
	line-height: 1.45;
}

.ledger-row.is-next {
	background: linear-gradient(90deg, rgba(176, 138, 79, 0.1), rgba(176, 138, 79, 0) 70%);
}

.ledger-row.is-next::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--brass);
}

.ledger-tag {
	display: block;
	width: fit-content;
	margin-top: 6px;
	padding: 2px 9px;
	background: var(--ink);
	border-radius: 999px;
	color: var(--white);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.ledger-foot {
	padding: 14px 26px;
	background: var(--mist);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.92rem;
}

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

	.ledger {
		max-width: 560px;
	}
}

@media (max-width: 480px) {
	.hero-actions .btn {
		width: 100%;
	}

	.ledger-row {
		grid-template-columns: 70px minmax(0, 1fr);
		padding: 16px 18px;
	}

	.ledger-head,
	.ledger-foot {
		padding-inline: 18px;
	}

	.ledger-day {
		font-size: 2.2rem;
	}
}

/* ------------------------------------------------------------------
   Sekcje
   ------------------------------------------------------------------ */
.section {
	padding-block: var(--section);
}

.section-mist {
	background: var(--mist);
	border-block: 1px solid var(--line);
}

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px 64px;
	align-items: end;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head p {
	max-width: 52ch;
	color: var(--muted);
	font-size: 1.08rem;
}

.section-more {
	margin-top: 36px;
	font-weight: 600;
}

.empty-note {
	padding: 18px 20px;
	background: var(--mist);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-sm);
	color: var(--muted);
}

@media (max-width: 799px) {
	.section-head {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Usługi – strona główna */
.services-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
	gap: clamp(36px, 6vw, 88px);
	align-items: start;
}

.services-intro {
	position: sticky;
	top: 128px;
}

.services-intro p {
	margin-top: 18px;
	color: var(--muted);
	font-size: 1.08rem;
}

.services-intro .btn {
	margin-top: 28px;
}

.service-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-strong);
}

.service-item {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 8px 32px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.service-title {
	font-size: 1.4rem;
}

.service-desc {
	color: var(--muted);
}

.service-desc p + p {
	margin-top: 0.8em;
}

/* Usługi – strona Oferta */
.offer-intro {
	margin-bottom: clamp(32px, 5vw, 56px);
}

.service-list--full .service-item {
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
	gap: 10px 56px;
	padding: 34px 0;
}

.service-list--full .service-title {
	font-size: clamp(1.45rem, 2.2vw, 1.75rem);
}

.service-list--full .service-desc {
	max-width: 62ch;
	color: var(--text);
	font-size: 1.06rem;
}

@media (max-width: 899px) {
	.services-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.services-intro {
		position: static;
	}
}

@media (max-width: 640px) {
	.service-item,
	.service-list--full .service-item {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Z kim pracujemy */
.audience {
	background: var(--page);
	border-top: 1px solid var(--line);
}

.audience-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 2.3fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.audience-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.audience-list li {
	padding-left: 22px;
	border-left: 2px solid var(--sky);
}

.audience-list h3 {
	font-size: 1.35rem;
}

.audience-list p {
	margin-top: 10px;
	color: var(--muted);
}

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

@media (max-width: 720px) {
	.audience-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* ------------------------------------------------------------------
   Cennik
   ------------------------------------------------------------------ */
.price-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.price-card {
	display: flex;
	flex-direction: column;
	padding: 32px 28px 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.price-badge {
	width: fit-content;
	margin-bottom: 14px;
	padding: 3px 11px;
	background: var(--sky);
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.8rem;
	font-weight: 600;
}

.price-name {
	font-size: 1.5rem;
}

.price-desc {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.98rem;
}

.price-amount {
	margin-top: 24px;
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(2.2rem, 3.2vw, 2.7rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.015em;
	font-variant-numeric: lining-nums;
}

.price-unit {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.92rem;
}

.price-features {
	display: grid;
	gap: 10px;
	margin: 24px 0 28px;
	padding: 22px 0 0;
	list-style: none;
	border-top: 1px solid var(--line);
	font-size: 0.98rem;
}

.price-features li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.45;
}

.price-features .icon {
	margin-top: 1px;
	color: var(--blue);
}

.price-cta {
	margin-top: auto;
}

.price-card.is-featured {
	background: var(--ink);
	border-color: var(--ink);
	color: #e4ecf6;
	box-shadow: 0 30px 60px -36px rgba(11, 37, 69, 0.7);
}

.price-card.is-featured .price-name,
.price-card.is-featured .price-amount {
	color: var(--white);
}

.price-card.is-featured .price-desc,
.price-card.is-featured .price-unit {
	color: #b9c9de;
}

.price-card.is-featured .price-badge {
	background: var(--brass);
	color: var(--white);
}

.price-card.is-featured .price-features {
	border-top-color: rgba(255, 255, 255, 0.16);
}

.price-card.is-featured .price-features .icon {
	color: #9cc2f0;
}

/* Tabela usług dodatkowych */
.price-extra {
	margin-top: clamp(56px, 7vw, 88px);
}

.price-extra h2 {
	margin-bottom: 20px;
	font-size: clamp(1.7rem, 2.8vw, 2.2rem);
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid var(--line-strong);
}

.price-table thead th {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 600;
	text-align: left;
}

.price-table thead th:last-child {
	text-align: right;
}

.price-table tbody th,
.price-table tbody td {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	font-weight: 400;
	text-align: left;
}

.price-table tbody td {
	padding-left: 24px;
	text-align: right;
	white-space: nowrap;
}

.pt-name {
	display: block;
	color: var(--ink);
	font-weight: 600;
}

.pt-desc {
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.95rem;
}

.pt-price {
	display: block;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.2;
}

.pt-unit {
	display: block;
	color: var(--muted);
	font-size: 0.88rem;
}

@media (max-width: 560px) {
	.price-table tbody td {
		white-space: normal;
		min-width: 110px;
	}
}

.note {
	max-width: 76ch;
	margin-top: 36px;
	padding: 16px 20px;
	background: var(--mist);
	border-left: 3px solid var(--brass);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--muted);
	font-size: 0.98rem;
}

.pricing-extra-text {
	margin-top: 36px;
}

/* ------------------------------------------------------------------
   Pas kontaktowy
   ------------------------------------------------------------------ */
.cta-band {
	padding-block: clamp(64px, 8vw, 104px);
	background-color: var(--ink);
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, rgba(255, 255, 255, 0.035) 35px, rgba(255, 255, 255, 0.035) 36px);
	color: #c9d7e8;
}

.cta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.cta-band h2 {
	color: var(--white);
	font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.cta-copy p {
	max-width: 50ch;
	margin-top: 18px;
	font-size: 1.1rem;
}

.cta-actions {
	margin-top: 32px;
}

.cta-contact {
	padding-left: clamp(0px, 4vw, 48px);
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-label {
	color: #9fb4cf;
	font-size: 0.95rem;
}

.cta-phone {
	display: inline-block;
	margin-top: 4px;
	color: var(--white);
	font-family: var(--serif);
	font-size: clamp(2rem, 3.6vw, 2.6rem);
	font-weight: 450;
	line-height: 1.15;
	text-decoration: none;
	font-variant-numeric: lining-nums;
}

.cta-phone:hover {
	color: var(--sky);
}

.cta-email {
	display: block;
	width: fit-content;
	margin-top: 10px;
	color: var(--white);
	font-size: 1.1rem;
}

.cta-email:hover {
	color: var(--sky);
}

.cta-contact .people {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

	.cta-contact {
		padding-left: 0;
		padding-top: 32px;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
}

/* Osoby kontaktowe */
.people {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.person {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.person-name {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.25;
}

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

.person-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin-top: 4px;
	font-weight: 550;
	text-decoration: none;
}

.person-link:hover span {
	text-decoration: underline;
}

.people--dark .person-name {
	color: var(--white);
}

.people--dark .person-role {
	color: #9fb4cf;
}

.people--dark .person-link {
	color: #dce8f6;
}

.people--dark .person-link:hover {
	color: var(--white);
}

/* ------------------------------------------------------------------
   Podstrony
   ------------------------------------------------------------------ */
.page-hero {
	padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px);
	background-color: var(--mist);
	background-image: var(--ledger-lines);
	border-bottom: 1px solid var(--line);
}

.page-hero h1 {
	max-width: 20ch;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 450;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.page-lead {
	max-width: 58ch;
	margin-top: 18px;
	color: var(--muted);
	font-size: clamp(1.06rem, 1.5vw, 1.18rem);
}

.aside-title {
	margin-bottom: 18px;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0;
}

/* Tekst edytowany w edytorze */
.prose {
	max-width: 70ch;
	font-size: 1.08rem;
	line-height: 1.7;
}

.prose > * + * {
	margin-top: 1.05em;
}

.prose h2 {
	margin-top: 1.7em;
	font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.prose h3 {
	margin-top: 1.5em;
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
}

.prose li + li {
	margin-top: 0.35em;
}

.prose blockquote {
	margin-inline: 0;
	padding-left: 20px;
	border-left: 3px solid var(--brass);
	color: var(--muted);
}

.prose img {
	border-radius: var(--radius-sm);
}

.prose .wp-block-image,
.prose figure {
	margin-inline: 0;
}

.prose > p:first-child {
	color: var(--ink);
	font-size: 1.2rem;
	line-height: 1.6;
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.about-team {
	padding: 28px;
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

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

/* Kontakt */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
}

.contact-info .aside-title {
	margin-top: 40px;
}

.contact-extra {
	margin-top: 32px;
}

.contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-strong);
}

.contact-list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.contact-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--blue);
}

.contact-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.contact-label {
	color: var(--muted);
	font-size: 0.88rem;
}

.contact-value {
	color: var(--ink);
	font-size: 1.12rem;
	font-weight: 550;
	overflow-wrap: anywhere;
}

.contact-value a {
	color: var(--ink);
	text-decoration-color: var(--line-strong);
}

.contact-value a:hover {
	color: var(--blue);
	text-decoration-color: currentColor;
}

.form-card {
	padding: clamp(24px, 4vw, 40px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 30px 60px -40px rgba(11, 37, 69, 0.4);
}

.form-card h2 {
	margin-bottom: 24px;
	font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.contact-form {
	display: grid;
	gap: 18px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
}

.field label {
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 600;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
	width: 100%;
	padding: 13px 14px;
	background: var(--white);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	border-color: var(--blue);
	outline: none;
	box-shadow: 0 0 0 4px rgba(31, 95, 174, 0.15);
}

.field--check {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}

.field--check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--blue);
}

.field--check label {
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.5;
}

.contact-form .btn {
	justify-self: start;
	margin-top: 4px;
}

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

.form-alert {
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	font-weight: 550;
}

.form-alert--success {
	background: #e6f4ec;
	border: 1px solid #b5dcc4;
	color: #1d5534;
}

.form-alert--error {
	background: #fbeaea;
	border: 1px solid #efc3c3;
	color: #8a1f1f;
}

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

.map {
	display: block;
	width: 100%;
	height: 380px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

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

@media (max-width: 560px) {
	.field-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-form .btn {
		justify-self: stretch;
	}
}

/* Blog */
.post-list {
	display: grid;
	gap: 0;
	max-width: 760px;
	border-top: 1px solid var(--line-strong);
}

.post-item {
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
}

.post-date {
	color: var(--muted);
	font-size: 0.92rem;
}

.post-title {
	margin-top: 6px;
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.post-title a {
	color: var(--ink);
	text-decoration: none;
}

.post-title a:hover {
	color: var(--blue);
}

.post-excerpt {
	margin-top: 10px;
	color: var(--muted);
}

.page-hero .post-date {
	margin-bottom: 10px;
}

.post-thumb {
	margin: 0 0 28px;
}

.pagination {
	margin-top: 36px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.pagination .current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

/* ------------------------------------------------------------------
   Stopka
   ------------------------------------------------------------------ */
.site-footer {
	padding-top: clamp(56px, 7vw, 80px);
	background: var(--mist);
	border-top: 1px solid var(--line);
	font-size: 0.98rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1.1fr);
	gap: 40px clamp(32px, 5vw, 72px);
}

.footer-brand .brand-logo {
	height: 92px;
}

.footer-brand p {
	max-width: 36ch;
	margin-top: 16px;
	color: var(--muted);
}

.footer-title {
	margin-bottom: 14px;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 0.95rem;
	font-weight: 650;
	letter-spacing: 0;
}

.footer-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-list li + li {
	margin-top: 8px;
}

.footer-list a {
	color: var(--text);
	text-decoration: none;
}

.footer-list a:hover {
	color: var(--blue);
	text-decoration: underline;
}

.contact-list--compact {
	border-top: 0;
}

.contact-list--compact li {
	gap: 12px;
	padding: 0 0 12px;
	border-bottom: 0;
}

.contact-list--compact .contact-icon {
	width: auto;
	height: auto;
	margin-top: 3px;
	background: none;
	border: 0;
}

.contact-list--compact .contact-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.contact-list--compact .contact-value {
	font-size: 0.98rem;
	font-weight: 400;
}

.footer-nip {
	color: var(--muted);
}

.footer-bottom {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 48px;
	padding-block: 22px 28px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
}

.footer-bottom a {
	color: var(--muted);
}

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

	.footer-brand {
		grid-column: 1 / -1;
	}
}

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

/* ------------------------------------------------------------------
   Edytor bloków – podstawowe klasy WordPressa
   ------------------------------------------------------------------ */
.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
.wp-element-caption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.9rem;
}

.wp-block-button__link {
	background: var(--blue);
	border-radius: var(--radius-sm);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
	padding: 10px 12px;
	border: 1px solid var(--line);
}

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

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

/* ==================================================================
   CIEMNA WERSJA KOLORYSTYCZNA (granat)
   Aby wrócić do jasnej wersji, usuń wszystko od tej linii do końca pliku.
   ================================================================== */
:root {
	--page: #0b2545;
	--mist: #0f2e54;
	--card: #133a66;
	--deep: #071a33;
	--text: #d8e3f1;
	--muted: #a6b9d2;
	--line: rgba(255, 255, 255, 0.12);
	--line-strong: rgba(255, 255, 255, 0.24);
	--link: #9cc5f4;
	--ledger-lines: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, rgba(255, 255, 255, 0.045) 35px, rgba(255, 255, 255, 0.045) 36px);
}

body {
	background: var(--page);
	color: var(--text);
}

main h1,
main h2,
main h3,
main h4,
.ledger-month,
.ledger-day,
.price-amount,
.pt-name,
.pt-price,
.contact-value,
.contact-value a,
.person-name,
.field label,
.prose > p:first-child,
.post-title a,
.site-footer .footer-title {
	color: #ffffff;
}

main a:not(.btn),
.site-footer a {
	color: var(--link);
}

main a:not(.btn):hover,
.site-footer a:hover {
	color: #ffffff;
}

.contact-value a {
	text-decoration-color: var(--line-strong);
}

/* Tła sekcji */
.hero,
.page-hero,
.section-mist,
.site-footer {
	background-color: var(--mist);
}

.audience {
	background: var(--page);
}

.cta-band {
	background-color: var(--deep);
}

/* Karty */
.ledger,
.price-card,
.form-card,
.about-team,
.empty-note {
	background: var(--card);
	border-color: var(--line);
	box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.6);
}

.ledger-foot,
.note {
	background: rgba(255, 255, 255, 0.05);
}

.ledger-row.is-next {
	background: linear-gradient(90deg, rgba(176, 138, 79, 0.22), rgba(176, 138, 79, 0) 75%);
}

.ledger-tag {
	background: var(--brass);
}

.price-card.is-featured {
	background: var(--blue);
	border-color: var(--blue);
	color: #ffffff;
}

.price-card.is-featured .price-desc,
.price-card.is-featured .price-unit {
	color: #dbe8f8;
}

.price-card.is-featured .price-features .icon {
	color: #ffffff;
}

.price-features .icon {
	color: var(--link);
}

.audience-list li {
	border-left-color: var(--line-strong);
}

.contact-icon {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--line);
	color: var(--link);
}

/* Przyciski na ciemnym tle */
main .btn-primary {
	background: #2a6cc0;
}

main .btn-primary:hover {
	background: #3a7fd6;
}

main .btn-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.4);
	color: #ffffff;
}

main .btn-ghost:hover {
	border-color: #ffffff;
	color: #ffffff;
}

/* Formularz */
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
	background: var(--page);
	border-color: var(--line-strong);
	color: #ffffff;
}

.field input::placeholder,
.field textarea::placeholder {
	color: #8299b6;
}

.field input:focus,
.field textarea:focus {
	border-color: var(--link);
	box-shadow: 0 0 0 4px rgba(156, 197, 244, 0.2);
}

/* Logo w stopce na jasnej plakietce (logo ma granatowe litery) */
.footer-brand .brand {
	padding: 14px 18px;
	background: #ffffff;
	border-radius: var(--radius);
}

.footer-brand .brand-logo {
	height: 80px;
}

.pagination .current {
	background: var(--blue);
	border-color: var(--blue);
}

.site-header {
	background: #ffffff;
	backdrop-filter: none;
}

main .cta-phone,
main .cta-email {
	color: #ffffff;
}

main .cta-phone:hover,
main .cta-email:hover {
	color: var(--sky);
}

/* ------------------------------------------------------------------
   Strona Kontakt: dwa numery + formularz
   ------------------------------------------------------------------ */
.contact-page {
	padding-block: clamp(48px, 7vw, 96px) var(--section);
	background-color: var(--mist);
	background-image: var(--ledger-lines);
}

.contact-page-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.contact-page h1 {
	font-size: clamp(2.6rem, 5.4vw, 4rem);
	font-weight: 450;
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.contact-phones-title {
	margin-top: clamp(36px, 5vw, 56px);
	margin-bottom: 14px;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0;
}

.contact-phones {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.phone-tile {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 24px;
	background: var(--card, #ffffff);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.phone-tile:hover {
	border-color: var(--link, var(--blue));
	background: #184577;
}

.phone-tile-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: #2a6cc0;
	border-radius: 50%;
	color: #ffffff;
}

.phone-tile-icon .icon {
	width: 24px;
	height: 24px;
}

main .phone-tile-number {
	color: #ffffff;
	font-family: var(--serif);
	font-size: clamp(1.9rem, 3.4vw, 2.5rem);
	font-weight: 450;
	line-height: 1.1;
	letter-spacing: 0.01em;
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
}

.form-card-lead {
	margin: -12px 0 24px;
	color: var(--muted);
}

.form-card h2 {
	margin-bottom: 18px;
}

.cta-contact .cta-phone {
	display: block;
	width: fit-content;
}

.cta-contact .cta-phone + .cta-phone {
	margin-top: 6px;
}

@media (max-width: 899px) {
	.contact-page-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 400px) {
	.phone-tile {
		gap: 14px;
		padding: 16px 18px;
	}

	.phone-tile-icon {
		width: 44px;
		height: 44px;
	}
}

/* ------------------------------------------------------------------
   Oferta: karty usług
   ------------------------------------------------------------------ */
.service-list--full {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	border-top: 0;
}

.service-list--full .service-item {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: clamp(24px, 3vw, 34px);
	background: var(--card, #ffffff);
	border: 1px solid var(--line);
	border-left: 4px solid var(--brass);
	border-radius: var(--radius);
}

.service-list--full .service-title {
	font-size: clamp(1.5rem, 2.2vw, 1.8rem);
}

.service-summary {
	margin-top: 8px;
	color: var(--muted);
	font-size: 1.02rem;
}

.service-list--full .service-desc {
	max-width: none;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	color: var(--text);
	font-size: 1.04rem;
}

.service-list--full .service-desc ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-list--full .service-desc li {
	position: relative;
	padding-left: 30px;
	line-height: 1.45;
}

.service-list--full .service-desc li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 18px;
	height: 18px;
	background: #2a6cc0;
	border-radius: 50%;
}

.service-list--full .service-desc li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: calc(0.2em + 4px);
	width: 5px;
	height: 8px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.offer .section-more {
	margin-top: 40px;
}

.offer .section-more a {
	display: inline-flex;
	padding: 0.95em 1.5em;
	background: #2a6cc0;
	border-radius: var(--radius-sm);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

.offer .section-more a:hover {
	background: #3a7fd6;
	color: #ffffff;
}

@media (max-width: 799px) {
	.service-list--full {
		grid-template-columns: minmax(0, 1fr);
	}
}

main .cta-band a.cta-phone {
	color: #ffffff;
}

main .cta-band a.cta-phone:hover {
	color: var(--sky);
}

/* Oferta: krótsza, w trzech kolumnach */
.service-list--full {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.service-list--full .service-item {
	padding: 24px 24px 26px;
}

.service-list--full .service-title {
	font-size: 1.4rem;
}

.service-summary {
	margin-top: 6px;
	font-size: 0.96rem;
	line-height: 1.5;
}

.service-list--full .service-desc {
	margin-top: 14px;
	padding-top: 14px;
	font-size: 0.98rem;
}

.service-list--full .service-desc ul {
	gap: 8px;
}

.offer.section {
	padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 88px);
}

.offer .section-more {
	margin-top: 28px;
}

@media (max-width: 1099px) {
	.service-list--full {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 699px) {
	.service-list--full {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Baner strony głównej bez karty terminów */
.hero-grid {
	grid-template-columns: minmax(0, 1fr);
}

.hero h1 {
	max-width: 18ch;
}

/* Kontakt: e-mail */
main .email-tile .phone-tile-number {
	font-family: var(--sans);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 550;
	letter-spacing: 0;
	white-space: normal;
	overflow-wrap: anywhere;
}

/* Baner strony głównej – wyśrodkowany */
.hero-copy {
	text-align: center;
}

.hero h1,
.hero-lead {
	margin-inline: auto;
}

.hero-actions {
	justify-content: center;
}

/* Stopka: dane rejestrowe firmy */
.site-footer .footer-legal-name {
	max-width: 34ch;
	margin-top: 18px;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

.footer-registry {
	display: grid;
	gap: 4px;
	margin: 12px 0 0;
}

.footer-registry div {
	display: flex;
	gap: 10px;
}

.footer-registry dt {
	min-width: 58px;
	color: var(--muted);
}

.footer-registry dd {
	margin: 0;
	color: var(--text);
	font-variant-numeric: tabular-nums;
}

/* ==================================================================
   Akcenty (kolor przycisków) – trzy warianty do wyboru w Dostosuj
   ================================================================== */
:root {
	--accent: #2a6cc0;
	--accent-hover: #3a7fd6;
	--accent-ink: #ffffff;
	--accent-soft: rgba(42, 108, 192, 0.45);
	--accent-line: var(--brass);
}

body.mb-scheme-gold {
	--accent: #c9a063;
	--accent-hover: #dbb67c;
	--accent-ink: #0b2545;
	--accent-soft: rgba(201, 160, 99, 0.32);
	--link: #e6c792;
	--accent-line: #c9a063;
}

body.mb-scheme-teal {
	--accent: #3a9c95;
	--accent-hover: #4bb3ab;
	--accent-ink: #ffffff;
	--accent-soft: rgba(58, 156, 149, 0.38);
	--link: #8fd6cf;
	--accent-line: #4bb3ab;
}

main .btn-primary,
.site-header .btn-primary,
.header-call,
.offer .section-more a {
	background: var(--accent);
	color: var(--accent-ink);
}

main .btn-primary:hover,
.site-header .btn-primary:hover,
.header-call:hover,
.offer .section-more a:hover {
	background: var(--accent-hover);
	color: var(--accent-ink);
}

.phone-tile-icon,
.service-list--full .service-desc li::before {
	background: var(--accent);
	color: var(--accent-ink);
}

.service-list--full .service-desc li::after {
	border-color: var(--accent-ink);
}

.service-list--full .service-item {
	border-left-color: var(--accent-line);
}

.nav-list > li > a::after,
.ledger-row.is-next::before {
	background: var(--accent-line);
}

.price-features .icon,
.contact-icon {
	color: var(--link);
}

/* ==================================================================
   Ruch i przejścia
   ================================================================== */

/* Nagłówek: cień po przewinięciu */
.site-header {
	transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.55);
}

/* Baner: delikatna poświata w tle */
.hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -30%;
	left: 50%;
	width: 900px;
	height: 620px;
	margin-left: -450px;
	background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
	opacity: 0.85;
	animation: mb-glow 18s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes mb-glow {
	from {
		transform: translate(-12%, 0) scale(1);
	}
	to {
		transform: translate(12%, 8%) scale(1.15);
	}
}

/* Baner: wejście przy otwarciu strony */
@keyframes mb-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.js .hero h1,
.js .hero-lead,
.js .hero-actions,
.js .page-hero h1,
.js .page-hero .page-lead,
.js .contact-page h1,
.js .contact-page .page-lead {
	animation: mb-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.js .hero-lead,
.js .page-hero .page-lead,
.js .contact-page .page-lead {
	animation-delay: 0.12s;
}

.js .hero-actions {
	animation-delay: 0.24s;
}

/* Elementy pojawiające się przy przewijaniu */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* Najechanie myszką */
.btn {
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

main .btn-primary:hover,
.site-header .btn-primary:hover {
	box-shadow: 0 12px 24px -12px var(--accent);
}

.service-list--full .service-item.is-visible:hover,
.service-list--full .service-item:not([data-reveal]):hover {
	transform: translateY(-4px);
	border-color: var(--line-strong);
	border-left-color: var(--accent-line);
	box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.75);
}

.service-list--home .service-item .service-title {
	transition: color 0.18s ease, transform 0.18s ease;
}

.service-list--home .service-item:hover .service-title {
	color: var(--link);
	transform: translateX(4px);
}

.phone-tile.is-visible:hover,
.phone-tile:not([data-reveal]):hover {
	transform: translateY(-3px);
}

.phone-tile-icon {
	transition: transform 0.2s ease;
}

.phone-tile:hover .phone-tile-icon {
	transform: scale(1.08) rotate(-8deg);
}

@media (prefers-reduced-motion: reduce) {
	.hero::before {
		animation: none;
	}

	.js .hero h1,
	.js .hero-lead,
	.js .hero-actions,
	.js .page-hero h1,
	.js .page-hero .page-lead,
	.js .contact-page h1,
	.js .contact-page .page-lead {
		animation: none;
	}

	.btn:hover,
	.service-list--full .service-item:hover,
	.phone-tile:hover {
		transform: none;
	}
}

/* Stopka: białe linki i teksty */
.site-footer,
.site-footer .footer-list a,
.site-footer .contact-value,
.site-footer .contact-value a,
.site-footer .footer-registry dd,
.site-footer .footer-bottom,
.site-footer .footer-bottom a {
	color: #ffffff;
}

.site-footer .footer-list a,
.site-footer .contact-value a,
.site-footer .footer-bottom a {
	text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer .footer-list a:hover,
.site-footer .contact-value a:hover,
.site-footer .footer-bottom a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: #ffffff;
}

.site-footer .contact-icon {
	color: #ffffff;
}

.site-footer .footer-registry dt,
.site-footer .footer-bottom p {
	color: rgba(255, 255, 255, 0.72);
}

/* Kontakt: e-mail jako stały element (bez animacji i efektów) */
.email-tile,
.email-tile:hover {
	transform: none !important;
	background: var(--card, #133a66);
	border-color: var(--line);
	cursor: default;
}

.email-tile:hover .phone-tile-icon {
	transform: none;
}

main .email-tile .phone-tile-number {
	user-select: text;
}

/* Nagłówek zawsze w odcieniu morskim (także na stronie Oferta) */
.site-header {
	--accent: #3a9c95;
	--accent-hover: #4bb3ab;
	--accent-ink: #ffffff;
	--accent-line: #3a9c95;
}

/* ------------------------------------------------------------------
   Stopka – wersja kompaktowa: logo + dane firmy obok, kontakt po prawej
   ------------------------------------------------------------------ */
.site-footer {
	padding-top: clamp(36px, 4vw, 48px);
}

.footer-grid {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 32px clamp(32px, 6vw, 96px);
	align-items: center;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 28px;
	grid-column: auto;
}

.footer-brand .brand {
	flex: none;
	padding: 12px 14px;
}

.footer-brand .brand-logo {
	height: 76px;
}

.footer-company {
	min-width: 0;
	padding-left: 28px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer .footer-company .footer-legal-name {
	max-width: 36ch;
	margin-top: 0;
	font-size: 0.86rem;
}

.footer-company .footer-registry {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin-top: 8px;
	font-size: 0.92rem;
}

.footer-company .footer-registry div {
	gap: 6px;
}

.footer-company .footer-registry dt {
	min-width: 0;
}

.footer-contact .footer-title {
	margin-bottom: 10px;
}

.footer-contact .contact-list--compact li {
	padding-bottom: 6px;
}

.footer-bottom {
	margin-top: 28px;
	padding-block: 16px 20px;
}

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

@media (max-width: 560px) {
	.footer-brand {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.footer-company {
		padding-left: 0;
		border-left: 0;
	}
}
