.reo-section {
	--reo-blue: #245687;
	--reo-red: #e5131f;
	--reo-white: #ffffff;
	--reo-ink: #172b3e;
	width: 100%;
	padding: clamp(64px, 8vw, 110px) 0;
	overflow: hidden;
	color: var(--reo-ink);
	background: var(--reo-white);
	font-family: Arial, Helvetica, sans-serif;
}

.reo-section *,
.reo-section *::before,
.reo-section *::after {
	box-sizing: border-box;
}

.reo-shell {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.reo-heading {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: end;
	gap: 50px;
	margin-bottom: 44px;
	padding: 0 0 24px 28px;
	border-bottom: 1px solid var(--reo-blue);
}

.reo-heading::before {
	position: absolute;
	inset: 0 auto 25px 0;
	width: 6px;
	content: "";
	background: var(--reo-red);
}

.reo-heading::after {
	position: absolute;
	right: 0;
	bottom: -4px;
	width: 78px;
	height: 7px;
	content: "";
	background: var(--reo-red);
}

.reo-overline {
	display: block;
	margin-bottom: 12px;
	color: var(--reo-red);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .18em;
}

.reo-heading h2 {
	margin: 0;
	color: var(--reo-blue);
	font-size: clamp(35px, 5vw, 62px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
}

.reo-heading p {
	max-width: 390px;
	margin: 0;
	color: #52677a;
	font-size: 16px;
	line-height: 1.65;
}

/* Pasek na pełną szerokość ekranu */
.reo-marquee-wide {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	padding: 8px 0 18px;
}

.reo-marquee {
	width: 100%;
	overflow: hidden;
}

.reo-marquee-track {
	--reo-duration: 58s;
	width: max-content;
	display: flex;
	animation: reo-marquee-move var(--reo-duration) linear infinite;
	will-change: transform;
}

.reo-marquee:hover .reo-marquee-track,
.reo-marquee:focus-within .reo-marquee-track {
	animation-play-state: paused;
}

.reo-marquee-group {
	display: flex;
	flex-shrink: 0;
	gap: 24px;
	padding-right: 24px;
}

.reo-review-card {
	position: relative;
	width: clamp(320px, 31vw, 470px);
	min-height: 300px;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: center;
	padding: clamp(36px, 4.5vw, 58px);
	overflow: hidden;
	border: 1px solid rgba(36, 86, 135, .2);
	border-top: 5px solid var(--reo-blue);
	background: #ffffff;
	transition: border-color .25s ease, transform .25s ease;
}

.reo-review-card:hover {
	border-top-color: var(--reo-red);
	transform: translateY(-4px);
}

.reo-quote {
	position: absolute;
	top: 18px;
	left: 25px;
	color: rgba(229, 19, 31, .11);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 125px;
	line-height: 1;
	pointer-events: none;
}

.reo-review-card blockquote {
	position: relative;
	z-index: 1;
	margin: 0 0 28px;
	color: var(--reo-blue);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(20px, 2.15vw, 28px);
	line-height: 1.48;
	letter-spacing: -.018em;
}

.reo-review-card blockquote p {
	margin: 0;
}

.reo-review-card footer {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
}

.reo-review-card footer::after {
	width: 48px;
	height: 2px;
	content: "";
	background: var(--reo-red);
}

.reo-name {
	color: var(--reo-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

@keyframes reo-marquee-move {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

.reo-empty {
	position: relative;
	min-height: 230px;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 40px;
	overflow: hidden;
	border-top: 5px solid var(--reo-blue);
	color: #637586;
	background: #ffffff;
	text-align: center;
}

.reo-empty p {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
}

/* Formularz zawsze pod ruchomym paskiem */
.reo-form-wrap {
	width: min(760px, 100%);
	margin: clamp(54px, 7vw, 86px) auto 0;
}

.reo-form-panel {
	position: relative;
	padding: clamp(30px, 5vw, 56px);
	border: 1px solid rgba(36, 86, 135, .25);
	border-top: 5px solid var(--reo-red);
	background: #ffffff;
}

.reo-form-number {
	position: absolute;
	top: 20px;
	right: 26px;
	color: rgba(36, 86, 135, .11);
	font-size: 66px;
	font-weight: 300;
	line-height: 1;
}

.reo-form-panel h3 {
	position: relative;
	margin: 0 0 9px;
	padding-right: 46px;
	color: var(--reo-blue);
	font-size: clamp(27px, 3.6vw, 38px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.reo-form-intro {
	margin: 0 0 30px;
	color: #637586;
	font-size: 14px;
	line-height: 1.55;
}

.reo-field {
	margin-bottom: 21px;
}

.reo-field label {
	display: block;
	margin-bottom: 7px;
	color: var(--reo-blue);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
}

.reo-field input,
.reo-field textarea {
	appearance: none;
	width: 100%;
	padding: 12px 2px;
	border: 0;
	border-bottom: 1px solid rgba(36, 86, 135, .42);
	border-radius: 0;
	outline: 0;
	color: var(--reo-ink);
	background: #ffffff;
	font: inherit;
	font-size: 15px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.reo-field textarea {
	min-height: 128px;
	resize: vertical;
}

.reo-field input:focus,
.reo-field textarea:focus {
	border-color: var(--reo-red);
	box-shadow: 0 2px 0 var(--reo-red);
}

.reo-consent {
	display: grid;
	grid-template-columns: 18px 1fr;
	align-items: start;
	gap: 9px;
	margin: 8px 0 24px;
	color: #5f7284;
	font-size: 12px;
	line-height: 1.45;
	cursor: pointer;
}

.reo-consent input {
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--reo-red);
}

.reo-submit {
	appearance: none;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 19px;
	border: 0;
	border-radius: 0;
	color: #ffffff;
	background: var(--reo-red);
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.reo-submit:hover {
	background: #c80e18;
	transform: translateY(-2px);
}

.reo-submit:focus-visible {
	outline: 3px solid rgba(36, 86, 135, .38);
	outline-offset: 4px;
}

.reo-notice {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-left: 4px solid;
	font-size: 13px;
	line-height: 1.45;
}

.reo-success {
	border-color: var(--reo-blue);
	background: rgba(36, 86, 135, .07);
}

.reo-error {
	border-color: var(--reo-red);
	background: rgba(229, 19, 31, .06);
}

.reo-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 880px) {
	.reo-heading {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.reo-review-card {
		width: clamp(310px, 60vw, 430px);
	}
}

@media (max-width: 560px) {
	.reo-section {
		padding: 54px 0;
	}

	.reo-shell {
		width: min(100% - 28px, 1180px);
	}

	.reo-heading {
		padding-left: 20px;
	}

	.reo-heading h2 {
		font-size: 39px;
	}

	/*
	 * Na telefonie automatyczny ruch jest wyłączony.
	 * Użytkownik przesuwa trzy prawdziwe opinie palcem jak klasyczny slider.
	 */
	.reo-marquee {
		overflow-x: auto;
		padding: 0 14px;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 14px;
		scrollbar-width: none;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	.reo-marquee::-webkit-scrollbar {
		display: none;
	}

	.reo-marquee-track {
		width: max-content;
		animation: none !important;
		transform: none !important;
	}

	.reo-marquee-group {
		gap: 16px;
		padding-right: 16px;
	}

	.reo-marquee-group[aria-hidden="true"],
	.reo-marquee-group:first-child .reo-review-card[aria-hidden="true"] {
		display: none;
	}

	.reo-review-card {
		width: calc(100vw - 48px);
		min-height: 285px;
		padding: 43px 25px 34px;
		scroll-snap-align: center;
		scroll-snap-stop: always;
	}

	.reo-review-card blockquote {
		font-size: 21px;
	}

	.reo-quote {
		top: 19px;
		left: 19px;
		font-size: 105px;
	}

	.reo-form-panel {
		padding: 31px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reo-marquee {
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.reo-marquee-track {
		animation: none !important;
	}

	.reo-marquee-group[aria-hidden="true"] {
		display: none;
	}

	.reo-review-card,
	.reo-submit {
		transition: none;
	}
}
