/* RESET I ZASADY PODSTAWOWE */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.6;
	color: #333333;
	background-color: #f8f8f8;
	scroll-behavior: smooth;
}
/* KONTENER (CENTRUM RESPONSIVE DESIGN) */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
/* TYPOGRAFIA WCAG */
h1,
h2,
h3 {
	font-family: 'Oswald', sans-serif;
	color: #2c5f87;
	margin-bottom: 0.5em;
}
h2 {
	font-size: 2.5em;
	text-align: center;
	margin-bottom: 1em;
}

/* BUTTONS / CTA */
.btn {
	display: inline-block;
	padding: 12px 25px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.2s;
}
.btn-primary {
	background-color: #2c5f87;
	color: white;
}
.btn-primary:hover,
.btn-primary:focus {
	background-color: #f06d4e;
	transform: translateY(-2px);
}
.btn-secondary {
	background-color: #cda35c;
	color: #333333;
	padding: 8px 15px;
	font-size: 0.9em;
}
.btn-secondary:hover,
.btn-secondary:focus {
	background-color: #f06d4e;
	color: white;
}
/* HEADER I NAWIGACJA */
.main-header {
	background-color: #2c5f87;
	padding: 8px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo img {
	height: 90px;
	width: 200px;
	z-index: 100;
}
@media (min-width: 769px) {
	.logo img {
		height: 105px;
		width: 300px;
	}
}
.main-nav ul {
	list-style: none;
	display: flex;
	gap: 25px;
	align-items: center;
	margin: 0;
	padding: 0;
}
.main-nav a {
	color: white;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s;
}
.main-nav a:hover {
	color: #cda35c;
}
.cta-tel {
	background-color: #cda35c;
	color: #2c5f87 !important;
	padding: 5px 15px;
	border-radius: 3px;
	font-size: 1.1em;
}
/* UKRYCIE MENU MOBILE */
.menu-toggle {
	display: none;
}
/* SEKCJA HERO */
.hero {
	background-image: url('img/hero-mobile.jpg');
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;

	color: white;
	padding: 100px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	min-height: 450px;
}
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-color: rgba(24, 15, 1, 0.5);
}

.hero .container {
	position: relative;
	z-index: 2;
}
.hero h1 {
	color: white;
	font-size: 2.5em;
	margin-bottom: 0.2em;
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.hero .subtitle {
	font-size: 1.2em;
	margin-bottom: 2em;
	font-weight: 300;
}
.hero-image {
	display: none;
}
@media (min-width: 769px) {
	.hero {
		background-image: url('img/hero-desktop.jpg');
		background-attachment: fixed;
		background-position: center center;
		padding: 150px 0;
		min-height: 600px;
	}
	.hero h1 {
		font-size: 4em;
	}
	.hero .subtitle {
		font-size: 1.6em;
	}
}
/* SEKCJE OGÓLNE */
/* SEKCJA USŁUGI (GRID) */
.services {
	background-color: white;
}
.section-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 40px auto;
	font-size: 1.1em;
	color: #555;
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.service-card {
	background-color: #f8f8f8;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s;

	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: left;
	align-items: flex-start;
}
.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.card-header-flex {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	width: 100%;
}
.service-card figure {
	margin: 0;
}
.service-card img {
	width: auto;
	height: auto;
}
.service-list {
	list-style: disc inside;
	padding-left: 0;
	margin-bottom: 15px;
	width: 100%;
}
.service-list li {
	margin-bottom: 5px;
}
.service-summary {
	margin-bottom: 20px;
	width: 100%;
}
.service-card a.btn {
	margin-top: auto;
	align-self: center;
}
.service-class {
	font-size: 1.6em;
	text-align: center;

}
/* ---------------------------------- */
/* SEKCJA LICZNIK (COUNTER)           */
/* ---------------------------------- */
.counter-section {
	background-color: #2c5f87; /* Granatowe tło */
	color: white;
	padding: 60px 0;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	text-align: center;
}
.stat-number {
	font-family: 'Oswald', sans-serif;
	font-size: 3.5em;
	font-weight: 700;
	color: #cda35c;
	line-height: 1;
	margin-bottom: 5px;
}
.stat-label {
	font-size: 1.1em;
	font-weight: 400;
}
@media (max-width: 600px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}
}
/* SEKCJA KONTAKT */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 50px;
}
.contact-info p {
	font-size: 1.1em;
	margin-bottom: 10px;
}
.phone-number a,
.email-address a {
	color: #2c5f87;
	font-weight: bold;
	text-decoration: none;
	font-size: 1.2em;
}
.contact-form {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.contact-form label {
	display: block;
	margin-top: 15px;
	margin-bottom: 5px;
	font-weight: 600;
}
.contact-form input[type='text'],
.contact-form input[type='tel'],
.contact-form input[type='email'],
.contact-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}
.rodo-agreement {
	margin: 15px 0;
	font-size: 0.9em;
}
.rodo-agreement label {
	display: inline;
	font-weight: normal;
}
/* SEKCJA FAQ (AKORDION) */
.faq-item summary {
	background-color: #cda35c;
	color: #2c5f87;
	padding: 15px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	margin-top: 10px;
	transition: background-color 0.3s;
}
.faq-item summary:hover {
	background-color: #f06d4e;
	color: white;
}
.faq-item p {
	padding: 15px;
	border: 1px solid #eee;
	border-top: none;
	background-color: white;
	border-radius: 0 0 5px 5px;
}
/* FOOTER */
.main-footer {
	background-color: #333333;
	color: white;
	padding: 20px 0;
	text-align: center;
	font-size: 0.9em;
}
.main-footer a {
	color: #cda35c;
	text-decoration: none;
}
/* ---------------------------------- */
/* RESPONSIVE DESIGN (Mobile First)  */
/* ---------------------------------- */
@media (max-width: 900px) {
	.container {
		padding: 0 15px;
	}
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.hero h1 {
		font-size: 2.2em;
	}
	h2 {
		font-size: 2em;
	}
}
@media (max-width: 768px) {
	.main-nav ul {
		display: none;
		flex-direction: column;
		background-color: #2c5f87;
		position: absolute;
		top: 70px;
		left: 0;
		width: 100%;
		padding: 20px 0;
		text-align: center;
		box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
	}

	.main-nav ul.active {
		display: flex;
	}

	.main-nav li {
		margin: 10px 0;
	}

	.menu-toggle {
		display: block;
		background: none;
		color: white;
		border: 1px solid white;
		padding: 5px 10px;
		border-radius: 5px;
	}

	.cta-tel {
		margin-top: 10px;
	}
}
