/* ==========================================================================
   Deercoffe — podstrona "Kontakt"
   Loaded only when the template-kontakt.php page template is active.
   Reuses .home-* layout primitives (home.css, incl. the contact/form section
   shared via template-parts/contact-section.php) and adds the hero + mapa
   band that are specific to this page.
   ========================================================================== */

.deercoffe-kontakt {
	font-family: var(--deercoffe-font-body);
	color: var(--deercoffe-color-text);
	font-size: 15px;
}

.deercoffe-kontakt h1,
.deercoffe-kontakt h2,
.deercoffe-kontakt h3 {
	font-family: var(--deercoffe-font-heading);
	font-weight: 400;
	color: var(--deercoffe-color-text);
	margin: 0;
}

.deercoffe-kontakt img {
	max-width: 100%;
	display: block;
}

/* Hero --------------------------------------------------------------- */

.kontakt-hero-section {
	padding: 100px 0;
}

.kontakt-hero-inner {
	position: relative;
}

.kontakt-hero-content {
	max-width: 780px;
}

.kontakt-hero-content h1 {
	font-size: clamp(1.75rem, 4vw, 3.75rem);
	color: var(--deercoffe-color-text);
	line-height: normal;
	letter-spacing: 3.6px;
	margin-bottom: 24px;
}

.kontakt-hero-content p {
	font-family: "Roboto Mono", var(--deercoffe-font-body);
	font-size: 15px;
	font-weight: 400;
	color: var(--deercoffe-color-muted);
	line-height: 1.5;
	margin: 0;
}

.kontakt-hero-dots {
	position: absolute;
	top: 0;
	right: 0;
	pointer-events: none;
}

/* Lokalizacja / mapa --------------------------------------------------- */

.kontakt-map-section {
	position: relative;
	aspect-ratio: 1440 / 403;
	min-height: 220px;
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
}

.kontakt-map-card {
	position: relative;
	top: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: fit-content;
}

.kontakt-map-logo {
	background: #fff;
	padding: 25px;
	width: 170px;
	height: auto;
}

.kontakt-map-pin {
	width: 30px;
	height: 30px;
	margin-top: -11px;
	transform: rotate(180deg);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 640px) {
	.kontakt-hero-section {
		padding: 75px 0;
	}

	.kontakt-hero-content h1 {
		font-size: 34px;
	}

	.kontakt-hero-dots svg {
		width: 90px;
		height: auto;
	}

	.kontakt-map-card {
		top: 40px;
	}

	.kontakt-map-logo {
		width: 137px;
		padding: 16px;
	}

	.kontakt-map-pin {
		width: 19px;
		height: 19px;
		margin-top: -7px;
	}
}
