/* Querqus Landing Blocks — style dla [querqus_kontakt], [querqus_uslugi], [querqus_faq] i szablonu strony */

/* ---------- Wstęp: zdjęcie + treść (szablon "Podstrona lokalizacyjna Querqus") ---------- */
.qlb-intro {
	margin-top: 3.5rem;
	overflow: hidden; /* clearfix — zawiera opływające zdjęcie */
}
.qlb-photo {
	margin: 0 0 2rem;
}
.qlb-photo__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.qlb-photo--float-right,
.qlb-photo--float-left {
	width: 42%;
	max-width: 460px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.qlb-photo--float-right {
	float: right;
	margin: 6px 0 28px 36px;
}
.qlb-photo--float-left {
	float: left;
	margin: 6px 36px 28px 0;
}
@media only screen and (max-width: 782px) {
	.qlb-photo--float-right,
	.qlb-photo--float-left {
		float: none;
		width: 100%;
		max-width: none;
		margin: 0 0 1.5rem;
	}
}

/* ---------- Kontakt (zielony, 2 kolumny + mapa) ---------- */
.qlb-kontakt {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background-color: var(--qlb-kontakt-bg, #2f6b46);
	border-radius: 6px;
	overflow: hidden;
	margin: 2.5rem 0;
}
.qlb-kontakt__col {
	box-sizing: border-box;
	flex: 1 1 50%;
	min-width: 280px;
	padding: clamp(28px, 4vw, 48px);
}
.qlb-kontakt__col--info {
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.qlb-kontakt__heading {
	color: #fff;
	margin: 0 0 1.1rem;
	font-size: clamp(1.6rem, 2.2vw, 2rem);
	line-height: 1.25;
}
.qlb-kontakt__col--info p {
	margin: 0 0 0.6rem;
	color: #fff;
	opacity: 0.95;
}
.qlb-kontakt__phone a,
.qlb-kontakt__email a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.qlb-kontakt__phone a:hover,
.qlb-kontakt__email a:hover {
	border-bottom-color: #fff;
}
.qlb-kontakt__phone {
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}
.qlb-kontakt__col--map {
	padding: clamp(16px, 3vw, 28px);
	display: flex;
}
.qlb-kontakt__map-card {
	width: 100%;
	min-height: 280px;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.qlb-kontakt__map-card iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
}
@media only screen and (max-width: 690px) {
	.qlb-kontakt__col {
		flex: 1 1 100%;
	}
}

/* ---------- Kafelki usług ---------- */
.qlb-uslugi {
	margin: 2.5rem 0;
}
.qlb-uslugi__heading {
	margin: 0 0 1.25rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-size: clamp(1.6rem, 2.2vw, 2rem);
}
.qlb-uslugi__grid {
	display: grid;
	grid-template-columns: repeat(var(--qlb-uslugi-cols, 4), minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 22px);
}
.qlb-uslugi__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.qlb-uslugi__card:hover {
	border-color: #7dc18e;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.qlb-uslugi__media {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fafafa;
	min-height: 110px;
}
.qlb-uslugi__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.qlb-uslugi__img--icon {
	width: auto;
	max-width: 70%;
	height: auto;
	max-height: 60px;
	object-fit: contain;
	padding: 20px 0;
}
.qlb-uslugi__placeholder {
	display: block;
	width: 100%;
	min-height: 110px;
	background: linear-gradient(145deg, #f0f0f0 0%, #e4e4e4 100%);
}
.qlb-uslugi__title {
	display: block;
	margin: 0;
	padding: 0.85rem 0.75rem 1rem;
	font-size: clamp(0.95rem, 1.1vw, 1.05rem);
	line-height: 1.3;
	font-weight: 700;
	text-align: center;
}
.qlb-uslugi__more {
	margin: 1.75rem 0 0;
	text-align: center;
}
.qlb-uslugi__more-btn.nectar-button {
	background-color: #7dc18e !important;
	color: #fff !important;
}
@media only screen and (max-width: 999px) {
	.qlb-uslugi__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media only screen and (max-width: 550px) {
	.qlb-uslugi__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- FAQ (details/summary — bez JS) ---------- */
.qlb-faq {
	margin: 2.5rem 0;
}
.qlb-faq__heading {
	margin: 0 0 1.25rem;
}
.qlb-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.qlb-faq__item {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	padding: 0;
	background: #fff;
}
.qlb-faq__q {
	cursor: pointer;
	list-style: none;
	padding: 16px 44px 16px 18px;
	font-weight: 700;
	position: relative;
	line-height: 1.4;
}
.qlb-faq__q::-webkit-details-marker {
	display: none;
}
.qlb-faq__q::after {
	content: '+';
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 400;
	font-size: 1.4em;
	line-height: 1;
	color: #7dc18e;
}
.qlb-faq__item[open] > .qlb-faq__q::after {
	content: '\2212';
}
.qlb-faq__a {
	padding: 0 18px 16px;
}
.qlb-faq__a p:last-child {
	margin-bottom: 0;
}
