:root {
	--navy: #183148;
	--navy-dark: #10283c;
	--gold: #c9a34f;
	--gold-dark: #a78134;
	--blue: #1877f2;
	--ink: #17283a;
	--muted: #617181;
	--line: #e4e9ee;
	--surface: #f6f8fa;
}

* { box-sizing: border-box; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #eef2f5;
	color: var(--ink);
	font-family: Inter, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.45;
}
a { color: inherit; }
.page {
	width: min(1180px, calc(100% - 32px));
	margin: 28px auto;
	background: #fff;
	box-shadow: 0 12px 38px rgba(17, 42, 61, .13);
}

.top {
	height: 72px;
	padding: 0 26px;
	display: flex;
	align-items: center;
	gap: 30px;
	border-bottom: 1px solid var(--line);
}
.brand, .footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-size: 11px;
	line-height: 1.25;
}
.logo {
	width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	border: 2px solid var(--navy);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 700;
	flex: 0 0 auto;
}
.top nav { display: flex; align-self: stretch; align-items: center; gap: 28px; margin-left: auto; }
.top nav a, .top nav span {
	height: 100%;
	display: flex;
	align-items: center;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	border-bottom: 3px solid transparent;
}
.top nav a:hover, .top nav .active { border-color: var(--gold); }
.fb {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	background: var(--blue);
	color: #fff;
	border-radius: 50%;
	text-decoration: none;
	flex: 0 0 auto;
}
.fb svg { width: 17px; height: 17px; }

.hero {
	height: 465px;
	position: relative;
	overflow: hidden;
	background: var(--navy);
}
.hero > img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center bottom;
}
.hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(9, 27, 41, .86) 0%, rgba(9, 27, 41, .62) 31%, transparent 62%);
}
.hero-copy {
	position: absolute;
	left: 54px;
	top: 50%;
	width: 390px;
	transform: translateY(-50%);
	color: #fff;
}
.hero-copy h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.16; }
.hero-copy p { max-width: 340px; margin: 8px 0; }
.hero-copy .address { font-size: 16px; font-weight: 600; }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; }
.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 10px 17px;
	margin-top: 10px;
	border: 0;
	border-radius: 4px;
	background: var(--gold);
	color: #fff;
	font: 600 13px/1 Inter, sans-serif;
	text-decoration: none;
}
.button:hover { background: var(--gold-dark); }
.button svg { width: 15px; height: 15px; margin-right: 7px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button.outline { background: rgba(13, 35, 52, .58); border: 1px solid rgba(255,255,255,.75); }
.button:disabled { cursor: not-allowed; }

.tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	padding: 18px 28px;
	background: var(--surface);
}
.tiles article, .tile-link {
	min-height: 156px;
	padding: 18px;
	background: #fff;
	border: 1px solid #edf0f3;
	text-decoration: none;
	box-shadow: 0 3px 12px rgba(21, 44, 62, .04);
}
.tile-icon {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	margin-bottom: 11px;
	border-radius: 50%;
	background: #d5ae58;
	color: var(--navy);
	font-size: 20px;
}
.tile-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.tiles h2 { margin: 0 0 5px; font-size: 16px; }
.tiles p { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.tile-link strong, .card-link { color: #264d70; font-size: 12px; font-weight: 600; }

.content-grid {
	display: grid;
	grid-template-columns: 1.6fr .9fr;
	gap: 20px;
	padding: 18px 28px;
}
.news, .contact-card { border: 1px solid var(--line); }
.section-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px 8px;
}
.section-title h2, .contact-card h2, .info h2 { margin: 0; font-size: 19px; }
.section-title > span { color: #315b7e; font-size: 11px; font-weight: 600; }
.news article {
	display: grid;
	grid-template-columns: 54px 1fr 14px;
	gap: 14px;
	align-items: center;
	margin: 0 20px;
	padding: 13px 0;
	border-top: 1px solid var(--line);
}
.news time { text-align: center; color: var(--muted); font-size: 10px; }
.news time strong { display: block; color: var(--navy); font-size: 20px; }
.news h3 { margin: 0 0 3px; font-size: 13px; }
.news p { margin: 0; color: var(--muted); font-size: 11px; }
.news article > span { color: #81909d; font-size: 20px; }

.contact-card {
	padding: 17px;
	background: linear-gradient(rgba(16, 40, 60, .87), rgba(16, 40, 60, .87)), url("img/ulica.jpg") center bottom / cover;
	color: #fff;
}
.contact-card > p { margin: 4px 0 11px; }
.contact-card a { color: #fff; }
.form { display: grid; gap: 7px; }
.form input, .form textarea {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid #cfd7de;
	border-radius: 3px;
	background: #fff;
	color: var(--ink);
	font: 12px/1.35 Inter, sans-serif;
}
.form textarea { resize: none; min-height: 48px; }
.form :disabled { opacity: .82; cursor: not-allowed; }
.recaptcha-off {
	height: 50px;
	display: grid;
	grid-template-columns: 24px 1fr auto;
	align-items: center;
	gap: 8px;
	padding: 7px 9px;
	background: #f7f7f7;
	border: 1px solid #c8c8c8;
	color: #333;
	font-size: 11px;
}
.recaptcha-off .check { width: 20px; height: 20px; border: 2px solid #888; background: #eee; }
.recaptcha-off b { color: #777; font-size: 9px; }
.button.send { margin: 0; opacity: .55; }

.info {
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr;
	gap: 30px;
	padding: 25px 40px;
	border-top: 1px solid var(--line);
}
.info h2 { margin-bottom: 12px; }
.info p { margin: 5px 0; color: var(--muted); font-size: 12px; }
.info a { color: #24547b; }
.info-row { display: flex; align-items: flex-start; gap: 12px; margin: 11px 0 !important; }
.info-row svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	fill: none;
	stroke: var(--navy);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.map-card {
	position: relative;
	min-height: 190px;
	overflow: hidden;
	background: #e5eee6;
	color: var(--ink) !important;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.map-card:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.map-grid {
	position: absolute;
	inset: 0;
	opacity: .65;
	background:
		linear-gradient(36deg, transparent 46%, #fff 47%, #fff 52%, transparent 53%),
		linear-gradient(145deg, transparent 42%, #d0d8dd 43%, #d0d8dd 45%, transparent 46%),
		linear-gradient(90deg, transparent 62%, #fff 63%, #fff 68%, transparent 69%);
}
.map-pin { z-index: 1; width: 38px; height: 38px; color: #df3f35; }
.map-pin svg { width: 100%; height: 100%; fill: #df3f35; stroke: #fff; stroke-width: 1; }
.map-card strong, .map-card small { z-index: 1; background: rgba(255,255,255,.9); padding: 3px 8px; }
.map-card small { color: var(--muted); }
.social-links { display: flex; gap: 12px; margin-top: 14px; font-size: 12px; }

.foot {
	min-height: 58px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 10px 28px;
	background: var(--navy-dark);
	color: #dbe4eb;
	font-size: 10px;
}
.foot .logo { width: 32px; height: 32px; border-color: #fff; }
.foot a { color: #fff; text-decoration: none; }

@media (max-width: 800px) {
	.page { width: 100%; margin: 0; }
	.top { padding: 0 15px; gap: 15px; }
	.brand > span:last-child { display: none; }
	.top nav { gap: 14px; overflow-x: auto; }
	.top nav > *:nth-child(2), .top nav > *:nth-child(3) { display: none; }
	.hero { height: 500px; }
	.hero > img { object-position: 60% bottom; }
	.hero-shade { background: linear-gradient(90deg, rgba(9, 27, 41, .8), rgba(9, 27, 41, .15)); }
	.hero-copy { left: 24px; width: calc(100% - 48px); }
	.hero-copy h1 { font-size: 27px; }
	.hero-actions { flex-wrap: wrap; }
	.tiles { grid-template-columns: 1fr 1fr; padding: 14px; }
	.content-grid, .info { grid-template-columns: 1fr; padding: 14px; }
	.foot { flex-direction: column; padding: 15px; text-align: center; }
}
