/* Uzupełnienia treści B2B — obok main.css (Verti / HTML5 UP) */

html {
	scroll-behavior: smooth;
}

/* Górny „szary pasek” (gradient Verti) — o 20% niższy niż w main.css (30em → 24em) */
body {
	background-size: 100% 24em, auto;
}

/* Nagłówek strony — ok. 2/3 pierwotnej wysokości (padding, logo, wiersz menu) */
#header-wrapper {
	padding: 3em 0 2em 0;
}

@media screen and (max-width: 980px) {
	#header-wrapper {
		padding: 2em 0 0.65em 0;
	}
}

@media screen and (max-width: 736px) {
	#header-wrapper {
		padding: 2em 0 1em 0;
	}
}

#nav ul li {
	line-height: 2.025em;
}

/* Logo: grafika zamiast tekstu w różowym polu szablonu */
#logo h1.logo-mark {
	background: transparent;
	color: inherit;
	border-radius: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;
}

#logo h1.logo-mark a {
	display: block;
	line-height: 0;
}

#logo h1.logo-mark img {
	display: block;
	height: auto;
	max-height: 9.5625rem;
	width: auto;
	max-width: min(100%, 49.5rem);
}

@media screen and (max-width: 736px) {
	#logo h1.logo-mark img {
		max-height: 7.3125rem;
		max-width: min(100%, 40.5rem);
	}
}

/* Menu desktop: brak nakładania logo/tagline na nawigację + czcionka −1px */
@media screen and (min-width: 981px) {
	#header.container {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: space-between;
		column-gap: 1.0125rem;
		row-gap: 0.3375rem;
	}

	#logo {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		flex: 0 1 auto;
		min-width: 0;
	}

	#nav {
		position: static;
		margin-left: auto;
		align-self: center;
		font-size: calc(0.891em - 1px);
		flex: 0 1 auto;
		min-width: 0;
	}

	#nav > ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
	}

	#nav > ul > li {
		float: none;
		line-height: 1.305;
		padding-left: 0.43875em;
	}

	#nav > ul > li:first-child {
		padding-left: 0;
	}

	#nav > ul > li > a,
	#nav > ul > li > span {
		padding: 0.3375em 0.675em;
	}
}

/* Rozwijane podmenu — odstępy −25% względem szablonu; całość nav −10% */
.dropotron {
	padding: 0.50625em 0;
	margin-top: calc(-0.50625em + 1px);
}

.dropotron li {
	line-height: 2.025em;
}

.dropotron li > a,
.dropotron li > span {
	padding: 0 1.0125em;
}

.dropotron.level-0 {
	margin-left: 1.0125em;
}

/* Menu mobilne (panel) — tekst +10% względem treści strony */
@media screen and (max-width: 980px) {
	#navPanel .link {
		font-size: 1.1em;
		height: 59px;
		line-height: 59px;
	}
}

.section-block {
	padding: 3.5em 0;
}

.section-block h2 {
	margin-top: 0;
}

/* Sekcja „O nas” na stronie głównej — większa czcionka treści */
#o-nas .col-7 > p:first-of-type {
	font-size: 1.18em;
	line-height: 1.75;
}

/* Zdjęcie zespołu */
.o-nas-photo.image {
	margin-bottom: 0;
}

.o-nas-photo.image img {
	border-radius: 8px;
	width: 100%;
	height: auto;
}

#content .o-nas-photo.image {
	margin-bottom: 2em;
}

/* Sekcja dofinansowań na stronie głównej — zdjęcie po prawej */
#dofinansowania-home .dofinansowania-photo.image {
	margin-bottom: 0;
}

#dofinansowania-home .dofinansowania-photo.image img {
	border-radius: 8px;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 980px) {
	#dofinansowania-home .dofinansowania-photo.image {
		margin-top: 1.5em;
	}
}

.section-muted {
	background: rgba(0, 0, 0, 0.02);
	box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.04);
}

/* Sekcja „Dlaczego my” — siatka 3 × 2 (pięć bloków) */
#dlaczego-my .why-lead {
	font-size: 1.15em;
	line-height: 1.65;
	color: #444;
	font-weight: 600;
	max-width: 48em;
	margin-bottom: 2em;
}

#dlaczego-my .why-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25em;
	align-items: stretch;
}

@media screen and (max-width: 980px) {
	#dlaczego-my .why-items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 736px) {
	#dlaczego-my .why-items {
		grid-template-columns: 1fr;
	}
}

#dlaczego-my .why-item.box {
	margin-bottom: 0;
	padding: 1.75em 2em;
	height: 100%;
	min-height: 0;
	box-sizing: border-box;
}

#dlaczego-my .why-item h3 {
	font-size: 1.2em;
	margin: 0 0 0.65em 0;
}

#dlaczego-my .why-item p {
	margin-bottom: 0;
}

.offer-pillar .box {
	height: 100%;
	margin-bottom: 0;
}

.offer-pillar h3 {
	color: #444;
	font-size: 1.35em;
	margin: 0 0 0.35em 0;
}

.offer-pillar .lead {
	font-weight: 600;
	color: #0090c5;
	margin-bottom: 1em;
	display: block;
}

.offer-pillar ul {
	margin-bottom: 0;
}

.list-check {
	list-style: none;
	padding-left: 0;
}

.list-check li {
	position: relative;
	padding-left: 1.35em;
	margin-bottom: 0.5em;
}

.list-check li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: #0090c5;
	font-weight: 800;
}

.values-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1em 2em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.values-grid li {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.05);
	padding: 0.85em 1.25em;
	font-weight: 600;
	color: #444;
}

.section-cta {
	background: linear-gradient(135deg, #007aa8 0%, #0090c5 50%, #0a9fd4 100%);
	color: #fff;
	padding: 4em 2em;
	text-align: center;
	box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

.section-cta h2 {
	color: #fff;
	margin-bottom: 0.5em;
}

.section-cta p {
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.15em;
	max-width: 42em;
	margin-left: auto;
	margin-right: auto;
}

.section-cta .actions {
	margin-top: 1.75em;
}

.section-cta .button {
	background: #fff;
	color: #007aa8;
}

.section-cta .button:hover {
	background: #f0f8fc;
}

.section-cta .button.alt {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}

.section-cta .button.alt:hover {
	background: rgba(255, 255, 255, 0.28);
}

/* Nagłówek hero — mniejszy niż domyślne 3.5em szablonu */
#banner.hero-tight h2 {
	font-size: 2.75em;
	line-height: 1.12;
	margin: 0.1em 0 0.4em 0;
}

@media screen and (max-width: 736px) {
	#banner.hero-tight h2 {
		font-size: 1.75em;
		line-height: 1.2;
	}
}

#banner.hero-tight p.lead-hero {
	font-size: 1.65em;
	line-height: 1.45;
	font-weight: 600;
	color: #444;
	margin-bottom: 0.75em;
}

#banner.hero-tight p.sub-hero {
	font-size: 1.1em;
	line-height: 1.65;
	color: #696969;
}

.subpage #main-wrapper {
	padding-top: 3em;
}

.contact-form label {
	display: block;
	margin-top: 1.25em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	margin-top: 0.35em;
}

/* CTA „Zadzwoń” — numer pod pierwszą linią */
.section-cta .button.button-phone-cta {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
}

.section-cta .button.button-phone-cta .button-phone-cta-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.25;
	text-align: left;
}

.section-cta .button.button-phone-cta .button-phone-cta-line2 {
	font-size: 0.88em;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin-top: 0.12em;
	opacity: 0.98;
}
