/**
 * Hero — pasek cytatu pod sekcją (fale + tło szałwii).
 */

.quote-bar-wrap {
	position: relative;
	z-index: 1;
	/* Bez ujemnego marginesu — potrafi dawać widoczny „szew” z sekcją Hero. */
	margin-top: 0;
}

.quote-wave-top,
.quote-wave-bottom {
	line-height: 0;
	overflow: hidden;
}

/* Tło pod dolną falą: białe (bez kremowego paska). */
.quote-wave-bottom {
	position: relative;
	z-index: 0;
	background-color: var(--ms-white);
	margin-top: -2px;
}

.quote-wave-top svg,
.quote-wave-bottom svg {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* Nakładka 1–2 px: usuwa cienką linię (krem/tło) między SVG a blokiem .quote-bar. */
.quote-wave-top {
	position: relative;
	z-index: 0;
	margin-bottom: -2px;
}

.quote-bar {
	position: relative;
	z-index: 1;
	background: var(--ms-sage);
	padding: 20px 2rem;
	margin-top: -2px;
	padding-top: calc(20px + 2px);
}

.quote-bar-inner {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.quote-owl {
	flex-shrink: 0;
	width: 68px;
	height: 68px;
	background: rgba(255, 255, 255, 0.1);
	border: 1.5px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Wyśrodkuj cytat niezależnie od ikony po lewej */
@media (min-width: 640px) {
	.quote-owl {
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	.quote-bar-text {
		width: 100%;
	}
}

.quote-owl__img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	display: block;
}

.quote-owl--custom {
	background: rgba(255, 255, 255, 0.14);
}

.quote-bar-text {
	margin: 0;
	padding: 0;
	border: 0;
	text-align: center;
	flex: 1;
	min-width: 0;
	quotes: none;
}

.quote-bar-text::before,
.quote-bar-text::after {
	content: none;
}

.quote-bar-text p {
	font-family: var(--ms-font-heading);
	font-size: clamp(1.08rem, 2.4vw, 1.35rem);
	font-weight: 700;
	font-style: italic;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.55;
	margin: 0 0 5px;
	text-align: center !important;
}

.quote-bar-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	margin-top: 2px;
}

.quote-bar-text cite {
	display: block;
	font-family: var(--ms-font-body);
	font-style: normal;
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0;
}

.quote-bar-founders {
	line-height: 0;
}

.quote-bar-founders__img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 2px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 2px 12px rgba(44, 58, 53, 0.2);
}

/* Mobile: kolumna — logo sówki → cytat → zdjęcie → podpis (DOM: meta = zdjęcie, potem cite) */
@media (max-width: 767.98px) {
	.quote-bar {
		padding: 1.25rem 1.25rem 1.35rem;
		padding-top: calc(1.25rem + 2px);
	}

	.quote-bar-inner {
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 0.85rem;
		text-align: center;
	}

	.quote-owl {
		width: 64px;
		height: 64px;
		margin: 0 auto;
	}

	.quote-owl__img {
		width: 48px;
		height: 48px;
	}

	.quote-owl--custom {
		width: 64px;
		height: 64px;
	}

	.quote-owl--custom .quote-owl__img {
		width: 46px;
		height: 46px;
	}

	.quote-bar-text {
		flex: 0 1 auto;
		width: 100%;
		max-width: 28rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.9rem;
	}

	.quote-bar-text p {
		font-size: 0.95rem;
		line-height: 1.5;
		margin: 0;
	}

	.quote-bar-meta {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.75rem;
		margin-top: 0;
		width: 100%;
	}

	.quote-bar-founders__img {
		width: 112px;
		height: 112px;
		margin: 0 auto;
	}
}
