:root {
	--primary: #e31c25;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: system-ui, sans-serif;
	background: linear-gradient(145deg, #f8f9ff, #e8eeff);
	color: #222;
	min-height: 100vh;
	/* usuńmy centering z body – przenosimy je niżej */
}

/* ── Główna sekcja z kartami – wyśrodkowana na całym ekranie ── */

.hero-section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px 16px 60px;
}

.container {
	max-width: 1100px;
	width: 100%;
}

h1 {
	text-align: center;
	font-size: clamp(2rem, 7vw, 3.5rem);
	margin-bottom: 1rem;
	color: #1e3a8a;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 2rem;
	width: 100%;
}

.card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition:
		transform 0.3s,
		box-shadow 0.3s;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.image-container {
	height: 220px;
	overflow: hidden;
	background: #eee;
}

.image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.content {
	padding: 1.5rem 1.3rem 1.8rem;
	text-align: center;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.city {
	font-size: 1.7rem;
	font-weight: bold;
	margin-bottom: 0.6rem;
	color: #111;
}

.description {
	font-size: 1.1rem;
	color: #555;
	line-height: 1.45;
	margin-bottom: 1.4rem;
	flex-grow: 1;
}

.btn {
	display: block;
	background: #e11d48;
	color: white;
	font-weight: bold;
	text-align: center;
	padding: 1rem;
	border-radius: 0 0 16px 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.15rem;
	transition: background 0.25s;
}

.btn:hover {
	background: #be123c;
}

/* ── Sekcja SEO – pojawia się po scrollu ── */
.seo-section {
	background: #f8f9ff;
	padding: 60px 20px 80px;
	color: #222;
}

.seo-container {
	max-width: 1100px;
	margin: 0 auto;
}

.seo-content h2 {
	text-align: center;
	font-size: clamp(1.9rem, 5.5vw, 2.8rem);
	margin-bottom: 1.4rem;
	color: #1e3a8a;
	font-weight: 700;
}

.seo-content > p {
	font-size: clamp(1.05rem, 2.6vw, 1.25rem);
	line-height: 1.65;
	max-width: 780px;
	margin: 0 auto 2.5rem;
	text-align: center;
	color: #444;
}

.seo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.seo-card {
	background: white;
	border-radius: 12px;
	padding: 1.8rem 1.6rem;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.28s ease;
}

.seo-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.seo-card h3 {
	font-size: 1.45rem;
	margin-bottom: 1rem;
	color: #e11d48;
	font-weight: 700;
}

.seo-card p {
	font-size: 1.08rem;
	line-height: 1.6;
	color: #555;
}

/* Responsive */
@media (max-width: 768px) {
	.hero-section {
		padding: 20px 16px 40px;
	}

	h1 {
		font-size: 2.3rem;
	}

	.image-container {
		height: 200px;
	}
}

@media (max-width: 680px) {
	.seo-section {
		padding: 50px 15px 60px;
	}

	.seo-content h2 {
		font-size: 1.95rem;
	}

	.seo-content > p {
		font-size: 1.05rem;
	}

	.seo-card {
		padding: 1.5rem 1.3rem;
	}

	.seo-card h3 {
		font-size: 1.35rem;
	}
}
.polityka-container {
	max-width: 920px;
	margin: 50px auto 90px;
	padding: 0 20px 40px;
	color: #000;
	font-size: 1.03rem;
	line-height: 1.62;
	background-color: var(--bg);
}
.polityka-section {
	margin-bottom: 3.2rem;
	margin-top: 5rem;
	padding-bottom: 2.4rem;
	border-bottom: 1px solid #2f3640;
}
.polityka-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 1.5rem;
}
.polityka-section h2 {
	font-size: clamp(1.85rem, 4.2vw, 2.25rem);
	font-weight: 600;
	color: var(--primary);
	margin: 0 0 1.6rem;
	padding: 0 0 0 18px;
	border-left: 5px solid var(--primary);
	line-height: 1.3;
}
.polityka-section > ol,
.polityka-section > ol ol {
	list-style-type: decimal;
	margin: 1.2rem 0 1.6rem 2.2rem;
	padding-left: 0.4rem;
}
.polityka-section > ol ol > li,
.polityka-section > ol > li {
	margin-bottom: 1rem;
}
.polityka-section ul {
	list-style: none;
	margin: 0.8rem 0 1.4rem 1.6rem;
	padding-left: 0;
}
.polityka-section ul li {
	position: relative;
	padding-left: 1.9rem;
	margin-bottom: 0.7rem;
}
.polityka-section ul li::before {
	content: '○';
	position: absolute;
	left: 0;
	color: #e5e7eb;
	font-size: 1.1rem;
	line-height: 1;
}
.polityka-section a:hover {
	color: var(--primary);
	text-decoration: none;
}
.polityka-note {
	margin: 4rem 0 2rem;
	padding: 1.4rem 2rem;
	background: var(--primary);
	border: 1px solid #30363d;
	border-radius: 6px;
	font-size: 0.97rem;
	color: #c7d2fe;
	text-align: center;
}
@media (max-width: 680px) {
	.polityka-container {
		margin: 40px auto 70px;
		padding: 0 16px 30px;
	}
	.polityka-section {
		margin-bottom: 2.8rem;
		padding-bottom: 2rem;
	}
	.polityka-section h2 {
		font-size: 1.9rem;
		padding-left: 14px;
		border-left-width: 4px;
	}
	.polityka-section ul li::before {
		font-size: 1rem;
	}
}
